Function at 0x10061b70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10150380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x1017bfd8]
push edi
test esi, esi
je 0x10061de5
push 0x54
lea edi, [esi + 0x2fc]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test byte [esi + 8], 2
je 0x10061dd5
cmp byte [0x101628fc], 0
je 0x10061bd8
lea eax, [ebp - 0x28]
push eax
push 1
push 0
call dword [sym.imp.XINPUT1_3.dll_Ordinal_4]
test eax, eax
mov byte [0x101628fc], 0
sete cl
mov byte [0x1017de44], cl
jmp 0x10061bde
mov cl, byte [0x1017de44]
and dword [esi + 0xc], 0xfffffffe
test cl, cl
je 0x10061dd5
lea eax, [ebp - 0x14]
push eax
push 0
call dword [sym.imp.XINPUT1_3.dll_Ordinal_2]
test eax, eax
jne 0x10061dd5
or dword [esi + 0xc], 1
xorps xmm0, xmm0
mov eax, dword [ebp - 0x10]
movss xmm1, dword [0x10145040]
test eax, 0x1000
je 0x10061c1c
movaps xmm2, xmm1
jmp 0x10061c1f
xorps xmm2, xmm2
movss dword [edi], xmm2
test eax, 0x2000
je 0x10061c2f
movaps xmm2, xmm1
jmp 0x10061c32
xorps xmm2, xmm2
movss dword [esi + 0x300], xmm2
test eax, 0x4000
je 0x10061c46
movaps xmm2, xmm1
jmp 0x10061c49
xorps xmm2, xmm2
movss dword [esi + 0x308], xmm2
test ax, ax
jns 0x10061c5b
movaps xmm2, xmm1
jmp 0x10061c5e
xorps xmm2, xmm2
movss dword [esi + 0x304], xmm2
test al, 4
je 0x10061c6f
movaps xmm2, xmm1
jmp 0x10061c72
xorps xmm2, xmm2
movss dword [esi + 0x30c], xmm2
test al, 8
je 0x10061c83
movaps xmm2, xmm1
jmp 0x10061c86
xorps xmm2, xmm2
movss dword [esi + 0x310], xmm2
test al, 1
je 0x10061c97
movaps xmm2, xmm1
jmp 0x10061c9a
xorps xmm2, xmm2
movss dword [esi + 0x314], xmm2
test al, 2
je 0x10061cab
movaps xmm2, xmm1
jmp 0x10061cae
xorps xmm2, xmm2
mov ecx, eax
movss dword [esi + 0x318], xmm2
and ecx, 0x100
je 0x10061cc5
movaps xmm2, xmm1
jmp 0x10061cc8
xorps xmm2, xmm2
movss dword [esi + 0x32c], xmm2
and eax, 0x200
je 0x10061cdc
movaps xmm2, xmm1
jmp 0x10061cdf
xorps xmm2, xmm2
movss dword [esi + 0x330], xmm2
test cx, cx
je 0x10061cf1
movaps xmm2, xmm1
jmp 0x10061cf4
xorps xmm2, xmm2
movss dword [esi + 0x334], xmm2
test ax, ax
je 0x10061d06
movaps xmm2, xmm1
jmp 0x10061d09
xorps xmm2, xmm2
movsx ecx, word [ebp - 0xc]
movss dword [esi + 0x338], xmm2
lea eax, [ecx + 0x1ea9]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x101452f4]
minss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x10061d44
comiss xmm2, dword [esi + 0x31c]
jbe 0x10061d44
movss dword [esi + 0x31c], xmm2
movss xmm3, dword [0x10144ed0]
lea eax, [ecx - 0x1ea9]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm3
minss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x10061d77
comiss xmm2, dword [esi + 0x320]
jbe 0x10061d77
movss dword [esi + 0x320], xmm2
movsx ecx, word [ebp - 0xa]
lea eax, [ecx - 0x1ea9]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm3
minss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x10061da6
comiss xmm2, dword [esi + 0x324]
jbe 0x10061da6
movss dword [esi + 0x324], xmm2
lea eax, [ecx + 0x1ea9]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x101452f8]
minss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x10061dd5
comiss xmm2, dword [esi + 0x328]
jbe 0x10061dd5
movss dword [esi + 0x328], xmm2
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1010fe2d
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3