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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x158
mov eax, dword [0x1007a010]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xe0], ecx
mov ecx, dword [0x1007a700]
mov dword [esp + 0xdc], eax
push esi
push edi
mov eax, dword [ecx + 0x3e28]
mov edi, edx
mov dword [esp + 0xbc], edi
mov dword [esp + 0x34], ecx
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x3e28]
mov dword [esp + 0x4c], edx
cmp byte [edx + 0xab], 0
je 0x100388b6
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.1004b324
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x4688], 1
mov eax, dword [edx + 0x260]
mov dword [esp + 0x30], eax
je 0x100388d3
movss xmm1, dword [ecx + 0x468c]
jmp 0x100388db
movss xmm1, dword [edx + 0x19c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1003891d
cmp dword [edx + 0x18c], 0
movss xmm0, dword [edx + 0x224]
jne 0x100388fd
cmp dword [ecx + 0x49d0], 0
je 0x10038905
movss xmm0, dword [edx + 0x1f4]
subss xmm0, dword [edx + 0xec]
addss xmm0, xmm1
movss xmm1, dword [0x10076698]
maxss xmm1, xmm0
mov dword [ecx + 0x4688], 0
mov ecx, dword [esp + 0xe8]
cvttss2si esi, xmm1
call fcn.10010f00
call fcn.10013790
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x64], edx
test dl, 8
jne 0x10038961
mov ecx, edi
call fcn.1003c030
mov edx, dword [esp + 0x64]
test edx, 0x6000000
jne 0x1003898a
mov eax, dword [esp + 0x34]
mov ecx, 0xa900000
mov eax, dword [eax + 0x5944]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1003898c
mov ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
test ecx, 0x18000000
jne 0x100389c3
mov eax, dword [edx + 0x5944]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov edi, dword [esp + 0xbc]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x100389d9
mov eax, dword [edx + 0x5944]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
movss xmm4, dword [edx + 0x37ec]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xf0], ecx
movss xmm0, dword [eax + 0xf0]
movss xmm2, dword [eax + 0xec]
mov eax, dword [0x1007a700]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x50], xmm2
movss xmm3, dword [eax + 0x37d8]
addss xmm3, xmm3
addss xmm3, dword [eax + 0x3bb4]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm3
movss dword [esp + 0x78], xmm3
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x74], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x150]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm3
maxss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x54], xmm1
movss dword [esp + 0xe4], xmm0
addss xmm0, xmm4
movss dword [esp + 0xe0], xmm0
addss xmm0, xmm3
addss xmm4, xmm0
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1007663c]
movss dword [esp + 0xec], xmm4
cvttss2si esi, xmm0
mov dword [esp + 0xe8], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x54]
add esp, 0xc
movaps xmm2, xmm1
movaps xmm3, xmm1
mulss xmm2, dword [0x10076658]
mulss xmm3, dword [0x1007662c]
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xa4], xmm3
movaps xmm4, xmm2
subss xmm4, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x78]
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0x120], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10076620]
mulss xmm3, dword [0x10076658]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x50]
movss dword [esp + 0x5c], xmm4
movd xmm0, eax
movss dword [esp + 0xcc], xmm3
movss dword [esp + 0x11c], xmm3
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm4
movss xmm7, dword [edi + 8]
subss xmm1, xmm0
mov eax, dword [esp + 0x18]
movss xmm5, dword [0x10076704]
mov ecx, eax
movss xmm6, dword [0x100765fc]
and ecx, 0x8000000
mov dword [esp + 0x3c], 0
movss dword [esp + 0x44], xmm7
movaps xmm0, xmm1
movss dword [esp + 0x38], xmm1
mulss xmm0, dword [0x100767b0]
movaps xmm2, xmm1
mov dword [esp + 0x80], ecx
mulss xmm2, dword [0x100767bc]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x12c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10076688]
movss xmm1, dword [edi + 4]
movss dword [esp + 0xa8], xmm2
movss dword [esp + 0x98], xmm2
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x130], xmm0
movss xmm0, dword [edi]
movaps xmm2, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0xb0], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0xac], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x84], xmm2
movss dword [esp + 0xec], xmm5
je 0x10038d37
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x10038c93
movss xmm3, dword [0x100767c0]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x44], xmm7
jbe 0x10038cbc
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100767ac]
subss xmm0, xmm3
movss dword [esp + 0x44], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm6
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x10076b20]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.100374d0
movss xmm0, dword [esp + 0x18]
add esp, 8
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
jmp 0x10038d8f
test eax, 0x10000000
je 0x10038d8f
lea eax, [esp + 0x84]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0xb0]
lea ecx, [esp + 0xb4]
call fcn.10004e40
movss xmm0, dword [esp + 0xb4]
add esp, 4
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x40], xmm0
mov ecx, dword [0x1007a700]
lea edx, [ecx + 0x4768]
mov byte [esp + 0xf], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x17], 0
mov eax, dword [ecx + 0x4680]
or eax, 8
mov dword [esp + 0x10], edx
mov dword [ecx + 0x4680], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], eax
cmp dword [edx], ecx
jne 0x10038dfb
test ecx, ecx
je 0x10038ddb
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, ecx
jmp 0x10038de0
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1001b270
mov edi, dword [esp + 0xbc]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x18]
mov ecx, eax
inc dword [edx]
and ecx, 0x4000000
mov dword [esp + 0x60], ecx
je 0x100393e6
movss xmm1, dword [esp + 0x48]
lea edx, [esp + 0x68]
mov eax, dword [esp + 0x34]
movaps xmm0, xmm1
push ecx
mov ecx, 0x10071500
movss dword [esp + 0x70], xmm1
addss xmm0, dword [eax + 0x37ec]
addss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x6c], xmm0
call fcn.1002d7e0
mov eax, dword [0x1007a700]
add esp, 4
mov ecx, dword [eax + 0x3e74]
test ecx, ecx
je 0x100392f5
cmp ecx, dword [eax + 0x469c]
jne 0x100392f5
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax + 0x36a4]
subss xmm0, dword [esp + 0xcc]
movss xmm1, dword [eax + 0x36a8]
subss xmm1, dword [esp + 0xc8]
movss xmm4, dword [eax + 0xdb8]
movss xmm3, dword [eax + 0xdbc]
subss xmm4, dword [esp + 0xcc]
subss xmm3, dword [esp + 0xc8]
movaps xmm2, xmm0
movss dword [esp + 0x28], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xd0], xmm1
movss xmm1, dword [0x10076698]
addss xmm2, xmm0
movss dword [esp + 0xf4], xmm4
movss xmm0, dword [esp + 0x5c]
subss xmm0, xmm1
movss dword [esp + 0xc0], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10038f85
movss xmm0, dword [esp + 0x4c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10038f85
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x100766f0]
xorps xmm0, xmm0
fstp qword [esp + 0x68]
movsd xmm1, qword [esp + 0x68]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x10076658]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x10038f7d
addss xmm1, dword [0x10076698]
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 0xf], al
jmp 0x10038f97
mov al, byte [esp + 0xf]
movss xmm2, dword [0x100766f0]
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mov byte [esp + 0x22], al
xorps xmm0, xmmword [0x10076b30]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x68], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x68]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x28]
xorps xmm2, xmm2
movss xmm6, dword [esp + 0x10]
movaps xmm4, xmm3
cvtsd2ss xmm2, xmm0
movss xmm1, dword [esp + 0xb4]
movaps xmm0, xmm2
mulss xmm4, xmm6
mulss xmm0, dword [esp + 0xd0]
movaps xmm5, xmm1
mulss xmm3, xmm2
subss xmm5, xmm1
subss xmm4, xmm0
movss dword [esp + 0xf8], xmm2
movaps xmm0, xmm6
movss xmm7, dword [esp + 0x38]
mulss xmm0, dword [esp + 0xd0]
subss xmm7, dword [esp + 0xb4]
movaps xmm2, xmm4
movss dword [esp + 0x28], xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0xa8]
subss xmm0, dword [esp + 0xb8]
subss xmm2, xmm1
movss dword [esp + 0x68], xmm7
movss dword [esp + 0xd0], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xb8]
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa8]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100392ed
movss xmm0, dword [esp + 0xb8]
subss xmm3, xmm5
subss xmm4, dword [esp + 0x38]
subss xmm0, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xb4]
subss xmm0, dword [esp + 0x38]
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x100392ed
movss xmm1, dword [esp + 0xf8]
movaps xmm7, xmm6
movss xmm2, dword [esp + 0xc0]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xf4]
mulss xmm7, dword [esp + 0xf4]
movss xmm4, dword [esp + 0xb4]
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xc0], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0xc4], xmm6
subss xmm0, dword [esp + 0xb8]
mulss xmm1, dword [esp + 0xd0]
mulss xmm0, dword [esp + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xa8]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x68]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x10]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100391f0
movss xmm3, dword [esp + 0x38]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0xb8]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x10039236
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x104]
call fcn.10004490
movss xmm3, dword [esp + 0x44]
add esp, 0xc
movss xmm4, dword [esp + 0xb4]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0xb8]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xa8]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
mulss xmm3, xmm1
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movss xmm2, dword [0x10076610]
movaps xmm0, xmm7
movss dword [esp + 0x24], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x10076698]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
comiss xmm2, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x100392be
movaps xmm0, xmm2
jmp 0x100392c5
movaps xmm0, xmm1
minss xmm0, xmm5
divss xmm3, xmm0
movss dword [esp + 0x44], xmm0
comiss xmm2, xmm3
ja 0x100392e1
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x24], xmm2
mov byte [esp + 0x17], 1
mov byte [esp + 0xf], 1
jmp 0x100392f5
mov al, byte [esp + 0xf]
mov byte [esp + 0x22], al
test byte [esp + 0x18], 8
jne 0x10039301
call fcn.100148f0
movss xmm2, dword [esp + 0x2c]
cmp dword [esp + 0xf0], 0x10000
mov esi, dword [esp + 0xdc]
jne 0x1003967d
mov ecx, dword [0x1007a700]
lea edx, [esp + 0x94]
movss xmm0, dword [esp + 0xe0]
push ecx
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e28]
mov ecx, str.alpha
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [eax + 0xf0], xmm2
mov byte [eax + 0x12d], 1
movss dword [esp + 0x9c], xmm0
call fcn.1002d7e0
mov eax, dword [0x1007a700]
add esp, 4
mov ecx, dword [eax + 0x3e74]
test ecx, ecx
je 0x1003967d
cmp ecx, dword [eax + 0x469c]
jne 0x1003967d
mov eax, dword [esp + 0x34]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x48]
movss xmm1, dword [0x10076698]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xdbc]
subss xmm3, dword [esp + 0x2c]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10039665
xorps xmm4, xmm4
jmp 0x1003966c
test eax, 0x2000000
je 0x10039301
movss xmm0, dword [esp + 0x48]
lea edx, [esp + 0x94]
push ecx
mov ecx, 0x10071504
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm0
call fcn.1002d7e0
mov edx, dword [0x1007a700]
add esp, 4
mov eax, dword [edx + 0x3e74]
test eax, eax
je 0x10039553
cmp eax, dword [edx + 0x469c]
jne 0x10039553
mov ecx, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x48]
movss xmm1, dword [0x10076698]
subss xmm4, xmm1
movss xmm3, dword [ecx + 0xdb8]
subss xmm3, dword [esp + 0x50]
movss dword [esp + 0x10], xmm4
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1003947c
movss dword [esp + 0x24], xmm0
jmp 0x10039489
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x24], xmm2
movss xmm2, dword [ecx + 0xdbc]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x100394a5
xorps xmm3, xmm3
jmp 0x100394ac
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 + 0x44], xmm2
movss xmm2, dword [edi]
comiss xmm0, xmm2
jbe 0x100394d1
xorps xmm3, xmm3
jmp 0x100394d8
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x10076754]
movss xmm2, dword [0x10076658]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si esi, xmm3
jbe 0x100394fe
xorps xmm3, xmm3
jmp 0x10039505
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or esi, eax
comiss xmm0, xmm6
jbe 0x10039520
xorps xmm1, xmm1
jmp 0x10039524
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, esi
cmp dword [ecx + 0x5950], eax
jne 0x1003954b
movss xmm0, dword [ecx + 0x5948]
movss dword [esp + 0x1c], xmm0
mov al, 1
mov byte [esp + 0xf], al
jmp 0x1003956b
movss xmm0, dword [esp + 0x48]
subss xmm0, dword [0x10076698]
mov al, byte [esp + 0xf]
movss dword [esp + 0x10], xmm0
test byte [esp + 0x18], 8
mov byte [esp + 0x17], al
mov byte [esp + 0x23], al
jne 0x10039585
call fcn.100148f0
mov edx, dword [0x1007a700]
mov eax, dword [edx + 0x3e28]
movss xmm0, dword [esp + 0xd4]
push ecx
mov ecx, 0x10071508
mov byte [eax + 0xa8], 1
mov eax, dword [edx + 0x3e28]
lea edx, [esp + 0x98]
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x4c]
mov byte [eax + 0x12d], 1
movss dword [esp + 0x9c], xmm0
call fcn.1002d7e0
mov eax, dword [0x1007a700]
add esp, 4
mov ecx, dword [eax + 0x3e74]
test ecx, ecx
je 0x10039301
mov dl, byte [esp + 0xf]
mov byte [esp + 0x17], dl
cmp ecx, dword [eax + 0x469c]
jne 0x10039301
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [eax + 0xdbc]
subss xmm1, xmm2
divss xmm1, dword [esp + 0x10]
comiss xmm0, xmm1
ja 0x10039648
movss xmm0, dword [0x10076698]
minss xmm0, xmm1
mov al, byte [esp + 0x23]
movss dword [esp + 0x1c], xmm0
mov byte [esp + 0x22], 1
mov byte [esp + 0xf], 1
mov byte [esp + 0x17], al
jmp 0x10039307
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xf], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x1007a700]
dec dword [edx + 0x4768]
mov ecx, dword [edx + 0x4768]
mov eax, dword [edx + 0x4770]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4680], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x28], ecx
jne 0x100396ce
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.10013560
call fcn.10013790
mov eax, dword [esp + 0x18]
and eax, 0x80
mov dword [esp + 0xc0], eax
jne 0x10039741
mov ecx, dword [esp + 0xe8]
cmp ecx, 0xffffffff
jae 0x10039741
mov dl, byte [ecx]
test dl, dl
je 0x100396fe
cmp dl, 0x23
jne 0x100396f8
cmp byte [ecx + 1], dl
je 0x100396fe
inc ecx
cmp ecx, 0xffffffff
jb 0x100396e8
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x10], ecx
cmp eax, ecx
je 0x10039741
cmp dword [esp + 0x28], 0
je 0x10039733
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.10013560
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xe8]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1002bff0
add esp, 4
cmp dword [esp + 0x28], 0
jne 0x10039970
mov eax, dword [0x1007a700]
lea edx, [eax + 0x4768]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x4680]
or ecx, 0x10
mov dword [eax + 0x4680], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x100397a1
test ecx, ecx
je 0x10039788
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, ecx
jmp 0x1003978d
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1001b270
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x68]
mov dword [eax + ecx*4], esi
inc dword [edx]
cmp dword [esp + 0x74], 0
je 0x100397c0
movss xmm1, dword [0x10076698]
jmp 0x100397c5
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0xc0], 0
movss xmm0, dword [edi]
mov esi, dword [esp + 0xdc]
movss dword [esp + 0x12c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x130], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x134], xmm0
movss dword [esp + 0x138], xmm1
je 0x10039815
push str.Current
call fcn.1002c6d0
add esp, 4
movss xmm1, dword [esp + 0x78]
lea ecx, [esp + 0x94]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x12c]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x100766ec]
push ecx
push eax
mov ecx, str.current
mov dword [esp + 0x100], eax
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x9c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xa0], xmm0
call fcn.1003b0e0
add esp, 8
cmp dword [esp + 0xe4], 0
je 0x10039949
push str.Original
call fcn.1002c6d0
mov eax, dword [esp + 0xe8]
add esp, 4
cmp dword [esp + 0x74], 0
je 0x100398ae
movss xmm1, dword [0x10076698]
jmp 0x100398b3
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x13c]
movss dword [esp + 0x13c], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x140], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x94]
movss dword [esp + 0x144], xmm0
movss xmm0, dword [esp + 0x68]
push eax
push dword [esp + 0xfc]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x150], xmm1
movss dword [esp + 0xa0], xmm0
call fcn.1003b0e0
add esp, 8
test al, al
je 0x10039949
push dword [esp + 0x88]
push dword [esp + 0xe8]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xf], 1
mov edx, dword [0x1007a700]
dec dword [edx + 0x4768]
mov eax, dword [edx + 0x4770]
mov ecx, dword [edx + 0x4768]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4680], eax
call fcn.100138c0
cmp byte [esp + 0x22], 0
jne 0x10039982
cmp byte [esp + 0x17], 0
je 0x10039a60
cmp dword [esp + 0x80], 0
je 0x10039a89
movss xmm2, dword [esp + 0x44]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x24]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.10004e40
mov ecx, dword [esp + 0x38]
add esp, 4
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [0x10076698]
movss dword [ecx + 0x5948], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ecx + 0x594c], xmm0
xorps xmm0, xmm0
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
jbe 0x100399f6
xorps xmm3, xmm3
jmp 0x100399fd
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x10076754]
movss xmm2, dword [0x10076658]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x10039a23
xorps xmm3, xmm3
jmp 0x10039a2a
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 0x10039a45
xorps xmm1, xmm1
jmp 0x10039a49
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x5950], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x23], 0
test al, 0x20
jne 0x10039e0f
cmp dword [esp + 0xf0], 0x10000
jne 0x10039ab6
movss xmm0, dword [esp + 0xe0]
jmp 0x10039abf
mov eax, dword [esp + 0x18]
test eax, 0x10000000
je 0x10039a64
movss xmm0, dword [esp + 0x1c]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [edi + 8], xmm0
jmp 0x10039a64
movss xmm0, dword [esp + 0xd4]
addss xmm0, dword [esp + 0x78]
subss xmm0, dword [esp + 0x50]
call fcn.10013610
mov eax, dword [esp + 0x18]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x74], edx
test eax, 0x100000
jne 0x10039afb
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x10], ecx
jne 0x10039b59
mov dword [esp + 0x10], ecx
jmp 0x10039b04
and eax, 0x700000
mov dword [esp + 0x10], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.100375c0
add esp, 4
test al, al
je 0x10039b4d
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x3e74], 0
je 0x10039b39
cmp byte [eax + 0x3e81], 0
mov byte [esp + 0x23], 1
je 0x10039b3e
mov byte [esp + 0x23], 0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], ecx
jmp 0x10039b51
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x10039b64
test ecx, ecx
jne 0x10039b86
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.100375c0
mov ecx, dword [esp + 0x14]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x10039b91
test ecx, ecx
jne 0x10039bae
mov eax, dword [esp + 0x74]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.100375c0
add esp, 4
or byte [esp + 0xf], al
cmp byte [esp + 0x23], 0
mov ecx, dword [0x1007a700]
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x3e28]
mov ecx, dword [edx + 0x1a4]
mov eax, dword [edx + 0x1ac]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x19c], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1a4], eax
lea ecx, [edi + 8]
lea edx, [edi + 4]
je 0x10039cdf
cmp dword [esp + 0x80], 0
je 0x10039cdf
movss xmm3, dword [edx]
xorps xmm2, xmm2
movss xmm5, dword [ecx]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x10039c2d
movss xmm6, dword [0x100767c0]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10039c4a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100767ac]
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 [0x100765fc]
movaps xmm7, xmm1
mulss xmm1, dword [0x10076704]
divss xmm7, xmm0
addss xmm1, dword [0x100765fc]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x10076b20]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x10039ce7
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x10039ce7
comiss xmm2, xmm4
jb 0x10039df0
movss xmm1, dword [esp + 0x44]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10039df0
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm2, dword [0x10076658]
push ecx
mov ecx, edi
call fcn.10004e40
add esp, 4
lea ecx, [edi + 8]
lea edx, [edi + 4]
movss xmm6, dword [0x10076b20]
mov eax, dword [esp + 0x18]
cmp byte [esp + 0xf], 0
je 0x10039e9b
cmp dword [esp + 0x80], 0
je 0x10039e22
movss xmm0, dword [edx]
xorps xmm4, xmm4
movss xmm1, dword [ecx]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x8c], xmm7
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x40], xmm1
jbe 0x10039d41
movss xmm4, dword [0x100767c0]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x44], xmm3
jbe 0x10039d6a
movss xmm0, dword [0x100767ac]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x44], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [0x10076704]
addss xmm0, dword [0x100765fc]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100765fc]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.100374d0
movss xmm3, dword [esp + 0x18]
add esp, 8
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x24], xmm0
jmp 0x10039ea1
comiss xmm2, xmm7
jb 0x10039ce7
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm4
mulss xmm1, dword [0x10076658]
jmp 0x10039cce
movss xmm6, dword [0x10076b20]
lea ecx, [edi + 8]
lea edx, [edi + 4]
jmp 0x10039ceb
test eax, 0x10000000
je 0x10039e9b
movss xmm1, dword [ecx]
lea eax, [esp + 0x84]
movss xmm3, dword [edx]
lea ecx, [esp + 0xb0]
movss xmm0, dword [edi]
lea edx, [esp + 0xac]
movss dword [esp + 0x44], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x28], xmm3
call fcn.10004e40
movss xmm0, dword [esp + 0xb4]
add esp, 4
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x40], xmm0
movss xmm3, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
comiss xmm0, xmm2
movss xmm0, dword [0x10076698]
jbe 0x10039ec2
xorps xmm1, xmm1
jmp 0x10039ec9
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x10076754]
mov dword [esp + 0x94], 0x3f800000
movss dword [esp + 0xa0], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x98], 0x3f800000
addss xmm1, dword [0x10076658]
mov dword [esp + 0x9c], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0xb0], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x10], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x100], ecx
or eax, 0x808080
mov dword [esp + 0x118], ecx
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x94]
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 + 0x98]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x9c]
push eax
call fcn.10004e40
movss xmm3, dword [esp + 0x98]
xorps xmm1, xmm1
movss xmm2, dword [0x10076698]
add esp, 4
comiss xmm1, xmm3
jbe 0x10039fcb
xorps xmm0, xmm0
jmp 0x10039fd2
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm5, dword [0x10076754]
movss xmm3, dword [0x10076658]
movss xmm4, dword [esp + 0x98]
comiss xmm1, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1003a001
xorps xmm0, xmm0
jmp 0x1003a008
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x9c]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1003a02c
xorps xmm0, xmm0
jmp 0x1003a033
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xa0]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1003a057
xorps xmm0, xmm0
jmp 0x1003a05e
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x8c]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0xac], edx
jbe 0x1003a089
xorps xmm0, xmm0
jmp 0x1003a090
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x7c]
comiss xmm1, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1003a0ac
xorps xmm0, xmm0
jmp 0x1003a0b3
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x40]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1003a0d4
xorps xmm0, xmm0
jmp 0x1003a0db
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x34]
movss xmm4, dword [eax + 0x3798]
comiss xmm1, xmm4
jbe 0x1003a102
xorps xmm0, xmm0
jmp 0x1003a109
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm5
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x60], 0
mov dword [esp + 0x7c], eax
je 0x1003a96b
movss xmm1, dword [esp + 0x4c]
movaps xmm4, xmm3
movss xmm0, dword [esp + 0x5c]
mov eax, 0x2aaaaaab
divss xmm4, xmm1
mov esi, dword [esp + 0x30]
addss xmm0, xmm1
cvttss2si ecx, xmm1
movaps xmm5, xmm0
movss dword [esp + 0xf8], xmm4
imul ecx
mulss xmm5, xmm3
movss dword [esp + 0x64], xmm0
mov eax, 4
movss dword [esp + 0xf4], xmm5
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0x40], eax
nop dword [eax]
nop dword [eax + eax]
movd xmm1, eax
lea eax, [esp + 0x11c]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x10076704]
divss xmm1, dword [0x10076704]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x100766f0]
mulss xmm1, dword [0x100766f0]
subss xmm0, xmm4
addss xmm1, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x34], xmm1
call fcn.10025140
movss xmm0, dword [esp + 0xa4]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x18]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10023c30
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 + 0x5c]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x68], 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 + 0x5c]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x28]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x60], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x60]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x68]
movss xmm6, dword [esp + 0xc0]
subss xmm3, xmm5
mov eax, dword [esp + 0x40]
cvtsd2ss xmm4, xmm0
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + eax*4 + 0x100]
mov eax, dword [esi + 0x18]
movss xmm2, dword [0x10076698]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x5c]
movaps xmm7, xmm2
mulss xmm0, xmm3
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
addss xmm4, dword [esp + 0xc8]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
mov dword [esp + 0x60], eax
movzx eax, cl
mov dword [esp + 0x80], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x28], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + eax*4 + 0x104]
movzx eax, cl
sub eax, dword [esp + 0x80]
mov dword [esp + 0x68], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x28]
shr ecx, 0x10
mov dword [esp + 0x74], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x60]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x4c]
mov dword [esp + 0xc0], ecx
cmp edx, edi
jae 0x1003a478
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x68]
nop dword [eax + eax]
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 0x1003a3de
xorps xmm2, xmm2
jmp 0x1003a3e2
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 + 0x28]
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 + 0x80]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x10076698]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x74]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0xc0]
cmp edx, edi
jb 0x1003a3b0
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
movss xmm4, dword [esp + 0xf8]
inc eax
movss xmm5, dword [esp + 0xf4]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x40], eax
cmp eax, 6
jl 0x1003a1b0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x100766c0]
mulss xmm0, dword [0x100766f0]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x22], 0
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [esp + 0x5c]
mulss xmm0, dword [esp + 0x64]
movss xmm1, dword [esp + 0xa4]
movss dword [esp + 0x60], xmm2
mulss xmm0, dword [0x10076658]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x64]
mulss xmm0, dword [0x10076658]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x54], xmm0
je 0x1003a549
mulss xmm1, dword [0x10076664]
jmp 0x1003a551
mulss xmm1, dword [0x1007665c]
movaps xmm0, xmm1
movss dword [esp + 0xa4], xmm1
divss xmm0, dword [0x100766b0]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1003a575
mov esi, 9
jmp 0x1003a57f
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x50]
push esi
push dword [esp + 0xb0]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.100261c0
movss xmm2, dword [esp + 0xa4]
lea eax, [esp + 0x50]
addss xmm2, dword [0x10076698]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x8c]
push eax
call fcn.10026100
movss xmm2, dword [esp + 0xa4]
lea eax, [esp + 0x50]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x18]
push esi
push eax
call fcn.10026100
movss xmm3, dword [esp + 0x5c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x60]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x38]
movaps xmm0, xmm5
mov eax, dword [0x1007a700]
movss xmm6, dword [esp + 0xcc]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xcc]
mulss xmm4, dword [esp + 0xb8]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xbc]
addss xmm2, xmm6
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x9c], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x40]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xb0]
mulss xmm5, dword [esp + 0xc0]
addss xmm2, xmm7
movss dword [esp + 0x88], xmm2
movss dword [esp + 0xa0], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xb0]
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 + 0x30], xmm4
addss xmm3, xmm7
movss dword [esp + 0x124], xmm4
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x3bbc]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [eax + 0x3bc0]
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x128], xmm3
movss dword [esp + 0x70], xmm0
mov ecx, edi
call fcn.10023a10
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0x4c]
movss xmm3, dword [esp + 0x80]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x68]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0xac]
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 + 0x28]
movss xmm6, dword [esp + 0x5c]
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 + 0xb0]
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 + 0x88]
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 + 0x124]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.10025ed0
movss xmm0, dword [0x10076698]
xorps xmm1, xmm1
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x44]
comiss xmm1, xmm2
jbe 0x1003a8dc
xorps xmm5, xmm5
jmp 0x1003a8e3
movaps xmm5, xmm0
minss xmm5, xmm2
movss xmm2, dword [esp + 0x24]
comiss xmm1, xmm2
jbe 0x1003a8f3
xorps xmm4, xmm4
jmp 0x1003a8fa
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [esp + 0x28]
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x3c]
mov esi, dword [esp + 0xdc]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x28]
subss xmm3, xmm0
mulss xmm3, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x8c], xmm3
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x5c]
subss xmm2, xmm0
mulss xmm2, xmm5
addss xmm2, xmm0
movss dword [esp + 0x90], xmm2
jmp 0x1003acd7
test dword [esp + 0x18], 0x2000000
je 0x1003acea
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0xd8]
mov ecx, dword [esp + 0x30]
push eax
push edx
push edx
movss dword [esp + 0x128], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x54]
push eax
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x138], xmm0
call fcn.10025d50
mov ecx, dword [esp + 0xb0]
lea eax, [esp + 0x11c]
movss xmm0, dword [esp + 0xd8]
push ecx
push ecx
mov ecx, dword [esp + 0x38]
push 0
push 0
push eax
movss dword [esp + 0x130], xmm0
lea eax, [esp + 0x64]
movss xmm0, dword [esp + 0x54]
push eax
movss dword [esp + 0x138], xmm0
call fcn.10025d50
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10005e20
movss xmm3, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [0x10076698]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1003aa59
xorps xmm2, xmm2
jmp 0x1003aa60
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x48]
movss xmm4, dword [esp + 0x50]
movss xmm3, dword [0x10076658]
mulss xmm2, xmm6
movss xmm5, dword [0x100766c0]
movss xmm7, dword [esp + 0xd8]
addss xmm2, xmm4
addss xmm4, xmm5
subss xmm7, xmm5
addss xmm2, xmm3
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x1003aab4
movss dword [esp + 0x8c], xmm4
jmp 0x1003aacd
comiss xmm2, xmm7
jbe 0x1003aac4
movss dword [esp + 0x8c], xmm7
jmp 0x1003aacd
movss dword [esp + 0x8c], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x44]
comiss xmm0, xmm2
jbe 0x1003aae0
xorps xmm1, xmm1
jmp 0x1003aae4
minss xmm1, xmm2
movss xmm4, dword [esp + 0x2c]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm5
addss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
movaps xmm1, xmm4
addss xmm1, xmm5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1003ab22
movss dword [esp + 0x90], xmm1
jmp 0x1003ab3b
comiss xmm2, xmm0
jbe 0x1003ab32
movss dword [esp + 0x90], xmm0
jmp 0x1003ab3b
movss dword [esp + 0x90], xmm2
movss xmm0, dword [esp + 0x64]
movaps xmm1, xmm6
divss xmm1, dword [0x10076704]
mov esi, dword [esp + 0x30]
xor ecx, ecx
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x94], xmm0
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x104]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x124]
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x128], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x108]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xa8]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0xb0], xmm0
call fcn.10025d50
movss xmm1, dword [esp + 0x60]
mov ecx, edi
movss xmm4, dword [esp + 0x2c]
cmp ecx, 6
jl 0x1003ab80
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xd4]
push dword [esp + 0x3c]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm4
push dword [esp + 0x3c]
movss dword [esp + 0x5c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10005e20
mov esi, dword [esp + 0xec]
movss xmm1, dword [esp + 0x88]
addss xmm1, dword [0x100766c0]
mov ecx, dword [esp + 0x40]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
addss xmm0, dword [0x10076698]
movss xmm2, dword [esp + 0xe4]
push dword [esp + 0x4c]
subss xmm2, dword [0x10076698]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x5c]
push dword [esp + 0x4c]
movss dword [esp + 0x68], xmm2
addss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x10076658]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
movss dword [esp + 0x6c], xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.10038630
add esp, 0x20
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0xbc]
movss xmm3, dword [0x10076658]
cmp byte [esp + 0x17], 0
je 0x1003ad04
movss xmm2, dword [0x10076714]
movss dword [esp + 0xec], xmm2
jmp 0x1003ad0c
movss xmm2, dword [0x10076704]
test eax, 0xff000000
je 0x1003ad58
comiss xmm3, xmm2
ja 0x1003ad58
push 0xb
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x94]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.10025140
mov eax, dword [esp + 0x30]
mov ecx, eax
push dword [esp + 0x7c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10024950
mov eax, dword [esp + 0x30]
mov dword [eax + 0x54], 0
jmp 0x1003ad5c
mov eax, dword [esp + 0x30]
test dword [esp + 0x84], 0xff000000
movss xmm1, dword [esp + 0xec]
movss xmm0, dword [0x10076658]
movaps xmm2, xmm1
addss xmm2, dword [0x10076698]
je 0x1003ade8
comiss xmm0, xmm2
ja 0x1003ade8
push 0xb
push ecx
subss xmm2, xmm0
mov dword [esp], 0x40b84e89
lea ecx, [esp + 0x94]
xorps xmm3, xmm3
push ecx
mov ecx, eax
call fcn.10025140
mov eax, dword [esp + 0x30]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x8c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10023c30
mov eax, dword [esp + 0x30]
movss xmm0, dword [0x10076658]
movss xmm1, dword [esp + 0xec]
mov dword [eax + 0x54], 0
test dword [esp + 0x10], 0xff000000
je 0x1003ae44
comiss xmm0, xmm1
ja 0x1003ae44
push 0xb
push ecx
subss xmm1, xmm0
mov dword [esp], 0x40b84e89
lea ecx, [esp + 0x94]
xorps xmm3, xmm3
push ecx
mov ecx, eax
movaps xmm2, xmm1
call fcn.10025140
mov eax, dword [esp + 0x30]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x18]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10023c30
mov eax, dword [esp + 0x30]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xf0], 0x10000
jne 0x1003aff4
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1003ae6a
movss dword [esp + 0x64], xmm1
jmp 0x1003ae7c
movss xmm0, dword [0x10076698]
minss xmm0, xmm2
movss dword [esp + 0x64], xmm0
movss xmm3, dword [esp + 0xe0]
xor edx, edx
movss xmm0, dword [esp + 0x2c]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x78]
movss dword [esp + 0x120], xmm0
mov ecx, eax
addss xmm0, dword [esp + 0x48]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
movss dword [esp + 0x12c], xmm2
subss xmm2, xmm3
movss dword [esp + 0x130], xmm0
push dword [esp + 0x130]
movss dword [esp + 0x128], xmm3
xorps xmm3, xmm3
push dword [esp + 0x130]
mov edi, dword [esp + 0x12c]
push dword [esp + 0x130]
mulss xmm2, dword [0x10076658]
push edi
push 0
call fcn.1002a860
mov ecx, dword [esp + 0x98]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.10025d50
push dword [esp + 0x128]
xorps xmm0, xmm0
push dword [esp + 0x128]
push dword [esp + 0x128]
push edi
call fcn.10005e20
movss xmm1, dword [0x10076698]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [esp + 0xf0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x74]
push dword [esp + 0x4c]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
mulss xmm1, dword [esp + 0x60]
movss dword [esp + 0x68], xmm2
movss xmm2, dword [esi + 0x3798]
addss xmm1, dword [esp + 0x44]
addss xmm1, dword [0x10076658]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x90]
addss xmm1, dword [0x100766c0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x6c], xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.10038630
add esp, 0x20
jmp 0x1003aff8
mov esi, dword [esp + 0x34]
call fcn.100138c0
cmp byte [esp + 0xf], 0
mov edi, dword [0x1007a700]
je 0x1003b0b0
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x14c]
mov edx, dword [esp + 0xbc]
sub eax, 4
mov dword [esp + 0x88], eax
jb 0x1003b04f
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b054
mov eax, dword [esp + 0x88]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [esp + 0x88], eax
jae 0x1003b030
cmp eax, 0xfffffffc
je 0x1003b0ab
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003b090
cmp dword [esp + 0x88], 0xfffffffd
je 0x1003b0ab
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003b090
cmp dword [esp + 0x88], 0xfffffffe
je 0x1003b0ab
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003b090
cmp dword [esp + 0x88], 0xffffffff
je 0x1003b0ab
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1003b0ab
cmp dword [esi + 0x469c], 0
je 0x1003b0b0
or dword [edi + 0x46a4], 4
mov word [edi + 0x3e84], 0x101
jmp 0x1003b0b0
mov byte [esp + 0xf], 0
mov ecx, dword [edi + 0x3e28]
mov al, byte [esp + 0xf]
pop edi
pop esi
dec dword [ecx + 0xe0]
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.1004b324
mov esp, ebp
pop ebp
ret