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

Disassembly:
mov ecx, dword [0x62920c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4cd718
sub esp, 0x84
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.00469a83
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x4cd4be
mov eax, dword [0x604208]
mov edx, dword [0x60420c]
mov ebx, dword [0x604210]
mov ebp, dword [esp + 0x88]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x90]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004ca790
movzx eax, byte [esp + 0x18]
test al, al
je 0x4cd4d2
xor eax, eax
mov ecx, dword [0x6006e8]
mov edx, dword [0x6006ec]
mov ebx, dword [0x6006f0]
jmp 0x4cd4e9
xor eax, eax
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x90]
cmp edx, 4
jne 0x4cd5b4
mov dword [esp + 0x28], ebx
movzx ebp, byte [ecx]
movzx esi, byte [ecx + 1]
movzx edi, byte [ecx + 2]
movzx eax, byte [ecx + 3]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ebx, dword [0x6006dc]
cmp ebx, 0x10
jl 0x4cd535
mov ebx, 0x10
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], ecx
mov edx, dword [0x6006d8]
lea ecx, [esp + 0x30]
cmp edx, ecx
je 0x4cd585
xchg ebp, eax
mov byte [esp + 0x1c], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x1f], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x1e], al
xchg edi, eax
mov byte [esp + 0x1d], al
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0046a180
movzx eax, byte [esp + 0x1d]
movzx ebp, byte [esp + 0x1c]
movzx esi, byte [esp + 0x1f]
movzx edi, byte [esp + 0x1e]
xchg ebp, eax
mov byte [esp + 0x3c], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x3d], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x3e], al
xchg edi, eax
mov byte [esp + 0x3f], al
xor eax, eax
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x30]
mov edx, 0x10
jmp 0x4cd5c7
cmp edx, 0x10
jne 0x4cd5bf
mov ebp, ecx
mov esi, edx
jmp 0x4cd5c7
mov ebp, ecx
mov esi, edx
xor ecx, ecx
xor edx, edx
test ecx, ecx
je 0x4cd678
mov dword [esp + 0x20], edx
mov dword [esp + 0x74], ecx
lea eax, [0x6045a0]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 8], eax
call fcn.004c9c40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00469a83
mov eax, dword [esp + 0x94]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x10
jl 0x4cd62f
mov eax, 0x10
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x48]
cmp ecx, edx
je 0x4cd64b
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0046a180
lea edi, [esp + 0xa0]
lea esi, [esp + 0x40]
call fcn.00469f1e
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
add esp, 0x84
ret
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.004ca4e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], ecx
lea edx, [0x4f88a0]
mov dword [esp], edx
call fcn.0040bde0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x50e423]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4cd6d6
mov ecx, dword [esp + 0x80]
jmp 0x4cd6e4
call fcn.004698c0
mov ecx, dword [esp + 0x80]
mov dword [edi], ecx
mov dword [esp + 0x7c], eax
mov dword [eax + 8], ecx
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.00469a83
lea ecx, [0x53777c]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xd8], ecx
add esp, 0x84
ret
call fcn.00468500
jmp fcn.004cd440