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

Disassembly:
mov ecx, dword [0x6cfe90]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4ce71d
sub esp, 0x84
mov eax, 0
mov dword [esp + 0x80], eax
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x98]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x28], eax
nop
cmp eax, 0x14
ja 0x4ce277
lea ebx, [eax - 0x12]
cmp ebx, 1
jbe 0x4ce29e
cmp eax, 0x14
je 0x4ce281
jmp 0x4ce6d6
cmp eax, 0x16
jbe 0x4ce29e
cmp eax, 0x17
jne 0x4ce295
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
jmp 0x4ce2d4
cmp eax, 0x1a
jne 0x4ce6d6
test ecx, 0x200
je 0x4ce2af
mov ebx, dword [esp + 0x94]
jmp 0x4ce2de
test ecx, 0x80
je 0x4ce2c2
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
jmp 0x4ce2cb
mov ebx, dword [esp + 0x94]
mov ebp, ebx
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4ce541
mov ebp, dword [esp + 0x8c]
mov esi, dword [ebp + 0x14]
inc esi
mov dword [ebp + 0x14], esi
cmp esi, 0x3e8
ja 0x4ce2fb
xor eax, eax
jmp 0x4ce4d7
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0048bcf0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x28]
cmp ecx, 0x17
jne 0x4ce32f
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 4]
jmp 0x4ce35c
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
call fcn.00489e40
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], edx
lea ecx, [0x557920]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edx
lea ebx, [0x55cc80]
mov dword [esp + 0x6c], ebx
lea ebp, [esp + 0x50]
mov dword [esp + 0x70], ebp
mov ebp, dword [esp + 0x8c]
mov esi, dword [ebp + 0x18]
lea edi, [0x558d20]
mov dword [esp], edi
mov dword [esp + 4], esi
lea esi, [esp + 0x6c]
mov dword [esp + 8], esi
call fcn.0040da60
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4ce56b
lea eax, [0x557920]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x7c], edx
lea ebx, [0x55cc80]
mov dword [esp], ebx
lea ebp, [esp + 0x74]
mov dword [esp + 4], ebp
call fcn.0040a140
mov eax, dword [esp + 8]
lea ecx, [0x55cc80]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x18]
lea ebx, [0x558d20]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x6c]
mov dword [esp + 8], edx
call fcn.0040de00
mov eax, dword [esp + 0xc]
test byte [eax], al
lea eax, [0x557920]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [0x4ce730]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
lea eax, [0x55cc80]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x80], eax
mov byte [esp + 0x1f], 1
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x8c]
mov eax, 1
mov byte [esp + 0x1e], al
mov edx, dword [esp + 0x88]
mov esi, dword [edx]
mov dword [esp], ebp
mov edi, dword [esp + 0x90]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
movzx ecx, byte [esp + 0x9c]
mov byte [esp + 0x10], cl
movzx ecx, byte [esp + 0x9d]
mov byte [esp + 0x11], cl
call esi
mov eax, dword [esp + 0x8c]
dec dword [eax + 0x14]
movzx eax, byte [esp + 0x1e]
test al, 1
je 0x4ce53a
and eax, 0xfffffffe
mov byte [esp + 0x1f], al
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov eax, dword [esp + 0x8c]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x57bcbf]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004c1ee0
add esp, 0x84
ret
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4ce6a4
test eax, 0x200
jne 0x4ce6a4
lea ecx, [0x5b6f68]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
test ecx, ecx
je 0x4ce5a9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
lea eax, [0x581f99]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b5e90
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edx, [0x560000]
mov dword [esp], edx
call fcn.0040ca70
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], ecx
mov ecx, dword [0x6cff38]
test ecx, ecx
jne 0x4ce680
mov ecx, dword [esp + 0x90]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x5b6380]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x562640]
mov dword [esp], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040a140
mov eax, dword [esp + 8]
lea ecx, [0x562640]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435f40
call fcn.00464ad0
mov ecx, dword [esp + 0x90]
mov dword [edi], ecx
mov edx, dword [esp + 0x94]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
jmp 0x4ce615
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0048bba0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x98]
jmp 0x4ce592
lea eax, [0x5608a0]
mov dword [esp], eax
call fcn.0040ca70
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x57f449]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x55b4c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435f40
nop
call fcn.00435c60
add esp, 0x84
ret
call fcn.004636b0
jmp fcn.004ce220