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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c5edd
sub esp, 0x64
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x4c5ed2
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
xor edx, edx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4c5c94
add ebx, 0x14
mov edx, dword [esp + 0x68]
mov edx, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], edi
lea edi, [esp + 0x50]
mov esi, ebx
call fcn.00459f6e
lea edi, [esp + 0x3c]
lea esi, [esp + 0x50]
call fcn.00459f6e
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x4c5ea1
mov esi, 1
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4c5de3
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
lea ecx, [edx + 1]
cmp ecx, eax
jl 0x4c5c87
test ebp, ebp
jne 0x4c5db4
mov eax, dword [0x726488]
mov ecx, dword [0x72648c]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
lea edx, [0x526200]
mov dword [esp], edx
call fcn.0040b120
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0x73c0c0]
test eax, eax
jne 0x4c5da9
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov ecx, dword [esp + 0x80]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x73c0c0]
test ecx, ecx
jne 0x4c5d93
mov eax, dword [esp + 0x7c]
mov dword [edi + 8], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0x582470]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edi
add esp, 0x64
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x7c]
call fcn.00459850
mov edi, edx
jmp 0x4c5d5a
mov eax, dword [esp + 0x34]
call fcn.00459850
jmp 0x4c5d3f
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x64
ret
mov edi, esp
lea esi, [esp + 0x3c]
call fcn.00459f6e
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, ebx
mov ebx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x4c5e57
mov esi, dword [esp + 0x30]
mov edi, ecx
lea ecx, [esi + eax*8]
mov dword [ecx], ebp
mov ecx, dword [0x73c0c0]
lea ebp, [esi + eax*8 + 4]
test ecx, ecx
jne 0x4c5e46
mov dword [ebp], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebp, edi
mov edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x38]
jmp 0x4c5ce3
mov eax, edi
mov edi, ebp
mov ecx, eax
mov eax, edx
call fcn.00459850
mov edi, ecx
jmp 0x4c5e2b
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ebp
lea edx, [0x523c80]
mov dword [esp], edx
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.004419d0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
jmp 0x4c5e13
mov edi, esp
lea esi, [esp + 0x50]
call fcn.00459f6e
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
movzx esi, byte [esp + 0x14]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x20]
jmp 0x4c5cd1
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4c5cea
call fcn.00458300
jmp fcn.004c5c50