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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov eax, edi
mov dword [esi + 0xc], edi
sub eax, 1
jne 0x45646d
mov ecx, dword [esi + 4]
lea eax, [esi + 0x14]
push 0
push eax
push 0
push 0
push 0x44c840
mov dword [esi + 0x1c], 0
call fcn.0044f2e0
mov dword [esi + 0x10], eax
cmp eax, 0xfffffffe
jne 0x456453
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x456523
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 4]
call fcn.00478010
mov ecx, dword [edi + 0x84]
xor edx, edx
add esp, 0xc
test eax, eax
cmovg edx, eax
cmp edx, ecx
jbe 0x456435
mov eax, dword [esi + 4]
xor edi, edi
xor ecx, ecx
mov dword [eax + 0x80], edi
mov dword [eax + 0x84], ecx
jmp 0x45650e
mov edi, dword [edi + 0x80]
mov eax, dword [esi + 4]
add edi, edx
sub ecx, edx
mov dword [eax + 0x80], edi
mov dword [eax + 0x84], ecx
jmp 0x45650e
cmp eax, 0xffffffff
je 0x456630
cmp eax, 1
je 0x456630
test edi, edi
jne 0x45660b
lea edi, [esi + 0x14]
cmp ebx, 0xffffffff
jne 0x456479
xor ebx, ebx
jmp 0x456489
cmp dword [edi], 0
jne 0x456489
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 0x4564b0
cmp eax, 0xffffffff
jne 0x4565ae
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x24]
add ecx, 0x30
jmp 0x456505
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 - 0x14]
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 - 0x1c]
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x1c]
add ecx, 8
add esp, 8
push eax
call fcn.0044cb40
cmp dword [esi + 0x14], 0
lea eax, [esi + 0x14]
jne 0x4565ed
mov edi, dword [ebp + 0x14]
jmp 0x4563bf
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 1
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x18], closesocket
call fcn.00445b40
push eax
lea ecx, [ebp - 0x14]
call fcn.00428c70
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
cmp eax, dword [ebp - 0x14]
jne 0x45659c
cmp edx, dword [ebp - 0x10]
jne 0x45659c
lea eax, [ebp - 0x24]
push 2
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x24]
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 - 0x1c], eax
mov eax, dword [ecx + 0x7c]
mov ecx, dword [esi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00454c90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
add ecx, 8
push esi
call fcn.00455210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 1
jne 0x4565cf
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x24]
add esp, 8
add ecx, 0x30
push eax
call fcn.0044cb40
mov ecx, dword [esi + 4]
push edi
call fcn.0044ebd0
mov ecx, dword [esi + 0x28]
add 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
mov ecx, dword [esi + 4]
push eax
call fcn.0044ebd0
mov ecx, dword [esi + 0x28]
add 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
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00454c90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x1c]
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 - 0x1c]
jne 0x45673e
cmp edx, dword [ebp - 0x18]
jne 0x45673e
lea eax, [ebp - 0x24]
push 2
push eax
call fcn.0044cf60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x24]
add esp, 8
add ecx, 0x30
push eax
call fcn.0044cb40
mov edi, dword [esi + 4]
push dword [edi + 0x68]
push dword [edi + 0x64]
push dword [edi + 4]
call fcn.00477f30
mov edx, dword [edi + 0x68]
xor ecx, ecx
movups xmm0, xmmword [esi + 0x20]
mov ebx, dword [esi + 0xc]
add esp, 0xc
test eax, eax
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
cmovg ecx, eax
mov eax, dword [edi + 0x64]
mov edi, dword [esi + 4]
cmp edx, ecx
mov dword [ebp + 0x14], eax
mov eax, dword [esi]
cmovae edx, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
call fcn.0053de50
mov ecx, dword [ebp + 0x10]
movups xmm0, xmmword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
push 1
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x24]
push 0
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x7c]
push eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], ebx
movups xmmword [ebp - 0x44], xmm0
call fcn.00456a90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
add ecx, 0x30
push esi
call fcn.00455210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10