Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text:1005ED00 sub_1005ED00 proc near ; DATA XREF: .rdata:103601E4o
- .text:1005ED00 ; .rdata:103AE07Co
- .text:1005ED00
- .text:1005ED00 arg_0 = dword ptr 4
- .text:1005ED00
- .text:1005ED00 push esi
- .text:1005ED01 push edi
- .text:1005ED02 mov edi, [esp+8+arg_0]
- .text:1005ED06 lea eax, [edi-1]
- .text:1005ED09 cmp eax, 20h
- .text:1005ED0C mov esi, ecx
- .text:1005ED0E ja short loc_1005ED55
- .text:1005ED10 mov edx, [esi]
- .text:1005ED12 mov eax, [edx+10h]
- .text:1005ED15 push edi
- .text:1005ED16 call eax
- .text:1005ED18 test al, al
- .text:1005ED1A jnz short loc_1005ED26
- .text:1005ED1C pop edi
- .text:1005ED1D mov eax, offset aUnconnected ; "unconnected"
- .text:1005ED22 pop esi
- .text:1005ED23 retn 4
- .text:1005ED26 ; ---------------------------------------------------------------------------
- .text:1005ED26
- .text:1005ED26 loc_1005ED26: ; CODE XREF: sub_1005ED00+1Aj
- .text:1005ED26 mov eax, [esi+edi*4+4]
- .text:1005ED2A test eax, eax
- .text:1005ED2C jz short loc_1005ED40
- .text:1005ED2E push offset aUnconnected ; "unconnected"
- .text:1005ED33 push eax ; char *
- .text:1005ED34 call __stricmp
- .text:1005ED39 add esp, 8
- .text:1005ED3C test eax, eax
- .text:1005ED3E jnz short loc_1005ED4C
- .text:1005ED40
- .text:1005ED40 loc_1005ED40: ; CODE XREF: sub_1005ED00+2Cj
- .text:1005ED40 push edi
- .text:1005ED41 lea ecx, [esi-4A8h]
- .text:1005ED47 call sub_1005E930
- .text:1005ED4C
- .text:1005ED4C loc_1005ED4C: ; CODE XREF: sub_1005ED00+3Ej
- .text:1005ED4C mov eax, [esi+edi*4+4]
- .text:1005ED50 pop edi
- .text:1005ED51 pop esi
- .text:1005ED52 retn 4
- .text:1005ED55 ; ---------------------------------------------------------------------------
- .text:1005ED55
- .text:1005ED55 loc_1005ED55: ; CODE XREF: sub_1005ED00+Ej
- .text:1005ED55 pop edi
- .text:1005ED56 mov eax, offset aErrorname ; "ERRORNAME"
- .text:1005ED5B pop esi
- .text:1005ED5C retn 4
- .text:1005ED5C sub_1005ED00 endp
Add Comment
Please, Sign In to add comment