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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cea9a
sub esp, 0x74
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4cea81
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x4ce71b
lea ebp, [0x56a560]
jmp 0x4ce71f
xor ebp, ebp
xor ebx, ebx
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.004cb170
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4ce759
lea edx, [0x56a560]
jmp 0x4ce75d
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
call fcn.00409160
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ce786
mov edx, dword [eax + 4]
jmp 0x4ce788
mov edx, eax
lea eax, [0x62a4b0]
mov dword [esp], eax
lea ecx, [0x517d40]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
call fcn.004665c0
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x2c], ebp
test al, al
je 0x4ce814
mov esi, dword [esp + 0x28]
mov eax, ebp
mov ebp, dword [esi]
mov edi, ebx
mov ebx, dword [esi + 4]
test ebp, ebp
je 0x4ce7e1
mov ebp, dword [ebp + 4]
cmp ebp, ecx
je 0x4ce7ec
mov ecx, 1
jmp 0x4ce81e
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00403500
movzx eax, byte [esp + 0xc]
xor eax, 1
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov ecx, eax
mov eax, dword [esp + 0x2c]
jmp 0x4ce81e
mov eax, ebp
mov esi, dword [esp + 0x28]
mov edi, ebx
xor ecx, ecx
test cl, cl
jne 0x4ce9d0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x38], ecx
test eax, eax
je 0x4ce837
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
call fcn.00409160
mov eax, dword [esp + 8]
lea ecx, [0x62a490]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
lea ecx, [0x517d40]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004665c0
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test al, al
je 0x4ce8f9
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x58], esi
lea edi, [0x517d40]
cmp ecx, edi
je 0x4ce8c1
mov ecx, 1
jmp 0x4ce8f5
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.00403500
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x7c]
lea edi, [0x517d40]
mov ecx, eax
mov eax, dword [esp + 0x78]
test cl, cl
jne 0x4ce8fd
add esp, 0x74
ret
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
lea ecx, [0x62a4b0]
mov dword [esp], ecx
mov dword [esp + 4], edi
lea ecx, [esp + 0x4c]
mov dword [esp + 8], ecx
call fcn.00466a70
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00460c9a
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test ecx, ecx
je 0x4ce93a
mov ecx, dword [ecx + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00409160
mov eax, dword [esp + 8]
lea ecx, [0x517d40]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x53c33a]
mov dword [esp], eax
mov dword [esp + 4], 0x31
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004aeba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409160
mov eax, dword [esp + 8]
lea ecx, [0x517d40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435600
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00460c9a
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.00409160
mov ecx, dword [esp + 8]
lea edx, [0x517d40]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x28]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
test ebx, ebx
je 0x4cea21
mov ebx, dword [ebx + 4]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ecx
lea eax, [0x53c36b]
mov dword [esp], eax
mov dword [esp + 4], 0x31
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004aeba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409160
mov eax, dword [esp + 8]
lea ecx, [0x517d40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435600
lea eax, [0x517d40]
mov dword [esp], eax
lea eax, [0x569a70]
mov dword [esp + 4], eax
call fcn.00435600
nop
call fcn.0045f680
jmp fcn.004ce6d0