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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x1006a00c]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], edx
mov edx, ecx
mov ecx, dword [0x1006b178]
mov dword [esp + 0x1c], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x199c]
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], edx
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov ecx, edx
mov dword [esp + 0x84], eax
mov edi, dword [eax + 0x270]
mov dword [esp + 0x20], edi
call fcn.1000ce50
call fcn.1000cec0
mov edx, esi
or edx, 0x10
test esi, 0x100
cmovne edx, esi
mov dword [esp + 0xd0], edx
test dl, 8
jne 0x1002c221
mov ecx, dword [esp + 0x3c]
call fcn.1002f7c0
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0x18]
test edx, 0x6000000
jne 0x1002c24a
mov eax, dword [esi + 0x2be0]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1002c24c
mov ecx, edx
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x1002c266
mov eax, dword [esi + 0x2be0]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
mov edx, ecx
and eax, 0x10002
and edx, 2
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x48], edx
movss xmm0, dword [eax + 0xc8]
movss xmm4, dword [eax + 0xc4]
mov eax, dword [0x1006b178]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm4
movss xmm5, dword [eax + 0x1550]
mov esi, dword [eax + 0x199c]
addss xmm5, xmm5
movss xmm2, dword [esi + 0x168]
comiss xmm0, xmm2
addss xmm5, dword [eax + 0x18bc]
movss dword [esp + 0x70], xmm5
jbe 0x1002c350
movss xmm3, dword [esi + 0xc4]
movss xmm1, dword [esi + 0x210]
mov ecx, dword [esi + 0x1b8]
subss xmm3, dword [esi + 0xc]
subss xmm1, dword [esi + 0xc]
test ecx, ecx
je 0x1002c33c
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esi + 0x1b8]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0x48]
mulss xmm1, dword [eax + ecx*4]
addss xmm1, xmm0
subss xmm1, dword [esi + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x1006747c]
maxss xmm2, xmm1
mov eax, dword [esp + 0x18]
movss xmm3, dword [eax + 0x1564]
cvttss2si eax, xmm2
movaps xmm0, xmm3
addss xmm0, xmm5
movd xmm2, eax
xor eax, eax
cmp dword [esp + 0xd8], 0x10000
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
movaps xmm0, xmm4
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x40]
subss xmm2, xmm1
mov dword [esp + 0xd8], eax
movaps xmm1, xmm5
lea eax, [esp + 0x12c]
push eax
maxss xmm1, xmm2
addss xmm0, xmm1
movss dword [esp + 0x64], xmm1
movaps xmm1, xmm3
addss xmm1, xmm0
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm1
movss dword [esp + 0xbc], xmm1
addss xmm0, xmm5
movss dword [esp + 0xd4], xmm0
addss xmm0, xmm3
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x1006742c]
cvttss2si esi, xmm0
mov dword [esp + 0x90], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm2, dword [esp + 0x64]
add esp, 0xc
movaps xmm3, xmm2
mov dword [esp + 0x44], 0
mulss xmm3, dword [0x10067444]
movaps xmm1, xmm2
mulss xmm1, dword [0x1006741c]
movaps xmm0, xmm3
movss dword [esp + 0x7c], xmm3
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x80], xmm1
movaps xmm4, xmm3
subss xmm4, xmm1
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x70]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xa0], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10067410]
mulss xmm1, dword [0x10067444]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x28]
movss dword [esp + 0x60], xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0x9c], xmm1
movaps xmm1, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x40], xmm1
mulss xmm0, dword [0x100675bc]
movaps xmm2, xmm1
mulss xmm2, dword [0x100675c8]
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x104], xmm0
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x108], xmm2
mov eax, dword [esp + 0x3c]
xorps xmm3, xmm3
lea ecx, [eax + 4]
movss dword [esp + 0x114], xmm0
movaps xmm0, xmm1
mov dword [esp + 0xac], ecx
mulss xmm0, dword [0x10067474]
movss xmm5, dword [eax]
add eax, 8
movss xmm1, dword [ecx]
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x118], xmm0
movss xmm2, dword [eax]
comiss xmm2, xmm1
mov dword [esp + 0x78], eax
movss dword [esp + 0x74], xmm5
jbe 0x1002c55f
movss xmm3, dword [0x100675cc]
movaps xmm0, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
comiss xmm1, xmm5
jbe 0x1002c582
movaps xmm0, xmm5
movaps xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x74], xmm5
movss xmm0, dword [0x100675b8]
subss xmm0, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm1
movaps xmm4, xmm5
minss xmm0, xmm2
subss xmm1, xmm2
movss xmm2, dword [0x100674e4]
movss dword [esp + 0xd4], xmm2
subss xmm4, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm2
addss xmm0, dword [0x100673ec]
divss xmm1, xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
call fcn.10001510
movss dword [esp + 0x54], xmm0
mov ecx, 8
movaps xmm0, xmm5
mov byte [esp + 0xe], 0
addss xmm0, dword [0x100673ec]
mov byte [esp + 0x16], 0
mov byte [esp + 0xf], 0
divss xmm4, xmm0
movss dword [esp + 0x6c], xmm4
call fcn.1000ca80
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x50], ecx
je 0x1002cbf0
movss xmm1, dword [esp + 0x58]
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x18]
movaps xmm0, xmm1
mov ecx, 0x10066a8c
movss dword [esp + 0x34], xmm1
addss xmm0, dword [eax + 0x1564]
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0x30], xmm0
call fcn.10021d20
mov eax, dword [0x1006b178]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x1002cae6
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x108]
jne 0x1002cae6
mov eax, dword [esp + 0x18]
movss xmm0, dword [eax + 0x3ac]
subss xmm0, dword [esp + 0xbc]
movss xmm1, dword [eax + 0x3a8]
subss xmm1, dword [esp + 0xb4]
movss xmm2, dword [eax + 0xe4]
movss xmm4, dword [eax + 0xe8]
subss xmm2, dword [esp + 0xb4]
subss xmm4, dword [esp + 0xbc]
movaps xmm3, xmm0
movss dword [esp + 0xb8], xmm0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x64], xmm1
movss xmm1, dword [0x1006747c]
addss xmm3, xmm0
movss dword [esp + 0xdc], xmm2
movss xmm0, dword [esp + 0x60]
subss xmm0, xmm1
movss dword [esp + 0xe0], xmm4
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x1002c776
movss xmm0, dword [esp + 0x7c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1002c776
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm3, dword [0x100674c0]
xorps xmm0, xmm0
fstp qword [esp + 0x30]
movsd xmm2, qword [esp + 0x30]
cvtpd2ps xmm2, xmm2
divss xmm2, xmm3
mulss xmm2, dword [0x10067444]
comiss xmm0, xmm2
movss dword [esp + 0x54], xmm2
jbe 0x1002c76e
addss xmm2, dword [0x1006747c]
movss dword [esp + 0x54], xmm2
mov al, 1
mov byte [esp + 0xe], al
jmp 0x1002c788
mov al, byte [esp + 0xe]
movss xmm3, dword [0x100674c0]
movss xmm2, dword [esp + 0x54]
movaps xmm0, xmm2
mov byte [esp + 0x16], al
xorps xmm0, xmmword [0x10067860]
addss xmm0, xmm0
mulss xmm0, xmm3
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x68], xmm0
movsd xmm0, qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x64]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0xb8]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x68]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x40]
mulss xmm1, dword [esp + 0x68]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0xc0], xmm5
movss xmm0, dword [esp + 0x90]
subss xmm0, dword [esp + 0x94]
addss xmm3, xmm1
movss xmm1, dword [esp + 0x98]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm4
subss xmm6, dword [esp + 0x98]
movss dword [esp + 0xb8], xmm0
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x94]
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x4c], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x90]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x90]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1002cade
movss xmm0, dword [esp + 0x94]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0x98]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x1002cade
movss xmm6, dword [esp + 0xdc]
movss xmm1, dword [esp + 0xe0]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x68]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x68]
mulss xmm0, dword [esp + 0xc0]
mulss xmm6, dword [esp + 0xc0]
movss xmm4, dword [esp + 0x98]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x30], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x34], xmm6
subss xmm0, dword [esp + 0x94]
mulss xmm1, dword [esp + 0xb8]
mulss xmm0, dword [esp + 0x64]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x90]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x4c]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x88]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1002c9de
movss xmm3, dword [esp + 0x40]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0x94]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1002ca21
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x10c]
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xec]
call fcn.100029e0
movss xmm3, dword [esp + 0x4c]
add esp, 0xc
movss xmm4, dword [esp + 0x98]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0x94]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0x90]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
movaps xmm0, xmm4
mulss xmm3, xmm1
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x1006747c]
movaps xmm2, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
movss xmm3, dword [0x10067400]
subss xmm2, xmm0
movss dword [esp + 0x6c], xmm3
comiss xmm3, xmm2
movaps xmm0, xmm2
subss xmm0, xmm6
jbe 0x1002caaf
movaps xmm4, xmm3
movss dword [esp + 0x74], xmm3
jmp 0x1002cabc
movaps xmm4, xmm1
minss xmm4, xmm2
movss dword [esp + 0x74], xmm4
divss xmm0, xmm4
comiss xmm3, xmm0
ja 0x1002cad2
movaps xmm3, xmm1
minss xmm3, xmm0
movss dword [esp + 0x6c], xmm3
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
jmp 0x1002cae6
mov al, byte [esp + 0xe]
mov byte [esp + 0x16], al
test byte [esp + 0x10], 8
jne 0x1002caf2
call fcn.1000d660
movss xmm2, dword [esp + 0x1c]
cmp dword [esp + 0xd8], 0x10000
jne 0x1002ce11
mov ecx, dword [0x1006b178]
lea edx, [esp + 0x104]
movss xmm0, dword [esp + 0xcc]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov ecx, str.alpha
movss dword [eax + 0xc4], xmm0
movss dword [eax + 0xc8], xmm2
movss xmm1, dword [eax + 0xdc]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe0]
maxss xmm0, xmm2
movss dword [eax + 0xdc], xmm1
movss dword [eax + 0xe0], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x108], xmm0
call fcn.10021d20
mov eax, dword [0x1006b178]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x1002ce15
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x108]
jne 0x1002ce15
movss xmm0, dword [esp + 0x58]
xorps xmm2, xmm2
movss xmm1, dword [0x1006747c]
movss xmm3, dword [edx + 0xe8]
subss xmm0, xmm1
subss xmm3, dword [esp + 0x1c]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1002cdf3
xorps xmm4, xmm4
jmp 0x1002cdfa
test eax, 0x2000000
je 0x1002caf2
movss xmm0, dword [esp + 0x58]
lea edx, [esp + 0x104]
mov ecx, 0x10066a90
movss dword [esp + 0x104], xmm0
movss dword [esp + 0x108], xmm0
call fcn.10021d20
mov ecx, dword [0x1006b178]
mov edx, dword [ecx + 0x19bc]
test edx, edx
je 0x1002ccc1
mov eax, dword [ecx + 0x199c]
cmp edx, dword [eax + 0x108]
jne 0x1002ccc1
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x58]
movss xmm1, dword [0x1006747c]
subss xmm2, xmm1
movss xmm3, dword [eax + 0xe4]
subss xmm3, dword [esp + 0x28]
movss dword [esp + 0x68], xmm2
divss xmm3, xmm2
comiss xmm0, xmm3
jbe 0x1002cc84
movss dword [esp + 0x6c], xmm0
jmp 0x1002cc91
movaps xmm4, xmm1
minss xmm4, xmm3
movss dword [esp + 0x6c], xmm4
movss xmm3, dword [eax + 0xe8]
subss xmm3, dword [esp + 0x1c]
divss xmm3, xmm2
comiss xmm0, xmm3
ja 0x1002ccaf
movaps xmm0, xmm1
minss xmm0, xmm3
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0xe], al
movss dword [esp + 0x74], xmm1
jmp 0x1002ccd9
movss xmm0, dword [esp + 0x58]
subss xmm0, dword [0x1006747c]
mov al, byte [esp + 0xe]
movss dword [esp + 0x68], xmm0
test byte [esp + 0x10], 8
mov byte [esp + 0xf], al
mov byte [esp + 0x17], al
jne 0x1002ccf3
call fcn.1000d660
mov ecx, dword [0x1006b178]
mov eax, dword [ecx + 0x199c]
lea edx, [esp + 0x104]
movss xmm0, dword [esp + 0xb0]
movss xmm2, dword [esp + 0x1c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov ecx, 0x10066a94
movss dword [eax + 0xc4], xmm0
movss dword [eax + 0xc8], xmm2
movss xmm1, dword [eax + 0xdc]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe0]
maxss xmm0, xmm2
movss dword [eax + 0xdc], xmm1
movss dword [eax + 0xe0], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x108], xmm0
call fcn.10021d20
mov eax, dword [0x1006b178]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x1002caf2
mov eax, dword [eax + 0x199c]
mov dl, byte [esp + 0xe]
movss xmm2, dword [esp + 0x1c]
mov byte [esp + 0xf], dl
cmp ecx, dword [eax + 0x108]
jne 0x1002caf8
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0xe8]
subss xmm1, xmm2
divss xmm1, dword [esp + 0x68]
comiss xmm0, xmm1
ja 0x1002cdd6
movss xmm0, dword [0x1006747c]
minss xmm0, xmm1
mov al, byte [esp + 0x17]
movss dword [esp + 0x54], xmm0
mov byte [esp + 0x16], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0xf], al
jmp 0x1002caf8
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x3c]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 0xe], 1
movss dword [eax + 0xc], xmm0
jmp 0x1002ce15
mov edx, dword [esp + 0x18]
mov ecx, dword [0x1006b178]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov eax, dword [ecx + 0x170]
add eax, 0xffffffff
mov dword [esp + 0x4c], eax
mov dword [ecx + 0x170], eax
jne 0x1002ce44
xor eax, eax
jmp 0x1002ce56
mov edi, dword [esp + 0x4c]
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x20]
mov dword [ecx + 0x164], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x64], ecx
jne 0x1002ce87
movss xmm1, dword [edx + 0x1564]
xorps xmm0, xmm0
call fcn.1000d1a0
call fcn.1000cec0
mov eax, dword [esp + 0x10]
and eax, 0x80
mov dword [esp + 0x4c], eax
jne 0x1002ceee
mov ecx, dword [esp + 0x5c]
cmp ecx, 0xffffffff
jae 0x1002ceee
nop dword [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x1002ceb6
cmp dl, 0x23
jne 0x1002ceb0
cmp byte [ecx + 1], dl
je 0x1002ceb6
inc ecx
cmp ecx, 0xffffffff
jb 0x1002cea0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x68], ecx
cmp eax, ecx
je 0x1002ceee
cmp dword [esp + 0x64], 0
je 0x1002cee5
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.1000d1a0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov edx, ecx
mov ecx, eax
call fcn.10020b80
cmp dword [esp + 0x64], 0
jne 0x1002d0c5
mov ecx, 0x10
call fcn.1000ca80
cmp dword [esp + 0x48], 0
mov eax, dword [esp + 0x3c]
je 0x1002cf18
movss xmm1, dword [0x1006747c]
jmp 0x1002cf1d
movss xmm1, dword [eax + 0xc]
cmp dword [esp + 0x4c], 0
movss xmm0, dword [eax]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x110], xmm1
je 0x1002cf63
push str.Current
call fcn.10021240
add esp, 4
movss xmm1, dword [esp + 0x70]
lea edx, [esp + 0x104]
mov eax, dword [esp + 0x10]
movaps xmm0, xmm1
mulss xmm0, dword [0x100674bc]
and eax, 0xe0040
mov ecx, str.current
mov dword [esp + 0xc0], eax
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0x8c], xmm0
push dword [esp + 0x34]
push eax
call fcn.1002e7d0
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x1002d085
push str.Original
call fcn.10021240
mov eax, dword [esp + 0x28]
add esp, 4
cmp dword [esp + 0x48], 0
je 0x1002cff0
movss xmm1, dword [0x1006747c]
jmp 0x1002cff5
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x114]
movss dword [esp + 0x114], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0x124], xmm1
push dword [esp + 0x34]
push dword [esp + 0xc8]
call fcn.1002e7d0
add esp, 0xc
test al, al
je 0x1002d085
push dword [esp + 0xd0]
push dword [esp + 0x28]
push dword [esp + 0x44]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
mov ecx, dword [0x1006b178]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov edx, dword [ecx + 0x170]
sub edx, 1
mov dword [ecx + 0x170], edx
jne 0x1002d0b0
xor eax, eax
jmp 0x1002d0ba
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x164], eax
call fcn.1000d000
cmp byte [esp + 0x16], 0
jne 0x1002d0d3
cmp byte [esp + 0xf], 0
je 0x1002d131
movss xmm1, dword [esp + 0x74]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1002d0e6
movaps xmm2, xmm1
jmp 0x1002d0ee
movss xmm2, dword [0x100673f0]
movss xmm3, dword [esp + 0x6c]
comiss xmm3, xmm0
movss xmm1, dword [0x100673f4]
ja 0x1002d104
movaps xmm3, xmm1
movss xmm0, dword [esp + 0x54]
comiss xmm0, dword [0x1006747c]
jb 0x1002d117
subss xmm0, xmm1
push dword [esp + 0x78]
mov edx, dword [esp + 0xb0]
movaps xmm1, xmm3
mov ecx, dword [esp + 0x40]
call fcn.100033a0
add esp, 4
test byte [esp + 0x10], 0x20
mov byte [esp + 0x17], 0
jne 0x1002d427
cmp dword [esp + 0xd8], 0x10000
jne 0x1002d159
movss xmm0, dword [esp + 0xcc]
jmp 0x1002d162
movss xmm0, dword [esp + 0xb0]
addss xmm0, dword [esp + 0x70]
mov ecx, dword [0x1006b178]
subss xmm0, dword [esp + 0x28]
mov eax, dword [ecx + 0x199c]
ucomiss xmm0, dword [0x100673d8]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x64], ecx
lahf
test ah, 0x44
jp 0x1002d19d
movss xmm0, dword [ecx + 0x21c]
movss dword [ecx + 0x168], xmm0
add ecx, 0x17c
mov dword [esp + 0x88], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1002d1e9
inc edx
mov dword [esp + 0x4c], edx
test eax, eax
je 0x1002d1d2
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1002d1d7
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.100129d0
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [esp + 0x64]
mov ecx, dword [ecx + 8]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x64]
inc dword [eax + 0x17c]
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0x18e001a
mov dword [esp + 0x48], edx
test eax, 0x100000
jne 0x1002d230
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x24], ecx
jne 0x1002d290
mov dword [esp + 0x24], ecx
jmp 0x1002d239
and eax, 0x700000
mov dword [esp + 0x24], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x40]
call fcn.1002ab40
add esp, 4
test al, al
je 0x1002d284
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x19bc], 0
je 0x1002d270
cmp byte [eax + 0x19cd], 0
mov byte [esp + 0x17], 1
je 0x1002d275
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0x24]
mov byte [esp + 0xe], 1
mov dword [esp + 0x24], ecx
jmp 0x1002d288
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x1002d29b
test ecx, ecx
jne 0x1002d2bf
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, dword [esp + 0x40]
call fcn.1002ab40
mov ecx, dword [esp + 0x28]
add esp, 4
or byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x1002d2ca
test ecx, ecx
jne 0x1002d2e9
mov eax, dword [esp + 0x48]
mov ecx, str.hex
mov edx, dword [esp + 0x3c]
or eax, 0x400004
push eax
call fcn.1002ab40
add esp, 4
or byte [esp + 0xe], al
mov ecx, dword [0x1006b178]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x1002d31a
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002d326
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
cmp byte [esp + 0x17], 0
movss dword [ecx + 0x168], xmm0
je 0x1002d427
mov ecx, dword [esp + 0x3c]
xorps xmm2, xmm2
movss xmm3, dword [ecx + 4]
lea edx, [ecx + 4]
movss xmm5, dword [ecx + 8]
lea eax, [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
xorps xmm6, xmm6
jbe 0x1002d36d
movss xmm6, dword [0x100675cc]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1002d38a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100675b8]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100673ec]
movaps xmm7, xmm1
mulss xmm1, dword [0x100674e4]
divss xmm7, xmm0
addss xmm1, dword [0x100673ec]
divss xmm3, xmm1
addss xmm3, xmm6
movaps xmm0, xmm3
call fcn.10001510
comiss xmm2, xmm0
jb 0x1002d427
movss xmm0, dword [esp + 0x54]
comiss xmm0, xmm2
jbe 0x1002d427
comiss xmm2, xmm4
jb 0x1002d408
movss xmm1, dword [esp + 0x74]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
lea eax, [ecx + 8]
jnp 0x1002d408
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x6c]
mulss xmm2, dword [0x10067444]
jmp 0x1002d41e
comiss xmm2, xmm7
jb 0x1002d427
movss xmm1, dword [esp + 0x6c]
movaps xmm2, xmm4
mulss xmm1, dword [0x10067444]
push eax
call fcn.100033a0
add esp, 4
movaps xmm0, xmmword [0x10067800]
lea eax, [esp + 0x10c]
movss xmm2, dword [0x1006747c]
lea edx, [esp + 0x108]
movups xmmword [esp + 0x104], xmm0
lea ecx, [esp + 0x104]
movss xmm0, dword [esp + 0x54]
movaps xmm1, xmm2
push eax
call fcn.100033a0
movups xmm3, xmmword [esp + 0x108]
add esp, 4
movss xmm2, dword [0x1006747c]
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1002d482
xorps xmm0, xmm0
jmp 0x1002d489
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x10067574]
movss xmm7, dword [0x10067444]
movss xmm4, dword [esp + 0x108]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x1002d4b8
xorps xmm0, xmm0
jmp 0x1002d4bf
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x10c]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1002d4e3
xorps xmm0, xmm0
jmp 0x1002d4ea
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x110]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1002d50e
xorps xmm0, xmm0
jmp 0x1002d515
movaps xmm0, xmm2
minss xmm0, xmm4
mov eax, dword [esp + 0x3c]
mulss xmm0, xmm3
movss xmm4, dword [eax]
mov eax, dword [esp + 0xac]
addss xmm0, xmm7
movss xmm5, dword [eax]
mov eax, dword [esp + 0x78]
cvttss2si edx, xmm0
movss xmm6, dword [eax]
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x5c], edx
jbe 0x1002d54f
xorps xmm0, xmm0
jmp 0x1002d556
movaps xmm0, xmm2
minss xmm0, xmm4
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x1002d56c
xorps xmm0, xmm0
jmp 0x1002d573
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm6
jbe 0x1002d58e
xorps xmm0, xmm0
jmp 0x1002d595
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
mov dword [esp + 0xe8], 0xff0000ff
mov dword [esp + 0xec], 0xff00ffff
mov dword [esp + 0xf0], 0xff00ff00
addss xmm0, xmm7
mov dword [esp + 0xf4], 0xffffff00
mov dword [esp + 0xf8], 0xffff0000
mov dword [esp + 0xfc], 0xffff00ff
mov dword [esp + 0x100], 0xff0000ff
mov dword [esp + 0x34], 0
cvttss2si eax, xmm0
mov dword [esp + 0x30], 0
shl eax, 0x10
or ecx, eax
or ecx, 0xff000000
cmp dword [esp + 0x50], 0
mov dword [esp + 0x68], ecx
je 0x1002e0b2
movss xmm1, dword [esp + 0x7c]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x10067488]
movss xmm0, dword [esp + 0x60]
mov esi, dword [esp + 0x20]
addss xmm0, xmm1
divss xmm3, xmm1
lea edi, [esi + 0x54]
mov dword [esp + 0x10], edi
cvttss2si ecx, xmm1
movaps xmm4, xmm0
movss dword [esp + 0xe0], xmm3
imul ecx
mulss xmm4, xmm7
movss dword [esp + 0xc8], xmm0
mov eax, 4
movss dword [esp + 0xdc], xmm4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x48], eax
nop dword [eax]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x18]
push ecx
push ecx
mov dword [esp + 0xc8], eax
mov ecx, esi
lea eax, [esp + 0xa4]
movaps xmm1, xmm0
addss xmm0, xmm2
divss xmm1, dword [0x100674e4]
divss xmm0, dword [0x100674e4]
addss xmm1, xmm1
movaps xmm2, xmm4
addss xmm0, xmm0
mulss xmm1, dword [0x100674c0]
mulss xmm0, dword [0x100674c0]
subss xmm1, xmm3
addss xmm0, xmm3
movaps xmm3, xmm1
movss dword [esp + 0x84], xmm1
movss dword [esp], xmm0
push eax
movss dword [esp + 0x84], xmm0
call fcn.1001be00
movss xmm0, dword [esp + 0x80]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push 0xffffffffffffffff
push dword [edi]
push dword [esi + 0x5c]
call fcn.1001ad10
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002d744
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10012e70
movss xmm0, dword [esp + 0x7c]
cvtps2pd xmm0, xmm0
mov dword [edi], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x7c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x4c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x78]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x78]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x50], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov edx, dword [esp + 0x48]
xorps xmm4, xmm4
movss xmm3, dword [esp + 0x50]
movss xmm5, dword [esp + 0x4c]
movss xmm6, dword [esp + 0x88]
subss xmm3, xmm5
mov eax, dword [esp + edx*4 + 0xec]
mov ecx, dword [esi + 0x20]
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + edx*4 + 0xe8]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x18]
movss xmm2, dword [0x1006747c]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x60]
movaps xmm7, xmm2
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mulss xmm0, xmm3
mov dword [esp + 0xac], eax
addss xmm4, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
subss xmm4, xmm6
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x24], eax
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
cmp eax, dword [esp + 0xac]
jae 0x1002d996
movzx eax, dl
mov dword [esp + 0x78], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x7c]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x7c]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x64], edx
movzx edx, al
mov eax, dword [esp + 0x7c]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x78]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x64]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1002d8e1
xorps xmm2, xmm2
jmp 0x1002d8e5
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0x24]
addss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl eax, 8
movd xmm1, dword [esp + 0x50]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x18], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x18], eax
shl dword [esp + 0x18], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x78]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x1006747c]
or dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x64]
add eax, 0x14
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0xac]
jb 0x1002d8b3
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
movss xmm3, dword [esp + 0xe0]
inc eax
movss xmm4, dword [esp + 0xdc]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x48], eax
cmp eax, 6
jl 0x1002d690
movss xmm0, dword [esp + 0x54]
addss xmm0, xmm0
mulss xmm0, dword [0x100674c0]
movss dword [esp + 0x54], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x54]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x60], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x16], 0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x60]
mulss xmm0, dword [esp + 0xc8]
movss xmm4, dword [esp + 0x80]
movss dword [esp + 0x4c], xmm1
mulss xmm0, dword [0x10067444]
addss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xc8]
mulss xmm0, dword [0x10067444]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x2c], xmm0
je 0x1002da69
mulss xmm4, dword [0x10067450]
jmp 0x1002da71
mulss xmm4, dword [0x10067448]
movaps xmm0, xmm4
movss dword [esp + 0x80], xmm4
divss xmm0, dword [0x10067484]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1002da95
mov eax, 9
jmp 0x1002da9f
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x5c], 0xff000000
movss xmm3, dword [0x100674f0]
mov esi, dword [esp + 0x84]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x48], eax
movss dword [esp + 0x50], xmm2
je 0x1002db4f
movaps xmm0, xmm2
subss xmm0, dword [0x1006747c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x30]
mulss xmm0, xmm3
xorps xmm3, xmm3
divss xmm0, xmm2
movaps xmm2, xmm4
movss dword [esp], xmm0
push eax
call fcn.1001be00
push dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
mov ecx, eax
push dword [edi]
push dword [eax + 0x5c]
call fcn.1001b8f0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002db2e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10012e70
movss xmm2, dword [esp + 0x50]
movss xmm3, dword [0x100674f0]
movss xmm4, dword [esp + 0x80]
mov eax, dword [esp + 0x48]
mov dword [edi], 0
movaps xmm1, xmm2
subss xmm1, dword [0x1006747c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x30]
mulss xmm1, xmm3
xorps xmm3, xmm3
divss xmm1, xmm2
movaps xmm2, xmm4
addss xmm2, dword [0x1006747c]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x5c], xmm1
subss xmm2, dword [0x10067444]
call fcn.1001be00
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push 0xff808080
push dword [edi]
push dword [eax + 0x5c]
call fcn.1001ad10
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002dbd1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10012e70
push dword [esp + 0x48]
movss xmm2, dword [esp + 0x84]
lea eax, [esp + 0x2c]
movss xmm0, dword [esp + 0x54]
xorps xmm3, xmm3
subss xmm2, dword [0x10067444]
push ecx
mov ecx, dword [esp + 0x28]
movss dword [esp], xmm0
push eax
mov dword [edi], 0
call fcn.1001be00
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push 0xffffffffffffffff
push dword [edi]
push dword [eax + 0x5c]
call fcn.1001ad10
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002dc44
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10012e70
movss xmm3, dword [esp + 0x60]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x4c]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x40]
movaps xmm0, xmm5
mov eax, dword [0x1006b178]
movss xmm6, dword [esp + 0xb4]
movaps xmm4, xmm3
mulss xmm0, xmm1
mov ecx, dword [esp + 0x20]
movss xmm7, dword [esp + 0xbc]
mulss xmm4, dword [esp + 0x98]
mov dword [edi], 0
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
push 6
mulss xmm1, dword [esp + 0x9c]
push 6
addss xmm2, xmm6
movss dword [esp + 0x30], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x48]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x98]
mulss xmm5, dword [esp + 0x9c]
addss xmm2, xmm7
movss dword [esp + 0x34], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x98]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0x9c]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm4, xmm6
addss xmm0, xmm7
movss dword [esp + 0x90], xmm2
addss xmm3, xmm7
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x94], xmm0
movss xmm0, dword [eax + 0x18c4]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [eax + 0x18c8]
movss dword [esp + 0x68], xmm3
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x54], xmm0
call fcn.1001ab60
mov edx, dword [esp + 0x20]
movss xmm2, dword [esp + 0x28]
movss xmm3, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x50]
mov ecx, dword [edx + 0x38]
mov ax, word [edx + 0x30]
movss xmm1, dword [esp + 0x4c]
movss xmm5, dword [esp + 0x88]
mov word [ecx], ax
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
mov ecx, dword [esp + 0x5c]
movss xmm4, dword [esp + 0x8c]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [edx + 0x38]
inc dword [edx + 0x30]
add dword [edx + 0x34], 0x14
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edx + 0x34]
mov ecx, dword [esp + 0x5c]
movss xmm7, dword [esp + 0x40]
movss xmm6, dword [esp + 0x60]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], ecx
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
add dword [edx + 0x38], 2
mov eax, dword [edx + 0x34]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0xff000000
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
jne 0x1002df0d
inc ecx
test eax, eax
je 0x1002defb
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1002df00
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10012e70
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
mov eax, dword [ecx + 4]
cmp edi, eax
jne 0x1002df58
inc edi
test eax, eax
je 0x1002df44
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1002df49
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.10012e70
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov eax, dword [eax]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
mov eax, dword [ecx + 4]
cmp edi, eax
jne 0x1002dfa9
inc edi
test eax, eax
je 0x1002df95
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1002df9a
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.10012e70
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov eax, dword [eax]
push ecx
mov dword [esp], 0x3fc00000
push 1
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, eax
push 0xff808080
inc dword [edi]
push dword [edi]
push dword [eax + 0x5c]
call fcn.1001ad10
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002e005
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10012e70
movss xmm0, dword [0x1006747c]
xorps xmm1, xmm1
movaps xmm2, xmm0
mov dword [edi], 0
subss xmm2, dword [esp + 0x74]
comiss xmm1, xmm2
jbe 0x1002e029
xorps xmm4, xmm4
jmp 0x1002e030
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x6c]
comiss xmm1, xmm2
jbe 0x1002e040
xorps xmm3, xmm3
jmp 0x1002e047
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [esp + 0x40]
movss xmm2, dword [esp + 0x2c]
subss xmm2, dword [esp + 0x60]
mov edi, dword [esp + 0x20]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x40]
movss xmm3, dword [esp + 0x88]
addss xmm2, dword [esp + 0x60]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm2
movss dword [esp + 0x30], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x34], xmm0
jmp 0x1002e400
test dword [esp + 0x10], 0x2000000
je 0x1002e400
movss xmm0, dword [esp + 0xc4]
lea eax, [esp + 0x9c]
push 0xffffffffffffffff
push edx
movss dword [esp + 0xa4], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x60]
push edx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x3c]
push eax
movss dword [esp + 0x74], xmm0
movss dword [esp + 0xb8], xmm0
call fcn.1001c630
movss xmm0, dword [esp + 0xc4]
lea eax, [esp + 0x9c]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xb0], xmm0
lea eax, [esp + 0x3c]
movss xmm0, dword [esp + 0x70]
mov ecx, edi
push eax
movss dword [esp + 0xb8], xmm0
call fcn.1001c630
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.10003c90
movss xmm3, dword [esp + 0x7c]
xorps xmm0, xmm0
movss xmm1, dword [0x1006747c]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1002e19b
xorps xmm2, xmm2
jmp 0x1002e1a2
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm7, dword [esp + 0x58]
movss xmm3, dword [esp + 0x28]
movss xmm4, dword [0x10067444]
mulss xmm2, xmm7
movss xmm5, dword [0x100674a4]
movss xmm6, dword [esp + 0xc4]
addss xmm2, xmm3
addss xmm3, xmm5
subss xmm6, xmm5
addss xmm2, xmm4
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm3, xmm2
jbe 0x1002e1f3
movss dword [esp + 0x30], xmm3
jmp 0x1002e206
comiss xmm2, xmm6
jbe 0x1002e200
movss dword [esp + 0x30], xmm6
jmp 0x1002e206
movss dword [esp + 0x30], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x74]
comiss xmm0, xmm2
jbe 0x1002e219
xorps xmm1, xmm1
jmp 0x1002e21d
minss xmm1, xmm2
movss xmm3, dword [esp + 0x1c]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x5c]
subss xmm0, xmm5
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1002e258
movss dword [esp + 0x34], xmm1
jmp 0x1002e26b
comiss xmm2, xmm0
jbe 0x1002e265
movss dword [esp + 0x34], xmm0
jmp 0x1002e26b
movss dword [esp + 0x34], xmm2
movss xmm0, dword [esp + 0xb0]
movaps xmm1, xmm7
divss xmm1, dword [0x100674e4]
mov esi, dword [esp + 0x20]
xor ecx, ecx
movss dword [esp + 0x104], xmm0
movss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x9c], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0xec]
lea edi, [ecx + 1]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + ecx*4 + 0xe8]
push eax
push eax
push ecx
push ecx
mulss xmm0, xmm1
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x118]
mov ecx, esi
push eax
addss xmm0, xmm3
movss dword [esp + 0x120], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xb8], xmm0
call fcn.1001c630
movss xmm1, dword [esp + 0x50]
mov ecx, edi
movss xmm3, dword [esp + 0x1c]
cmp ecx, 6
jl 0x1002e2b0
movss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xb0]
push dword [esp + 0x44]
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm3
push dword [esp + 0x44]
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.10003c90
mov esi, dword [esp + 0x94]
movss xmm1, dword [esp + 0x80]
addss xmm1, dword [0x100674a4]
mov edi, dword [esp + 0x30]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
addss xmm0, dword [0x1006747c]
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0xc4]
subss xmm0, dword [0x1006747c]
push dword [esp + 0x54]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x6c]
mulss xmm0, dword [esp + 0x70]
addss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x10067444]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1002bfc0
add esp, 0x20
cmp byte [esp + 0xf], 0
je 0x1002e418
movss xmm0, dword [0x100674f8]
movss dword [esp + 0xd4], xmm0
movss xmm2, dword [esp + 0xd4]
lea eax, [esp + 0x30]
push 0xc
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.1001be00
push dword [esp + 0x68]
lea eax, [edi + 0x54]
mov ecx, edi
push dword [eax]
mov dword [esp + 0x58], eax
push dword [edi + 0x5c]
call fcn.1001b8f0
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002e477
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10012e70
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xd4]
xorps xmm3, xmm3
addss xmm2, dword [0x1006747c]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x38]
mov dword [esp], 0x40b84e89
subss xmm2, dword [0x10067444]
push eax
call fcn.1001be00
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1001ad10
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002e4f1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10012e70
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xd4]
xorps xmm3, xmm3
subss xmm2, dword [0x10067444]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x38]
mov dword [esp], 0x40b84e89
push eax
call fcn.1001be00
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1001ad10
mov edi, dword [esp + 0x50]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002e55d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10012e70
cmp dword [esp + 0xd8], 0x10000
mov dword [edi], 0
jne 0x1002e711
mov eax, dword [esp + 0x3c]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1002e590
movss dword [esp + 0x84], xmm2
jmp 0x1002e5a5
movss xmm0, dword [0x1006747c]
minss xmm0, xmm1
movss dword [esp + 0x84], xmm0
movss xmm3, dword [esp + 0xcc]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x1c]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x70]
movss dword [esp + 0xa0], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x58]
mov dword [esp + 0x44], 0
push dword [esp + 0x44]
movss dword [esp + 0xa8], xmm1
subss xmm1, xmm3
mov dword [esp + 0x44], 0
push dword [esp + 0x44]
movss dword [esp + 0xb0], xmm0
push dword [esp + 0xb0]
mulss xmm1, dword [0x10067444]
push dword [esp + 0xb0]
movss dword [esp + 0xac], xmm3
push dword [esp + 0xb0]
mov edi, dword [esp + 0xb0]
push edi
call fcn.1002bcf0
mov ecx, dword [esp + 0x80]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.1001c630
push dword [esp + 0xa8]
xorps xmm0, xmm0
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push edi
call fcn.10003c90
movss xmm1, dword [0x1006747c]
movss xmm0, dword [esp + 0xdc]
subss xmm0, xmm1
mov ecx, dword [esp + 0x30]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x94]
movss dword [esp + 0x54], xmm2
push dword [esp + 0x54]
mulss xmm0, dword [esp + 0x6c]
addss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x10067444]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss xmm1, dword [esp + 0x84]
addss xmm1, dword [0x100674a4]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1002bfc0
add esp, 0x20
call fcn.1000d000
cmp byte [esp + 0xe], 0
mov esi, dword [0x1006b178]
je 0x1002e79e
mov edi, dword [esp + 0xd0]
lea ecx, [esp + 0x124]
mov edx, dword [esp + 0x3c]
sub edi, 4
jb 0x1002e751
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1002e756
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1002e740
cmp edi, 0xfffffffc
je 0x1002e799
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1002e783
cmp edi, 0xfffffffd
je 0x1002e799
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1002e783
cmp edi, 0xfffffffe
je 0x1002e799
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1002e783
cmp edi, 0xffffffff
je 0x1002e799
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1002e799
mov eax, dword [esi + 0x199c]
mov byte [esi + 0x19ce], 1
or dword [eax + 0x10c], 4
jmp 0x1002e79e
mov byte [esp + 0xe], 0
mov ecx, dword [esi + 0x199c]
mov al, byte [esp + 0xe]
pop edi
pop esi
dec dword [ecx + 0x1bc]
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.1003f934
mov esp, ebp
pop ebp
ret