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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x10075380]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x10077b54]
mov dword [esp + 0x58], eax
push esi
push edi
mov eax, dword [ecx + 0x1ba8]
mov edi, edx
mov dword [esp + 0xb0], edi
mov dword [esp + 0x44], ecx
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1ba8]
mov dword [esp + 0x6c], edx
cmp byte [edx + 0x8f], 0
je 0x1003e250
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.100612fd
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1c34], 1
mov eax, dword [edx + 0x244]
mov dword [esp + 0x2c], eax
je 0x1003e26d
movss xmm1, dword [ecx + 0x1c38]
jmp 0x1003e275
movss xmm1, dword [edx + 0x180]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1003e2b7
cmp dword [edx + 0x170], 0
movss xmm0, dword [edx + 0x208]
jne 0x1003e297
cmp dword [ecx + 0x1f64], 0
je 0x1003e29f
movss xmm0, dword [edx + 0x1d8]
subss xmm0, dword [edx + 0xd0]
addss xmm0, xmm1
movss xmm1, dword [0x1006e1fc]
maxss xmm1, xmm0
mov dword [ecx + 0x1c34], 0
mov ecx, dword [esp + 0x68]
cvttss2si esi, xmm1
call fcn.10019780
call fcn.10019fc0
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0x9c], ecx
test cl, 8
jne 0x1003e300
mov edx, ecx
mov ecx, edi
call fcn.10041830
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x44]
test ecx, 0x6000000
jne 0x1003e32c
mov eax, dword [edx + 0x2ec4]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0x9c]
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x1003e366
mov eax, dword [edx + 0x2ec4]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x90], edi
mov edi, dword [esp + 0xb0]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x1003e37c
mov eax, dword [edx + 0x2ec4]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x157c]
and eax, 2
movd xmm3, esi
mov dword [esp + 0x9c], eax
and ecx, 0x10002
mov eax, dword [esp + 0x6c]
cvtdq2ps xmm3, xmm3
mov dword [esp + 0xdc], ecx
movss xmm5, dword [eax + 0xd0]
movss xmm0, dword [eax + 0xd4]
mov eax, dword [0x10077b54]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x8c], xmm5
movss xmm4, dword [eax + 0x1568]
addss xmm4, xmm4
movss dword [esp + 0x50], xmm5
addss xmm4, dword [eax + 0x1944]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x5c], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x9c], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm4
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x120]
subss xmm3, xmm1
movaps xmm1, xmm5
push edi
push eax
maxss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0x2c], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x88], xmm1
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xd4], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1006e198]
cvttss2si esi, xmm0
mov dword [esp + 0x9c], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x2c]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm3, xmm1
mulss xmm4, dword [0x1006e1bc]
mulss xmm3, dword [0x1006e188]
movaps xmm0, xmm4
movss dword [esp + 0x98], xmm4
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x88], xmm3
movaps xmm2, xmm4
subss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x5c]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xf4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1006e17c]
movaps xmm1, xmm2
mulss xmm3, dword [0x1006e1bc]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x8c]
movss dword [esp + 0x84], xmm2
movd xmm0, eax
movss dword [esp + 0xac], xmm3
movss dword [esp + 0xf0], xmm3
cvtdq2ps xmm0, xmm0
movss xmm4, dword [edi + 4]
subss xmm1, xmm0
mov eax, dword [esp + 0x10]
movss xmm7, dword [0x1006e2d0]
mov dword [esp + 0x3c], 0
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x38], xmm1
movaps xmm0, xmm1
mulss xmm0, dword [0x1006e3a0]
movaps xmm2, xmm1
mulss xmm2, dword [0x1006e3ac]
movss dword [esp + 0xd8], xmm7
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0x100], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1006e1ec]
movss xmm1, dword [edi + 8]
movss dword [esp + 0x94], xmm2
movss dword [esp + 0xe4], xmm2
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x104], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x14], xmm0
movaps xmm2, xmm0
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x64], xmm2
movaps xmm2, xmm4
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x80], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x74], xmm2
test eax, 0x8000000
je 0x1003e6cc
comiss xmm1, xmm4
xorps xmm5, xmm5
movaps xmm3, xmm4
movaps xmm6, xmm1
jbe 0x1003e620
movss xmm5, dword [0x1006e3b0]
movaps xmm3, xmm1
movaps xmm6, xmm4
comiss xmm3, xmm0
movaps xmm2, xmm0
movss dword [esp + 0x48], xmm2
jbe 0x1003e649
movaps xmm2, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1006e39c]
subss xmm0, xmm5
movss dword [esp + 0x48], xmm2
movaps xmm5, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x14], xmm2
minss xmm0, xmm6
movaps xmm1, xmm2
subss xmm3, xmm6
mov ecx, edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x2c]
movaps xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, dword [0x1006e154]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1006e154]
addss xmm3, xmm5
divss xmm1, xmm0
andps xmm3, xmmword [0x1006ea90]
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x24], xmm1
call fcn.1003cde0
movss xmm0, dword [esp + 0x2c]
add esp, 8
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x24], xmm0
jmp 0x1003e718
test eax, 0x10000000
je 0x1003e718
lea eax, [esp + 0x74]
movaps xmm2, xmm1
push eax
lea edx, [esp + 0x84]
movaps xmm1, xmm4
lea ecx, [esp + 0x68]
call fcn.1000d980
movss xmm0, dword [esp + 0x68]
add esp, 4
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x58], xmm0
mov ecx, dword [0x10077b54]
mov byte [esp + 0xd], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0xf], 0
mov eax, dword [ecx + 0x1c30]
or eax, 8
mov dword [ecx + 0x1c30], eax
add ecx, 0x1d14
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
push eax
call fcn.10020e20
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x1003ed35
movss xmm1, dword [esp + 0x20]
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x44]
movaps xmm0, xmm1
push ecx
mov ecx, 0x1006bb60
movss dword [esp + 0x38], xmm1
addss xmm0, dword [eax + 0x157c]
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0x34], xmm0
call fcn.10033210
mov eax, dword [0x10077b54]
add esp, 4
mov ecx, dword [eax + 0x1be0]
test ecx, ecx
je 0x1003ec29
cmp ecx, dword [eax + 0x1c48]
jne 0x1003ec29
mov eax, dword [esp + 0x44]
movss xmm0, dword [eax + 0x390]
subss xmm0, dword [esp + 0xa8]
movss xmm1, dword [eax + 0x38c]
subss xmm1, dword [esp + 0xac]
movss xmm4, dword [eax + 0xe4]
movss xmm3, dword [eax + 0xe8]
subss xmm4, dword [esp + 0xac]
subss xmm3, dword [esp + 0xa8]
movaps xmm2, xmm0
movss dword [esp + 0xb4], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xa0], xmm1
movss xmm1, dword [0x1006e1fc]
addss xmm2, xmm0
movss dword [esp + 0x1c], xmm4
movss xmm0, dword [esp + 0x84]
subss xmm0, xmm1
movss dword [esp + 0xc0], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1003e8cb
movss xmm0, dword [esp + 0x98]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1003e8cb
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x1006e298]
xorps xmm0, xmm0
fstp qword [esp + 0x30]
movsd xmm1, qword [esp + 0x30]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1006e1bc]
comiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
jbe 0x1003e8c3
addss xmm1, dword [0x1006e1fc]
movss dword [esp + 0x14], xmm1
mov al, 1
mov byte [esp + 0xd], al
jmp 0x1003e8dd
mov al, byte [esp + 0xd]
movss xmm2, dword [0x1006e298]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm1
mov byte [esp + 0x1b], al
xorps xmm0, xmmword [0x1006eab0]
addss xmm0, xmm0
mulss xmm0, xmm2
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 + 0x6c], xmm0
movsd xmm0, qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [esp + 0x6c]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm1, dword [esp + 0xbc]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0xa0]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xb4]
movaps xmm6, xmm4
mulss xmm6, dword [esp + 0xb4]
subss xmm5, xmm0
movss dword [esp + 0xd4], xmm3
movaps xmm0, xmm3
movss xmm7, dword [esp + 0x38]
mulss xmm0, dword [esp + 0xa0]
movaps xmm3, xmm1
subss xmm3, xmm1
movaps xmm2, xmm5
addss xmm6, xmm0
movss xmm0, dword [esp + 0x94]
subss xmm0, dword [esp + 0xb8]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xbc]
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0xb4], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xb8]
movss dword [esp + 0xcc], xmm7
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x94]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm6
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x94]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1003ec21
movss xmm2, dword [esp + 0xb8]
subss xmm6, xmm3
movss xmm7, dword [esp + 0xbc]
subss xmm2, xmm3
subss xmm7, dword [esp + 0x38]
subss xmm5, dword [esp + 0x38]
movss dword [esp + 0x30], xmm2
mulss xmm6, xmm7
mulss xmm5, xmm2
movss dword [esp + 0x78], xmm7
subss xmm5, xmm6
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x1003ec21
movss xmm1, dword [esp + 0xd4]
movaps xmm5, xmm4
movss xmm6, dword [esp + 0xc0]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x1c]
mulss xmm5, dword [esp + 0x1c]
mulss xmm0, xmm6
mulss xmm4, xmm6
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0xc0], xmm5
subss xmm1, dword [esp + 0xbc]
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm4
subss xmm0, dword [esp + 0xb8]
mulss xmm1, dword [esp + 0xb4]
mulss xmm0, dword [esp + 0xa0]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x94]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0xcc]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xbc]
seta cl
mulss xmm1, dword [esp + 0x6c]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1003eb38
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x38]
subss xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x1003eb78
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xe8]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0xd8]
call fcn.1000d040
movss xmm7, dword [esp + 0x84]
add esp, 0xc
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0x94]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x38]
subss xmm2, xmm3
movaps xmm1, xmm7
mulss xmm1, dword [esp + 0x30]
movaps xmm0, xmm7
mulss xmm4, xmm7
mulss xmm0, xmm2
movss xmm3, dword [0x1006e1fc]
movaps xmm6, xmm3
subss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x30]
mulss xmm5, xmm2
subss xmm0, xmm4
subss xmm4, xmm5
divss xmm0, xmm1
divss xmm4, xmm1
movss xmm1, dword [0x1006e168]
subss xmm6, xmm0
movss dword [esp + 0x24], xmm1
comiss xmm1, xmm6
movaps xmm2, xmm6
subss xmm2, xmm4
jbe 0x1003ebf2
movaps xmm0, xmm1
jmp 0x1003ebf9
movaps xmm0, xmm3
minss xmm0, xmm6
divss xmm2, xmm0
movss dword [esp + 0x48], xmm0
comiss xmm1, xmm2
ja 0x1003ec15
movaps xmm1, xmm3
minss xmm1, xmm2
movss dword [esp + 0x24], xmm1
mov byte [esp + 0xf], 1
mov byte [esp + 0xd], 1
jmp 0x1003ec29
mov al, byte [esp + 0xd]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1003ec36
call fcn.1001b300
movss xmm4, dword [esp + 0x20]
movss xmm2, dword [esp + 0x28]
cmp dword [esp + 0xdc], 0x10000
jne 0x1003efea
mov ecx, dword [0x10077b54]
lea edx, [esp + 0xe0]
movss xmm0, dword [esp + 0xc8]
push ecx
movss dword [esp + 0xe8], xmm4
mov eax, dword [ecx + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
mov ecx, str.alpha
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm2
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0xe4], xmm0
call fcn.10033210
mov eax, dword [0x10077b54]
add esp, 4
mov ecx, dword [eax + 0x1be0]
test ecx, ecx
je 0x1003efea
cmp ecx, dword [eax + 0x1c48]
jne 0x1003efea
mov eax, dword [esp + 0x44]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [0x1006e1fc]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xe8]
subss xmm3, dword [esp + 0x28]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1003efd2
xorps xmm4, xmm4
jmp 0x1003efd9
test eax, 0x2000000
je 0x1003ec36
movss xmm0, dword [esp + 0x20]
lea edx, [esp + 0xe0]
push ecx
mov ecx, 0x1006bb64
movss dword [esp + 0xe4], xmm0
movss dword [esp + 0xe8], xmm0
call fcn.10033210
mov edx, dword [0x10077b54]
add esp, 4
mov eax, dword [edx + 0x1be0]
test eax, eax
je 0x1003eea7
cmp eax, dword [edx + 0x1c48]
jne 0x1003eea7
mov ecx, dword [esp + 0x44]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x20]
movss xmm1, dword [0x1006e1fc]
subss xmm4, xmm1
movss xmm3, dword [ecx + 0xe4]
subss xmm3, dword [esp + 0x8c]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1003edc8
movss dword [esp + 0x24], xmm0
jmp 0x1003edd5
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x24], xmm2
movss xmm2, dword [ecx + 0xe8]
subss xmm2, dword [esp + 0x28]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1003edf1
xorps xmm3, xmm3
jmp 0x1003edf8
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [edi + 4]
movaps xmm2, xmm1
movss xmm6, dword [edi + 8]
subss xmm2, xmm3
movss dword [esp + 0x48], xmm2
movss xmm2, dword [edi]
comiss xmm0, xmm2
jbe 0x1003ee1d
xorps xmm3, xmm3
jmp 0x1003ee24
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x1006e350]
movss xmm2, dword [0x1006e1bc]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
mov dword [esp + 0x1c], eax
jbe 0x1003ee4e
xorps xmm3, xmm3
jmp 0x1003ee55
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or dword [esp + 0x1c], eax
comiss xmm0, xmm6
jbe 0x1003ee72
xorps xmm1, xmm1
jmp 0x1003ee76
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, dword [esp + 0x1c]
cmp dword [ecx + 0x2ed0], eax
jne 0x1003ee9f
movss xmm0, dword [ecx + 0x2ec8]
movss dword [esp + 0x14], xmm0
mov al, 1
mov byte [esp + 0xd], al
jmp 0x1003eeab
mov al, byte [esp + 0xd]
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1003eec6
call fcn.1001b300
mov edx, dword [0x10077b54]
mov eax, dword [edx + 0x1ba8]
movss xmm0, dword [esp + 0x7c]
movss xmm2, dword [esp + 0x28]
push ecx
mov byte [eax + 0x8c], 1
mov ecx, 0x1006bb68
mov eax, dword [edx + 0x1ba8]
lea edx, [esp + 0xe4]
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm2
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0xe8], xmm0
call fcn.10033210
mov eax, dword [0x10077b54]
add esp, 4
mov ecx, dword [eax + 0x1be0]
test ecx, ecx
je 0x1003ec36
mov dl, byte [esp + 0xd]
movss xmm2, dword [esp + 0x28]
movss xmm4, dword [esp + 0x20]
mov byte [esp + 0xf], dl
cmp ecx, dword [eax + 0x1c48]
jne 0x1003ec42
mov eax, dword [esp + 0x44]
movaps xmm0, xmm4
movss xmm1, dword [0x1006e1fc]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xe8]
subss xmm3, xmm2
divss xmm3, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
ja 0x1003efb5
movaps xmm0, xmm1
minss xmm0, xmm3
mov al, byte [esp + 0xe]
movss dword [esp + 0x14], xmm0
mov byte [esp + 0x1b], 1
mov byte [esp + 0xd], 1
mov byte [esp + 0xf], al
jmp 0x1003ec42
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xd], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x10077b54]
dec dword [edx + 0x1d14]
mov eax, dword [edx + 0x1d1c]
mov ecx, dword [edx + 0x1d14]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1c30], eax
mov eax, dword [esp + 0x10]
test eax, 0x100
jne 0x1003f034
mov eax, dword [esp + 0x44]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x157c]
call fcn.10019c50
call fcn.10019fc0
mov eax, dword [esp + 0x10]
test al, al
js 0x1003f096
mov edx, dword [esp + 0x68]
cmp edx, 0xffffffff
jae 0x1003f096
mov cl, byte [edx]
mov byte [esp + 0xe], cl
test cl, cl
je 0x1003f05b
cmp cl, 0x23
jne 0x1003f055
cmp byte [edx + 1], cl
je 0x1003f05b
inc edx
cmp edx, 0xffffffff
jb 0x1003f041
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x68], edx
je 0x1003f096
test eax, 0x100
je 0x1003f084
mov eax, dword [esp + 0x44]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x157c]
call fcn.10019c50
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
push 0
call fcn.10031ec0
mov eax, dword [esp + 0x14]
add esp, 4
test eax, 0x100
jne 0x1003f282
mov ecx, dword [0x10077b54]
mov eax, dword [ecx + 0x1c30]
or eax, 0x10
mov dword [ecx + 0x1c30], eax
add ecx, 0x1d14
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
call fcn.10020e20
mov eax, dword [esp + 0x10]
test al, 2
je 0x1003f0dc
movss xmm1, dword [0x1006e1fc]
jmp 0x1003f0e1
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0xec], xmm1
test al, al
jns 0x1003f128
push str.Current
call fcn.100325c0
mov eax, dword [esp + 0x14]
add esp, 4
movss xmm1, dword [esp + 0x5c]
lea edx, [esp + 0xe0]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x1006e294]
mov ecx, str.current
mov dword [esp + 0xcc], eax
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xc4], xmm0
push dword [esp + 0xc4]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0xc4]
push eax
call fcn.10040920
add esp, 0xc
cmp dword [esp + 0x60], 0
je 0x1003f257
push str.Original
call fcn.100325c0
mov eax, dword [esp + 0x14]
add esp, 4
test al, 2
mov eax, dword [esp + 0x60]
je 0x1003f1bb
movss xmm1, dword [0x1006e1fc]
jmp 0x1003f1c0
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x100]
movss dword [esp + 0x100], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0x110], xmm1
push dword [esp + 0x34]
push dword [esp + 0xd4]
call fcn.10040920
add esp, 0xc
test al, al
je 0x1003f257
xor eax, eax
cmp dword [esp + 0x9c], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x64]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xd], 1
mov edx, dword [0x10077b54]
dec dword [edx + 0x1d14]
mov eax, dword [edx + 0x1d1c]
mov ecx, dword [edx + 0x1d14]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1c30], eax
call fcn.1001a0f0
mov eax, dword [esp + 0x10]
cmp byte [esp + 0x1b], 0
jne 0x1003f294
cmp byte [esp + 0xf], 0
je 0x1003f398
test eax, 0x8000000
je 0x1003f371
movss xmm2, dword [esp + 0x48]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x24]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.1000d980
mov ecx, dword [esp + 0x48]
add esp, 4
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x1006e1fc]
movss dword [ecx + 0x2ec8], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ecx + 0x2ecc], xmm0
xorps xmm0, xmm0
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
jbe 0x1003f305
xorps xmm3, xmm3
jmp 0x1003f30c
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x1006e350]
movss xmm2, dword [0x1006e1bc]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x1003f332
xorps xmm3, xmm3
jmp 0x1003f339
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm6
jbe 0x1003f354
xorps xmm1, xmm1
jmp 0x1003f358
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x2ed0], eax
jmp 0x1003f398
test eax, 0x10000000
je 0x1003f398
movss xmm0, dword [esp + 0x14]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x10]
mov byte [esp + 0xe], 0
test al, 0x20
jne 0x1003f5dd
cmp dword [esp + 0xdc], 0x10000
jne 0x1003f3c1
movss xmm0, dword [esp + 0xc8]
jmp 0x1003f3c7
movss xmm0, dword [esp + 0x7c]
addss xmm0, dword [esp + 0x5c]
subss xmm0, dword [esp + 0x8c]
call fcn.10019d30
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x60], ecx
test eax, 0x100000
jne 0x1003f3f9
test eax, 0x700000
jne 0x1003f440
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.1003ced0
add esp, 4
test al, al
je 0x1003f438
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x1be0], 0
je 0x1003f42e
cmp byte [eax + 0x1bed], 0
mov byte [esp + 0xe], 1
je 0x1003f433
mov byte [esp + 0xe], 0
mov byte [esp + 0xd], 1
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x1003f44e
test eax, 0x700000
jne 0x1003f46c
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.1003ced0
add esp, 4
or byte [esp + 0xd], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x1003f47a
test eax, 0x700000
jne 0x1003f497
mov eax, dword [esp + 0x60]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1003ced0
add esp, 4
or byte [esp + 0xd], al
cmp byte [esp + 0xe], 0
mov ecx, dword [0x10077b54]
mov eax, dword [ecx + 0x1ba8]
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1ba8]
mov ecx, dword [edx + 0x188]
mov eax, dword [edx + 0x190]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x180], eax
lea eax, [ecx - 1]
mov dword [edx + 0x188], eax
mov eax, dword [esp + 0x10]
je 0x1003f5dd
test eax, 0x8000000
je 0x1003f5dd
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1003f513
movss xmm6, dword [0x1006e3b0]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1003f530
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1006e39c]
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 [0x1006e154]
movaps xmm7, xmm1
mulss xmm1, dword [0x1006e2d0]
divss xmm7, xmm0
addss xmm1, dword [0x1006e154]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x1006ea90]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1003f5e5
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm2
jbe 0x1003f5e5
comiss xmm2, xmm4
jb 0x1003f5b2
movss xmm1, dword [esp + 0x48]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1003f5ae
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm2, dword [0x1006e1bc]
jmp 0x1003f5c8
mov eax, dword [esp + 0x10]
comiss xmm2, xmm7
jb 0x1003f5e5
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm4
mulss xmm1, dword [0x1006e1bc]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.1000d980
mov eax, dword [esp + 0x14]
add esp, 4
movss xmm6, dword [0x1006ea90]
cmp byte [esp + 0xd], 0
je 0x1003f74f
test eax, 0x8000000
je 0x1003f6e3
movss xmm0, dword [edi + 4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x4c], xmm7
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x58], xmm1
jbe 0x1003f637
movss xmm4, dword [0x1006e3b0]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x48], xmm3
jbe 0x1003f660
movss xmm0, dword [0x1006e39c]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x48], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x2c]
movaps xmm0, xmm1
mulss xmm0, dword [0x1006e2d0]
addss xmm0, dword [0x1006e154]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1006e154]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x24], xmm1
call fcn.1003cde0
movss xmm3, dword [esp + 0x2c]
add esp, 8
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x24], xmm0
jmp 0x1003f755
test eax, 0x10000000
je 0x1003f74f
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x74]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x80]
movss xmm0, dword [edi]
lea ecx, [esp + 0x64]
movss dword [esp + 0x48], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x28], xmm3
call fcn.1000d980
movss xmm0, dword [esp + 0x68]
add esp, 4
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x58], xmm0
movss xmm3, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x1528]
comiss xmm0, xmm2
movss xmm0, dword [0x1006e1fc]
jbe 0x1003f776
xorps xmm1, xmm1
jmp 0x1003f77d
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x1006e350]
mov dword [esp + 0xe0], 0x3f800000
movss dword [esp + 0xec], xmm2
movaps xmm2, xmm0
mov dword [esp + 0xe4], 0x3f800000
addss xmm1, dword [0x1006e1bc]
mov dword [esp + 0xe8], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x6c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x68], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x100], ecx
or eax, 0x808080
mov dword [esp + 0x118], ecx
mov dword [esp + 0x74], eax
lea ecx, [esp + 0xe0]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x104], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x108], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0xe4]
mov dword [esp + 0x114], eax
lea eax, [esp + 0xe8]
push eax
call fcn.1000d980
movss xmm0, dword [esp + 0xe4]
xorps xmm1, xmm1
movss xmm2, dword [0x1006e1fc]
add esp, 4
comiss xmm1, xmm0
jbe 0x1003f879
xorps xmm3, xmm3
jmp 0x1003f880
movaps xmm3, xmm2
minss xmm3, xmm0
movss xmm4, dword [0x1006e350]
movss xmm0, dword [0x1006e1bc]
movss xmm5, dword [esp + 0xe4]
comiss xmm1, xmm5
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si ecx, xmm3
jbe 0x1003f8af
xorps xmm3, xmm3
jmp 0x1003f8b6
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0xe8]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1003f8da
xorps xmm3, xmm3
jmp 0x1003f8e1
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0xec]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x1003f905
xorps xmm3, xmm3
jmp 0x1003f90c
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x4c]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x18
or eax, ecx
comiss xmm1, xmm5
mov dword [esp + 0x80], eax
jbe 0x1003f934
xorps xmm3, xmm3
jmp 0x1003f93b
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x70]
comiss xmm1, xmm5
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si ecx, xmm3
jbe 0x1003f957
xorps xmm3, xmm3
jmp 0x1003f95e
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x58]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1003f97f
xorps xmm3, xmm3
jmp 0x1003f986
movaps xmm3, xmm2
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x44]
movss xmm5, dword [eax + 0x1528]
comiss xmm1, xmm5
jbe 0x1003f9ad
xorps xmm3, xmm3
jmp 0x1003f9b4
movaps xmm3, xmm2
minss xmm3, xmm5
mov eax, dword [esp + 0x10]
mulss xmm3, xmm4
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
addss xmm3, xmm0
cvttss2si edx, xmm3
shl edx, 0x18
or edx, ecx
mov dword [esp + 0x70], edx
test eax, 0x4000000
je 0x1004020d
movss xmm1, dword [esp + 0x98]
movaps xmm3, xmm0
movss xmm4, dword [esp + 0x84]
mov eax, 0x2aaaaaab
divss xmm3, xmm1
mov esi, dword [esp + 0x2c]
addss xmm4, xmm1
cvttss2si ecx, xmm1
mulss xmm4, xmm0
imul ecx
movss dword [esp + 0xd4], xmm3
movss dword [esp + 0xc0], xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x58], eax
movd xmm1, eax
lea eax, [esp + 0xf0]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x1006e2d0]
divss xmm1, dword [0x1006e2d0]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x1006e298]
mulss xmm1, dword [0x1006e298]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x70], xmm1
call fcn.1002ae20
movss xmm0, dword [esp + 0x88]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x70]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10029980
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x4c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x84]
addss xmm0, dword [esp + 0xac]
movss dword [esp + 0x78], 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 + 0x84]
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
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 + 0x84]
addss xmm0, dword [esp + 0xac]
movss dword [esp + 0x30], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x30]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x78]
movss xmm6, dword [esp + 0xcc]
subss xmm3, xmm5
mov eax, dword [esp + 0x58]
cvtsd2ss xmm4, xmm0
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + eax*4 + 0x100]
mov eax, dword [esi + 0x18]
movss xmm2, dword [0x1006e1fc]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x84]
movaps xmm7, xmm2
mulss xmm0, xmm3
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
addss xmm4, dword [esp + 0xa8]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
mov dword [esp + 0x30], eax
movzx eax, cl
mov dword [esp + 0x60], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x64], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + eax*4 + 0x104]
movzx eax, cl
sub eax, dword [esp + 0x60]
mov dword [esp + 0x78], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x64]
shr ecx, 0x10
mov dword [esp + 0x7c], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x30]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x4c]
mov dword [esp + 0xcc], ecx
cmp edx, edi
jae 0x1003fd16
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 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 0x1003fc7f
xorps xmm2, xmm2
jmp 0x1003fc83
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, dword [esp + 0x4c]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl ecx, 8
movd xmm1, dword [esp + 0x64]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x60]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x1006e1fc]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x7c]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0xcc]
cmp edx, edi
jb 0x1003fc51
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
movss xmm4, dword [esp + 0xc0]
inc eax
movss xmm3, dword [esp + 0xd4]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x58], eax
cmp eax, 6
jl 0x1003fa50
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x1006e258]
mulss xmm0, dword [0x1006e298]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1b], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x84]
addss xmm2, dword [esp + 0x98]
movss xmm1, dword [esp + 0x88]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x1c]
mulss xmm2, xmm3
mulss xmm0, dword [0x1006e1bc]
mulss xmm2, dword [0x1006e1bc]
addss xmm0, dword [esp + 0xac]
movss dword [esp + 0x30], xmm3
addss xmm2, dword [esp + 0xa8]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm2
je 0x1003fdf1
mulss xmm1, dword [0x1006e1c8]
jmp 0x1003fdf9
mulss xmm1, dword [0x1006e1c0]
movaps xmm0, xmm1
movss dword [esp + 0x88], xmm1
divss xmm0, dword [0x1006e218]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1003fe1d
mov esi, 9
jmp 0x1003fe27
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x50]
push esi
push dword [esp + 0x84]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.1002bea0
movss xmm2, dword [esp + 0x88]
lea eax, [esp + 0x50]
addss xmm2, dword [0x1006e1fc]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x7c]
push eax
call fcn.1002bde0
movss xmm2, dword [esp + 0x88]
lea eax, [esp + 0x50]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x70]
push esi
push eax
call fcn.1002bde0
movss xmm3, dword [esp + 0x1c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x30]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x38]
movaps xmm0, xmm5
mov eax, dword [0x10077b54]
movss xmm6, dword [esp + 0xac]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xac]
mulss xmm4, dword [esp + 0xc0]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xc4]
addss xmm2, xmm6
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xe8], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x40]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x9c]
mulss xmm5, dword [esp + 0xc0]
addss xmm2, xmm7
movss dword [esp + 0x54], xmm2
movss dword [esp + 0xec], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x9c]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xc0]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x60], xmm4
addss xmm3, xmm7
movss dword [esp + 0xf8], xmm4
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x194c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0x1950]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0xfc], xmm3
movss dword [esp + 0x80], xmm0
mov ecx, edi
call fcn.10029760
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0x98]
movss xmm3, dword [esp + 0x4c]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x78]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x80]
movss xmm5, dword [esp + 0x38]
movss xmm4, dword [esp + 0x3c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x58]
movss xmm6, dword [esp + 0x1c]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x6c]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
push ecx
mov word [eax], cx
mov ecx, edi
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov dword [esp], 0x3fc00000
push dword [esp + 0x78]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0xf8]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.1002bbb0
movss xmm0, dword [0x1006e1fc]
xorps xmm1, xmm1
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x48]
comiss xmm1, xmm2
jbe 0x1004017e
xorps xmm5, xmm5
jmp 0x10040185
movaps xmm5, xmm0
minss xmm5, xmm2
movss xmm2, dword [esp + 0x24]
comiss xmm1, xmm2
jbe 0x10040195
xorps xmm4, xmm4
jmp 0x1004019c
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm0, dword [esp + 0x98]
subss xmm0, dword [esp + 0x58]
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x3c]
mov esi, dword [esp + 0x90]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x58]
subss xmm3, xmm0
mulss xmm3, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xa0], xmm3
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x1c]
subss xmm2, xmm0
mulss xmm2, xmm5
addss xmm2, xmm0
movss dword [esp + 0xa4], xmm2
jmp 0x10040547
test eax, 0x2000000
je 0x10040552
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x80]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x38]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x54], xmm0
call fcn.1002ba30
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0xf0]
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x20]
push ecx
push ecx
mov ecx, dword [esp + 0x34]
push 0
push 0
push eax
movss dword [esp + 0x104], xmm0
lea eax, [esp + 0x64]
movss xmm0, dword [esp + 0x50]
push eax
movss dword [esp + 0x10c], xmm0
call fcn.1002ba30
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1000e3b0
movss xmm2, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [0x1006e1fc]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x100402ff
xorps xmm4, xmm4
jmp 0x10040306
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm5, dword [esp + 0x20]
movss xmm7, dword [esp + 0x8c]
movss xmm3, dword [0x1006e1bc]
movaps xmm2, xmm7
mulss xmm4, xmm5
movss xmm6, dword [0x1006e258]
addss xmm2, xmm6
addss xmm4, xmm7
addss xmm4, xmm3
cvttss2si eax, xmm4
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm2, xmm4
ja 0x10040357
movaps xmm2, xmm7
addss xmm2, xmm5
subss xmm2, xmm6
minss xmm2, xmm4
movss dword [esp + 0xa0], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x48]
comiss xmm0, xmm2
jbe 0x10040373
xorps xmm1, xmm1
jmp 0x10040377
minss xmm1, xmm2
movss xmm2, dword [esp + 0x28]
mulss xmm1, xmm5
movaps xmm0, xmm2
addss xmm0, xmm6
addss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100403ae
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm6
minss xmm0, xmm1
movss xmm3, dword [esp + 0x7c]
movaps xmm1, xmm5
divss xmm1, dword [0x1006e2d0]
mov esi, dword [esp + 0x2c]
xor ecx, ecx
movss dword [esp + 0xa4], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x30], xmm1
movss dword [esp + 0xe0], xmm3
movss dword [esp + 0xf0], xmm0
nop
mov eax, dword [esp + ecx*4 + 0x104]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xf8]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xfc], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x108]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xf4]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xfc], xmm0
call fcn.1002ba30
movss xmm1, dword [esp + 0x30]
mov ecx, edi
movss xmm2, dword [esp + 0x28]
cmp ecx, 6
jl 0x100403f0
movss xmm3, dword [esp + 0x7c]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x20]
movaps xmm1, xmm3
movss dword [esp + 0x3c], xmm2
addss xmm1, dword [esp + 0x5c]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm1
push dword [esp + 0x54]
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1000e3b0
mov esi, dword [esp + 0xa0]
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x1006e258]
mov ecx, dword [esp + 0x3c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
addss xmm0, dword [0x1006e1fc]
movss xmm2, dword [esp + 0x8c]
push dword [esp + 0x64]
subss xmm2, dword [0x1006e1fc]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x34]
push dword [esp + 0x64]
movss dword [esp + 0x50], xmm2
addss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x1006e1bc]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x5c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1528]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1003dfd0
add esp, 0x20
xorps xmm1, xmm1
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0xb0]
cmp byte [esp + 0xf], 0
je 0x1004056c
movss xmm2, dword [0x1006e2dc]
movss dword [esp + 0xd8], xmm2
jmp 0x10040574
movss xmm2, dword [0x1006e2d0]
test edx, 0xff000000
je 0x100405c1
comiss xmm1, xmm2
jae 0x100405c1
push 0xb
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xa8]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.1002ae20
mov eax, dword [esp + 0x2c]
mov ecx, eax
push dword [esp + 0x70]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1002a660
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x54], 0
jmp 0x100405c5
mov eax, dword [esp + 0x2c]
test dword [esp + 0x74], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xd8]
movaps xmm2, xmm1
addss xmm2, dword [0x1006e1fc]
je 0x10040645
comiss xmm0, xmm2
jae 0x10040645
subss xmm2, dword [0x1006e1bc]
push 0xb
push ecx
lea ecx, [esp + 0xa8]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
mov ecx, eax
call fcn.1002ae20
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x7c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10029980
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xd8]
mov dword [eax + 0x54], 0
test dword [esp + 0x68], 0xff000000
je 0x100406a5
comiss xmm0, xmm1
jae 0x100406a5
subss xmm1, dword [0x1006e1bc]
push 0xb
push ecx
lea ecx, [esp + 0xa8]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
movaps xmm2, xmm1
mov ecx, eax
call fcn.1002ae20
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x70]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10029980
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xdc], 0x10000
jne 0x10040859
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x100406ce
movss dword [esp + 0x90], xmm1
jmp 0x100406e3
movss xmm0, dword [0x1006e1fc]
minss xmm0, xmm2
movss dword [esp + 0x90], xmm0
movss xmm3, dword [esp + 0xc8]
xor edx, edx
movss xmm0, dword [esp + 0x28]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x5c]
movss dword [esp + 0xf4], xmm0
mov ecx, eax
addss xmm0, dword [esp + 0x20]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
movss dword [esp + 0x100], xmm2
subss xmm2, xmm3
movss dword [esp + 0x104], xmm0
push dword [esp + 0x104]
movss dword [esp + 0xfc], xmm3
xorps xmm3, xmm3
push dword [esp + 0x104]
mov edi, dword [esp + 0x100]
push dword [esp + 0x104]
mulss xmm2, dword [0x1006e1bc]
push edi
push 0
call fcn.100306a0
mov ecx, dword [esp + 0x8c]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.1002ba30
push dword [esp + 0xfc]
xorps xmm0, xmm0
push dword [esp + 0xfc]
push dword [esp + 0xfc]
push edi
call fcn.1000e3b0
movss xmm1, dword [0x1006e1fc]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x3c]
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
movss xmm2, dword [esp + 0xd8]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xa0]
push dword [esp + 0x64]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
mulss xmm1, dword [esp + 0x38]
movss dword [esp + 0x50], xmm2
addss xmm1, dword [esp + 0x40]
addss xmm1, dword [0x1006e1bc]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x1006e258]
movd xmm0, eax
mov eax, dword [esp + 0x5c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1528]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1003dfd0
add esp, 0x20
call fcn.1001a0f0
cmp byte [esp + 0xd], 0
mov edi, dword [0x10077b54]
je 0x100408ef
mov ecx, dword [esp + 0xb0]
lea esi, [esp + 0x11c]
xor edx, edx
cmp dword [esp + 0x9c], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x100408a6
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x100408ab
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10040895
cmp edx, 0xfffffffc
je 0x100408ea
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x100408d8
cmp edx, 0xfffffffd
je 0x100408ea
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x100408d8
cmp edx, 0xfffffffe
je 0x100408ea
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x100408d8
cmp edx, 0xffffffff
je 0x100408ea
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x100408ea
or dword [edi + 0x1c50], 4
mov word [edi + 0x1bf0], 0x101
jmp 0x100408ef
mov byte [esp + 0xd], 0
mov ecx, dword [edi + 0x1ba8]
mov al, byte [esp + 0xd]
pop edi
pop esi
dec dword [ecx + 0xc4]
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.100612fd
mov esp, ebp
pop ebp
ret