Function at 0x102a8020
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
mov ecx, 0x104f68b0
call fcn.1015f0d9
mov eax, dword [0x104e7304]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0x1500
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
movss xmm0, dword [eax]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp + 0x18]
comiss xmm0, dword [ebp - 0x68]
jbe 0x102a806f
movss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0x13c], xmm0
jmp 0x102a80a6
movss xmm0, dword [ebp - 0x68]
comiss xmm0, dword [ebp + 0x1c]
jbe 0x102a8089
movss xmm0, dword [ebp + 0x1c]
movss dword [ebp - 0x140], xmm0
jmp 0x102a8096
movss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0x140], xmm0
movss xmm0, dword [ebp - 0x140]
movss dword [ebp - 0x13c], xmm0
mov ecx, dword [ebp + 0x14]
movss xmm0, dword [ebp - 0x13c]
movss dword [ecx], xmm0
mov eax, dword [ebp + 0x28]
and eax, 1
je 0x102a80c9
mov dword [ebp - 0x13c], 1
jmp 0x102a80d3
mov dword [ebp - 0x13c], 0
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x10], 4
je 0x102a80f1
cmp dword [ebp + 0x10], 5
je 0x102a80f1
mov byte [ebp - 0x139], 0
jmp 0x102a80f8
mov byte [ebp - 0x139], 1
mov al, byte [ebp - 0x139]
mov byte [ebp - 0xd], al
movss xmm0, dword [ebp + 0x24]
ucomiss xmm0, dword [0x1042d1f8]
lahf
test ah, 0x44
jnp 0x102a8124
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x102a8124
mov byte [ebp - 0x139], 1
jmp 0x102a812b
mov byte [ebp - 0x139], 0
mov cl, byte [ebp - 0x139]
mov byte [ebp - 0xe], cl
movss xmm0, dword [0x1042d1fc]
movss dword [ebp - 0x14], xmm0
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0xc], 1
jbe 0x102a8164
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xd0]
movss xmm0, dword [eax + edx*4]
movss dword [ebp - 0x118], xmm0
cmp dword [ebp - 0xc], 1
jbe 0x102a8188
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xcc]
movss xmm0, dword [edx + ecx*4]
movss dword [ebp - 0x11c], xmm0
movss xmm0, dword [ebp - 0x11c]
subss xmm0, dword [ebp - 0x118]
subss xmm0, dword [0x10430afc]
movss dword [ebp - 0x18], xmm0
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x6c]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp + 0x1c]
comiss xmm0, dword [ebp + 0x18]
jbe 0x102a81e7
movss xmm0, dword [ebp + 0x1c]
subss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0x13c], xmm0
jmp 0x102a81f9
movss xmm0, dword [ebp + 0x18]
subss xmm0, dword [ebp + 0x1c]
movss dword [ebp - 0x13c], xmm0
movss xmm0, dword [ebp - 0x13c]
movss dword [ebp - 0x20], xmm0
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x102a8278
movss xmm0, dword [ebp - 0x20]
comiss xmm0, dword [0x1042d1cc]
jb 0x102a8278
movss xmm0, dword [ebp - 0x20]
addss xmm0, dword [0x1042d1f8]
movss xmm1, dword [ebp - 0x18]
divss xmm1, xmm0
movss dword [ebp - 0x6c], xmm1
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x6c]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x6c]
comiss xmm0, dword [ebp - 0x70]
jb 0x102a825e
movss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x13c], xmm0
jmp 0x102a826b
movss xmm0, dword [ebp - 0x70]
movss dword [ebp - 0x13c], xmm0
movss xmm0, dword [ebp - 0x13c]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0x1c]
jbe 0x102a8292
movss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x13c], xmm0
jmp 0x102a829f
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x13c], xmm0
movss xmm0, dword [ebp - 0x13c]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x24], xmm0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xc], 1
jbe 0x102a82d2
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xd4]
movss xmm0, dword [edx + ecx*4]
movss dword [ebp - 0x120], xmm0
movss xmm0, dword [ebp - 0x120]
addss xmm0, dword [0x1042d1fc]
movss xmm1, dword [ebp - 0x1c]
mulss xmm1, dword [0x1042d1ec]
addss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xc], 1
jbe 0x102a8328
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xd8]
movss xmm0, dword [edx + ecx*4]
movss dword [ebp - 0x124], xmm0
movss xmm0, dword [ebp - 0x124]
subss xmm0, dword [0x1042d1fc]
movss xmm1, dword [ebp - 0x1c]
mulss xmm1, dword [0x1042d1ec]
subss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x102a8482
movss xmm0, dword [ebp + 0x18]
mulss xmm0, dword [ebp + 0x1c]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x102a8482
movss xmm0, dword [0x1042d1f8]
divss xmm0, dword [ebp + 0x24]
movss dword [ebp - 0xe0], xmm0
movss xmm0, dword [ebp + 0x18]
comiss xmm0, dword [0x1042d1cc]
jb 0x102a83b8
movss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0xdc], xmm0
jmp 0x102a83cc
movss xmm0, dword [ebp + 0x18]
xorps xmm0, xmmword [0x1042d250]
movss dword [ebp - 0xdc], xmm0
cvtss2sd xmm0, dword [ebp - 0xe0]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0xdc]
sub esp, 8
movsd qword [esp], xmm0
call fcn.1015f4b7
add esp, 0x10
fstp dword [ebp - 0x34]
movss xmm0, dword [0x1042d1f8]
divss xmm0, dword [ebp + 0x24]
movss dword [ebp - 0xe8], xmm0
movss xmm0, dword [ebp + 0x1c]
comiss xmm0, dword [0x1042d1cc]
jb 0x102a8429
movss xmm0, dword [ebp + 0x1c]
movss dword [ebp - 0xe4], xmm0
jmp 0x102a843d
movss xmm0, dword [ebp + 0x1c]
xorps xmm0, xmmword [0x1042d250]
movss dword [ebp - 0xe4], xmm0
cvtss2sd xmm0, dword [ebp - 0xe8]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0xe4]
sub esp, 8
movsd qword [esp], xmm0
call fcn.1015f4b7
add esp, 0x10
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x34]
divss xmm1, xmm0
movss dword [ebp - 0x30], xmm1
jmp 0x102a84b5
xorps xmm0, xmm0
comiss xmm0, dword [ebp + 0x18]
jbe 0x102a849d
movss xmm0, dword [0x1042d1f8]
movss dword [ebp - 0x13c], xmm0
jmp 0x102a84a8
xorps xmm0, xmm0
movss dword [ebp - 0x13c], xmm0
movss xmm0, dword [ebp - 0x13c]
movss dword [ebp - 0x30], xmm0
mov byte [ebp - 0x39], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x19ac]
cmp ecx, dword [ebp + 0xc]
jne 0x102a8854
mov byte [ebp - 0x3a], 0
xorps xmm0, xmm0
movss dword [ebp - 0x40], xmm0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x19dc], 1
jne 0x102a8600
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx + 0xe8]
test eax, eax
jne 0x102a8508
call fcn.1015fc5f
jmp 0x102a8600
mov eax, dword [ebp - 4]
add eax, 0xe0
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xc], 1
jbe 0x102a8524
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xec]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
movss xmm0, dword [ecx]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x24]
comiss xmm0, dword [0x1042d1cc]
jbe 0x102a85cc
movss xmm0, dword [ebp - 0x44]
subss xmm0, dword [ebp - 0x28]
divss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x74], xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebp - 0x74]
jbe 0x102a857d
xorps xmm0, xmm0
movss dword [ebp - 0x13c], xmm0
jmp 0x102a85ba
movss xmm0, dword [ebp - 0x74]
comiss xmm0, dword [0x1042d1f8]
jbe 0x102a859d
movss xmm0, dword [0x1042d1f8]
movss dword [ebp - 0x140], xmm0
jmp 0x102a85aa
movss xmm0, dword [ebp - 0x74]
movss dword [ebp - 0x140], xmm0
movss xmm0, dword [ebp - 0x140]
movss dword [ebp - 0x13c], xmm0
movss xmm0, dword [ebp - 0x13c]
movss dword [ebp - 0x144], xmm0
jmp 0x102a85d7
xorps xmm0, xmm0
movss dword [ebp - 0x144], xmm0
movss xmm0, dword [ebp - 0x144]
movss dword [ebp - 0x40], xmm0
cmp dword [ebp - 0xc], 1
jne 0x102a85fc
movss xmm0, dword [0x1042d1f8]
subss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x40], xmm0
mov byte [ebp - 0x3a], 1
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x102a8854
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x102a878f
movss xmm0, dword [ebp - 0x30]
comiss xmm0, dword [ebp - 0x40]
jbe 0x102a86ae
movss xmm0, dword [ebp - 0x40]
divss xmm0, dword [ebp - 0x30]
movss xmm1, dword [0x1042d1f8]
subss xmm1, xmm0
movss dword [ebp - 0x4c], xmm1
cvtss2sd xmm0, dword [ebp + 0x24]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0x4c]
sub esp, 8
movsd qword [esp], xmm0
call fcn.1015f4b7
add esp, 0x10
fstp dword [ebp - 0x4c]
xorps xmm0, xmm0
comiss xmm0, dword [ebp + 0x1c]
jbe 0x102a867f
movss xmm0, dword [ebp + 0x1c]
movss dword [ebp - 0xf0], xmm0
jmp 0x102a868a
xorps xmm0, xmm0
movss dword [ebp - 0xf0], xmm0
movss xmm0, dword [ebp + 0x18]
subss xmm0, dword [ebp - 0xf0]
mulss xmm0, dword [ebp - 0x4c]
addss xmm0, dword [ebp - 0xf0]
movss dword [ebp - 0x48], xmm0
jmp 0x102a878a
movss xmm0, dword [ebp - 0x30]
subss xmm0, dword [0x1042d1f8]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.1015da40
add esp, 8
fstp dword [ebp - 0x13c]
fld dword [ebp - 0x13c]
fstp dword [ebp - 0x140]
movss xmm0, dword [ebp - 0x140]
comiss xmm0, dword [0x1044565c]
jbe 0x102a8714
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [ebp - 0x30]
movss xmm1, dword [0x1042d1f8]
subss xmm1, dword [ebp - 0x30]
divss xmm0, xmm1
movss dword [ebp - 0x50], xmm0
jmp 0x102a871e
movss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x50], xmm0
cvtss2sd xmm0, dword [ebp + 0x24]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0x50]
sub esp, 8
movsd qword [esp], xmm0
call fcn.1015f4b7
add esp, 0x10
fstp dword [ebp - 0x50]
movss xmm0, dword [ebp + 0x18]
comiss xmm0, dword [0x1042d1cc]
jb 0x102a8760
movss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0xf4], xmm0
jmp 0x102a876b
xorps xmm0, xmm0
movss dword [ebp - 0xf4], xmm0
movss xmm0, dword [ebp + 0x1c]
subss xmm0, dword [ebp - 0xf4]
mulss xmm0, dword [ebp - 0x50]
addss xmm0, dword [ebp - 0xf4]
movss dword [ebp - 0x48], xmm0
jmp 0x102a8815
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x102a87b2
movss xmm0, dword [ebp + 0x1c]
subss xmm0, dword [ebp + 0x18]
mulss xmm0, dword [ebp - 0x40]
addss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0x48], xmm0
jmp 0x102a8815
movss xmm0, dword [ebp + 0x1c]
subss xmm0, dword [ebp + 0x18]
mulss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x54]
addss xmm0, dword [0x1042d1ec]
movss dword [ebp - 0x5c], xmm0
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x102a8806
movss xmm0, dword [ebp - 0x5c]
comiss xmm0, dword [ebp - 0x58]
jbe 0x102a8806
movss xmm0, dword [ebp + 0x18]
addss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x48], xmm0
jmp 0x102a8815
movss xmm0, dword [ebp + 0x18]
addss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x48], xmm0
push ecx
movss xmm0, dword [ebp - 0x48]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.1015fc14
add esp, 0xc
fstp dword [ebp - 0x48]
mov eax, dword [ebp + 0x14]
movss xmm0, dword [eax]
ucomiss xmm0, dword [ebp - 0x48]
lahf
test ah, 0x44
jnp 0x102a8854
mov eax, dword [ebp + 0x14]
movss xmm0, dword [ebp - 0x48]
movss dword [eax], xmm0
mov byte [ebp - 0x39], 1
movss xmm0, dword [ebp + 0x1c]
subss xmm0, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
movss xmm1, dword [eax]
subss xmm1, dword [ebp + 0x18]
divss xmm1, xmm0
mulss xmm1, dword [0x1042d210]
movss dword [ebp - 0x78], xmm1
cvtss2sd xmm0, dword [ebp - 0x78]
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.ucrtbased.dll_floor]
add esp, 8
fstp dword [ebp - 0x13c]
fld dword [ebp - 0x13c]
call fcn.1015e7ba
mov ecx, dword [ebp + 0x30]
mov dword [ecx], eax
push ecx
movss xmm0, dword [ebp - 0x30]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp + 0x24]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp + 0x1c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp + 0x18]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x14]
push ecx
movss xmm0, dword [eax]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1015d7fc
add esp, 0x18
fstp dword [ebp - 0x60]
cmp dword [ebp - 0xc], 1
jne 0x102a8907
movss xmm0, dword [0x1042d1f8]
subss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x2c]
subss xmm0, dword [ebp - 0x28]
mulss xmm0, dword [ebp - 0x60]
addss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x64], xmm0
cmp dword [ebp - 0xc], 0
jne 0x102a89f3
mov eax, dword [ebp + 8]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x1042d1fc]
movss dword [ebp - 0x7c], xmm0
mov ecx, dword [ebp + 8]
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [0x1042d1fc]
movss dword [ebp - 0x80], xmm0
lea edx, [ebp - 0x104]
mov dword [ebp - 0x12c], edx
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x1042d1ec]
movss xmm1, dword [ebp - 0x64]
subss xmm1, xmm0
mov eax, dword [ebp - 0x12c]
movss dword [eax], xmm1
mov ecx, dword [ebp - 0x12c]
movss xmm0, dword [ebp - 0x7c]
movss dword [ecx + 4], xmm0
lea edx, [ebp - 0xfc]
mov dword [ebp - 0x134], edx
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x1042d1ec]
addss xmm0, dword [ebp - 0x64]
mov eax, dword [ebp - 0x134]
movss dword [eax], xmm0
mov ecx, dword [ebp - 0x134]
movss xmm0, dword [ebp - 0x80]
movss dword [ecx + 4], xmm0
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp - 0x104]
mov dword [edx], eax
mov ecx, dword [ebp - 0x100]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xfc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [edx + 0xc], ecx
jmp 0x102a8ac2
mov eax, dword [ebp + 8]
movss xmm0, dword [eax]
addss xmm0, dword [0x1042d1fc]
movss dword [ebp - 0x84], xmm0
mov ecx, dword [ebp + 8]
movss xmm0, dword [ecx + 8]
subss xmm0, dword [0x1042d1fc]
movss dword [ebp - 0x88], xmm0
lea edx, [ebp - 0x114]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
movss xmm0, dword [ebp - 0x84]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x1042d1ec]
movss xmm1, dword [ebp - 0x64]
subss xmm1, xmm0
mov ecx, dword [ebp - 0x130]
movss dword [ecx + 4], xmm1
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
movss xmm0, dword [ebp - 0x88]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x1042d1ec]
addss xmm0, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x138]
movss dword [ecx + 4], xmm0
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp - 0x114]
mov dword [edx], eax
mov ecx, dword [ebp - 0x110]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x108]
mov dword [edx + 0xc], ecx
mov al, byte [ebp - 0x39]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret