Function at 0x456020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp + 0x10], ebx
push edi
mov dword [esi + 0x10], eax
sub eax, 1
jne 0x456107
mov ecx, dword [esi + 0xc]
lea edi, [esi + 0x18]
test ecx, ecx
jne 0x45605f
call fcn.0053de50
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi], 0
jmp 0x456075
lea eax, [esi + 0x20]
push eax
push edi
push ecx
push dword [esi + 8]
mov ecx, dword [esi + 4]
push 0x44c9a0
call fcn.0044f2e0
mov dword [esi + 0x14], eax
cmp eax, 0xfffffffe
jne 0x4560eb
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x4561c0
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 4]
call fcn.00478010
mov ecx, dword [edi + 0x84]
xor ebx, ebx
add esp, 0xc
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jbe 0x4560cd
mov eax, dword [esi + 4]
xor edx, edx
xor ecx, ecx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x4561ab
mov edx, dword [edi + 0x80]
mov eax, dword [esi + 4]
add edx, ebx
sub ecx, ebx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x4561ab
cmp eax, 0xffffffff
je 0x4562b1
cmp eax, 1
je 0x4562b1
cmp dword [ebp + 0x14], 0
jne 0x45628c
lea edi, [esi + 0x18]
cmp ebx, 0xffffffff
jne 0x456116
xor ebx, ebx
mov dword [ebp + 0x10], ebx
jmp 0x456126
cmp dword [edi], 0
jne 0x456126
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x14]
cmp eax, 0xfffffffe
je 0x45614d
cmp eax, 0xffffffff
jne 0x45624b
lea eax, [ebp - 8]
push 1
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 8]
add ecx, 0x30
jmp 0x4561a2
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x7c]
cmp ecx, ebx
mov eax, dword [edx + 0x78]
mov dword [edx + 0x80], eax
cmovae ecx, ebx
mov dword [edx + 0x84], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx + 0x80]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044f5e0
mov edx, dword [esi + 4]
push 1
mov ecx, dword [eax]
mov dword [edx + 0x80], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x84], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
add ecx, 8
add esp, 8
push eax
call fcn.0044cb40
cmp dword [esi + 0x18], 0
lea eax, [esi + 0x18]
jne 0x456289
mov ebx, dword [ebp + 0x10]
jmp 0x456043
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 1
lea ecx, [ebp + 0x10]
mov dword [ebp - 0xc], closesocket
call fcn.00445b40
push eax
lea ecx, [ebp - 8]
call fcn.00428c70
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
cmp eax, dword [ebp - 8]
jne 0x456239
cmp edx, dword [ebp - 4]
jne 0x456239
lea eax, [ebp - 8]
push 2
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 8]
add esp, 8
add ecx, 8
push eax
call fcn.0044cb40
mov ecx, dword [esi + 4]
push esi
mov eax, dword [ecx + 0x78]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x7c]
mov ecx, dword [esi]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.00454b20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
add ecx, 8
push esi
call fcn.004550c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 1
jne 0x45626c
push eax
lea eax, [ebp - 8]
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 8]
add esp, 8
add ecx, 0x30
push eax
call fcn.0044cb40
push edi
mov ecx, dword [esi + 4]
call fcn.0044ebd0
mov ecx, dword [esi + 0x30]
add ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push eax
jmp 0x45626d
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x78]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00454b20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 8]
push 1
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
cmp eax, dword [ebp - 8]
jne 0x45637f
cmp edx, dword [ebp - 4]
jne 0x45637f
lea eax, [ebp - 8]
push 2
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 8]
add esp, 8
add ecx, 0x30
push eax
call fcn.0044cb40
mov ebx, dword [esi + 4]
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 4]
call fcn.00477f30
mov edi, dword [esi]
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovg ecx, eax
mov eax, dword [ebx + 0x68]
mov ebx, dword [ebx + 0x64]
cmp eax, ecx
push esi
cmovae eax, ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp + 0x10], eax
call fcn.004554e0
mov dword [ebp - 8], 0
call fcn.0053de50
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.004554e0
push 1
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x68]
call fcn.004568f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
add ecx, 0x30
push esi
call fcn.004550c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10