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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ceea4
add esp, 0xffffff80
lea eax, [0x4fc460]
mov dword [esp], eax
call fcn.0040d2f0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call fcn.004cf390
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
jmp 0x4ce9f9
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.004cf390
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test al, al
je 0x4ceaef
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004d00e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004cffe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4ce9dd
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x3a
call fcn.004034d0
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x4ceaa8
mov edx, dword [esp + 0x2c]
cmp ecx, edx
ja 0x4cee9e
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004cffe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x2c]
cmp ebp, ebx
jb 0x4cee95
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], ecx
sub ebp, edx
lea edx, [ebp - 1]
mov ebp, edx
neg edx
sar edx, 0x1f
and ebx, edx
mov edx, dword [esp + 0x50]
add edx, ebx
jmp 0x4ceb06
lea eax, [0x50dc32]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0046e6f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x60ffc0]
test ecx, ecx
jne 0x4ceadc
mov dword [edx + 0x18], eax
jmp 0x4ceae4
lea edi, [edx + 0x18]
call fcn.00468980
mov dword [esp + 0x88], edx
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x88], eax
sub esp, 0xffffff80
ret
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], ebp
call fcn.004cffe0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4ce9dd
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 0x20
call fcn.004034d0
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
jne 0x4ceb4e
xor ecx, ecx
xor eax, eax
mov edx, dword [esp + 0x20]
jmp 0x4ceb93
mov edx, dword [esp + 0x20]
cmp edx, ecx
jb 0x4cee90
lea eax, [ecx + 1]
cmp edx, eax
jb 0x4cee89
mov dword [esp + 0x28], ecx
sub edx, ecx
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x4c]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004cffe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x4cec68
cmp byte [eax], 0x5b
je 0x4cebaf
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4cec6e
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x5d
call fcn.004034d0
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x4cee2a
mov edx, dword [esp + 0x48]
cmp edx, ecx
jb 0x4cee84
cmp ecx, 1
jb 0x4cee78
mov dword [esp + 0x40], ecx
lea eax, [ecx - 1]
mov dword [esp + 0x44], eax
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x68]
add eax, ebx
mov dword [esp + 0x64], eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ceeb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x4cedb7
mov ebp, dword [esp + 0x40]
lea eax, [ebp + 1]
mov esi, dword [esp + 0x48]
cmp esi, eax
jb 0x4cee71
sub esi, ebp
lea ebp, [esi - 1]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, dword [esp + 0x68]
add eax, ebp
mov ebp, ebx
mov ebx, edx
mov edx, dword [esp + 0x24]
mov edi, ecx
mov ecx, esi
mov esi, edi
jmp 0x4cec6e
xor ebx, ebx
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x4cecc6
mov dword [esp + 0x58], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
call fcn.0040df80
mov eax, dword [0x60ffc0]
mov ecx, dword [esp]
test eax, eax
jne 0x4ceca8
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x1c], ecx
jmp 0x4cecb6
mov edx, dword [esp + 0x5c]
lea edi, [edx + 0x1c]
mov eax, ecx
call fcn.00468980
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x58]
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00468b5b
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x1c]
lea ebx, [0x4f4220]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0xc], ebp
call fcn.00412350
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
inc ebp
cmp ebx, ebp
jae 0x4ced75
mov dword [esp + 0x60], ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4fd720]
mov dword [esp + 0x10], eax
call fcn.0044f980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x60]
mov dword [edi + 8], edx
mov edx, dword [0x60ffc0]
test edx, edx
jne 0x4ced6a
mov dword [edi], eax
jmp 0x4ced6f
call fcn.00468980
mov ebp, ecx
mov edx, eax
mov ecx, edi
mov dword [ecx + 4], ebp
lea eax, [ebp + ebp*4]
lea edi, [edx + eax*4 - 0x14]
mov eax, dword [0x60ffc0]
test eax, eax
jne 0x4ced98
lea esi, [esp + 0x6c]
call fcn.0046903e
jmp 0x4ceafe
lea eax, [0x4fd720]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.004130e0
jmp 0x4ceafe
mov dword [esp], 0
lea eax, [0x50e665]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
call fcn.004535e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046e6f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x60ffc0]
test ecx, ecx
jne 0x4cee17
mov dword [edx + 0x18], eax
jmp 0x4cee1f
lea edi, [edx + 0x18]
call fcn.00468980
mov dword [esp + 0x88], edx
sub esp, 0xffffff80
ret
lea eax, [0x511bf0]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.0046e6f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x60ffc0]
test ecx, ecx
jne 0x4cee5e
mov dword [edx + 0x18], eax
jmp 0x4cee66
lea edi, [edx + 0x18]
call fcn.00468980
mov dword [esp + 0x88], edx
sub esp, 0xffffff80
ret
mov ecx, esi
call fcn.00468a60
mov eax, 1
xor ecx, ecx
call fcn.00468a60
call fcn.00468a20
mov ecx, edx
call fcn.00468a60
call fcn.00468a20
mov eax, ebx
mov ecx, ebp
call fcn.00468a60
call fcn.00468a20
nop
call fcn.00467570
jmp fcn.004ce990