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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cbb50
sub esp, 0x60
lea eax, [0x4f06c0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405830
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x4fada0]
mov dword [esp], ecx
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x4cbb60]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov edx, dword [0x60ffc0]
test edx, edx
jne 0x4cb8e2
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [eax + 0xc], ebx
jmp 0x4cb906
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 [0x60ffc0]
test ebp, ebp
jne 0x4cb920
mov ebp, dword [esp + 0x68]
mov dword [eax + 0x14], ebp
jmp 0x4cb930
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 0x4cbb10
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
test eax, eax
je 0x4cbae8
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.004ca030
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4cbaf8
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, [0x500f00]
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 [0x60ffc0]
test eax, eax
jne 0x4cba64
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
jmp 0x4cba6d
mov eax, dword [esp + 0x3c]
call fcn.00468980
mov ecx, dword [esp + 0x70]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x60ffc0]
test ecx, ecx
jne 0x4cba87
mov eax, dword [esp + 0x6c]
mov dword [edi + 8], eax
jmp 0x4cba99
lea ecx, [edi + 8]
mov eax, dword [esp + 0x6c]
mov edx, edi
mov edi, ecx
call fcn.00468980
mov edi, edx
mov eax, dword [0x5e9dec]
mov ecx, dword [esp + 0x28]
cmp dword [0x5e9de8], ecx
jne 0x4cbadc
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 0x4cbad8
mov eax, dword [esp + 0x34]
mov byte [eax + 0x1a], 1
mov edi, eax
jmp 0x4cbadc
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
lea eax, [0x51f8a0]
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.004cd7b0
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.004cb870