Function at 0x10065120
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
mov edi, dword [0x1017bfd8]
mov eax, dword [edi + 0x19e4]
mov byte [eax + 0x7c], 1
mov esi, dword [edi + 0x19e4]
cmp byte [esi + 0x7f], 0
jne 0x10065308
mov ecx, dword [esi + 0x160]
neg ecx
sbb ecx, ecx
add ecx, 2
lea eax, [ecx - 1]
test ecx, eax
jne 0x10065549
test cl, 2
je 0x10065311
mov byte [esi + 0x7c], 1
mov esi, dword [edi + 0x19e4]
cmp byte [esi + 0x7f], 0
jne 0x10065308
movss xmm0, dword [esi + 0xcc]
lea ecx, [ebp - 8]
movss xmm2, dword [esi + 0xc8]
movaps xmm1, xmm0
addss xmm1, dword [esi + 0xec]
movaps xmm3, xmm2
movss dword [ebp - 0x30], xmm2
addss xmm3, dword [0x10145040]
movss dword [ebp - 0x2c], xmm0
mov dword [ebp - 8], 0x3f800000
movss dword [ebp - 0x24], xmm1
xorps xmm1, xmm1
mov dword [ebp - 4], 0
movss dword [ebp - 0x28], xmm3
call fcn.10044ce0
push 0
xor edx, edx
lea ecx, [ebp - 0x30]
call fcn.10044e10
add esp, 4
test al, al
je 0x10065308
mov eax, dword [0x1017bfd8]
xorps xmm2, xmm2
movss xmm5, dword [0x10145040]
movups xmm0, xmmword [eax + 0x178c]
comiss xmm2, xmm0
movaps xmm1, xmm0
movaps xmmword [ebp - 0x20], xmm0
shufps xmm1, xmm0, 0xff
mulss xmm1, dword [eax + 0x1500]
jbe 0x1006522e
xorps xmm0, xmm0
jmp 0x10065232
minss xmm0, xmm5
movss xmm3, dword [0x10145264]
movss xmm4, dword [0x10144fec]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm2, xmm0
jbe 0x1006525d
xorps xmm0, xmm0
jmp 0x10065261
minss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x18]
shl eax, 8
or ecx, eax
comiss xmm2, xmm0
jbe 0x10065281
xorps xmm0, xmm0
jmp 0x10065285
minss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm1
ja 0x100652a2
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm0, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x30]
mulss xmm2, xmm3
push ecx
mov dword [esp], 0x3f800000
movss dword [ebp - 4], xmm0
movss xmm0, dword [ebp - 0x2c]
addss xmm2, xmm4
movss dword [ebp - 8], xmm1
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x14], xmm0
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
mov ecx, dword [esi + 0x274]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1005c900
cmp byte [edi + 0x2cbc], 0
je 0x10065308
push 0x101423a0
call fcn.10052640
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [esi + 0x1bc], 0
je 0x1006531f
call fcn.10046ea0
cmp dword [esi + 0x198], 0
movss xmm2, dword [esi + 0xc]
movaps xmm3, xmm2
addss xmm3, dword [esi + 0x14]
je 0x1006533d
addss xmm2, dword [esi + 0x1b0]
movss xmm0, dword [esi + 0xcc]
lea ecx, [ebp - 0x18]
movaps xmm1, xmm0
movss dword [ebp - 0x10], xmm2
addss xmm1, dword [0x10145040]
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 8], xmm3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movss dword [ebp - 4], xmm1
xorps xmm1, xmm1
call fcn.10044ce0
push 0
xor edx, edx
lea ecx, [ebp - 0x10]
call fcn.10044e10
add esp, 4
test al, al
jne 0x100653e5
cmp dword [esi + 0x1bc], 0
je 0x10065308
mov eax, dword [0x1017bfd8]
mov eax, dword [eax + 0x19e4]
mov eax, dword [eax + 0x1bc]
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 0x2c]
jge 0x10065549
mov eax, dword [eax + 0x34]
lea ecx, [edx*8]
sub ecx, edx
push 0
lea edx, [eax + 0x14]
add eax, 0xc
lea edx, [edx + ecx*4]
lea ecx, [eax + ecx*4]
call fcn.10046e10
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x1017bfd8]
xorps xmm1, xmm1
movss xmm2, dword [0x10145040]
movups xmm0, xmmword [eax + 0x178c]
comiss xmm1, xmm0
movaps xmm5, xmm0
movaps xmmword [ebp - 0x30], xmm0
shufps xmm5, xmm0, 0xff
mulss xmm5, dword [eax + 0x1500]
jbe 0x10065419
xorps xmm0, xmm0
jmp 0x1006541d
minss xmm0, xmm2
movss xmm3, dword [0x10145264]
movss xmm4, dword [0x10144fec]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x2c]
comiss xmm1, xmm0
jbe 0x10065448
xorps xmm0, xmm0
jmp 0x1006544c
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x28]
shl eax, 8
or ecx, eax
comiss xmm1, xmm0
jbe 0x1006546c
xorps xmm0, xmm0
jmp 0x10065470
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
ja 0x1006548d
movaps xmm1, xmm5
minss xmm1, xmm2
movss xmm0, dword [ebp - 8]
mulss xmm1, xmm3
push ecx
mov dword [esp], 0x3f800000
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm1, xmm4
movss dword [ebp - 0x14], xmm0
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [esi + 0x274]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1005c900
cmp byte [edi + 0x2cbc], 0
je 0x100654e9
push 0
mov edx, str.________________________________
lea ecx, [ebp - 0x10]
call fcn.10052690
add esp, 4
cmp dword [esi + 0x1bc], 0
je 0x10065308
mov eax, dword [0x1017bfd8]
mov eax, dword [eax + 0x19e4]
mov eax, dword [eax + 0x1bc]
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 0x2c]
jge 0x10065549
mov eax, dword [eax + 0x34]
lea ecx, [edx*8]
sub ecx, edx
push 0
lea edx, [eax + 0x14]
add eax, 0xc
lea edx, [edx + ecx*4]
lea ecx, [eax + ecx*4]
call fcn.10046e10
mov ecx, dword [esi + 0x1bc]
add esp, 4
mov eax, dword [esi + 0xcc]
pop edi
mov dword [ecx + 0x1c], eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3