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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57dffa
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x17c]
push eax
call fcn.00560f5c
push eax
mov ecx, 0x5d2708
call fcn.004d06a0
xor ebx, ebx
cmp eax, ebx
je 0x4cbcdb
cmp dword [eax + 8], ebx
jne 0x4cbcdb
push edi
lea ecx, [esp + 0x84]
call fcn.004634a8
lea ecx, [esp + 0x94]
mov dword [esp + 0x19c], ebx
lea ebp, [esp + 0x80]
mov dword [esp + 0x28], ebx
call fcn.004631b4
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 1
call fcn.00408960
mov dword [esp + 0x14], 0x588d64
mov edx, dword [edi + 0x20]
mov esi, dword [0x5887c8]
lea ecx, [esp + 0xc4]
mov byte [esp + 0x19c], 2
push ecx
push edx
mov dword [esp + 0x34], ebx
call esi
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
sub eax, ecx
mov ecx, dword [esp + 0xcc]
push eax
sub ecx, edx
lea eax, [esp + 0x74]
push ecx
push ebx
push ebx
push eax
call dword [0x58879c]
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x80]
neg eax
sbb eax, eax
and eax, edx
push eax
call dword [0x587094]
push eax
lea ecx, [esp + 0x98]
call fcn.004631ae
cmp eax, ebx
je 0x4cb68b
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
sub eax, ecx
mov ecx, dword [esp + 0x78]
push eax
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x8c]
push ecx
call dword [0x587098]
push eax
lea ecx, [esp + 0x18]
call fcn.00463076
cmp eax, ebx
je 0x4cb68b
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
mov dword [esp + 0x28], 1
and eax, edx
mov edx, dword [esp + 0x98]
push eax
push edx
call fcn.004631c0
mov dword [esp + 0x2c], eax
lea ebp, [esp + 0x94]
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0xe4]
push eax
push ecx
call esi
mov eax, dword [edi + 0x20]
lea edx, [esp + 0xd4]
push edx
push eax
call dword [0x5887b4]
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
call fcn.004635fe
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
neg eax
neg ecx
push eax
lea edx, [esp + 0xd8]
push ecx
push edx
call dword [0x588608]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x80]
push eax
call fcn.00560f50
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0x58e20c
lea esi, [edi + 0xfc]
mov byte [esp + 0x19c], 3
push esi
call dword [0x5885e4]
test eax, eax
jne 0x4cb737
push esi
call dword [0x587148]
push eax
lea ecx, [esp + 0x24]
call fcn.00463076
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x84]
call fcn.004638fe
mov edx, dword [edi]
push ebp
mov ecx, edi
call dword [edx + 0x16c]
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x124]
mov edx, dword [edi + 0x17c]
push edx
call fcn.00560f5c
push eax
mov ecx, 0x5d2708
call fcn.004d06a0
cmp dword [eax + 8], ebx
je 0x4cb778
lea eax, [esp + 0x40]
push eax
call dword [0x588630]
mov edx, dword [edi]
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call dword [edx + 0x124]
mov ecx, dword [0x5d1f54]
cmp ecx, ebx
jne 0x4cb7f5
mov ecx, dword [0x5d1f58]
cmp ecx, ebx
jne 0x4cb7d3
push 0x60
call fcn.00462ec0
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x19c], 4
je 0x4cb7c7
push ebx
mov ecx, eax
call fcn.004a07e0
mov byte [esp + 0x19c], 3
jmp 0x4cb7d8
xor eax, eax
mov byte [esp + 0x19c], 3
jmp 0x4cb7d8
call fcn.00463754
mov dword [0x5d1f54], eax
mov dword [eax + 0x5c], 1
mov ecx, dword [0x5d1f54]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [0x5d1f54]
mov edx, dword [edi + 0x44]
mov esi, dword [esp + 0x40]
push edx
push edi
sub esp, 0x10
mov eax, dword [ecx]
mov edx, esp
push ebp
mov dword [edx], esi
mov esi, dword [esp + 0x60]
mov dword [edx + 4], esi
mov esi, dword [esp + 0x64]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x68]
mov dword [edx + 0xc], esi
call dword [eax + 0xcc]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x50]
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], ebx
je 0x4cbae8
jmp 0x4cb847
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov esi, dword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov eax, dword [esi + 0xc]
mov dword [esi + 0x18], edx
test eax, eax
jne 0x4cbad8
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4cba77
cmp dword [esp + 0x10], 0xffffffff
jne 0x4cb90f
call fcn.0043b730
mov ecx, dword [0x5cc614]
mov edx, dword [eax]
lea ebx, [ecx + ecx]
lea ecx, [esp + 0x114]
push ecx
mov ecx, eax
call dword [edx + 0xc8]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x11c]
push edx
lea edx, [esp + 0x160]
mov eax, dword [eax]
push eax
push ecx
push ebx
push ebx
lea eax, [esp + 0x140]
push edx
push eax
call fcn.0046d6a0
add esp, 4
mov ecx, eax
call fcn.0046cb00
mov ecx, eax
call fcn.0046cb00
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [eax]
mov eax, dword [esi + 0x28]
push edx
push eax
push ecx
lea ecx, [esp + 0x174]
call fcn.0046d670
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], ecx
mov eax, dword [edx + 8]
add eax, 2
mov edx, dword [edx + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x5c], edx
jmp 0x4cbad8
call fcn.0043b730
mov ecx, dword [0x5cc614]
mov edx, dword [eax]
lea ebx, [ecx + ecx]
lea ecx, [esp + 0x144]
push ecx
mov ecx, eax
call dword [edx + 0xc8]
mov edx, dword [eax + 4]
lea ecx, [esp + 0xfc]
push edx
lea edx, [esp + 0x108]
mov eax, dword [eax]
push eax
push ecx
push ebx
push ebx
lea eax, [esp + 0x108]
push edx
push eax
call fcn.0046d6a0
add esp, 4
mov ecx, eax
call fcn.0046cb00
mov ecx, eax
call fcn.0046cb00
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [eax]
mov eax, dword [esi + 0x28]
push edx
push eax
push ecx
lea ecx, [esp + 0x194]
call fcn.0046d670
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 8]
add eax, 2
mov edx, dword [edx + 0xc]
cmp ecx, eax
mov dword [esp + 0x5c], edx
jg 0x4cbad8
mov ecx, dword [esi + 0xc]
xor eax, eax
cmp ecx, eax
je 0x4cb9c9
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xbc]
jmp 0x4cba3a
call fcn.0043b730
mov ecx, dword [0x5cc614]
mov edx, dword [eax]
lea ebx, [ecx + ecx]
lea ecx, [esp + 0x124]
push ecx
mov ecx, eax
call dword [edx + 0xc8]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x134]
push edx
lea edx, [esp + 0x158]
mov eax, dword [eax]
push eax
push ecx
push ebx
push ebx
lea eax, [esp + 0x150]
push edx
push eax
call fcn.0046d6a0
add esp, 4
mov ecx, eax
call fcn.0046cb00
mov ecx, eax
call fcn.0046cb00
mov ecx, dword [eax]
mov dword [esp + 0xb4], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0xb4]
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esi + 0x28]
push ecx
mov ecx, dword [esi + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x184]
call fcn.0046d670
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], ecx
mov eax, dword [edx + 8]
add eax, 2
mov edx, dword [edx + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x5c], edx
jmp 0x4cbad8
cmp ebx, 0xffffffff
jne 0x4cba98
lea eax, [esp + 0x10c]
push eax
call fcn.00470530
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
add esp, 4
mov dword [esp + 0x38], ecx
jmp 0x4cbad4
lea edx, [esp + 0x14c]
push edx
call fcn.00470530
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
add esp, 4
cmp ebx, eax
mov dword [esp + 0x54], ecx
jl 0x4cbad8
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4cbaca
lea edx, [esp + 0x60]
push edx
call fcn.00470530
add esp, 4
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4cb83f
mov ebx, dword [esp + 0x34]
push 1
mov ecx, ebp
call fcn.00463118
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x38]
mov edx, dword [ebp]
push 0x5d208c
mov ecx, ebp
call dword [edx + 0x30]
lea ecx, [esp + 0x3c]
mov esi, eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x114]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x4c]
cmp ebx, 0xffffffff
mov byte [esp + 0x19c], 5
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
je 0x4cbb5c
mov dword [esp + 0xac], ebx
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x4cbb6c
mov dword [esp + 0xa4], eax
push 0
lea eax, [esp + 0xa8]
push 0xfffffffffffffffe
push eax
call dword [0x588604]
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp]
lea ebx, [esp + 0xa4]
push 0x24
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x30]
push 0
mov ecx, ebp
call fcn.004638fe
mov edx, dword [edi]
push ebp
mov ecx, edi
call dword [edx + 0x170]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4cbc5c
lea eax, [esp + 0x60]
lea ecx, [esp + 0x80]
push eax
call fcn.00463130
cmp eax, 1
je 0x4cbc43
cmp eax, 2
je 0x4cbbff
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
jmp 0x4cbc0f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x98]
sub eax, esi
mov ebx, eax
lea eax, [esp + 0x94]
sub ecx, edx
push 0xcc0020
neg eax
sbb eax, eax
push edx
and eax, ebp
push esi
push eax
push ecx
mov ecx, dword [esp + 0x98]
push ebx
push edx
push esi
push ecx
call dword [0x5870b0]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4cbc4e
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x98]
push eax
push edx
call fcn.004631c0
mov ecx, edi
call fcn.00463010
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], 3
call fcn.00462da6
mov edi, 0x588b4c
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], 6
call fcn.00463082
mov esi, 0x5889b0
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 7
call fcn.00463082
lea ecx, [esp + 0x94]
mov dword [esp + 0x14], esi
mov byte [esp + 0x19c], 0
call fcn.004631a2
lea ecx, [esp + 0x80]
mov dword [esp + 0x19c], 0xffffffff
call fcn.004634a2
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x190
ret