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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
mov dword [esp + 0x10], 0x229e
mov eax, ecx
cmp dword [esp + 0x10], 0x1130
push esi
push edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x10], eax
jge 0x4cea15
lea eax, [esp + 0x28]
push eax
push ecx
lea eax, [esp + 0x40]
mov ecx, 0xad3d60
push eax
call fcn.00428274
pop ecx
mov ecx, eax
call fcn.00428274
mov esi, dword [esp + 0x38]
xorps xmm0, xmm0
mov edi, dword [esp + 0x3c]
mov eax, esi
movlpd qword [esp + 0x18], xmm0
or eax, edi
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
je 0x4ce9cf
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
add esi, 0xffffffff
push eax
adc edi, 0xffffffff
mov dword [esp + 0x3c], esi
push ecx
lea edx, [esp + 0x1f]
mov dword [esp + 0x44], edi
mov ecx, 0xad3d60
call fcn.0042fd96
pop ecx
mov ecx, eax
call fcn.00428274
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp al, 0x2b
jne 0x4ce98f
add ecx, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
jmp 0x4ce9b3
cmp al, 0x2d
jne 0x4ce9bb
cmp dword [esp + 0x44], edx
jl 0x4ce9ab
jg 0x4ce9a1
cmp dword [esp + 0x40], ecx
jbe 0x4ce9ab
add dword [esp + 0x18], 1
adc ebx, 0
jmp 0x4ce9bb
sub ecx, dword [esp + 0x40]
sbb edx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x38]
mov eax, esi
mov edi, dword [esp + 0x3c]
or eax, edi
jne 0x4ce94b
mov eax, dword [esp + 0x18]
jmp 0x4ce9d7
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ebx
push eax
add esi, 0xffffffff
push edx
adc edi, 0xffffffff
mov dword [esp + 0x44], esi
push ecx
mov ecx, 0xad3cb8
mov dword [esp + 0x4c], edi
call fcn.0042866e
mov edx, 0xac2308
mov ecx, eax
call fcn.0042f7f6
mov ecx, eax
call fcn.0042866e
push eax
call fcn.0042f9e1
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
pop ecx
cmp byte [ebp + 8], 0
je 0x4cec70
mov dword [esp + 0x10], 0x1deb
cmp dword [esp + 0x10], 0xd20
jge 0x4ceb9d
lea eax, [esp + 0x34]
push eax
push 0xac224c
call fcn.004fad78
pop ecx
pop ecx
jmp 0x4ceb8c
dec eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x64]
push eax
push 0xac224c
call fcn.004fad78
mov eax, dword [esp + 0x6c]
xor ebx, ebx
and dword [esp + 0x68], ebx
xor edi, edi
and dword [esp + 0x54], ebx
xor esi, esi
and dword [esp + 0x5c], ebx
add eax, eax
pop ecx
pop ecx
xor ecx, ecx
mov dword [esp + 0x58], ebx
inc ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], ecx
cmp eax, ecx
jl 0x4ceaec
lea eax, [esp + 0x68]
push eax
push 0xac224c
call fcn.004fad78
mov eax, dword [esp + 0x70]
pop ecx
pop ecx
and eax, 0x80000001
jns 0x4ceab5
dec eax
or eax, 0xfffffffe
inc eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
jne 0x4ceac4
lea ecx, [esp + 0x50]
call fcn.00428c5d
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x64]
inc ecx
add eax, eax
mov dword [esp + 0x30], ecx
cmp ecx, eax
jle 0x4cea94
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x18], edi
mov eax, esi
sub eax, ebx
sar eax, 2
test al, 1
je 0x4ceb03
sub esi, 4
sub edi, 4
mov dword [esp + 0x5c], esi
jmp 0x4ceb13
test eax, eax
je 0x4ceb10
sub esi, 8
mov dword [esp + 0x5c], esi
jmp 0x4ceb1b
sub edi, 8
mov dword [esp + 0x50], edi
mov dword [esp + 0x18], edi
and dword [esp + 0x10], 0
sub esi, ebx
sar esi, 2
test esi, esi
je 0x4ceb4c
mov edi, dword [esp + 0x10]
push dword [ebx + edi*4 + 4]
push dword [ebx + edi*4]
push 0xac2278
call fcn.004fb3a8
add edi, 2
add esp, 0xc
cmp edi, esi
jb 0x4ceb2d
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
xor esi, esi
sub edi, eax
sar edi, 2
test edi, edi
je 0x4ceb7a
push dword [eax + esi*4 + 4]
push dword [eax + esi*4]
push 0xac2278
call fcn.004fb3a8
mov eax, dword [esp + 0x58]
add esi, 2
add esp, 0xc
cmp esi, edi
jb 0x4ceb5b
lea ecx, [esp + 0x4c]
call fcn.0042a773
lea ecx, [esp + 0x58]
call fcn.0042a773
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4cea4b
dec eax
mov dword [esp + 0x34], eax
push 0
push 0x3e90
push 0x1e33
push 0x1ea3
push 0x7549
push 0xd6a
mov byte [esp + 0x3f], 0
lea edx, [esp + 0x3f]
push 0
mov cl, 1
call fcn.004d1381
mov dword [esp + 0x2c], 0x2620
add esp, 0x1c
cmp dword [esp + 0x10], 0xf11
jge 0x4cec74
mov edi, 0xac22c4
lea ecx, [esp + 0x70]
push edi
xor esi, esi
call fcn.00427e92
lea edx, [esp + 0x70]
mov ecx, 0xad3d60
call fcn.0042f761
jmp 0x4cec40
sub esp, 0x18
lea eax, [esp + 0x88]
mov ecx, esp
push eax
call fcn.00427e5b
lea ecx, [esp + 0xa0]
call fcn.004ce7bf
add esp, 0x18
lea ecx, [esp + 0x70]
push eax
call fcn.00429bdb
push 0
push 1
lea ecx, [esp + 0x90]
call fcn.0042a139
inc esi
mov edx, edi
lea ecx, [esp + 0x70]
call fcn.004767e9
test al, al
je 0x4cec04
push esi
mov ecx, 0xad3cb8
call fcn.0042844a
push eax
call fcn.0042f9e1
pop ecx
push 0
push 1
lea ecx, [esp + 0x78]
call fcn.0042a139
jmp 0x4cec74
mov eax, dword [eax]
add dword [edx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret