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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x1008800c]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, edx
mov dword [esp + 0x28], eax
mov edx, ecx
mov dword [esp + 0x48], esi
mov ecx, dword [0x10088d30]
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x78], edx
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov ecx, edx
mov dword [esp + 0x64], eax
mov edi, dword [eax + 0x270]
mov dword [esp + 0x28], edi
call fcn.1000c490
call fcn.1000c590
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
mov eax, ecx
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0x68], edx
test dl, 8
jne 0x1002b269
mov ecx, esi
call fcn.1002e800
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
test edx, 0x6000000
jne 0x1002b292
mov eax, dword [esi + 0x2be0]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1002b294
mov ecx, edx
mov dword [esp + 0x58], ecx
test cl, 8
jne 0x1002b2ae
mov eax, dword [esi + 0x2be0]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x58], ecx
mov eax, ecx
mov edx, ecx
and eax, 0x10002
and edx, 2
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xb4], edx
movss xmm0, dword [eax + 0xc8]
movss xmm4, dword [eax + 0xc4]
mov eax, dword [0x10088d30]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm4
movss xmm5, dword [eax + 0x1550]
addss xmm5, xmm5
addss xmm5, dword [eax + 0x18bc]
mov eax, dword [eax + 0x199c]
mov dword [esp + 0x64], eax
movss xmm2, dword [eax + 0x168]
comiss xmm0, xmm2
movss dword [esp + 0x74], xmm5
jbe 0x1002b3a5
mov ecx, dword [eax + 0x1b8]
movss xmm3, dword [eax + 0xc4]
movss xmm1, dword [eax + 0x210]
mov dword [esp + 0x68], ecx
subss xmm3, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x1002b391
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 [esp + 0x68]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0xb4]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0x64]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x10085448]
maxss xmm2, xmm1
movss xmm3, dword [esi + 0x1564]
cvttss2si eax, xmm2
movaps xmm0, xmm3
addss xmm0, xmm5
movd xmm2, eax
xor eax, eax
cmp dword [esp + 0xcc], 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
mov eax, dword [esp + 0x50]
subss xmm2, xmm1
movaps xmm1, xmm5
push eax
lea eax, [esp + 0x11c]
push eax
maxss xmm1, xmm2
addss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x1c], xmm0
addss xmm0, xmm3
movss dword [esp + 0xb8], xmm0
addss xmm0, xmm5
movss dword [esp + 0x74], xmm0
addss xmm0, xmm3
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x100853f4]
cvttss2si esi, xmm0
mov dword [esp + 0x9c], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm2, dword [esp + 0x2c]
add esp, 0xc
movaps xmm3, xmm2
mov dword [esp + 0x34], 0
mulss xmm3, dword [0x10085410]
movaps xmm1, xmm2
mulss xmm1, dword [0x100853e4]
movaps xmm0, xmm3
movss dword [esp + 0x64], xmm3
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x8c], xmm1
movaps xmm4, xmm3
subss xmm4, xmm1
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x74]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xa0], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100853d8]
mulss xmm1, dword [0x10085410]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x38]
movss dword [esp + 0x60], xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc4], xmm1
movss dword [esp + 0x9c], xmm1
movaps xmm1, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x30], xmm1
mulss xmm0, dword [0x10085654]
movaps xmm2, xmm1
mulss xmm2, dword [0x10085660]
movss dword [esp + 0x88], xmm0
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0xf8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1008543c]
movss dword [esp + 0x84], xmm2
movss dword [esp + 0xec], xmm2
mov eax, dword [esp + 0x4c]
xorps xmm3, xmm3
movss xmm1, dword [eax + 4]
lea ecx, [eax + 4]
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0xfc], xmm0
movss xmm5, dword [eax]
add eax, 8
movss dword [esp + 0x80], xmm5
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x7c], eax
movss xmm2, dword [eax]
comiss xmm2, xmm1
jbe 0x1002b5a2
movss xmm3, dword [0x10085664]
movaps xmm0, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
comiss xmm1, xmm5
jbe 0x1002b5c8
movaps xmm0, xmm5
movaps xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x80], xmm5
movss xmm0, dword [0x10085650]
subss xmm0, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm1
mov byte [esp + 0xe], 0
minss xmm0, xmm2
mov byte [esp + 0x16], 0
movaps xmm4, xmm5
mov byte [esp + 0xf], 0
subss xmm1, xmm2
mov ecx, 8
movss xmm2, dword [0x100854d4]
movss dword [esp + 0xd4], xmm2
subss xmm4, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm2
addss xmm0, dword [0x100853b4]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100853b4]
addss xmm1, xmm3
divss xmm4, xmm0
andps xmm1, xmmword [0x10085900]
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x70], xmm4
call fcn.1000c0c0
mov eax, dword [esp + 0x58]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x50], ecx
je 0x1002bc32
movss xmm1, dword [esp + 0x20]
lea edx, [esp + 0x40]
mov eax, dword [esp + 0x18]
movaps xmm0, xmm1
mov ecx, 0x10084abc
movss dword [esp + 0x44], xmm1
addss xmm0, dword [eax + 0x1564]
addss xmm0, dword [esp + 0x74]
movss dword [esp + 0x40], xmm0
call fcn.100218b0
mov eax, dword [0x10088d30]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x1002bb28
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x108]
jne 0x1002bb28
mov eax, dword [esp + 0x18]
movss xmm0, dword [eax + 0x3ac]
subss xmm0, dword [esp + 0xbc]
movss xmm1, dword [eax + 0x3a8]
subss xmm1, dword [esp + 0xc4]
movss xmm4, dword [eax + 0xe4]
movss xmm3, dword [eax + 0xe8]
subss xmm4, dword [esp + 0xc4]
subss xmm3, dword [esp + 0xbc]
movaps xmm2, xmm0
movss dword [esp + 0xc0], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x10085448]
addss xmm2, xmm0
movss dword [esp + 0xd8], xmm4
movss xmm0, dword [esp + 0x60]
subss xmm0, xmm1
movss dword [esp + 0xdc], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1002b7bb
movss xmm0, dword [esp + 0x64]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1002b7bb
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x100854a0]
xorps xmm0, xmm0
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x10085410]
comiss xmm0, xmm1
movss dword [esp + 0x5c], xmm1
jbe 0x1002b7b3
addss xmm1, dword [0x10085448]
movss dword [esp + 0x5c], xmm1
mov al, 1
mov byte [esp + 0xe], al
jmp 0x1002b7cd
mov al, byte [esp + 0xe]
movss xmm2, dword [0x100854a0]
movss xmm1, dword [esp + 0x5c]
movaps xmm0, xmm1
mov byte [esp + 0x16], al
xorps xmm0, xmmword [0x10085930]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x6c], xmm0
movsd xmm0, qword [esp + 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [esp + 0xc0]
xorps xmm5, xmm5
movss xmm6, dword [esp + 0x6c]
movss xmm7, dword [esp + 0x88]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x1c]
movaps xmm2, xmm7
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
subss xmm2, xmm7
mulss xmm0, xmm5
movaps xmm4, xmm5
mulss xmm4, dword [esp + 0x1c]
subss xmm3, xmm0
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x84]
subss xmm0, dword [esp + 0xb8]
addss xmm4, xmm1
movss dword [esp + 0xe0], xmm2
movaps xmm1, xmm3
subss xmm1, xmm7
movss xmm7, dword [esp + 0x30]
subss xmm7, dword [esp + 0x88]
movss dword [esp + 0xc0], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x94], xmm7
mulss xmm0, xmm2
xorps xmm2, xmm2
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x84]
comiss xmm2, xmm1
movaps xmm1, xmm3
movss dword [esp + 0xc8], xmm0
subss xmm1, dword [esp + 0x88]
seta cl
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x84]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x1002bb20
movss xmm7, dword [esp + 0xb8]
subss xmm4, xmm2
movss xmm0, dword [esp + 0x88]
subss xmm7, xmm2
subss xmm0, dword [esp + 0x30]
subss xmm3, dword [esp + 0x30]
movss dword [esp + 0x54], xmm7
mulss xmm4, xmm0
mulss xmm3, xmm7
movss dword [esp + 0x1c], xmm0
subss xmm3, xmm4
comiss xmm2, xmm3
seta al
cmp cl, al
jne 0x1002bb20
movss xmm1, dword [esp + 0xdc]
mulss xmm6, dword [esp + 0xd8]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x88]
mulss xmm0, xmm5
mulss xmm5, dword [esp + 0xd8]
subss xmm6, xmm0
addss xmm5, xmm1
movaps xmm1, xmm6
movss dword [esp + 0x40], xmm6
subss xmm1, xmm3
movaps xmm0, xmm5
movss dword [esp + 0x44], xmm5
subss xmm0, dword [esp + 0xb8]
mulss xmm1, dword [esp + 0xc0]
mulss xmm0, dword [esp + 0xe0]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0x84]
comiss xmm2, xmm1
mulss xmm0, dword [esp + 0x94]
movaps xmm1, xmm6
subss xmm1, xmm3
seta cl
mulss xmm1, dword [esp + 0xc8]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x1002ba18
movaps xmm1, xmm6
movaps xmm0, xmm5
subss xmm1, dword [esp + 0x30]
subss xmm0, xmm2
mulss xmm1, xmm7
mulss xmm0, dword [esp + 0x1c]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp cl, al
je 0x1002ba5b
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xf0]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xec]
call fcn.10002590
movss xmm7, dword [esp + 0x60]
add esp, 0xc
movss xmm3, dword [esp + 0x88]
xorps xmm2, xmm2
movss xmm6, dword [eax]
movss xmm5, dword [eax + 4]
subss xmm6, dword [esp + 0x30]
movaps xmm4, xmm3
subss xmm5, xmm2
movss xmm3, dword [esp + 0x84]
subss xmm4, dword [esp + 0x30]
subss xmm3, xmm2
movaps xmm1, xmm6
mulss xmm1, xmm7
movaps xmm2, xmm4
mulss xmm2, xmm7
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x1c]
mulss xmm6, xmm3
subss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x1c]
mulss xmm5, xmm4
subss xmm1, xmm0
movss xmm0, dword [0x10085448]
movaps xmm7, xmm0
subss xmm5, xmm6
divss xmm1, xmm2
divss xmm5, xmm2
movss xmm2, dword [0x100853c8]
subss xmm7, xmm1
movss dword [esp + 0x70], xmm2
comiss xmm2, xmm7
movaps xmm1, xmm7
subss xmm1, xmm5
jbe 0x1002baee
movaps xmm3, xmm2
movss dword [esp + 0x80], xmm2
jmp 0x1002bafe
movaps xmm3, xmm0
minss xmm3, xmm7
movss dword [esp + 0x80], xmm3
divss xmm1, xmm3
comiss xmm2, xmm1
ja 0x1002bb14
movaps xmm2, xmm0
minss xmm2, xmm1
movss dword [esp + 0x70], xmm2
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
jmp 0x1002bb28
mov al, byte [esp + 0xe]
mov byte [esp + 0x16], al
test byte [esp + 0x58], 8
jne 0x1002bb34
call fcn.1000cd40
movss xmm4, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
cmp dword [esp + 0xcc], 0x10000
jne 0x1002be4e
mov ecx, dword [0x10088d30]
lea edx, [esp + 0xe8]
movss xmm0, dword [esp + 0xd0]
movss dword [esp + 0xec], xmm4
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], xmm3
movss xmm1, dword [eax + 0xdc]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe0]
maxss xmm0, xmm3
movss dword [eax + 0xdc], xmm1
movss dword [eax + 0xe0], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0xe8], xmm0
call fcn.100218b0
mov eax, dword [0x10088d30]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x1002be52
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x108]
jne 0x1002be52
movss xmm3, dword [edx + 0xe8]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [0x10085448]
subss xmm3, dword [esp + 0x24]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1002be30
xorps xmm4, xmm4
jmp 0x1002be37
test eax, 0x2000000
je 0x1002bb34
movss xmm0, dword [esp + 0x20]
lea edx, [esp + 0xe8]
mov ecx, 0x10084ac0
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0xec], xmm0
call fcn.100218b0
mov ecx, dword [0x10088d30]
mov edx, dword [ecx + 0x19bc]
test edx, edx
je 0x1002bd00
mov eax, dword [ecx + 0x199c]
cmp edx, dword [eax + 0x108]
jne 0x1002bd00
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x20]
movss xmm1, dword [0x10085448]
subss xmm3, xmm1
movss xmm2, dword [eax + 0xe4]
subss xmm2, dword [esp + 0x38]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x1002bcc0
movss dword [esp + 0x70], xmm0
jmp 0x1002bccd
movaps xmm4, xmm1
minss xmm4, xmm2
movss dword [esp + 0x70], xmm4
movss xmm2, dword [eax + 0xe8]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm3
comiss xmm0, xmm2
ja 0x1002bceb
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0xe], al
movss dword [esp + 0x80], xmm1
jmp 0x1002bd04
mov al, byte [esp + 0xe]
test byte [esp + 0x58], 8
mov byte [esp + 0xf], al
mov byte [esp + 0x17], al
jne 0x1002bd1e
call fcn.1000cd40
mov ecx, dword [0x10088d30]
mov eax, dword [ecx + 0x199c]
lea edx, [esp + 0xe8]
movss xmm2, dword [esp + 0xac]
movss xmm0, dword [esp + 0x24]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov ecx, 0x10084ac4
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xc4], xmm2
movss xmm0, dword [eax + 0xe0]
maxss xmm0, dword [eax + 0xc8]
movss xmm1, dword [eax + 0xdc]
maxss xmm1, xmm2
movss dword [eax + 0xe0], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0xdc], xmm1
movss dword [esp + 0xec], xmm0
call fcn.100218b0
mov eax, dword [0x10088d30]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x1002bb34
mov eax, dword [eax + 0x199c]
mov dl, byte [esp + 0xe]
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x20]
mov byte [esp + 0xf], dl
cmp ecx, dword [eax + 0x108]
jne 0x1002bb40
mov eax, dword [esp + 0x18]
movaps xmm0, xmm4
movss xmm1, dword [0x10085448]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xe8]
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1002be13
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x17]
movss dword [esp + 0x5c], xmm0
mov byte [esp + 0x16], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0xf], al
jmp 0x1002bb40
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x4c]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 0xe], 1
movss dword [eax + 0xc], xmm0
jmp 0x1002be52
mov edx, dword [esp + 0x18]
mov ecx, dword [0x10088d30]
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 + 0x54], eax
mov dword [ecx + 0x170], eax
jne 0x1002be81
xor eax, eax
jmp 0x1002be96
mov esi, dword [esp + 0x54]
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x90]
mov dword [ecx + 0x164], eax
mov eax, dword [esp + 0x58]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x1c], ecx
jne 0x1002bec7
movss xmm1, dword [edx + 0x1564]
xorps xmm0, xmm0
call fcn.1000c880
call fcn.1000c590
mov eax, dword [esp + 0x58]
and eax, 0x80
mov dword [esp + 0x54], eax
jne 0x1002bf28
mov edx, dword [esp + 0x78]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1002bf28
nop dword [eax]
mov cl, byte [eax]
test cl, cl
je 0x1002bef6
cmp cl, 0x23
jne 0x1002bef0
cmp byte [eax + 1], cl
je 0x1002bef6
inc eax
cmp eax, 0xffffffff
jb 0x1002bee0
mov dword [esp + 0x6c], eax
cmp edx, eax
je 0x1002bf28
cmp dword [esp + 0x1c], 0
je 0x1002bf1d
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.1000c880
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x78]
mov edx, eax
call fcn.10020660
cmp dword [esp + 0x1c], 0
jne 0x1002c112
mov ecx, 0x10
call fcn.1000c0c0
cmp dword [esp + 0xb4], 0
mov eax, dword [esp + 0x4c]
je 0x1002bf55
movss xmm1, dword [0x10085448]
jmp 0x1002bf5a
movss xmm1, dword [eax + 0xc]
cmp dword [esp + 0x54], 0
movss xmm0, dword [eax]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0xf4], xmm1
je 0x1002bfa0
push str.Current
call fcn.10020d20
add esp, 4
movss xmm1, dword [esp + 0x74]
lea edx, [esp + 0xe8]
mov eax, dword [esp + 0x58]
movaps xmm0, xmm1
mulss xmm0, dword [0x1008549c]
and eax, 0xe0040
mov ecx, str.current
mov dword [esp + 0xc8], eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
movss dword [esp + 0x98], xmm0
push dword [esp + 0x44]
push eax
call fcn.1002d820
add esp, 0xc
cmp dword [esp + 0x2c], 0
je 0x1002c0d2
push str.Original
call fcn.10020d20
mov eax, dword [esp + 0x30]
add esp, 4
cmp dword [esp + 0xb4], 0
je 0x1002c030
movss xmm1, dword [0x10085448]
jmp 0x1002c035
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xf8]
movss dword [esp + 0xf8], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
movss dword [esp + 0x108], xmm1
push dword [esp + 0x44]
push dword [esp + 0xd0]
call fcn.1002d820
add esp, 0xc
test al, al
je 0x1002c0d2
xor eax, eax
cmp dword [esp + 0xb4], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x30]
push dword [esp + 0x54]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
mov ecx, dword [0x10088d30]
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 0x1002c0fd
xor eax, eax
jmp 0x1002c107
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x164], eax
call fcn.1000c6d0
cmp byte [esp + 0x16], 0
jne 0x1002c120
cmp byte [esp + 0xf], 0
je 0x1002c181
movss xmm1, dword [esp + 0x80]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1002c136
movaps xmm2, xmm1
jmp 0x1002c13e
movss xmm2, dword [0x100853b8]
movss xmm3, dword [esp + 0x70]
comiss xmm3, xmm0
movss xmm1, dword [0x100853bc]
ja 0x1002c154
movaps xmm3, xmm1
movss xmm0, dword [esp + 0x5c]
comiss xmm0, dword [0x10085448]
jb 0x1002c167
subss xmm0, xmm1
push dword [esp + 0x7c]
mov edx, dword [esp + 0xb4]
movaps xmm1, xmm3
mov ecx, dword [esp + 0x50]
call fcn.10003010
add esp, 4
test byte [esp + 0x58], 0x20
mov byte [esp + 0x17], 0
jne 0x1002c488
cmp dword [esp + 0xcc], 0x10000
jne 0x1002c1a9
movss xmm0, dword [esp + 0xd0]
jmp 0x1002c1b2
movss xmm0, dword [esp + 0xac]
addss xmm0, dword [esp + 0x74]
mov ecx, dword [0x10088d30]
subss xmm0, dword [esp + 0x38]
mov eax, dword [ecx + 0x199c]
ucomiss xmm0, dword [0x100853a0]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x94], ecx
lahf
test ah, 0x44
jp 0x1002c1f0
movss xmm0, dword [ecx + 0x21c]
lea edx, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x78], edx
mov dword [esp + 0x6c], eax
cmp eax, ecx
jne 0x1002c247
inc eax
mov dword [esp + 0x54], eax
test ecx, ecx
je 0x1002c227
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
add eax, ecx
jmp 0x1002c22c
mov eax, 8
mov ecx, dword [esp + 0x54]
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10011e60
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
mov dword [esp + 0x6c], eax
mov ecx, dword [edx + 8]
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x6c]
mov eax, dword [eax + 0x168]
mov dword [ecx + edi*4], eax
inc dword [edx]
mov eax, dword [esp + 0x58]
mov edx, eax
and edx, 0x18e001a
mov dword [esp + 0x1c], edx
test eax, 0x100000
jne 0x1002c28b
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x2c], ecx
jne 0x1002c2eb
mov dword [esp + 0x2c], ecx
jmp 0x1002c294
and eax, 0x700000
mov dword [esp + 0x2c], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x50]
call fcn.10029be0
add esp, 4
test al, al
je 0x1002c2df
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x19bc], 0
je 0x1002c2cb
cmp byte [eax + 0x19cd], 0
mov byte [esp + 0x17], 1
je 0x1002c2d0
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0xe], 1
mov dword [esp + 0x2c], ecx
jmp 0x1002c2e3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x28]
test eax, 0x200000
jne 0x1002c2fa
test ecx, ecx
jne 0x1002c31e
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, dword [esp + 0x50]
call fcn.10029be0
mov ecx, dword [esp + 0x30]
add esp, 4
or byte [esp + 0xe], al
mov eax, dword [esp + 0x58]
test eax, 0x400000
jne 0x1002c329
test ecx, ecx
jne 0x1002c348
mov eax, dword [esp + 0x1c]
mov ecx, str.hex
mov edx, dword [esp + 0x4c]
or eax, 0x400004
push eax
call fcn.10029be0
add esp, 4
or byte [esp + 0xe], al
mov ecx, dword [0x10088d30]
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 0x1002c379
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002c385
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
cmp byte [esp + 0x17], 0
movss dword [ecx + 0x168], xmm0
je 0x1002c488
mov ecx, dword [esp + 0x4c]
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 0x1002c3cc
movss xmm6, dword [0x10085664]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1002c3e9
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10085650]
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 [0x100853b4]
movaps xmm7, xmm1
mulss xmm1, dword [0x100854d4]
divss xmm7, xmm0
addss xmm1, dword [0x100853b4]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x10085900]
comiss xmm2, xmm3
jb 0x1002c488
movss xmm0, dword [esp + 0x5c]
comiss xmm0, xmm2
jbe 0x1002c488
comiss xmm2, xmm4
jb 0x1002c469
movss xmm1, dword [esp + 0x80]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
lea eax, [ecx + 8]
jnp 0x1002c469
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x70]
mulss xmm2, dword [0x10085410]
jmp 0x1002c47f
comiss xmm2, xmm7
jb 0x1002c488
movss xmm1, dword [esp + 0x70]
movaps xmm2, xmm4
mulss xmm1, dword [0x10085410]
push eax
call fcn.10003010
add esp, 4
movaps xmm0, xmmword [0x100858c0]
lea eax, [esp + 0xf0]
movss xmm2, dword [0x10085448]
lea edx, [esp + 0xec]
movups xmmword [esp + 0xe8], xmm0
lea ecx, [esp + 0xe8]
movss xmm0, dword [esp + 0x5c]
movaps xmm1, xmm2
push eax
call fcn.10003010
movups xmm3, xmmword [esp + 0xec]
add esp, 4
movss xmm2, dword [0x10085448]
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1002c4e3
xorps xmm0, xmm0
jmp 0x1002c4ea
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x10085608]
movss xmm7, dword [0x10085410]
movss xmm4, dword [esp + 0xec]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x1002c519
xorps xmm0, xmm0
jmp 0x1002c520
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xf0]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1002c544
xorps xmm0, xmm0
jmp 0x1002c54b
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xf4]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1002c56f
xorps xmm0, xmm0
jmp 0x1002c576
movaps xmm0, xmm2
minss xmm0, xmm4
mov eax, dword [esp + 0x4c]
mulss xmm0, xmm3
movss xmm4, dword [eax]
mov eax, dword [esp + 0xb0]
addss xmm0, xmm7
movss xmm5, dword [eax]
mov eax, dword [esp + 0x7c]
cvttss2si edx, xmm0
movss xmm6, dword [eax]
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x1c], edx
jbe 0x1002c5b0
xorps xmm0, xmm0
jmp 0x1002c5b7
movaps xmm0, xmm2
minss xmm0, xmm4
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x1002c5cd
xorps xmm0, xmm0
jmp 0x1002c5d4
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 0x1002c5ef
xorps xmm0, xmm0
jmp 0x1002c5f6
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
mov dword [esp + 0xf8], 0xff0000ff
mov dword [esp + 0xfc], 0xff00ffff
mov dword [esp + 0x100], 0xff00ff00
addss xmm0, xmm7
mov dword [esp + 0x104], 0xffffff00
mov dword [esp + 0x108], 0xffff0000
mov dword [esp + 0x10c], 0xffff00ff
mov dword [esp + 0x110], 0xff0000ff
mov dword [esp + 0x44], 0
cvttss2si eax, xmm0
mov dword [esp + 0x40], 0
shl eax, 0x10
or ecx, eax
or ecx, 0xff000000
cmp dword [esp + 0x50], 0
mov dword [esp + 0x6c], ecx
je 0x1002d115
movss xmm1, dword [esp + 0x64]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x10085454]
movss xmm0, dword [esp + 0x60]
mov esi, dword [esp + 0x28]
addss xmm0, xmm1
divss xmm3, xmm1
lea edi, [esi + 0x54]
mov dword [esp + 0xe0], edi
cvttss2si ecx, xmm1
movaps xmm4, xmm0
movss dword [esp + 0xdc], xmm3
imul ecx
mulss xmm4, xmm7
movss dword [esp + 0x68], xmm0
mov eax, 4
movss dword [esp + 0xd8], 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 + 0xc0], ecx
mov dword [esp + 0x10], eax
nop dword [eax]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x18]
push ecx
push ecx
mov dword [esp + 0xd0], eax
mov ecx, esi
lea eax, [esp + 0xa4]
movaps xmm1, xmm0
addss xmm0, xmm2
divss xmm1, dword [0x100854d4]
divss xmm0, dword [0x100854d4]
addss xmm1, xmm1
movaps xmm2, xmm4
addss xmm0, xmm0
mulss xmm1, dword [0x100854a0]
mulss xmm0, dword [0x100854a0]
subss xmm1, xmm3
addss xmm0, xmm3
movaps xmm3, xmm1
movss dword [esp + 0x6c], xmm1
movss dword [esp], xmm0
push eax
movss dword [esp + 0x88], xmm0
call fcn.1001b630
movss xmm0, dword [esp + 0x8c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push 0xffffffffffffffff
push dword [edi]
push dword [esi + 0x5c]
call fcn.1001a620
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002c7a1
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.100122f0
movss xmm0, dword [esp + 0x64]
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 + 0x64]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x54], 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 + 0x94], xmm0
movss xmm0, dword [esp + 0x7c]
cvtps2pd xmm0, xmm0
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 + 0xc4]
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 + 0x10]
xorps xmm4, xmm4
movss xmm3, dword [esp + 0x50]
movss xmm5, dword [esp + 0x54]
movss xmm6, dword [esp + 0x94]
subss xmm3, xmm5
mov eax, dword [esp + edx*4 + 0xfc]
mov ecx, dword [esi + 0x20]
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + edx*4 + 0xf8]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x18]
movss xmm2, dword [0x10085448]
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 + 0xb0], eax
addss xmm4, dword [esp + 0xbc]
mov eax, dword [esp + 0xc8]
subss xmm4, xmm6
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x2c], eax
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
cmp eax, dword [esp + 0xb0]
jae 0x1002c9f0
movzx eax, dl
mov dword [esp + 0x7c], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x64]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x64]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x78], edx
movzx edx, al
mov eax, dword [esp + 0x64]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x78]
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 0x1002c93e
xorps xmm2, xmm2
jmp 0x1002c942
minss xmm2, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm1, esi
mulss xmm0, xmm2
mov esi, dword [esp + 0x2c]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, dword [esp + 0x50]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
shl eax, 8
mov dword [esp + 0x18], eax
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x7c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x18], eax
shl dword [esp + 0x18], 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss xmm2, dword [0x10085448]
addss xmm0, xmm1
cvttss2si eax, xmm0
or dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
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 + 0x78]
add eax, 0x14
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0xb0]
jb 0x1002c910
mov edi, dword [esp + 0xe0]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
movss xmm3, dword [esp + 0xdc]
inc eax
movss xmm4, dword [esp + 0xd8]
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x10], eax
cmp eax, 6
jl 0x1002c6f0
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm0
mulss xmm0, dword [0x100854a0]
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x5c]
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 xmm2, xmm2
movss xmm1, dword [esp + 0x68]
movss xmm3, dword [0x10085410]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x60]
mulss xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm3
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x54], xmm2
addss xmm1, dword [esp + 0xbc]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [esp + 0x8c]
je 0x1002cabb
mulss xmm1, dword [0x1008541c]
jmp 0x1002cac3
mulss xmm1, dword [0x10085414]
movaps xmm0, xmm1
movss dword [esp + 0x8c], xmm1
divss xmm0, dword [0x10085450]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1002cae7
mov eax, 9
jmp 0x1002caf1
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x1c], 0xff000000
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x10], eax
movss dword [esp + 0x50], xmm2
je 0x1002cb89
movaps xmm0, xmm2
xorps xmm3, xmm3
subss xmm0, dword [0x10085448]
push eax
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x40]
mulss xmm0, dword [0x100854e0]
divss xmm0, xmm2
movaps xmm2, xmm1
movss dword [esp], xmm0
push eax
call fcn.1001b630
push dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ecx, eax
push dword [edi]
push dword [eax + 0x5c]
call fcn.1001b130
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002cb71
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.100122f0
movss xmm2, dword [esp + 0x50]
movss xmm3, dword [0x10085410]
mov eax, dword [esp + 0x10]
mov dword [edi], 0
movaps xmm1, xmm2
subss xmm1, dword [0x10085448]
push eax
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x40]
mulss xmm1, dword [0x100854e0]
divss xmm1, xmm2
movss xmm2, dword [esp + 0x94]
addss xmm2, dword [0x10085448]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x5c], xmm1
subss xmm2, xmm3
xorps xmm3, xmm3
call fcn.1001b630
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push 0xff808080
push dword [edi]
push dword [eax + 0x5c]
call fcn.1001a620
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002cc11
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.100122f0
push dword [esp + 0x10]
movss xmm2, dword [esp + 0x90]
lea eax, [esp + 0x3c]
movss xmm0, dword [esp + 0x54]
xorps xmm3, xmm3
subss xmm2, dword [0x10085410]
push ecx
mov ecx, dword [esp + 0x30]
movss dword [esp], xmm0
push eax
mov dword [edi], 0
call fcn.1001b630
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push 0xffffffffffffffff
push dword [edi]
push dword [eax + 0x5c]
call fcn.1001a620
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002cc84
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.100122f0
movss xmm3, dword [esp + 0x60]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x54]
movaps xmm2, xmm3
movss xmm4, dword [esp + 0x30]
movaps xmm0, xmm5
movss xmm6, dword [esp + 0xc4]
mulss xmm2, xmm4
mov eax, dword [0x10088d30]
mulss xmm0, xmm1
mov ecx, dword [esp + 0x28]
movss xmm7, dword [esp + 0xbc]
mov dword [edi], 0
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
push 6
mulss xmm1, dword [esp + 0x8c]
push 6
addss xmm2, xmm6
movss dword [esp + 0x38], xmm2
movaps xmm2, xmm5
mulss xmm2, xmm4
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x90]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x8c]
mulss xmm5, dword [esp + 0xc0]
addss xmm2, xmm7
movss dword [esp + 0x3c], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x8c]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xc0]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm4, xmm6
addss xmm0, xmm7
movss dword [esp + 0x40], xmm2
addss xmm3, xmm7
movss dword [esp + 0x9c], xmm4
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x18c4]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [eax + 0x18c8]
movss dword [esp + 0x68], xmm3
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0x5c], xmm0
call fcn.1001a470
mov edx, dword [esp + 0x28]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x34]
movss xmm0, dword [esp + 0x50]
mov ecx, dword [edx + 0x38]
mov ax, word [edx + 0x30]
movss xmm1, dword [esp + 0x54]
movss xmm5, dword [esp + 0x38]
mov word [ecx], ax
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
mov ecx, dword [esp + 0x1c]
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 xmm4, dword [esp + 0x3c]
movss dword [eax + 4], xmm4
mov eax, dword [edx + 0x34]
mov ecx, dword [esp + 0x1c]
movss xmm7, dword [esp + 0x94]
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
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], 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
mov eax, dword [edx + 0x38]
inc dword [edx + 0x30]
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]
mov edx, dword [edi + 4]
mov dword [esp + 0x10], eax
cmp eax, edx
jne 0x1002cf5a
lea ecx, [eax + 1]
test edx, edx
je 0x1002cf42
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1002cf47
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100122f0
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [eax + esi*8], ecx
mov ecx, esi
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [edi]
inc eax
mov dword [edi], eax
mov edx, dword [edi + 4]
mov dword [esp + 0x10], eax
cmp eax, edx
jne 0x1002cfad
lea ecx, [eax + 1]
test edx, edx
je 0x1002cf95
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1002cf9a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100122f0
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [eax + esi*8], ecx
mov ecx, esi
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [edi]
inc eax
mov dword [edi], eax
mov edx, dword [edi + 4]
mov dword [esp + 0x10], eax
cmp eax, edx
jne 0x1002d000
lea ecx, [eax + 1]
test edx, edx
je 0x1002cfe8
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1002cfed
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100122f0
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov dword [eax + esi*8], ecx
mov ecx, esi
push ecx
mov dword [esp], 0x3fc00000
push 1
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [esp + 0x30]
mov ecx, eax
inc dword [edi]
push 0xff808080
push dword [edi]
push dword [eax + 0x5c]
call fcn.1001a620
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x90]
test ecx, ecx
jns 0x1002d065
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.100122f0
movss xmm0, dword [0x10085448]
xorps xmm1, xmm1
movaps xmm2, xmm0
mov dword [edi], 0
subss xmm2, dword [esp + 0x80]
comiss xmm1, xmm2
jbe 0x1002d08c
xorps xmm4, xmm4
jmp 0x1002d093
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x70]
comiss xmm1, xmm2
jbe 0x1002d0a3
xorps xmm3, xmm3
jmp 0x1002d0aa
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x94]
movss xmm2, dword [esp + 0x34]
subss xmm2, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x94]
movss xmm3, dword [esp + 0x38]
addss xmm2, dword [esp + 0x60]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm2
movss dword [esp + 0x40], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x44], xmm0
jmp 0x1002d44d
test dword [esp + 0x58], 0x2000000
je 0x1002d44d
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x9c]
push 0xffffffffffffffff
push edx
movss dword [esp + 0xa4], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x28]
push edx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
push eax
movss dword [esp + 0x34], xmm0
movss dword [esp + 0xb8], xmm0
call fcn.1001be40
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x9c]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xb0], xmm0
lea eax, [esp + 0x4c]
movss xmm0, dword [esp + 0x30]
mov ecx, edi
push eax
movss dword [esp + 0xb8], xmm0
call fcn.1001be40
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.100039c0
movss xmm3, dword [esp + 0x80]
xorps xmm0, xmm0
movss xmm1, dword [0x10085448]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1002d1f8
xorps xmm2, xmm2
jmp 0x1002d1ff
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm7, dword [esp + 0x20]
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [0x10085410]
mulss xmm2, xmm7
movss xmm6, dword [0x1008547c]
movss xmm5, dword [esp + 0x10]
addss xmm2, xmm3
addss xmm3, xmm6
subss xmm5, xmm6
addss xmm2, xmm4
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm3, xmm2
jbe 0x1002d24d
movss dword [esp + 0x40], xmm3
jmp 0x1002d260
comiss xmm2, xmm5
jbe 0x1002d25a
movss dword [esp + 0x40], xmm5
jmp 0x1002d260
movss dword [esp + 0x40], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x80]
comiss xmm0, xmm2
jbe 0x1002d276
xorps xmm1, xmm1
jmp 0x1002d27a
minss xmm1, xmm2
movss xmm3, dword [esp + 0x24]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x1c]
subss xmm0, xmm6
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm6
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1002d2b5
movss dword [esp + 0x44], xmm1
jmp 0x1002d2c8
comiss xmm2, xmm0
jbe 0x1002d2c2
movss dword [esp + 0x44], xmm0
jmp 0x1002d2c8
movss dword [esp + 0x44], xmm2
movss xmm0, dword [esp + 0x68]
movaps xmm1, xmm7
divss xmm1, dword [0x100854d4]
mov esi, dword [esp + 0x28]
xor ecx, ecx
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0xe8], xmm0
mov eax, dword [esp + ecx*4 + 0xfc]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xa4]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xa8], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x100]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xfc]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x104], xmm0
call fcn.1001be40
movss xmm1, dword [esp + 0x50]
mov ecx, edi
movss xmm3, dword [esp + 0x24]
cmp ecx, 6
jl 0x1002d300
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0xac]
push dword [esp + 0x34]
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm3
push dword [esp + 0x34]
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.100039c0
mov esi, dword [esp + 0xa0]
movss xmm1, dword [esp + 0x84]
addss xmm1, dword [0x1008547c]
mov edi, dword [esp + 0x38]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
addss xmm0, dword [0x10085448]
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xc0]
subss xmm0, dword [0x10085448]
push dword [esp + 0x44]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x74]
mulss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x10085410]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1002b030
add esp, 0x20
cmp byte [esp + 0xf], 0
je 0x1002d465
movss xmm0, dword [0x100854e8]
movss dword [esp + 0xd4], xmm0
movss xmm2, dword [esp + 0xd4]
lea eax, [esp + 0x40]
push 0xc
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.1001b630
push dword [esp + 0x6c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1001b130
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002d4be
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.100122f0
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xd4]
xorps xmm3, xmm3
addss xmm2, dword [0x10085448]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x48]
mov dword [esp], 0x40b84e89
subss xmm2, dword [0x10085410]
push eax
call fcn.1001b630
push ecx
mov dword [esp], 0x3f800000
lea eax, [edi + 0x54]
push 1
push 0xff808080
push dword [eax]
mov ecx, edi
mov dword [esp + 0x60], eax
push dword [edi + 0x5c]
call fcn.1001a620
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1002d53e
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.100122f0
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xd4]
xorps xmm3, xmm3
subss xmm2, dword [0x10085410]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x48]
mov dword [esp], 0x40b84e89
push eax
call fcn.1001b630
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1001a620
mov edi, dword [esp + 0x50]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002d5aa
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.100122f0
cmp dword [esp + 0xcc], 0x10000
mov dword [edi], 0
jne 0x1002d752
mov eax, dword [esp + 0x4c]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1002d5da
movss dword [esp + 0x68], xmm2
jmp 0x1002d5ec
movss xmm0, dword [0x10085448]
minss xmm0, xmm1
movss dword [esp + 0x68], xmm0
movss xmm3, dword [esp + 0xd0]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x74]
movss dword [esp + 0xa0], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x20]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0xa8], xmm1
subss xmm1, xmm3
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0xb0], xmm0
push dword [esp + 0xb0]
mulss xmm1, dword [0x10085410]
push dword [esp + 0xb0]
movss dword [esp + 0xac], xmm3
push dword [esp + 0xb0]
mov edi, dword [esp + 0xb0]
push edi
call fcn.1002ad60
mov ecx, dword [esp + 0x84]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.1001be40
push dword [esp + 0xa8]
xorps xmm0, xmm0
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push edi
call fcn.100039c0
movss xmm1, dword [0x10085448]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x38]
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
addss xmm0, xmm1
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xe4]
subss xmm0, xmm1
subss xmm1, dword [esp + 0x7c]
push dword [esp + 0x44]
movss dword [esp + 0x50], xmm0
mulss xmm1, dword [esp + 0x38]
addss xmm1, dword [esp + 0x3c]
addss xmm1, dword [0x10085410]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x8c]
addss xmm1, dword [0x1008547c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1002b030
add esp, 0x20
call fcn.1000c6d0
cmp byte [esp + 0xe], 0
mov edi, dword [0x10088d30]
je 0x1002d7ee
mov esi, dword [esp + 0x4c]
lea edx, [esp + 0x114]
xor ecx, ecx
cmp dword [esp + 0xb4], ecx
sete cl
lea ecx, [ecx*4 + 0xc]
sub ecx, 4
jb 0x1002d7a1
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1002d7a6
add edx, 4
add esi, 4
sub ecx, 4
jae 0x1002d790
cmp ecx, 0xfffffffc
je 0x1002d7e9
mov al, byte [edx]
cmp al, byte [esi]
jne 0x1002d7d3
cmp ecx, 0xfffffffd
je 0x1002d7e9
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x1002d7d3
cmp ecx, 0xfffffffe
je 0x1002d7e9
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x1002d7d3
cmp ecx, 0xffffffff
je 0x1002d7e9
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1002d7e9
mov eax, dword [edi + 0x199c]
mov byte [edi + 0x19ce], 1
or dword [eax + 0x10c], 4
jmp 0x1002d7ee
mov byte [esp + 0xe], 0
mov ecx, dword [edi + 0x199c]
mov al, byte [esp + 0xe]
pop edi
pop esi
dec dword [ecx + 0x1bc]
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.1005cdd4
mov esp, ebp
pop ebp
ret