Function at 0x10064260
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [0x1017bfd8]
mov ebx, edx
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x19e4]
mov byte [eax + 0x7c], 1
mov esi, dword [edi + 0x19e4]
cmp byte [esi + 0x7f], 0
jne 0x10064a2c
push ecx
push ecx
mov ecx, esi
call fcn.100448e0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
cmp ecx, 0xffffffff
jae 0x10064318
mov dl, byte [ecx]
test dl, dl
je 0x100642c1
lea eax, [ecx + 1]
cmp dl, 0x23
jne 0x100642ba
cmp byte [eax], dl
je 0x100642c1
mov ecx, eax
cmp ecx, 0xffffffff
jb 0x100642a8
mov edx, dword [esp + 0x1c]
cmp edx, ecx
je 0x10064318
push ecx
push ecx
push edx
push ecx
lea eax, [esp + 0x38]
mov dword [esp], 0xbf800000
push eax
mov eax, dword [0x1017bfd8]
movss xmm2, dword [eax + 0x1900]
mov ecx, dword [eax + 0x18fc]
call fcn.1005fe90
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x10145038]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x34], xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x1006431b
xorps xmm1, xmm1
movd xmm2, dword [ebp + 0xc]
xorps xmm0, xmm0
comiss xmm1, xmm0
movss xmm3, dword [esi + 0xcc]
addss xmm3, dword [0x10145108]
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x14], xmm3
mulss xmm2, dword [0x1014514c]
movss dword [esp + 0x2c], xmm3
addss xmm2, dword [esi + 0xc8]
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x28], xmm2
jbe 0x10064375
addss xmm1, dword [edi + 0x1550]
addss xmm1, dword [0x10145158]
jmp 0x10064378
xorps xmm1, xmm1
movaps xmm0, xmm2
movss dword [esp + 0x30], xmm2
addss xmm0, xmm1
movss dword [esp + 0x34], xmm3
movaps xmm1, xmm3
lea ecx, [esp + 0x20]
addss xmm1, dword [0x10145148]
movss dword [esp + 0x38], xmm0
subss xmm0, xmm2
movss dword [esp + 0x3c], xmm1
subss xmm1, xmm3
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm1
movss xmm1, dword [edi + 0x153c]
call fcn.10044ce0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push 0
call fcn.10044e10
add esp, 4
test al, al
je 0x10064a2c
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xe]
push 0
push eax
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x3c]
call fcn.10062930
mov edx, dword [0x1017bfd8]
add esp, 0xc
mov byte [esp + 0xe], al
test al, al
je 0x10064448
cmp byte [ebx], 0
sete cl
mov byte [ebx], cl
mov ecx, dword [edx + 0x1a04]
cmp ecx, dword [esp + 0x18]
je 0x10064434
test ecx, ecx
je 0x10064434
cmp byte [edx + 0x1cc0], 0
jne 0x10064434
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [edx + 0x19e4]
mov byte [edx + 0x1a17], 1
or dword [eax + 0x110], 4
cmp byte [ebx], 0
je 0x100645db
mov ebx, dword [esi + 0x274]
lea eax, [esp + 0x40]
push eax
call fcn.10027a70
movss xmm3, dword [0x10145040]
mov ecx, eax
xorps xmm0, xmm0
movss xmm4, dword [ecx]
comiss xmm0, xmm4
jbe 0x1006447c
xorps xmm4, xmm4
jmp 0x10064480
minss xmm4, xmm3
movss xmm2, dword [0x10145264]
movss xmm1, dword [0x10144fec]
mulss xmm4, xmm2
addss xmm4, xmm1
cvttss2si edx, xmm4
movss xmm4, dword [ecx + 4]
comiss xmm0, xmm4
jbe 0x100644ab
xorps xmm4, xmm4
jmp 0x100644af
minss xmm4, xmm3
mulss xmm4, xmm2
addss xmm4, xmm1
cvttss2si eax, xmm4
movss xmm4, dword [ecx + 8]
shl eax, 8
or edx, eax
comiss xmm0, xmm4
jbe 0x100644cf
xorps xmm4, xmm4
jmp 0x100644d3
minss xmm4, xmm3
mulss xmm4, xmm2
addss xmm4, xmm1
cvttss2si eax, xmm4
movss xmm4, dword [ecx + 0xc]
shl eax, 0x10
or edx, eax
comiss xmm0, xmm4
jbe 0x100644f3
xorps xmm4, xmm4
jmp 0x100644f7
minss xmm4, xmm3
movss xmm3, dword [esp + 0x10]
addss xmm3, dword [0x1014512c]
mulss xmm4, xmm2
push 0xf
push ecx
mov dword [esp], 0
mov ecx, ebx
addss xmm4, xmm1
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x38], xmm3
movss xmm3, dword [esp + 0x1c]
addss xmm3, dword [0x1014512c]
cvttss2si eax, xmm4
movss dword [esp + 0x28], xmm3
shl eax, 0x18
or eax, edx
movss dword [esp + 0x3c], xmm3
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1005cad0
movss xmm3, dword [edi + 0x1500]
xorps xmm0, xmm0
mulss xmm3, dword [0x1014501c]
movss xmm1, dword [0x10144fec]
movss xmm2, dword [0x10145264]
comiss xmm0, xmm3
jbe 0x10064587
xorps xmm3, xmm3
xor eax, eax
jmp 0x100645a9
movaps xmm0, xmm3
minss xmm0, dword [0x10145040]
minss xmm3, dword [0x10145040]
mulss xmm0, xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 0x18
movss xmm0, dword [esp + 0x18]
mov ecx, dword [esi + 0x274]
mulss xmm3, xmm2
push eax
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm3, xmm1
cvttss2si eax, xmm3
shl eax, 0x18
push eax
push 0
push 0
jmp 0x10064850
cmp byte [edx + 0x1b57], 0
mov ecx, dword [edx + 0x19e4]
je 0x10064626
cmp byte [edx + 0x1b56], 0
jne 0x10064626
mov eax, dword [edx + 0x1af8]
test eax, eax
je 0x10064609
cmp eax, dword [ecx + 0x10c]
jne 0x10064609
mov al, 1
jmp 0x1006460b
xor al, al
mov ecx, dword [esi + 0x274]
movss xmm2, dword [edi + 0x1500]
test al, al
je 0x100646b4
jmp 0x10064779
test byte [ecx + 0x110], 1
je 0x100646a6
mov ebx, dword [ecx + 0x2f0]
cmp dword [edx + 0x19ec], ebx
jne 0x100646a6
mov eax, dword [edx + 0x1a04]
test eax, eax
je 0x1006465d
cmp eax, dword [ecx + 0x10c]
je 0x1006465d
cmp byte [edx + 0x1a15], 0
jne 0x1006465d
cmp eax, dword [ecx + 0x50]
jne 0x100646a6
mov eax, dword [edx + 0x1af4]
test eax, eax
je 0x10064684
mov eax, dword [eax + 0x2f0]
test eax, eax
je 0x10064684
cmp byte [eax + 0x7b], 0
je 0x10064684
cmp eax, ebx
je 0x10064684
test dword [eax + 8], 0xc000000
jne 0x100646a6
test byte [ecx + 0x168], 4
jne 0x100646a6
mov eax, dword [ecx + 0x10c]
cmp eax, dword [ecx + 0x50]
jne 0x1006476b
cmp byte [ecx + 0x7c], 0
je 0x1006476b
movss xmm2, dword [edi + 0x1500]
mov ecx, dword [esi + 0x274]
movss xmm4, dword [0x10145264]
xorps xmm1, xmm1
comiss xmm1, xmm2
movss xmm3, dword [0x10144fec]
jbe 0x100646f2
xorps xmm0, xmm0
xorps xmm2, xmm2
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
xorps xmm0, xmm0
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si edx, xmm0
xorps xmm0, xmm0
jmp 0x1006472b
movss xmm1, dword [0x10145040]
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si edx, xmm0
movaps xmm0, xmm2
minss xmm2, xmm1
minss xmm0, xmm1
mulss xmm0, xmm4
shl eax, 0x18
mulss xmm2, xmm4
or eax, 0x292929
push eax
addss xmm0, xmm3
shl edx, 0x18
or edx, 0x292929
addss xmm2, xmm3
cvttss2si ebx, xmm0
cvttss2si eax, xmm2
shl ebx, 0x18
or ebx, 0x353535
shl eax, 0x18
or eax, 0x353535
jmp 0x1006482b
mov ecx, dword [esi + 0x274]
movss xmm2, dword [edi + 0x1500]
movss xmm4, dword [0x10145264]
xorps xmm1, xmm1
comiss xmm1, xmm2
movss xmm3, dword [0x10144fec]
jbe 0x100647b7
xorps xmm0, xmm0
xorps xmm2, xmm2
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
xorps xmm0, xmm0
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si edx, xmm0
xorps xmm0, xmm0
jmp 0x100647f0
movss xmm1, dword [0x10145040]
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si edx, xmm0
movaps xmm0, xmm2
minss xmm2, xmm1
minss xmm0, xmm1
mulss xmm0, xmm4
shl eax, 0x18
mulss xmm2, xmm4
or eax, 0x333333
push eax
addss xmm0, xmm3
shl edx, 0x18
or edx, 0x333333
addss xmm2, xmm3
cvttss2si ebx, xmm0
cvttss2si eax, xmm2
shl ebx, 0x18
or ebx, 0x3f3f3f
shl eax, 0x18
or eax, 0x3f3f3f
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x1014512c]
push edx
push ebx
push eax
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x1014512c]
lea eax, [esp + 0x40]
movss dword [esp + 0x44], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.1005cc30
movss xmm4, dword [edi + 0x1500]
xorps xmm2, xmm2
comiss xmm2, xmm4
mov ebx, dword [esi + 0x274]
movss xmm1, dword [0x10145040]
movss xmm0, dword [0x10145264]
movss xmm3, dword [0x10144fec]
ja 0x10064959
minss xmm4, xmm1
mulss xmm4, xmm0
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 0x18
mov ecx, eax
or ecx, 0x191919
mov dword [esp + 0x20], ecx
test eax, eax
je 0x10064959
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x30]
addss xmm0, dword [0x10145128]
push 0xf
push eax
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x10145128]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm3
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, xmm3
xorps xmm3, xmm3
movss dword [esp + 0x38], xmm0
call fcn.1005c5f0
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push 1
push dword [esp + 0x28]
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.1005b4f0
movss xmm3, dword [0x10144fec]
xorps xmm2, xmm2
movss xmm0, dword [0x10145264]
movss xmm1, dword [0x10145040]
mov dword [ebx + 0x54], 0
cmp byte [ebp + 8], 0
movss xmm5, dword [edi + 0x1500]
je 0x10064974
movss xmm4, dword [0x10145010]
movaps xmm6, xmm4
jmp 0x10064984
movss xmm6, dword [0x10145010]
movss xmm4, dword [0x10144fa4]
minss xmm6, xmm1
mulss xmm6, xmm0
addss xmm6, xmm3
cvttss2si eax, xmm6
shl eax, 8
comiss xmm2, xmm4
jbe 0x100649a1
xorps xmm4, xmm4
jmp 0x100649a5
minss xmm4, xmm1
mulss xmm4, xmm0
addss xmm4, xmm3
cvttss2si ecx, xmm4
shl ecx, 0x10
or ecx, eax
comiss xmm2, xmm5
jbe 0x100649c0
xorps xmm5, xmm5
jmp 0x100649c4
minss xmm5, xmm1
movss xmm4, dword [esp + 0x10]
addss xmm4, dword [0x1014514c]
mulss xmm5, xmm0
push 0
push ecx
mov dword [esp], 0
addss xmm5, xmm3
movss dword [esp + 0x38], xmm4
movss xmm4, dword [esp + 0x1c]
push 0
push dword [esp + 0x28]
subss xmm4, xmm1
cvttss2si eax, xmm5
movss dword [esp + 0x44], xmm4
shl eax, 0x18
or eax, ecx
mov ecx, dword [esi + 0x274]
or eax, 0xb4
push eax
lea eax, [esp + 0x44]
push eax
push 0
call fcn.1005cec0
mov al, byte [esp + 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret