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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp + 0x10], ebx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, 0x44c570
mov eax, edi
mov dword [esi + 0xc], edi
sub eax, 1
jne 0x452f50
cmp dword [esi + 8], 0
lea eax, [esi + 0x14]
push 0
push eax
push 0
mov eax, 0x44b340
mov dword [esi + 0x1c], 0
cmove eax, ecx
mov ecx, dword [esi + 4]
push 0
push eax
call fcn.0044f2e0
mov dword [esi + 0x10], eax
cmp eax, 0xfffffffe
jne 0x452f36
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x453011
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 0x452f18
mov eax, dword [esi + 4]
xor edx, edx
xor ecx, ecx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x452ff4
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 0x452ff4
cmp eax, 0xffffffff
je 0x453100
cmp eax, 1
je 0x453100
test edi, edi
jne 0x4530db
lea edi, [esi + 0x14]
cmp ebx, 0xffffffff
jne 0x452f5f
xor ebx, ebx
mov dword [ebp + 0x10], ebx
jmp 0x452f6f
cmp dword [edi], 0
jne 0x452f6f
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x10]
cmp eax, 0xfffffffe
je 0x452f96
cmp eax, 0xffffffff
jne 0x45309c
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
add ecx, 0x30
jmp 0x452feb
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 - 8]
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 8]
add ecx, 8
add esp, 8
push eax
call fcn.0044cb40
cmp dword [esi + 0x14], 0
lea eax, [esi + 0x14]
jne 0x4530d8
mov ebx, dword [ebp + 0x10]
mov ecx, 0x44c570
mov edi, dword [ebp + 0x14]
jmp 0x452e9a
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], closesocket
call fcn.00445b40
push eax
lea ecx, [ebp - 0x10]
call fcn.00428c70
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
cmp eax, dword [ebp - 0x10]
jne 0x45308a
cmp edx, dword [ebp - 0xc]
jne 0x45308a
lea eax, [ebp - 0x10]
push 2
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
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 - 0x10], eax
mov eax, dword [ecx + 0x7c]
mov ecx, dword [esi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00451f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
add ecx, 8
push esi
call fcn.00452350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 1
jne 0x4530bd
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
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 + 0x24]
push eax
mov eax, dword [esi + 0x20]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push eax
jmp 0x4530be
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0xc], 0
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00451f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x10]
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 - 0x10]
jne 0x4531c8
cmp edx, dword [ebp - 0xc]
jne 0x4531c8
lea eax, [ebp - 0x10]
push 2
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
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 - 0x44]
mov dword [ebp + 0x10], eax
call fcn.004529c0
mov dword [ebp - 0x10], 0
call fcn.0053de50
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call fcn.004529c0
push 1
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x80]
call fcn.004531e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
add ecx, 0x30
push esi
call fcn.00452350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10