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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cd890
sub esp, 0x60
lea eax, [0x4f5d40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405830
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x500f60]
mov dword [esp], ecx
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x4cd8a0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov edx, dword [0x61d360]
test edx, edx
jne 0x4cd622
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [eax + 0xc], ebx
jmp 0x4cd646
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x6c]
call fcn.00468980
lea edi, [edx + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x38]
call fcn.00468980
mov eax, edx
mov edx, ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
mov dword [eax + 0x10], ebp
mov ebp, dword [0x61d360]
test ebp, ebp
jne 0x4cd660
mov ebp, dword [esp + 0x68]
mov dword [eax + 0x14], ebp
jmp 0x4cd670
lea edi, [eax + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x68]
call fcn.00468980
mov eax, ebp
mov dword [esp], eax
call fcn.00445f50
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.0044c9e0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4cd850
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
test eax, eax
je 0x4cd828
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.004cbd70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4cd838
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, [0x507440]
mov dword [esp], edx
call fcn.0040d2f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0x61d360]
test eax, eax
jne 0x4cd7a4
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
jmp 0x4cd7ad
mov eax, dword [esp + 0x3c]
call fcn.00468980
mov ecx, dword [esp + 0x70]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x61d360]
test ecx, ecx
jne 0x4cd7c7
mov eax, dword [esp + 0x6c]
mov dword [edi + 8], eax
jmp 0x4cd7d9
lea ecx, [edi + 8]
mov eax, dword [esp + 0x6c]
mov edx, edi
mov edi, ecx
call fcn.00468980
mov edi, edx
mov eax, dword [0x5f7134]
mov ecx, dword [esp + 0x28]
cmp dword [0x5f7130], ecx
jne 0x4cd81c
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.00404230
movzx eax, byte [esp + 0xc]
test al, al
je 0x4cd818
mov eax, dword [esp + 0x34]
mov byte [eax + 0x1a], 1
mov edi, eax
jmp 0x4cd81c
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
lea eax, [0x526970]
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.004cf4f0
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.00467570
jmp fcn.004cd5b0