Function at 0x455c80
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 0x455d67
mov ecx, dword [esi + 0xc]
lea edi, [esi + 0x18]
test ecx, ecx
jne 0x455cbf
call fcn.0053de50
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi], 0
jmp 0x455cd5
lea eax, [esi + 0x20]
push eax
push edi
push ecx
push dword [esi + 8]
mov ecx, dword [esi + 4]
push 0x44c810
call fcn.0044f2e0
mov dword [esi + 0x14], eax
cmp eax, 0xfffffffe
jne 0x455d4b
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x455e1f
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 0x455d2d
mov eax, dword [esi + 4]
xor edx, edx
xor ecx, ecx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x455e0a
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 0x455e0a
cmp eax, 0xffffffff
je 0x455f3f
cmp eax, 1
je 0x455f3f
cmp dword [ebp + 0x14], 0
jne 0x455f1a
cmp ebx, 0xffffffff
jne 0x455d73
xor ebx, ebx
mov dword [ebp + 0x10], ebx
jmp 0x455d85
cmp dword [esi + 0x18], 0
jne 0x455d85
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x14]
cmp eax, 0xfffffffe
je 0x455dac
cmp eax, 0xffffffff
jne 0x455eaa
lea eax, [ebp - 8]
push 1
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 8]
add ecx, 0x30
jmp 0x455e01
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 0x455efa
mov ebx, dword [ebp + 0x10]
jmp 0x455ca3
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 0x455e98
cmp edx, dword [ebp - 4]
jne 0x455e98
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.004549b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
add ecx, 8
push esi
call fcn.00454f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 1
jne 0x455ecb
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
cmp dword [esi + 0x18], 0
lea eax, [esi + 0x18]
je 0x455ed8
xor edi, edi
jmp 0x455edb
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 4]
push eax
call fcn.0044ebd0
mov ecx, dword [esi + 0x30]
add ecx, dword [esi + 0x2c]
push edi
push eax
mov eax, dword [esi + 0x28]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
push eax
call fcn.0044ebd0
mov ecx, dword [esi + 0x30]
add ecx, dword [esi + 0x2c]
push 0
push eax
mov eax, dword [esi + 0x28]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
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.004549b0
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 0x45600d
cmp edx, dword [ebp - 4]
jne 0x45600d
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.00456750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
add ecx, 0x30
push esi
call fcn.00454f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10