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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c5560
sub esp, 0x60
lea eax, [0x4e96a0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004056f0
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x4f3c80]
mov dword [esp], ecx
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x4c5570]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov edx, dword [0x60a560]
test edx, edx
jne 0x4c52f2
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [eax + 0xc], ebx
jmp 0x4c5316
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x6c]
call fcn.00465280
lea edi, [edx + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x38]
call fcn.00465280
mov eax, edx
mov edx, ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
mov dword [eax + 0x10], ebp
mov ebp, dword [0x60a560]
test ebp, ebp
jne 0x4c5330
mov ebp, dword [esp + 0x68]
mov dword [eax + 0x14], ebp
jmp 0x4c5340
lea edi, [eax + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x68]
call fcn.00465280
mov eax, ebp
mov dword [esp], eax
call fcn.004437f0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.0044a050
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c5520
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
test eax, eax
je 0x4c54f8
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004c38b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4c5508
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x40]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], ecx
lea edx, [0x4f9d60]
mov dword [esp], edx
call fcn.0040cb10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0x60a560]
test eax, eax
jne 0x4c5474
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
jmp 0x4c547d
mov eax, dword [esp + 0x3c]
call fcn.00465280
mov ecx, dword [esp + 0x70]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x60a560]
test ecx, ecx
jne 0x4c5497
mov eax, dword [esp + 0x6c]
mov dword [edi + 8], eax
jmp 0x4c54a9
lea ecx, [edi + 8]
mov eax, dword [esp + 0x6c]
mov edx, edi
mov edi, ecx
call fcn.00465280
mov edi, edx
mov eax, dword [0x5e438c]
mov ecx, dword [esp + 0x28]
cmp dword [0x5e4388], ecx
jne 0x4c54ec
mov dword [esp + 0x34], edi
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00404100
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c54e8
mov eax, dword [esp + 0x34]
mov byte [eax + 0x1a], 1
mov edi, eax
jmp 0x4c54ec
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
lea eax, [0x518320]
mov ecx, edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x60
ret
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c71c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
call fcn.00463e70
jmp fcn.004c5280