Function at 0x506770
Capabilities:
Get socket status
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e2f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
mov eax, dword [0x63f308]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push 1
push eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], ebx
call fcn.0051c1c0
mov ecx, esi
call fcn.0051cb60
mov ecx, esi
call fcn.0051d080
mov eax, dword [esi + 0x110]
mov ecx, esi
add eax, 0xfffffffb
mov dword [esi + 0x110], eax
call fcn.0051c3c0
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x44], 3
push ecx
mov dword [ebp - 0x40], ebx
call fcn.0054f68f
lea edx, [ebp - 0x5c]
push edx
call fcn.0054f68f
add esp, 8
xor edi, edi
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x11], 1
xor ecx, ecx
cmp ecx, dword [esi + 0x104]
jge 0x50685a
lea eax, [ecx + ecx*2]
mov ebx, dword [esi + 0x1a4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 2
sub eax, ecx
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
xor ebx, ebx
cmp dword [eax + 0x54], ebx
je 0x506857
inc edx
cmp dword [eax + 0x2ac], ebx
jg 0x506851
mov ebx, dword [eax + 0x80]
cmp dword [ebx + 0x24], 2
jne 0x506855
xor ebx, ebx
cmp dword [eax + 0x327c], ebx
ja 0x506851
cmp byte [eax + 0x3280], bl
je 0x506857
inc edi
inc ecx
jmp 0x506801
xor ebx, ebx
inc ecx
jmp 0x506801
cmp edi, 1
jne 0x50686a
cmp edx, edi
jne 0x50686a
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x44], edi
cmp dword [esi + 0x38], ebx
je 0x5068cd
lea ecx, [esi + 0x48]
call fcn.004e8970
mov ecx, dword [esi + 0x118]
mov edx, dword [esi + 0x11c]
lea eax, [esi + 0x20]
mov dword [esi + 0x30], ebx
push eax
push 0x1389
mov dword [eax], ecx
mov ecx, dword [esi + 0x120]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x124]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
push 0x111
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0051c0d0
test al, al
mov byte [ebp - 0x24], al
je 0x5068fc
lea edx, [ebp - 0x98]
push edx
call fcn.0054f68f
mov eax, dword [esi + 0x120]
mov ecx, dword [esi + 0x124]
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov al, byte [ebp - 0x11]
test al, al
je 0x506926
lea edx, [ebp - 0x44]
lea eax, [esi + 0x5b0]
push edx
lea ecx, [esi + 0x3ac]
push eax
lea edx, [esi + 0x1a8]
push ecx
push edx
push ebx
call sub.WSOCK32.dll_select
mov edi, eax
jmp 0x506936
mov edi, 1
mov dword [ebp - 0x44], 3
mov byte [ebp - 0x11], 1
cmp dword [esi + 0x38], ebx
je 0x506959
lea ecx, [esi + 0x48]
call fcn.004e8970
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x120]
mov ecx, dword [esi + 0x124]
or eax, ecx
jne 0x50699e
lea eax, [ebp - 0x5c]
push eax
call fcn.0054f68f
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xbc]
sub ecx, edx
add esp, 4
cmp ecx, 0x12c
jle 0x50699e
mov eax, 0x7532
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0xffffffff
je 0x5069fe
cmp edi, ebx
je 0x5069fe
xor edi, edi
cmp edi, dword [esi + 0x104]
jge 0x506a05
lea eax, [edi + edi*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 2
sub eax, edi
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x1a4]
lea ecx, [eax + edx*8]
mov eax, dword [eax + edx*8 + 0x54]
cmp eax, ebx
je 0x5069fb
cmp dword [esi + 0x38], ebx
je 0x5069f6
lea ecx, [esi + 0x48]
call fcn.004e8970
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00500640
inc edi
jmp 0x5069a9
mov ecx, esi
call fcn.005074d0
mov ecx, dword [ebp - 0x24]
push ecx
push ebx
mov ecx, esi
call fcn.0051c490
lea edx, [ebp - 0xa4]
push edx
call fcn.0054f68f
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x5c]
sub eax, ecx
add esp, 4
mov ecx, eax
shl ecx, 5
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xa0]
and eax, 0xffff
shl edx, 3
sub edx, eax
and ecx, 0xffff
add edx, ecx
cmp edx, 0xfa
jl 0x506b17
lea edx, [ebp - 0x5c]
push edx
call fcn.0054f68f
add esp, 4
xor edi, edi
cmp edi, dword [esi + 0x104]
jge 0x506b17
lea eax, [edi + edi*2]
mov ecx, dword [esi + 0x1a4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 2
sub eax, edi
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp dword [eax + 0x54], ebx
je 0x506b0f
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x18], ecx
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x506b0f
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov ebx, ecx
or ebx, edx
je 0x506b0f
mov dword [ebp - 0x84], ecx
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x80], edx
mov edx, dword [eax + 0x44]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [eax + 0x20]
mov ebx, dword [eax + 0x58]
mov dword [ebp - 0x78], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x74], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x70], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x8c]
mov edx, dword [ecx]
push eax
push 0x13ef
push 0x111
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc edi
xor ebx, ebx
jmp 0x506a6a
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0xb0], 2
jne 0x506e3c
call fcn.0052e010
mov cl, byte [0x63e5fc]
mov dword [ebp - 0x18], eax
test cl, cl
jne 0x506b46
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x2af]
test dl, dl
jne 0x506b50
mov cl, byte [esi + 0x7b8]
test cl, cl
je 0x506bcd
mov edx, dword [esi + 0xc]
cmp dword [edx + 0xb0], 2
jne 0x506b60
cmp eax, ebx
je 0x506bcd
mov ecx, dword [esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x18]
lea ecx, [esi + 0x48]
call fcn.004e50b0
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x124], ebx
mov al, byte [0x63e5fc]
test al, al
jne 0x506bb7
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x2af]
test al, al
je 0x506bb7
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x756a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x64], ebx
jle 0x506c48
mov ebx, dword [esi + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 0xcc]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x506c48
mov ebx, dword [ebx + 0xbc]
test ebx, ebx
je 0x506c0c
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.005501e0
add esp, 0xc
test eax, eax
je 0x506c48
mov eax, dword [esi + 0x14]
test eax, eax
je 0x506c2a
mov edx, dword [esi + 0x64]
mov eax, dword [eax]
push edx
push 0x13f8
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x506c48
mov ecx, dword [esi + 0x64]
mov edx, dword [eax]
push ecx
push 0x13f8
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x506e3c
mov eax, dword [esi + 0xd4]
test eax, eax
jne 0x506ddf
mov al, byte [0x63e5fc]
test al, al
jne 0x506d5d
mov eax, dword [esi + 0xc]
mov byte [ebp - 0x12], 0
mov edx, dword [eax + 0xbc]
test edx, edx
je 0x506ccc
mov ebx, dword [eax + 0xe4]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x506ccc
mov edi, edx
mov eax, ebx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x506cbf
test cl, cl
je 0x506cbb
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x506cbf
add eax, 2
add edi, 2
test cl, cl
jne 0x506c97
xor eax, eax
jmp 0x506cc4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x506ccc
mov byte [ebp - 0x12], 1
mov edi, dword [esi + 0x11c]
mov edx, dword [esi + 0x118]
xor ebx, ebx
cmp edi, ebx
jl 0x506d05
jg 0x506ce4
cmp edx, ebx
jbe 0x506d05
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xe8]
mov eax, dword [eax + 0xec]
cmp eax, ebx
jl 0x506d05
jg 0x506cfd
cmp ecx, ebx
jbe 0x506d05
cmp ecx, edx
jne 0x506d0c
cmp eax, edi
jne 0x506d0c
mov al, byte [ebp - 0x12]
test al, al
je 0x506d5d
mov eax, dword [esi + 0xc]
push 0x63e040
lea ecx, [eax + 0xe4]
call fcn.0056a289
mov eax, dword [esi + 0xc]
push 0x50040
mov dword [eax + 0xe8], ebx
mov dword [eax + 0xec], ebx
mov ecx, dword [esi + 0xc]
mov eax, dword [0x63ea94]
mov edx, dword [ecx + 8]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x506ddf
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x506d72
mov eax, ecx
jmp 0x506d75
add eax, 0x38
push 0x2e
push eax
call fcn.0054e65e
mov edi, eax
add esp, 8
test edi, edi
je 0x506ddf
push 0x61c56c
push edi
call fcn.0055054c
add esp, 8
test eax, eax
je 0x506ddf
push 0x61ad24
push edi
call fcn.0055054c
add esp, 8
test eax, eax
je 0x506ddf
mov ecx, dword [esi + 0xc]
mov eax, dword [0x63f288]
push 0x50004
mov edx, dword [ecx + 8]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x506ddf
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x506e3c
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x506df4
mov eax, ecx
jmp 0x506df7
add eax, 0x38
push 0x2e
push eax
call fcn.0054e65e
mov edi, eax
add esp, 8
test edi, edi
je 0x506e3c
push 0x61c56c
push edi
call fcn.0055054c
add esp, 8
test eax, eax
je 0x506e3c
push 0x61ad24
push edi
call fcn.0055054c
add esp, 8
test eax, eax
je 0x506e3c
mov ecx, dword [esi + 0xc]
call fcn.0052e0c0
test eax, eax
jne 0x5072c0
mov al, byte [ebp - 0x24]
test al, al
je 0x507067
mov ecx, dword [esi + 0x124]
mov eax, dword [esi + 0x120]
test ecx, ecx
jl 0x507067
jg 0x506e68
cmp eax, 0x400
jbe 0x507067
mov ecx, dword [0x63e1b8]
mov edi, dword [0x63e1bc]
lea edx, [ebp - 0xb0]
mov dword [ebp - 0x34], ecx
push edx
call fcn.0054f68f
mov eax, dword [esi + 0x120]
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x124]
mov edx, dword [ebp - 0x38]
add esp, 4
sub eax, ebx
sbb ecx, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
js 0x507067
jg 0x506eb2
test eax, eax
jbe 0x507067
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x98]
sub eax, ecx
mov edx, dword [ebp - 0x94]
mov ecx, eax
and edx, 0xffff
shl ecx, 5
sub ecx, eax
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0xac]
shl eax, 3
sub eax, edx
and ecx, 0xffff
add eax, ecx
mov dword [ebp - 0x18], eax
jne 0x506ef5
mov dword [ebp - 0x18], 1
fild qword [ebp - 0x4c]
fmul dword [0x5b92c0]
fidiv dword [ebp - 0x18]
call fcn.0054e504
mov ebx, edx
mov ecx, eax
cmp ebx, edi
jl 0x507067
jg 0x506f1d
cmp ecx, dword [ebp - 0x34]
jbe 0x507067
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
sub ecx, edx
cdq
sbb ebx, edi
push edx
push eax
push ebx
push ecx
call fcn.00550840
mov ecx, dword [ebp - 0x34]
push edi
push ecx
push edx
push eax
call fcn.0054fd30
mov ebx, eax
mov eax, dword [esi + 0x128]
cdq
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x34]
push 0
push 2
push edi
push edx
mov dword [ebp - 0x20], eax
call fcn.0054fd30
cmp dword [ebp - 0x1c], edx
jg 0x506f7b
jl 0x506f66
cmp dword [ebp - 0x20], eax
jae 0x506f7b
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
jmp 0x506fa9
mov ecx, dword [ebp - 0x34]
push 0
push 9
push edi
push ecx
call fcn.00550840
push 0
push 0xa
push edx
push eax
call fcn.0054fd30
cmp dword [ebp - 0x1c], edx
jg 0x506fa9
jl 0x506fa0
cmp dword [ebp - 0x20], eax
jae 0x506fa9
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, 0x2ee0
jle 0x506fb8
mov ebx, 0x2ee0
jmp 0x506fc0
test ebx, ebx
jle 0x507067
mov eax, dword [esi + 0x7b4]
cmp eax, 0xffffffff
je 0x507060
lea ecx, [esi + 0x1a8]
lea edi, [esi + 0x5b0]
mov dword [esi + 0x3ac], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x1ac], eax
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov eax, dword [edi]
cmp eax, 0x80
jae 0x507017
mov edx, dword [esi + 0x7b4]
mov dword [esi + eax*4 + 0x5b4], edx
mov eax, dword [edi]
inc eax
mov dword [edi], eax
mov eax, 0x10624dd3
imul ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
mov dword [ebp - 0x2c], edx
shl eax, 5
sub eax, edx
lea edx, [edx + eax*4]
shl edx, 3
sub ebx, edx
mov eax, ebx
shl eax, 5
sub eax, ebx
lea edx, [ebx + eax*4]
lea eax, [ebp - 0x2c]
push eax
lea eax, [esi + 0x3ac]
push edi
push eax
shl edx, 3
push ecx
push 0
mov dword [ebp - 0x28], edx
call sub.WSOCK32.dll_select
jmp 0x507067
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.005072e0
mov edi, eax
test edi, edi
jne 0x507089
mov ecx, esi
call fcn.00507610
mov ecx, esi
call fcn.0051d0b0
xor ebx, ebx
jmp 0x50686a
mov eax, dword [esi + 0x38]
test eax, eax
je 0x5070ae
lea ecx, [esi + 0x48]
call fcn.004e8970
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x753c
je 0x507250
cmp edi, 0xffffffff
je 0x507250
mov ecx, dword [esi + 0x124]
mov edx, dword [esi + 0x120]
mov eax, dword [0x63f30c]
push ecx
push edx
lea ecx, [ebp - 0x13c]
push eax
push ecx
call fcn.0054ea2a
add esp, 0x10
lea edx, [ebp - 0x13c]
mov ecx, esi
push 1
push edx
call fcn.0051c1c0
mov eax, dword [esi + 0x120]
mov edx, dword [esi + 0x118]
mov ecx, dword [esi + 0x124]
mov edi, dword [esi + 0x11c]
cmp eax, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], ecx
jne 0x507121
mov eax, ecx
cmp eax, edi
je 0x507187
mov eax, edx
or eax, edi
je 0x507187
mov ebx, dword [esi + 0xc]
mov eax, edx
mov ecx, edi
mov ebx, dword [ebx + 0x2b8]
mov dword [ebp - 0x2c], ebx
add eax, ebx
mov ebx, 0
adc ecx, ebx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jne 0x507154
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
je 0x507187
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
add edx, esi
adc edi, ebx
cmp eax, edi
jl 0x5072bd
jg 0x507171
cmp dword [ebp - 0x20], edx
jbe 0x5072bd
mov eax, 0x7570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp edi, dword [esi + 0x104]
jge 0x507236
lea eax, [edi + edi*2]
mov ecx, dword [esi + 0x1a4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 2
sub eax, edi
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x54]
test ecx, ecx
je 0x507230
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x24], ecx
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x507230
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov ebx, ecx
or ebx, edx
je 0x507230
mov dword [ebp - 0x84], ecx
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x80], edx
mov edx, dword [eax + 0x44]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [eax + 0x20]
mov ebx, dword [eax + 0x58]
mov dword [ebp - 0x78], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x74], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x70], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x8c]
mov edx, dword [ecx]
push eax
push 0x13ef
push 0x111
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc edi
jmp 0x507189
mov ecx, esi
call fcn.0051d0b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x124]
mov edx, dword [esi + 0x120]
mov eax, dword [0x63f300]
push ecx
push edx
lea ecx, [ebp - 0x13c]
push eax
push ecx
call fcn.0054ea2a
add esp, 0x10
lea edx, [ebp - 0x13c]
mov ecx, esi
push 1
push edx
call fcn.0051c1c0
mov esi, dword [esi + 0xd8]
test esi, esi
je 0x507297
cmp edi, 0x753c
mov eax, esi
je 0x5072c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret