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

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4e7fde0]
xor eax, esp
mov dword [esp + 0x2e8], eax
mov ecx, dword [esp + 0x310]
mov eax, dword [esp + 0x30c]
mov edx, dword [esp + 0x314]
push ebx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x320]
push ebp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x320]
push esi
mov esi, dword [esp + 0x330]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x4e83f6c]
push edi
mov edi, dword [esp + 0x368]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x330]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x340]
add ecx, 0x16e10
mov dword [esp + 0x5c], edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xe8], edi
call fcn.04d00c60
test al, al
je 0x4ce8387
push 0x19
call fcn.04c99fd0
mov edx, eax
mov dword [esp + 0x28], edx
jmp 0x4ce839a
mov ecx, dword [esp + 0x338]
push ecx
call fcn.04c99fd0
mov edx, eax
mov dword [esp + 0x28], eax
add esp, 4
test edx, edx
jne 0x4ce83a8
xor eax, eax
jmp 0x4ce94ed
mov ecx, dword [0x4e83f6c]
add ecx, 0xfbd0
mov dword [esp + 0x44], ecx
je 0x4ce83a1
test edi, edi
je 0x4ce8429
lea edx, [esp + 0x168]
sub edx, edi
mov ebp, ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x30], 0x10
mov eax, dword [ebp]
test eax, eax
je 0x4ce8415
mov ecx, dword [0x4e83f60]
mov ebx, dword [ecx]
add edx, edi
push edx
mov edx, dword [ebx + 0x98]
push eax
call edx
mov ecx, dword [0x4e83f60]
mov eax, dword [ecx]
mov edx, dword [ebp]
mov eax, dword [eax + 0xbc]
push 1
push edi
push edx
call eax
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x44]
add edi, 0xc
add ebp, 0x1c0
sub dword [esp + 0x30], 1
jne 0x4ce83d8
mov edx, dword [esp + 0x24]
mov eax, dword [0x4e83f6c]
movzx eax, byte [eax + 0xfbcc]
imul eax, eax, 0x1c0
add eax, ecx
mov ecx, dword [0x4e83f4c]
cmp ecx, 4
mov dword [esp + 0xb4], eax
mov al, byte [eax + 5]
mov byte [esp + 0x1f], al
je 0x4ce8477
cmp ecx, 5
je 0x4ce8477
cmp ecx, 0xc
je 0x4ce8477
test al, al
jne 0x4ce846b
mov byte [esp + 0x1e], 8
jmp 0x4ce847c
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1d], 8
jmp 0x4ce8481
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1d], 0x10
xor eax, eax
cmp dword [edx + 0x7b8], 1
mov byte [esp + 0x17], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
ja 0x4ce94a1
xor cl, cl
mov byte [esp + 0x15], cl
xor edi, edi
lea eax, [esp + edi + 0x2e8]
mov dword [esp + 0x30], eax
mov byte [eax], 0
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4ce84d9
cmp byte [edi + eax], 1
je 0x4ce85ea
mov edx, dword [0x4e83f6c]
cmp cl, byte [edx + 0xfbcc]
je 0x4ce85ea
mov ecx, dword [esp + 0x44]
mov eax, edi
imul eax, eax, 0x1c0
lea ebp, [eax + ecx]
mov eax, dword [ebp]
test eax, eax
je 0x4ce85ea
cmp dword [ebp + 0x14], 0
je 0x4ce85ea
mov ecx, dword [0x4e7ffd8]
mov edx, dword [ecx]
lea ebx, [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x348]
push ebx
push eax
mov eax, dword [edx + 0x88]
call eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x4e7ffd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push eax
mov eax, dword [ebp]
lea edi, [edi + edi*2]
lea edi, [esp + edi*4 + 0x22c]
push edi
push eax
call edx
fld dword [edi]
fstp dword [esp + 0x50]
mov ecx, dword [0x4e7ffd4]
fld dword [edi + 4]
push 0
fstp dword [esp + 0x58]
lea edx, [esp + 0x54]
fld dword [edi + 8]
push edx
fstp dword [esp + 0x60]
mov edx, dword [ebp]
fld dword [esp + 0x58]
push edx
fld qword [0x4e38cc0]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x5c]
fmul dword [esp + 0x60]
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fmul qword [0x4e36770]
fstp dword [esp + 0x64]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4ce85ea
cmp byte [0x4e83f82], 0
jne 0x4ce85d8
mov cl, byte [ebp + 5]
cmp cl, byte [esp + 0x1f]
jne 0x4ce85d8
cmp dword [eax + 0x1a0], 0
je 0x4ce85ea
lea ecx, [eax + 0x220]
call fcn.04cb1a80
mov edx, dword [esp + 0x30]
mov byte [edx], 1
jmp 0x4ce85ea
lea ecx, [eax + 0x220]
call fcn.04cb1a80
mov eax, dword [esp + 0x30]
mov byte [eax], 1
mov cl, byte [esp + 0x15]
add cl, 1
movzx edi, cl
cmp edi, 0x10
mov byte [esp + 0x15], cl
jl 0x4ce84b6
mov ecx, dword [0x4e83f6c]
mov eax, dword [ecx + 0x16edc]
test eax, eax
je 0x4ce865d
lea ebp, [eax + 4]
mov eax, dword [ebp + 4]
mov edi, dword [eax]
lea esp, [esp]
cmp ebp, ebp
mov ebx, dword [ebp + 4]
je 0x4ce862d
nop
call 0x7c1e8a94
cmp edi, ebx
je 0x4ce865d
cmp edi, dword [ebp + 4]
jne 0x4ce863c
nop
call 0x7c1e8a94
mov eax, dword [edi + 8]
test eax, eax
je 0x4ce864e
lea ecx, [eax + 0x220]
call fcn.04cb1a80
cmp edi, dword [ebp + 4]
jne 0x4ce8659
nop
call 0x7c1e8a94
mov edi, dword [edi]
jmp 0x4ce8620
mov edx, dword [esp + 0x370]
fld dword [esp + 0x364]
mov eax, dword [esp + 0x360]
push edx
mov edx, dword [esp + 0x35c]
push ecx
mov ecx, dword [esp + 0x364]
fstp dword [esp]
fld dword [esp + 0x350]
push eax
mov eax, dword [esp + 0x360]
mov edi, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x360]
push edx
mov edx, dword [esp + 0x360]
push eax
push ecx
push edx
sub esp, 0x14
fstp dword [esp + 0x10]
mov eax, esp
fld dword [esp + 0x334]
push edi
fstp dword [eax]
fld dword [esp + 0x33c]
fstp dword [eax + 4]
fld dword [esp + 0x340]
fstp dword [eax + 8]
fld dword [esp + 0x344]
fstp dword [eax + 0xc]
lea eax, [esp + 0x88]
push eax
call fcn.04ce1b20
fldz
fst dword [esp + 0x144]
xor ecx, ecx
fst dword [esp + 0x148]
add esp, 0x3c
fst dword [esp + 0x110]
or eax, 0xffffffff
fst dword [esp + 0x60]
mov dword [esp + 0x120], ecx
fst dword [esp + 0x64]
mov dword [esp + 0x11c], ecx
fst dword [esp + 0x68]
mov dword [esp + 0x128], ecx
fst dword [esp + 0x6c]
mov dword [esp + 0x124], ecx
fst dword [esp + 0x70]
mov dword [esp + 0x7c], ecx
fst dword [esp + 0x74]
mov dword [esp + 0x84], eax
fstp dword [esp + 0x78]
mov dword [esp + 0x80], eax
fld dword [esp + 0x310]
mov dword [esp + 0x88], ecx
fst dword [esp + 0xf0]
mov dword [esp + 0x8c], eax
fld dword [esp + 0x314]
fst dword [esp + 0xf4]
fld dword [esp + 0x318]
fst dword [esp + 0xf8]
fld dword [edi + 0x798]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fld dword [esp + 0x4c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x9c]
fld dword [esp + 0x54]
fmul st(1)
fstp dword [esp + 0xa0]
fmul dword [esp + 0x58]
fstp dword [esp + 0xa4]
fld dword [esp + 0x9c]
faddp st(3)
fxch st(2)
fstp dword [esp + 0xa8]
fadd dword [esp + 0xa0]
fstp dword [esp + 0xac]
xor eax, eax
mov dword [esp + 0x114], 3
fadd dword [esp + 0xa4]
mov dword [esp + 0x118], 0x4d34bf0
mov byte [esp + 0x14], cl
mov byte [esp + 0x16], cl
fstp dword [esp + 0xb0]
mov dword [esp + 0x2c], ecx
fld dword [esp + 0xa8]
mov dword [esp + 0x30], ecx
fstp dword [esp + 0xfc]
mov dword [esp + 0xbc], eax
fld dword [esp + 0xac]
mov dword [esp + 0xc0], eax
fstp dword [esp + 0x100]
mov dword [esp + 0xc4], eax
fld dword [esp + 0xb0]
mov dword [esp + 0xc8], eax
fstp dword [esp + 0x104]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov byte [esp + 0x2b], al
cmp byte [esp + 0x12], 1
je 0x4ce9401
cmp dword [esi], 4
jge 0x4ce9401
mov eax, dword [0x4e83f60]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [eax + 0x64]
lea edx, [esp + 0xf4]
push edx
call ecx
add esp, 8
test al, al
je 0x4ce9401
mov ebp, dword [esp + 0x38]
xor edi, edi
xor bl, bl
cmp dword [esi], edi
mov byte [esp + 0x15], 0
jle 0x4ce8919
mov edx, dword [esp + 0x7c]
cmp edx, dword [ebp + edi*4]
jne 0x4ce890a
mov ecx, dword [0x4e7ffd4]
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 4]
mov bl, 1
call edx
cmp eax, 0x56
jne 0x4ce88e7
xor bl, bl
jmp 0x4ce890a
cmp byte [esp + 0x16], 0
je 0x4ce88f0
xor bl, bl
mov eax, dword [esp + 0x24]
cmp byte [eax + 2], 4
jne 0x4ce8905
cmp byte [esp + 0x14], 0
je 0x4ce890a
xor bl, bl
jmp 0x4ce890a
mov byte [esp + 0x14], 0
add edi, 1
cmp edi, dword [esi]
jl 0x4ce88c4
test bl, bl
jne 0x4ce92ff
mov ecx, dword [0x4e7ffd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x80]
push 0
push eax
call edx
mov eax, dword [esp + 0x4c]
test eax, 0x2000
je 0x4ce8da5
mov ecx, dword [0x4e7ffd4]
mov eax, dword [ecx]
mov edx, dword [esp + 0x7c]
mov eax, dword [eax + 4]
push edx
call eax
cmp eax, 0x56
jne 0x4ce8b24
mov ecx, dword [esp + 0x88]
push ecx
call fcn.04c98b80
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4ce898f
cmp dword [ecx + 0x470], 0
je 0x4ce8988
mov byte [esp + 0x13], 1
jmp 0x4ce92ff
mov byte [esp + 0x13], 0
jmp 0x4ce899a
cmp byte [esp + 0x13], 0
jne 0x4ce92ff
mov eax, dword [esi]
fld dword [esp + 0x60]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x90]
fstp dword [eax + edx*4]
lea eax, [eax + edx*4]
fld dword [esp + 0x64]
mov edi, dword [esp + 0x40]
fstp dword [eax + 4]
mov byte [esp + 0x17], 1
fld dword [esp + 0x68]
fstp dword [eax + 8]
mov eax, dword [esi]
fld dword [esp + 0x6c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x94]
fstp dword [eax + edx*4]
lea eax, [eax + edx*4]
fld dword [esp + 0x70]
fstp dword [eax + 4]
fld dword [esp + 0x74]
fstp dword [eax + 8]
mov dl, byte [esp + 0x88]
mov eax, dword [esi]
fldz
add dl, 2
test ecx, ecx
mov byte [edi + eax], dl
mov edx, dword [esi]
mov eax, dword [esp + 0x7c]
mov dword [ebp + edx*4], eax
mov edx, dword [esi]
mov eax, dword [esp + 0x48]
fstp dword [eax + edx*4]
mov dl, 1
mov byte [esp + 0x12], dl
je 0x4ce8a2f
cmp dword [ecx + 0x46c], 0
je 0x4ce8a2f
cmp dword [esp + 0x34], 0
jne 0x4ce8a2f
xor dl, dl
mov byte [esp + 0x12], dl
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x2270], 0
jne 0x4ce8a5e
fld dword [0x4e3623c]
mov edi, dword [esp + 0x88]
fcomp dword [eax + edi*4 + 0x2394]
fnstsw ax
test ah, 0x41
jne 0x4ce8a5e
mov byte [esp + 0x12], 1
jmp 0x4ce8a66
test dl, dl
je 0x4ce8b17
cmp dword [ecx + 0x468], 0
je 0x4ce8b17
lea ecx, [esp + 0x138]
call fcn.04b82920
mov eax, dword [0x4e83f60]
or dword [esp + 0x114], 0x20
lea ecx, [esp + 0x138]
push ecx
mov ecx, dword [eax + 0x64]
lea edx, [esp + 0xf4]
push edx
call ecx
add esp, 8
test al, al
je 0x4ce8b0c
fld dword [esp + 0x60]
mov edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x160]
fsub dword [esp + 0x138]
fstp dword [esp + 0x12c]
fld dword [esp + 0x64]
fsub dword [esp + 0x13c]
fstp dword [esp + 0x130]
fld dword [esp + 0x68]
fsub dword [esp + 0x140]
fstp dword [esp + 0x134]
jne 0x4ce8b0c
lea ecx, [esp + 0x12c]
call fcn.04b77540
fcomp dword [0x4e36250]
fnstsw ax
test ah, 5
jp 0x4ce8b0c
mov byte [esp + 0x12], 0
mov dword [esp + 0x114], 3
add dword [esp + 0x34], 1
add dword [esi], 1
jmp 0x4ce92ff
test byte [esp + 0x4c], 1
je 0x4ce92ff
mov eax, dword [esp + 0x7c]
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx + 0x228]
push eax
call edx
mov edi, eax
add esp, 4
test edi, edi
je 0x4ce8b62
mov eax, dword [edi]
cmp eax, 1
je 0x4ce8b57
cmp eax, 0xa
jne 0x4ce8b62
cmp dword [edi + 4], 0
je 0x4ce8b62
mov byte [esp + 0x15], 1
mov ecx, dword [0x4e7ffd0]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0xec]
push edx
mov edx, dword [esp + 0x80]
push edx
call eax
cmp dword [esp + 0xec], 2
jne 0x4ce92ff
mov ecx, dword [esp + 0x88]
push ecx
call fcn.04c98b80
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
je 0x4ce8bbf
cmp dword [eax + 0x470], 0
je 0x4ce8bb8
mov byte [esp + 0x13], 1
jmp 0x4ce92ff
mov byte [esp + 0x13], 0
jmp 0x4ce8bca
cmp byte [esp + 0x13], 0
jne 0x4ce92ff
mov eax, dword [esi]
fld dword [esp + 0x60]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x90]
fstp dword [eax + edx*4]
lea eax, [eax + edx*4]
fld dword [esp + 0x64]
mov edx, dword [esp + 0x94]
fstp dword [eax + 4]
mov ebp, dword [esp + 0x40]
fld dword [esp + 0x68]
mov ebx, dword [esp + 0x48]
fstp dword [eax + 8]
mov eax, dword [esi]
fld dword [esp + 0x6c]
lea ecx, [eax + eax*2]
fstp dword [edx + ecx*4]
lea eax, [edx + ecx*4]
fld dword [esp + 0x70]
fstp dword [eax + 4]
fld dword [esp + 0x74]
fstp dword [eax + 8]
mov al, byte [esp + 0x88]
mov ecx, dword [esi]
fldz
add al, 2
test edi, edi
mov byte [ecx + ebp], al
mov edx, dword [esi]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
mov dword [ecx + edx*4], eax
mov edx, dword [esi]
fstp dword [ebx + edx*4]
je 0x4ce8d35
cmp dword [edi], 9
jne 0x4ce8d35
mov eax, dword [edi + 4]
test byte [eax + 0x24], 1
je 0x4ce8d35
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x314]
call fcn.04ca1cd0
fmul qword [0x4e55f90]
mov ecx, dword [esp + 0x24]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [ecx + 0x7c0]
fld1
fsubrp st(1)
fstp dword [esp + 0x18]
fldz
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4ce8c9e
fstp dword [esp + 0x18]
jmp 0x4ce8ca0
fstp st(0)
fld dword [ecx + 0x7a4]
mov eax, dword [esp + 0x3c]
test eax, eax
fmul dword [esp + 0x18]
mov edx, dword [esi]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [ebx + edx*4]
jle 0x4ce8cdb
mov ecx, dword [esi]
fld dword [0x4e0ee1c]
push eax
push ecx
fstp dword [esp]
lea edi, [ebx + ecx*4]
call fcn.04cd6c70
fmul dword [edi]
add esp, 8
fstp dword [edi]
cmp dword [esp + 0x34], 0
jle 0x4ce8d35
xor ecx, ecx
cmp dword [esi], ecx
jle 0x4ce8d35
fld1
mov edx, dword [esp + 0x24]
fld dword [0x4e3623c]
mov al, byte [ecx + ebp]
cmp al, 2
jbe 0x4ce8d2a
movzx eax, al
fld dword [edx + eax*4 + 0x238c]
fstp dword [esp + 0x18]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4ce8d1c
fxch st(1)
fst dword [esp + 0x18]
fxch st(1)
mov eax, dword [esi]
fld dword [ebx + eax*4]
lea eax, [ebx + eax*4]
fmul dword [esp + 0x18]
fstp dword [eax]
add ecx, 1
cmp ecx, dword [esi]
jl 0x4ce8cf4
fstp st(1)
jmp 0x4ce8d3b
fld dword [0x4e3623c]
mov eax, dword [esp + 0x20]
test eax, eax
mov byte [esp + 0x17], 1
mov byte [esp + 0x12], 1
je 0x4ce8d62
cmp dword [eax + 0x46c], 0
je 0x4ce8d62
cmp dword [esp + 0x34], 0
jne 0x4ce8d62
mov byte [esp + 0x12], 0
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x2270], 0
jne 0x4ce8d96
mov ecx, dword [esp + 0x88]
fcomp dword [eax + ecx*4 + 0x2394]
fnstsw ax
test ah, 0x41
jne 0x4ce8d98
add dword [esp + 0x34], 1
add dword [esi], 1
mov byte [esp + 0x12], 1
jmp 0x4ce92ff
fstp st(0)
add dword [esp + 0x34], 1
add dword [esi], 1
jmp 0x4ce92ff
test eax, 0x1000
je 0x4ce92ff
mov edx, dword [esp + 0x7c]
mov eax, dword [0x4e83f60]
mov ecx, dword [eax + 0x228]
push edx
call ecx
add esp, 4
test eax, eax
je 0x4ce92ff
cmp dword [eax], 2
jne 0x4ce92ff
mov edi, dword [eax + 4]
test edi, edi
je 0x4ce92ff
mov edx, dword [edi + 8]
mov ecx, dword [edx + 0x1414]
test ecx, ecx
mov dword [esp + 0x20], ecx
je 0x4ce92ff
mov ebx, dword [ecx + 0x70]
cmp ebx, dword [esp + 0x98]
mov dword [esp + 0x18], ebx
jne 0x4ce8e18
cmp byte [esp + 0x14], 0
jne 0x4ce8e18
cmp byte [esp + 0x16], 0
je 0x4ce92ff
mov eax, dword [esp + 0xb4]
cmp ebx, dword [eax]
mov dword [esp + 0x98], ebx
je 0x4ce92ff
mov al, byte [esp + 0x1e]
mov dl, byte [esp + 0x1d]
cmp al, dl
mov ebp, dword [esp + 0x44]
jae 0x4ce8e58
mov edi, edi
movzx ecx, al
imul ecx, ecx, 0x1c0
cmp dword [ecx + ebp], ebx
je 0x4ce8e54
add al, 1
cmp al, dl
jb 0x4ce8e40
mov ecx, dword [esp + 0x20]
mov edx, dword [0x4e83f4c]
cmp edx, 5
mov bl, byte [0x4e83f82]
je 0x4ce8e6e
cmp edx, 0xc
jne 0x4ce8ea3
mov edx, dword [0x4e83f6c]
mov edx, dword [edx + 0x50]
mov dl, byte [edx + 0x4fd]
test dl, dl
je 0x4ce8e92
cmp byte [ecx + 0x1813], 0
jne 0x4ce923e
test dl, dl
jne 0x4ce8ea3
cmp byte [ecx + 0x1813], 0
jne 0x4ce8ea3
test bl, bl
je 0x4ce923e
cmp dword [ecx + 0x1a0], 0
jne 0x4ce923e
test bl, bl
jne 0x4ce8ed3
mov dl, byte [esp + 0x1f]
movzx eax, al
imul eax, eax, 0x1c0
cmp byte [eax + ebp + 5], dl
jne 0x4ce8ed3
cmp byte [ecx + 0x1fe0], bl
je 0x4ce923e
mov eax, dword [esi]
fld dword [esp + 0x60]
mov ecx, dword [esp + 0x90]
lea eax, [eax + eax*2]
fstp dword [ecx + eax*4]
lea eax, [ecx + eax*4]
fld dword [esp + 0x64]
mov ebp, dword [esp + 0x48]
fstp dword [eax + 4]
fld dword [esp + 0x68]
fstp dword [eax + 8]
mov eax, dword [esi]
fld dword [esp + 0x6c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x94]
fstp dword [eax + edx*4]
lea eax, [eax + edx*4]
fld dword [esp + 0x70]
mov edx, dword [esp + 0x40]
fstp dword [eax + 4]
fld dword [esp + 0x74]
fstp dword [eax + 8]
mov ecx, dword [esi]
fldz
mov byte [edx + ecx], 1
mov eax, dword [esi]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x38]
mov dword [edx + eax*4], ecx
mov eax, dword [esi]
fstp dword [ebp + eax*4]
mov ecx, dword [edi]
push ecx
call fcn.04c910b0
mov edx, dword [edi]
push 0
mov ebx, eax
push ebx
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x324]
push ecx
push edx
call fcn.04cf1ce0
mov eax, dword [esi]
mov edx, dword [esp + 0x78]
fstp dword [ebp + eax*4]
mov ecx, dword [esi]
add esp, 0x1c
test ebx, ebx
mov dword [edx + ecx*4], 7
je 0x4ce8f87
mov eax, dword [esi]
mov ecx, dword [ebx + 0x54]
mov dword [edx + eax*4], ecx
or edi, 0xffffffff
cmp byte [esp + 0x14], 0
jne 0x4ce8f9c
cmp byte [esp + 0x16], 0
je 0x4ce90bb
fldz
mov edx, dword [esp + 0x2c]
xor ecx, ecx
fstp dword [esp + 0x20]
cmp edx, 4
jl 0x4ce907f
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + ecx*4 + 0xbc]
jne 0x4ce8fe0
mov edx, dword [esp + ecx*4 + 0xcc]
fld dword [esp + 0x20]
fld dword [ebp + edx*4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ce8fe0
fld dword [ebp + edx*4]
mov edi, edx
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + ecx*4 + 0xc0]
jne 0x4ce900f
mov edx, dword [esp + ecx*4 + 0xd0]
fld dword [esp + 0x20]
fld dword [ebp + edx*4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ce900f
fld dword [ebp + edx*4]
mov edi, edx
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + ecx*4 + 0xc4]
jne 0x4ce903e
mov edx, dword [esp + ecx*4 + 0xd4]
fld dword [esp + 0x20]
fld dword [ebp + edx*4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ce903e
fld dword [ebp + edx*4]
mov edi, edx
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + ecx*4 + 0xc8]
jne 0x4ce906d
mov edx, dword [esp + ecx*4 + 0xd8]
fld dword [esp + 0x20]
fld dword [ebp + edx*4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ce906d
fld dword [ebp + edx*4]
mov edi, edx
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
add ecx, 4
lea eax, [edx - 3]
cmp ecx, eax
jl 0x4ce8fb1
cmp ecx, edx
jge 0x4ce90bb
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + ecx*4 + 0xbc]
jne 0x4ce90b2
mov edx, dword [esp + ecx*4 + 0xcc]
fld dword [esp + 0x20]
fld dword [ebp + edx*4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ce90b2
fld dword [ebp + edx*4]
mov edi, edx
fstp dword [esp + 0x20]
add ecx, 1
cmp ecx, dword [esp + 0x2c]
jl 0x4ce9083
cmp dword [esp + 0x3c], 0
jle 0x4ce90ff
cmp edi, 0xffffffff
jne 0x4ce90ff
mov eax, dword [esp + 0x3c]
fld dword [0x4e0ee1c]
sub eax, dword [esp + 0x30]
mov edx, dword [esi]
xor ecx, ecx
test eax, eax
setle cl
sub ecx, 1
and eax, ecx
mov ecx, ebp
push eax
push ecx
fstp dword [esp]
lea ebp, [ecx + edx*4]
call fcn.04cd6c70
fmul dword [ebp]
add esp, 8
fstp dword [ebp]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi]
fld dword [ebp + ecx*4]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
fstp dword [esp]
push edx
call fcn.04cf1b40
mov eax, dword [esi]
add esp, 0x10
fstp dword [ebp + eax*4]
cmp edi, 0xffffffff
je 0x4ce9188
mov ecx, dword [esi]
fld dword [ebp + edi*4]
fld dword [ebp + ecx*4]
mov edx, dword [esp + 0x40]
fcompp
fnstsw ax
fldz
test ah, 0x41
jp 0x4ce916a
mov byte [ecx + edx], 0
mov eax, dword [esi]
mov edx, dword [esp + 0x5c]
fstp dword [ebp + eax*4]
mov ecx, dword [esi]
mov dword [edx + ecx*4], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x38]
mov dword [ecx + eax*4], 0
jmp 0x4ce9188
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
mov byte [edx + edi], 0
fstp dword [ebp + edi*4]
mov dword [eax + edi*4], 0
mov dword [ecx + edi*4], 0
mov eax, dword [ebx + 0x54]
cmp eax, 2
mov ecx, dword [esp + 0x2c]
jne 0x4ce91b6
mov edx, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0xbc], edx
mov edx, dword [esi]
mov dword [esp + ecx*4 + 0xcc], edx
add ecx, 1
mov byte [esp + 0x16], 1
mov dword [esp + 0x2c], ecx
jmp 0x4ce91bb
mov byte [esp + 0x16], 0
cmp eax, 6
je 0x4ce91cc
cmp eax, 3
je 0x4ce91cc
mov byte [esp + 0x14], 0
jmp 0x4ce91ec
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
mov dword [esp + ecx*4 + 0xbc], eax
mov dword [esp + ecx*4 + 0xcc], edx
add ecx, 1
mov byte [esp + 0x14], 1
mov dword [esp + 0x2c], ecx
add dword [esi], 1
mov eax, dword [0x4e83f4c]
add dword [esp + 0x3c], 1
cmp eax, 5
mov byte [esp + 0x17], 1
je 0x4ce9223
cmp eax, 0xc
je 0x4ce9223
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x226c], 0
jne 0x4ce92ff
mov byte [esp + 0x12], 1
jmp 0x4ce93ef
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x2274], 0
jne 0x4ce92ff
mov byte [esp + 0x12], 1
jmp 0x4ce93ef
call fcn.04cb0fc0
test al, al
je 0x4ce92ff
mov eax, dword [esi]
fld dword [esp + 0x60]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x90]
fstp dword [eax + edx*4]
lea eax, [eax + edx*4]
fld dword [esp + 0x64]
mov edx, dword [esp + 0x94]
fstp dword [eax + 4]
fld dword [esp + 0x68]
fstp dword [eax + 8]
mov eax, dword [esi]
fld dword [esp + 0x6c]
lea ecx, [eax + eax*2]
fstp dword [edx + ecx*4]
lea eax, [edx + ecx*4]
fld dword [esp + 0x70]
mov ecx, dword [esp + 0x40]
fstp dword [eax + 4]
fld dword [esp + 0x74]
fstp dword [eax + 8]
mov eax, dword [esi]
fldz
mov byte [ecx + eax], 1
mov edx, dword [esi]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
mov dword [ecx + edx*4], eax
mov edx, dword [esi]
mov eax, dword [esp + 0x48]
fstp dword [eax + edx*4]
mov ecx, dword [edi]
push ecx
call fcn.04c910b0
mov eax, dword [eax + 0x54]
mov edx, dword [esi]
mov ecx, dword [esp + 0x60]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [esp + ecx*4 + 0xc0], edx
mov edx, 1
add dword [esp + 0x40], edx
mov dword [esp + ecx*4 + 0xd0], eax
add ecx, edx
add eax, edx
add esp, 4
add dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esi], eax
mov byte [esp + 0x17], dl
cmp byte [esp + 0x12], 0
jne 0x4ce93ef
cmp byte [esp + 0x15], 0
fld dword [esp + 0x50]
je 0x4ce9366
fadd dword [esp + 0x60]
fstp dword [esp + 0xa8]
fld dword [esp + 0x54]
fadd dword [esp + 0x64]
fstp dword [esp + 0xac]
fld dword [esp + 0x58]
fadd dword [esp + 0x68]
fstp dword [esp + 0xb0]
fld dword [esp + 0xa8]
fstp dword [esp + 0xf0]
fld dword [esp + 0xac]
fstp dword [esp + 0xf4]
fld dword [esp + 0xb0]
jmp 0x4ce93e8
fld qword [0x4e0e230]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x9c]
fld dword [esp + 0x54]
fmul st(1)
fstp dword [esp + 0xa0]
fmul dword [esp + 0x58]
fstp dword [esp + 0xa4]
fld dword [esp + 0x9c]
fadd dword [esp + 0x60]
fstp dword [esp + 0xdc]
fld dword [esp + 0xa0]
fadd dword [esp + 0x64]
fstp dword [esp + 0xe0]
fld dword [esp + 0xa4]
fadd dword [esp + 0x68]
fstp dword [esp + 0xe4]
fld dword [esp + 0xdc]
fstp dword [esp + 0xf0]
fld dword [esp + 0xe0]
fstp dword [esp + 0xf4]
fld dword [esp + 0xe4]
fstp dword [esp + 0xf8]
mov al, byte [esp + 0x2b]
add al, 1
cmp al, 0xa
mov byte [esp + 0x2b], al
jb 0x4ce887d
mov dl, byte [esp + 0x1e]
mov cl, byte [esp + 0x1d]
cmp dl, cl
jae 0x4ce94a1
mov ebx, dword [esp + 0xb8]
movzx eax, dl
mov esi, eax
imul esi, esi, 0x1c0
add esi, dword [esp + 0x44]
lea edi, [ebx + eax]
lea ebp, [eax + eax*2]
lea eax, [esp + 0x2e8]
sub eax, ebx
sub cl, dl
lea ebp, [esp + ebp*4 + 0x228]
mov dword [esp + 0xb4], eax
movzx ebx, cl
lea esp, [esp]
mov al, byte [esp + 0x1f]
cmp byte [esi + 5], al
je 0x4ce9490
mov ecx, dword [esp + 0xb4]
cmp byte [ecx + edi], 0
je 0x4ce9490
cmp dword [esp + 0xb8], 0
je 0x4ce9473
mov byte [edi], 1
mov eax, dword [esi]
test eax, eax
je 0x4ce9490
cmp dword [esi + 0x14], 0
je 0x4ce9490
mov ecx, dword [0x4e7ffd4]
mov edx, dword [ecx]
push 0
push ebp
push eax
mov eax, dword [edx + 0x24]
call eax
add edi, 1
add ebp, 0xc
add esi, 0x1c0
sub ebx, 1
jne 0x4ce9450
cmp dword [esp + 0xe8], 0
je 0x4ce94e8
mov edi, dword [esp + 0x44]
lea esi, [esp + 0x168]
mov ebp, 0x10
jmp 0x4ce94c0
mov eax, dword [edi]
test eax, eax
je 0x4ce94da
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
push 1
push esi
push eax
mov eax, dword [edx + 0xbc]
call eax
add esi, 0xc
add edi, 0x1c0
sub ebp, 1
jne 0x4ce94c0
movzx eax, byte [esp + 0x17]
mov ecx, dword [esp + 0x2f8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.04df7d7a
add esp, 0x2ec
ret