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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c393c
sub esp, 0x70
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4c35bf
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4c38a1
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.0045c677
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 0x10]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov ebx, dword [ecx + 0x20]
mov dword [esp + 0x6c], ebx
test edx, edx
je 0x4c384c
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x3c], eax
lea edx, [0x78ace0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.00443100
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x3c], edx
xor ebx, ebx
jmp 0x4c366e
mov eax, ebp
lea ebp, [esi + 1]
mov dword [esp + 0x64], ebp
mov dword [edi + esi*4], eax
inc ebx
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x88]
mov ecx, ebp
cmp ebx, edx
jge 0x4c36e4
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x4c36dd
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x10]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
lea ecx, [esi + 1]
cmp ecx, eax
jbe 0x4c3654
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebp
lea edx, [0x78ace0]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00443250
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], edi
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
jmp 0x4c3654
mov ebp, 0xffffffff
jmp 0x4c367f
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x14], edx
call fcn.00499880
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x4c37d6
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], eax
lea eax, [0x7b1ca0]
mov dword [esp], eax
call fcn.0040b5d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x7e7cf1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa976a0]
test ecx, ecx
jne 0x4c37c4
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xa976a0]
test ecx, ecx
jne 0x4c37b2
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x8c], 0
lea ecx, [0x8719c0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x70
ret
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.0045c3e0
mov eax, ecx
jmp 0x4c378f
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.0045c3e0
mov eax, ecx
jmp 0x4c3777
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
lea eax, [0x7b7320]
mov dword [esp], eax
call fcn.0040b5d0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
lea ecx, [0x7cf0e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea ecx, [0x781f80]
mov dword [esp + 8], ecx
lea ecx, [0x80cbdc]
mov dword [esp + 0xc], ecx
call fcn.004150c0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x70
ret
mov dword [esp], ebx
call fcn.004c1cc0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ecx
test eax, eax
jne 0x4c3884
mov ecx, dword [esp + 0x88]
jmp 0x4c3602
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebp
add esp, 0x70
ret
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
test edx, edx
je 0x4c35bf
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004c9040
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c38d2
mov ecx, dword [esp + 0x88]
jmp 0x4c35bf
lea ecx, [0x8719c0]
cmp eax, ecx
jne 0x4c391f
mov dword [edi + 4], 5
mov edx, dword [0xa976a0]
test edx, edx
jne 0x4c3912
lea eax, [0x7e3e6b]
mov dword [edi], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edi
add esp, 0x70
ret
lea eax, [0x7e3e6b]
call fcn.0045c3e0
jmp 0x4c38f5
mov dword [esp], eax
lea eax, [0x7aec60]
mov dword [esp + 4], eax
lea eax, [0x797f20]
mov dword [esp + 8], eax
call fcn.00408aa0
nop
call fcn.0045ae90
jmp fcn.004c3590