Function at 0x100849b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x101e0c0c]
push edi
test esi, esi
je 0x10084c23
push 0x54
lea edi, [esi + 0x2fc]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test byte [esi + 8], 2
je 0x10084c13
cmp byte [0x101e0254], 0
je 0x10084a17
lea eax, [ebp - 0x28]
push eax
push 1
push 0
call dword [sym.imp.XINPUT1_3.dll_Ordinal_4]
test eax, eax
mov byte [0x101e0254], 0
sete al
mov byte [0x1021e2b0], al
jmp 0x10084a1c
mov al, byte [0x1021e2b0]
and dword [esi + 0xc], 0xfffffffe
test al, al
je 0x10084c13
lea eax, [ebp - 0x14]
push eax
push 0
call dword [sym.imp.XINPUT1_3.dll_Ordinal_2]
test eax, eax
jne 0x10084c13
or dword [esi + 0xc], 1
xorps xmm0, xmm0
mov eax, dword [ebp - 0x10]
movss xmm1, dword [0x10162728]
test eax, 0x1000
je 0x10084a5a
movaps xmm2, xmm1
jmp 0x10084a5d
xorps xmm2, xmm2
movss dword [edi], xmm2
test eax, 0x2000
je 0x10084a6d
movaps xmm2, xmm1
jmp 0x10084a70
xorps xmm2, xmm2
movss dword [esi + 0x300], xmm2
test eax, 0x4000
je 0x10084a84
movaps xmm2, xmm1
jmp 0x10084a87
xorps xmm2, xmm2
movss dword [esi + 0x308], xmm2
test ax, ax
jns 0x10084a99
movaps xmm2, xmm1
jmp 0x10084a9c
xorps xmm2, xmm2
movss dword [esi + 0x304], xmm2
test al, 4
je 0x10084aad
movaps xmm2, xmm1
jmp 0x10084ab0
xorps xmm2, xmm2
movss dword [esi + 0x30c], xmm2
test al, 8
je 0x10084ac1
movaps xmm2, xmm1
jmp 0x10084ac4
xorps xmm2, xmm2
movss dword [esi + 0x310], xmm2
test al, 1
je 0x10084ad5
movaps xmm2, xmm1
jmp 0x10084ad8
xorps xmm2, xmm2
movss dword [esi + 0x314], xmm2
test al, 2
je 0x10084ae9
movaps xmm2, xmm1
jmp 0x10084aec
xorps xmm2, xmm2
mov ecx, eax
movss dword [esi + 0x318], xmm2
and ecx, 0x100
je 0x10084b03
movaps xmm2, xmm1
jmp 0x10084b06
xorps xmm2, xmm2
movss dword [esi + 0x32c], xmm2
and eax, 0x200
je 0x10084b1a
movaps xmm2, xmm1
jmp 0x10084b1d
xorps xmm2, xmm2
movss dword [esi + 0x330], xmm2
test cx, cx
je 0x10084b2f
movaps xmm2, xmm1
jmp 0x10084b32
xorps xmm2, xmm2
movss dword [esi + 0x334], xmm2
test ax, ax
je 0x10084b44
movaps xmm2, xmm1
jmp 0x10084b47
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 [0x101629d4]
minss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x10084b82
comiss xmm2, dword [esi + 0x31c]
jbe 0x10084b82
movss dword [esi + 0x31c], xmm2
movss xmm3, dword [0x101625fc]
lea eax, [ecx - 0x1ea9]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm3
minss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x10084bb5
comiss xmm2, dword [esi + 0x320]
jbe 0x10084bb5
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 0x10084be4
comiss xmm2, dword [esi + 0x324]
jbe 0x10084be4
movss dword [esi + 0x324], xmm2
lea eax, [ecx + 0x1ea9]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x101629d8]
minss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x10084c13
comiss xmm2, dword [esi + 0x328]
jbe 0x10084c13
movss dword [esi + 0x328], xmm2
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1012838d
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3