Function at 0x140037410
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1400b5040]
xor rax, rsp
mov qword [rbp + 0x200], rax
cmp byte [0x1400e9a8c], 0
je 0x140037566
mov r8, qword [0x1400e9a90]
mov eax, dword [0x1400e87dc]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
movsd xmm4, qword [0x1400aded0]
divsd xmm0, xmm4
cvtpd2ps xmm5, xmm0
mov eax, dword [0x1400e87d8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, xmm4
cvtpd2ps xmm3, xmm0
mov eax, dword [0x1400e87d4]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, xmm4
cvtpd2ps xmm2, xmm1
mov eax, dword [0x1400e87d0]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, xmm4
cvtpd2ps xmm0, xmm0
movss dword [rbp - 0x10], xmm0
movss dword [rbp - 0xc], xmm2
movss dword [rbp - 8], xmm3
movss dword [rbp - 4], xmm5
lea rcx, [rbp - 0x10]
call fcn.140002de0
movd xmm0, dword [0x1400e9b30]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
movd xmm1, dword [0x1400e9aa0]
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x6c], xmm1
movd xmm2, dword [0x1400d5a54]
cvtdq2ps xmm2, xmm2
movss xmm0, dword [0x1400ade30]
movss dword [rsp + 0x28], xmm0
mov r9d, eax
lea rdx, [rsp + 0x68]
lea rcx, [r8 + 0x1cc8]
call fcn.14001e730
mov eax, dword [0x1400e9b34]
test eax, eax
jne 0x14003757c
mov dword [0x1400e9c08], 0x42
jmp 0x1400375ad
cmp eax, 1
jne 0x14003758d
mov dword [0x1400e9c08], 0x41
jmp 0x1400375ad
cmp eax, 2
jne 0x14003759e
mov dword [0x1400e9c08], 0x24
jmp 0x1400375ad
cmp eax, 3
jne 0x1400375ad
mov dword [0x1400e9c08], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], 0
mov rcx, qword [0x1400e9d40]
sub rcx, qword [0x1400e9d38]
movabs rsi, 0x2aaaaaaaaaaaaaab
mov rax, rsi
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400376aa
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rdx, rax
ja 0x140038d6f
lea rbx, [rdx + rdx*2]
shl rbx, 3
cmp rbx, 0x1000
jb 0x140037645
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140038d75
call fcn.140040a98
test rax, rax
je 0x14003763e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140037659
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x140037657
mov rcx, rbx
call fcn.140040a98
mov rdi, rax
jmp 0x140037659
xor edi, edi
mov qword [rbp + 0x80], rdi
lea rcx, [rbx + rdi]
mov qword [rbp + 0x90], rcx
mov rbx, qword [0x1400e9d40]
mov rdx, qword [0x1400e9d38]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov rax, rsi
imul rbx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rdx + rdx*2]
lea rcx, [rdi + rax*8]
mov qword [rbp + 0x88], rcx
movss xmm15, dword [0x1400adff8]
xor r13d, r13d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r13
mov rdx, qword [0x1400e9b60]
add rdx, 0xea84a78
mov qword [rsp + 0x68], r13
lea r9d, [r13 + 8]
lea r8, [rsp + 0x68]
call fcn.1400316d0
mov rax, qword [rsp + 0x68]
mov qword [0x1400e9bb8], rax
lea rdx, [rax + 0x1b8]
mov qword [rsp + 0x70], r13
lea r9d, [r13 + 8]
lea r8, [rsp + 0x70]
call fcn.1400316d0
mov qword [rsp + 0x68], r13
mov rdx, qword [rsp + 0x70]
add rdx, 0x38
lea r9d, [r13 + 8]
lea r8, [rsp + 0x68]
call fcn.1400316d0
mov qword [rsp + 0x70], r13
lea r9d, [r13 + 8]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
call fcn.1400316d0
mov rax, qword [rsp + 0x70]
mov qword [0x1400e9b90], rax
lea rdx, [rax + 0x30]
mov qword [rsp + 0x68], r13
lea r9d, [r13 + 8]
lea r8, [rsp + 0x68]
call fcn.1400316d0
mov rax, qword [rsp + 0x68]
mov qword [0x1400e9a98], rax
lea rdx, [rax + 0x330]
mov qword [rsp + 0x70], r13
lea r9d, [r13 + 8]
lea r8, [rsp + 0x70]
call fcn.1400316d0
mov rax, qword [rsp + 0x70]
mov qword [0x1400e9b48], rax
lea rdx, [rax + 0x2a8]
mov qword [rsp + 0x68], r13
lea r9d, [r13 + 8]
lea r8, [rsp + 0x68]
call fcn.1400316d0
mov rax, qword [rsp + 0x68]
mov qword [0x1400e9b38], rax
mov rdx, qword [0x1400e9b48]
add rdx, 0x190
mov qword [rsp + 0x70], r13
lea r9d, [r13 + 8]
lea r8, [rsp + 0x70]
call fcn.1400316d0
mov rax, qword [rsp + 0x70]
mov qword [0x1400e9ba8], rax
mov rdx, qword [0x1400e9bb8]
add rdx, 0x30
mov qword [rsp + 0x68], r13
lea r9d, [r13 + 8]
lea r8, [rsp + 0x68]
call fcn.1400316d0
mov rax, qword [rsp + 0x68]
mov qword [0x1400e9b70], rax
lea rdx, [rax + 0xa0]
mov dword [rsp + 0x7c], r13d
lea r9d, [r13 + 4]
lea r8, [rsp + 0x7c]
call fcn.1400316d0
mov esi, dword [rsp + 0x7c]
mov dword [rbp - 0x68], esi
mov rdx, qword [0x1400e9b70]
add rdx, 0x98
mov qword [rbp], r13
lea r9d, [r13 + 8]
lea r8, [rbp]
call fcn.1400316d0
mov rcx, qword [rbp]
mov qword [rbp - 0x10], rcx
xor r12d, r12d
xorps xmm14, xmm14
test esi, esi
je 0x140038b20
movss xmm12, dword [0x1400ade5c]
mov qword [rsp + 0x60], 0
lea eax, [r12*8]
movsxd rdx, eax
add rdx, rcx
mov r9d, 8
lea r8, [rsp + 0x60]
call fcn.1400316d0
mov r15, qword [rsp + 0x60]
mov qword [rbp - 0x80], 0
lea rdx, [r15 + 0x310]
mov r9d, 8
lea r8, [rbp - 0x80]
call fcn.1400316d0
mov r14, qword [rbp - 0x80]
mov dword [rsp + 0x7c], 0
lea rdx, [r15 + 0x4698]
mov r9d, 4
lea r8, [rsp + 0x7c]
call fcn.1400316d0
movss xmm0, dword [rsp + 0x7c]
ucomiss xmm0, dword [0x1400adf08]
jp 0x140038b01
jne 0x140038b01
mov rdx, qword [0x1400e9b38]
add rdx, 0x10c8
mov dword [rsp + 0x60], 0
mov r9d, 4
lea r8, [rsp + 0x60]
call fcn.1400316d0
mov edi, dword [rsp + 0x60]
mov qword [rbp - 0x80], 0
lea rdx, [r15 + 0x2a8]
mov r9d, 8
lea r8, [rbp - 0x80]
call fcn.1400316d0
mov dword [rsp + 0x60], 0
mov rdx, qword [rbp - 0x80]
add rdx, 0x10c8
mov r9d, 4
lea r8, [rsp + 0x60]
call fcn.1400316d0
mov ebx, dword [rsp + 0x60]
mov rdx, qword [0x1400e9b48]
add rdx, 0x948
mov qword [rbp - 0x80], 0
mov r9d, 8
lea r8, [rbp - 0x80]
call fcn.1400316d0
mov byte [rsp + 0x54], 0
mov rdx, qword [rbp - 0x80]
add rdx, 0x331
mov r9d, 1
lea r8, [rsp + 0x54]
call fcn.1400316d0
cmp edi, ebx
je 0x140038b01
cmp r15, qword [0x1400e9b48]
je 0x140038b01
mov r8d, 0x6a
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140032830
mov rdx, qword [0x1400e9ba8]
add rdx, 0x128
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movsd qword [rbp - 0x70], xmm0
mov r9d, 0x18
lea r8, [rbp - 0x80]
call fcn.1400316d0
movsd xmm6, qword [rbp - 0x80]
movsd qword [0x1400e9d00], xmm6
movsd xmm1, qword [rbp - 0x78]
movsd qword [0x1400e9d08], xmm1
movsd xmm7, qword [rbp - 0x70]
movsd qword [0x1400e9d10], xmm7
movsd xmm11, qword [rbp - 0x28]
movaps xmm0, xmm11
subsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movaps xmm1, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm8, xmm0
movsd xmm10, qword [rbp - 0x30]
movaps xmm0, xmm10
subsd xmm0, xmm6
cvtpd2ps xmm0, xmm0
movaps xmm1, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm8, xmm0
movsd xmm9, qword [rbp - 0x20]
movaps xmm1, xmm9
subsd xmm1, xmm7
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm8, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm8
ja 0x140037a98
xorps xmm0, xmm0
sqrtss xmm0, xmm8
jmp 0x140037aa1
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvtss2sd xmm0, xmm0
divsd xmm0, qword [0x1400adec0]
xorps xmm12, xmm12
cvtsd2ss xmm12, xmm0
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140032830
movups xmm13, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x30], xmm13
movsd xmm6, qword [rbp - 0x40]
movsd qword [rbp - 0x20], xmm6
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x60]
call fcn.140032a70
movaps xmm1, xmm9
addsd xmm1, qword [0x1400ade88]
movaps xmm0, xmm10
unpcklpd xmm0, xmm11
movaps xmmword [rbp - 0x50], xmm0
movsd qword [rbp - 0x20], xmm1
movsd qword [rbp - 0x40], xmm1
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xb0]
call fcn.140032a70
movaps xmm0, xmm10
unpcklpd xmm0, xmm11
movaps xmmword [rbp - 0x50], xmm0
movsd qword [rbp - 0x40], xmm9
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x98]
call fcn.140032a70
movaps xmmword [rbp - 0x30], xmm13
movsd qword [rbp - 0x20], xmm6
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xe0]
call fcn.140032a70
movsd xmm9, qword [rbp + 0xb8]
movaps xmm0, xmm9
movsd xmm6, qword [rbp + 0x68]
subsd xmm0, xmm6
andps xmm0, xmmword [0x1400ae420]
cvtpd2ps xmm10, xmm0
cvtps2pd xmm0, xmm10
mulsd xmm0, qword [0x1400ade48]
cvtpd2ps xmm8, xmm0
movss xmm0, dword [0x1400ae004]
cmp byte [0x1400e9aa7], 0
je 0x140038329
comiss xmm0, xmm12
jbe 0x140038231
movsd xmm7, qword [rbp + 0xb0]
movss xmm11, dword [0x1400ade08]
cmp byte [0x1400e9a8d], 0
je 0x140037bf9
cvttss2si r9d, xmm10
cvttss2si r8d, xmm8
cvttsd2si edx, xmm9
movaps xmm0, xmm8
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
movaps xmm2, xmm7
subsd xmm2, xmm1
cvttsd2si ecx, xmm2
lea rax, [0x1400e8bd0]
mov qword [rsp + 0x20], rax
call fcn.140034200
cmp byte [0x1400e9aa6], 0
je 0x140037cac
mov dword [rsp + 0x60], 0
lea rdx, [r14 + 0x330]
mov r9d, 4
lea r8, [rsp + 0x60]
call fcn.1400316d0
movss xmm6, dword [rsp + 0x60]
mov dword [rsp + 0x50], 0
lea rdx, [r14 + 0x338]
mov r9d, 4
lea r8, [rsp + 0x50]
call fcn.1400316d0
cvttss2si r9d, xmm10
cvttss2si r8d, xmm8
movaps xmm0, xmm8
mulss xmm0, xmm11
cvtps2pd xmm2, xmm0
movss xmm1, dword [rsp + 0x50]
addss xmm1, dword [0x1400adddc]
cvttsd2si edx, xmm9
movaps xmm0, xmm7
mov eax, dword [0x1400d5a58]
subsd xmm0, xmm2
mov dword [rsp + 0x28], eax
cvttsd2si ecx, xmm0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
comiss xmm1, xmm6
mov dword [rsp + 0x58], 0xff0000ff
jb 0x140037ca7
mov dword [rsp + 0x58], 0xff00ff00
call fcn.140033a80
cmp byte [0x1400e9ab9], 0
je 0x140037d70
mov dword [rsp + 0x50], 0
lea rdx, [r14 + 0x330]
mov r9d, 4
lea r8, [rsp + 0x50]
call fcn.1400316d0
movss xmm6, dword [rsp + 0x50]
mov dword [rsp + 0x60], 0
lea rdx, [r14 + 0x338]
mov r9d, 4
lea r8, [rsp + 0x60]
call fcn.1400316d0
movaps xmm0, xmm8
mulss xmm0, xmm11
cvtps2pd xmm11, xmm0
movss xmm1, dword [rsp + 0x60]
addss xmm1, dword [0x1400adddc]
lea rcx, [rbp - 0x80]
comiss xmm1, xmm6
jae 0x140037d2a
movaps xmm0, xmmword [0x1400ae1f0]
jmp 0x140037d31
movaps xmm0, xmmword [0x1400ae200]
movups xmmword [rbp - 0x80], xmm0
call fcn.140002de0
mov dword [rsp + 0x58], eax
mov eax, dword [0x1400d5a58]
mov dword [rsp + 0x38], eax
movaps xmm0, xmm7
lea rax, [rsp + 0x58]
subsd xmm0, xmm11
mov qword [rsp + 0x20], rax
movaps xmm3, xmm10
movaps xmm2, xmm8
cvtpd2ps xmm1, xmm9
cvtpd2ps xmm0, xmm0
call fcn.1400338b0
cmp byte [0x1400e9aba], 0
je 0x140038176
mov dword [rsp + 0x50], 0
lea rdx, [r14 + 0x330]
mov r9d, 4
lea r8, [rsp + 0x50]
call fcn.1400316d0
movss xmm6, dword [rsp + 0x50]
mov dword [rsp + 0x60], 0
lea rdx, [r14 + 0x338]
mov r9d, 4
lea r8, [rsp + 0x60]
call fcn.1400316d0
cvtps2pd xmm2, xmm12
movss xmm0, dword [rsp + 0x60]
movss xmm8, dword [0x1400adddc]
addss xmm0, xmm8
movq r8, xmm2
lea rdx, str._.3f
comiss xmm0, xmm6
jae 0x140037fb3
lea rcx, [rbp + 0x180]
call fcn.14003ffe0
subsd xmm9, qword [0x1400ade68]
cvtpd2ps xmm1, xmm9
addsd xmm7, qword [0x1400adea8]
cvtpd2ps xmm0, xmm7
movss dword [rbp + 8], xmm0
movss dword [rbp + 0xc], xmm1
xorps xmm1, xmm1
movups xmmword [rbp + 0xe0], xmm1
xor edx, edx
mov qword [rbp + 0xf0], rdx
mov qword [rbp + 0xf8], rdx
lea rax, [rbp + 0x180]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], dl
jne 0x140037e46
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x140038d81
cmp rbx, 0xf
ja 0x140037e9c
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], 0xf
mov r8, rbx
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0xe0], 0
jmp 0x140037f41
mov rdi, rbx
or rdi, 0xf
cmp rdi, rax
jbe 0x140037ebb
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140037ee2
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140037f01
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140038d7b
mov rcx, rax
call fcn.140040a98
test rax, rax
je 0x140038b12
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140037f13
test rcx, rcx
je 0x140037f10
call fcn.140040a98
mov rsi, rax
jmp 0x140037f13
mov rsi, rdx
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], rdi
mov r8, rbx
lea rdx, [rbp + 0x180]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
mov esi, dword [rbp - 0x68]
mov dword [rsp + 0x20], 0xff0000ff
movss xmm3, dword [0x1400adf24]
lea r8, [rbp + 8]
lea rdx, [rbp + 0xe0]
mov rcx, qword [0x1400e9b50]
call fcn.140032e30
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x14003817f
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037fa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038b12
call fcn.140040a20
jmp 0x14003817f
lea rcx, [rbp + 0x1c0]
call fcn.14003ffe0
subsd xmm9, qword [0x1400ade68]
cvtpd2ps xmm1, xmm9
addsd xmm7, qword [0x1400adea8]
cvtpd2ps xmm0, xmm7
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm1
xorps xmm1, xmm1
movups xmmword [rbp + 0xe0], xmm1
xor edx, edx
mov qword [rbp + 0xf0], rdx
mov qword [rbp + 0xf8], rdx
lea rax, [rbp + 0x1c0]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], dl
jne 0x140038010
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x140038d69
cmp rbx, 0xf
ja 0x140038066
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], 0xf
mov r8, rbx
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0xe0], 0
jmp 0x14003810b
mov rdi, rbx
or rdi, 0xf
cmp rdi, rax
jbe 0x140038085
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400380ac
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400380cb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140038d87
mov rcx, rax
call fcn.140040a98
test rax, rax
je 0x140038b19
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400380dd
test rcx, rcx
je 0x1400380da
call fcn.140040a98
mov rsi, rax
jmp 0x1400380dd
mov rsi, rdx
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], rdi
mov r8, rbx
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov esi, dword [rbp - 0x68]
mov dword [rsp + 0x20], 0xff00ff00
movss xmm3, dword [0x1400adf1c]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0xe0]
mov rcx, qword [0x1400e9b50]
call fcn.140032e30
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x14003817f
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003816f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038b19
call fcn.140040a20
jmp 0x14003817f
movss xmm8, dword [0x1400adddc]
cmp byte [0x1400e9aa5], 0
je 0x140038220
mov dword [rsp + 0x50], 0
lea rdx, [r14 + 0x330]
mov r9d, 4
lea r8, [rsp + 0x50]
call fcn.1400316d0
movss xmm6, dword [rsp + 0x50]
mov dword [rsp + 0x60], 0
lea rdx, [r14 + 0x338]
mov r9d, 4
lea r8, [rsp + 0x60]
call fcn.1400316d0
movss xmm0, dword [rsp + 0x60]
addss xmm0, xmm8
cvttsd2si r8d, xmm13
mov eax, dword [0x1400e9b58]
cdq
sub eax, edx
sar eax, 1
mov r10d, eax
mov eax, dword [0x1400e9b5c]
cdq
sub eax, edx
sar eax, 1
mov edx, r10d
mov ecx, eax
lea rax, [0x1400e87d0]
mov qword [rsp + 0x20], rax
comiss xmm0, xmm6
movaps xmm0, xmm13
unpckhpd xmm0, xmm13
cvttsd2si r9d, xmm0
call fcn.1400337b0
cmp byte [0x1400e9a8f], 0
je 0x140038231
mov rcx, r14
call fcn.140036a10
mov eax, dword [0x1400e9b5c]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd xmm2, qword [rbp + 0x98]
subsd xmm2, xmm0
mov eax, dword [0x1400e9b58]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd xmm1, qword [rbp + 0xa0]
subsd xmm1, xmm0
mulsd xmm1, xmm1
mulsd xmm2, xmm2
addsd xmm1, xmm2
cvtpd2ps xmm3, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm3
ja 0x140038290
xorps xmm7, xmm7
sqrtss xmm7, xmm3
jmp 0x14003829b
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm7, xmm0
mov dword [rsp + 0x50], 0
lea rdx, [r14 + 0x330]
mov r9d, 4
lea r8, [rsp + 0x50]
call fcn.1400316d0
movss xmm6, dword [rsp + 0x50]
mov dword [rsp + 0x58], 0
lea rdx, [r14 + 0x338]
mov r9d, 4
lea r8, [rsp + 0x58]
call fcn.1400316d0
movss xmm0, dword [rsp + 0x58]
addss xmm0, dword [0x1400adddc]
comiss xmm0, xmm6
jb 0x140038af8
movd xmm0, dword [0x1400d5a54]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm7
jbe 0x140038af8
movss xmm12, dword [0x1400ade5c]
comiss xmm15, xmm7
jbe 0x140038b01
movaps xmm15, xmm7
mov r13, r15
jmp 0x140038b01
comiss xmm0, xmm12
jbe 0x140038895
movsd xmm7, qword [rbp + 0xb0]
movss xmm11, dword [0x1400ade08]
cmp byte [0x1400e9a8d], 0
je 0x140038384
cvttss2si r9d, xmm10
cvttss2si r8d, xmm8
cvttsd2si edx, xmm9
movaps xmm0, xmm8
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
movaps xmm2, xmm7
subsd xmm2, xmm1
cvttsd2si ecx, xmm2
lea rax, [0x1400e8bd0]
mov qword [rsp + 0x20], rax
call fcn.140034200
cmp byte [0x1400e9aa6], 0
je 0x1400383e4
movaps xmm0, xmmword [0x1400ae1e0]
movups xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.140002de0
mov dword [rsp + 0x78], eax
cvttss2si r9d, xmm10
cvttss2si r8d, xmm8
cvttsd2si edx, xmm9
movaps xmm0, xmm8
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
movaps xmm2, xmm7
subsd xmm2, xmm1
cvttsd2si ecx, xmm2
mov eax, dword [0x1400d5a58]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.140033a80
cmp byte [0x1400e9ab9], 0
je 0x140038442
movaps xmm0, xmmword [0x1400ae1e0]
movups xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.140002de0
mov dword [rsp + 0x78], eax
cvtpd2ps xmm1, xmm9
movaps xmm0, xmm8
mulss xmm0, xmm11
cvtps2pd xmm2, xmm0
movaps xmm3, xmm7
subsd xmm3, xmm2
cvtpd2ps xmm0, xmm3
mov eax, dword [0x1400d5a58]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
movaps xmm3, xmm10
movaps xmm2, xmm8
call fcn.1400338b0
movss xmm8, dword [0x1400adff0]
cmp byte [0x1400e9aa4], 0
je 0x1400385e7
mov rax, qword [0x1400e9a90]
lea r10, [rax + 0x1cc8]
movss xmm0, dword [rax + 0x1550]
mulss xmm0, xmm8
cmp byte [rsp + 0x54], 0
je 0x140038539
mov dword [rbp + 0x10], 0x437f0000
mov dword [rbp + 0x14], 0x437f0000
mov dword [rbp + 0x18], 0x437f0000
movss dword [rbp + 0x1c], xmm0
lea rcx, [rbp + 0x10]
call fcn.140002de0
mov r9d, eax
addsd xmm6, qword [0x1400ade70]
cvtpd2ps xmm2, xmm6
movsd xmm0, qword [rbp + 0x60]
movsd xmm6, qword [0x1400adea8]
subsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
test eax, 0xff000000
je 0x1400385ef
mov r8, qword [r10 + 0x38]
movsxd rcx, dword [r10 + 0x60]
add rcx, rcx
mov rax, qword [r10 + 0x68]
movups xmm0, xmmword [rax + rcx*8 - 0x10]
movups xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm14
lea rax, [0x1400ad7f1]
mov qword [rsp + 0x38], rax
lea rax, str.Reloading
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
unpcklps xmm1, xmm2
movq r9, xmm1
movss xmm2, dword [r8 + 0x10]
mov rdx, r10
mov rcx, qword [r8 + 8]
call fcn.1400215d0
jmp 0x1400385ef
mov dword [rbp + 0x20], 0x437f0000
mov dword [rbp + 0x24], 0x437f0000
mov dword [rbp + 0x28], 0x437f0000
movss dword [rbp + 0x2c], xmm0
lea rcx, [rbp + 0x20]
call fcn.140002de0
mov r9d, eax
addsd xmm6, qword [0x1400ade70]
cvtpd2ps xmm2, xmm6
movsd xmm0, qword [rbp + 0x60]
subsd xmm0, qword [0x1400adeb0]
cvtpd2ps xmm1, xmm0
test eax, 0xff000000
je 0x1400385e7
mov r8, qword [r10 + 0x38]
movsxd rcx, dword [r10 + 0x60]
add rcx, rcx
mov rax, qword [r10 + 0x68]
movups xmm0, xmmword [rax + rcx*8 - 0x10]
movups xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm14
lea rax, [0x1400ad805]
mov qword [rsp + 0x38], rax
lea rax, str.Not_Reloading
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
unpcklps xmm1, xmm2
movq r9, xmm1
movss xmm2, dword [r8 + 0x10]
mov rdx, r10
mov rcx, qword [r8 + 8]
call fcn.1400215d0
movsd xmm6, qword [0x1400adea8]
cmp byte [0x1400e9aba], 0
je 0x14003871b
cvtps2pd xmm2, xmm12
movq r8, xmm2
lea rdx, str._2.fm
lea rcx, [rbp + 0x100]
call fcn.14003ffe0
mov rax, qword [0x1400e9a90]
lea r10, [rax + 0x1cc8]
movss xmm0, dword [rax + 0x1550]
mulss xmm0, xmm8
cmp byte [0x1400e9a8e], 0
je 0x1400388fb
mov dword [rbp + 0x30], 0x437f0000
mov dword [rbp + 0x34], 0x437f0000
mov dword [rbp + 0x38], 0x437f0000
movss dword [rbp + 0x3c], xmm0
lea rcx, [rbp + 0x30]
call fcn.140002de0
mov r9d, eax
movaps xmm0, xmm9
subsd xmm0, xmm6
cvtpd2ps xmm3, xmm0
movaps xmm1, xmm7
subsd xmm1, qword [0x1400ade90]
cvtpd2ps xmm2, xmm1
test eax, 0xff000000
je 0x14003871b
lea rax, [rbp + 0x100]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400386a0
lea r8, [rbp + 0x100]
add r8, rcx
lea rax, [rbp + 0x100]
cmp rax, r8
je 0x14003871b
mov rax, qword [r10 + 0x38]
movsxd rdx, dword [r10 + 0x60]
add rdx, rdx
mov rcx, qword [r10 + 0x68]
movups xmm0, xmmword [rcx + rdx*8 - 0x10]
movups xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm14
mov qword [rsp + 0x38], r8
lea rcx, [rbp + 0x100]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r9d
unpcklps xmm2, xmm3
movq r9, xmm2
movss xmm2, dword [rax + 0x10]
mov rdx, r10
mov rcx, qword [rax + 8]
call fcn.1400215d0
movsd xmm6, qword [0x1400ade98]
cmp byte [0x1400e9a8e], 0
je 0x140038842
xorps xmm2, xmm2
cvtss2sd xmm2, xmm12
movq r8, xmm2
lea rdx, str.Enemy
lea rcx, [rbp + 0x140]
call fcn.14003ffe0
mov rax, qword [0x1400e9a90]
lea r10, [rax + 0x1cc8]
mov dword [rbp + 0x50], 0x437f0000
mov dword [rbp + 0x54], 0x437f0000
mov dword [rbp + 0x58], 0x437f0000
movss xmm0, dword [rax + 0x1550]
mulss xmm0, xmm8
movss dword [rbp + 0x5c], xmm0
lea rcx, [rbp + 0x50]
call fcn.140002de0
mov r9d, eax
movaps xmm0, xmm9
subsd xmm0, xmm6
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movaps xmm1, xmm7
subsd xmm1, xmm6
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm1
test eax, 0xff000000
je 0x140038842
lea rax, [rbp + 0x140]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400387c7
lea r8, [rbp + 0x140]
add r8, rcx
lea rax, [rbp + 0x140]
cmp rax, r8
je 0x140038842
mov rax, qword [r10 + 0x38]
movsxd rdx, dword [r10 + 0x60]
add rdx, rdx
mov rcx, qword [r10 + 0x68]
movups xmm0, xmmword [rcx + rdx*8 - 0x10]
movups xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm14
mov qword [rsp + 0x38], r8
lea rcx, [rbp + 0x140]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r9d
unpcklps xmm2, xmm3
movq r9, xmm2
movss xmm2, dword [rax + 0x10]
mov rdx, r10
mov rcx, qword [rax + 8]
call fcn.1400215d0
cmp byte [0x1400e9aa5], 0
je 0x140038884
cvttsd2si r9d, xmm9
cvttsd2si r8d, xmm7
mov eax, dword [0x1400e9b58]
cdq
sub eax, edx
sar eax, 1
mov r10d, eax
mov eax, dword [0x1400e9b5c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
lea rax, [0x1400e87d0]
mov qword [rsp + 0x20], rax
mov edx, r10d
call fcn.1400337b0
cmp byte [0x1400e9a8f], 0
je 0x140038895
mov rcx, r14
call fcn.140036a10
mov eax, dword [0x1400e9b5c]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd xmm2, qword [rbp + 0x98]
subsd xmm2, xmm0
mov eax, dword [0x1400e9b58]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd xmm1, qword [rbp + 0xa0]
subsd xmm1, xmm0
mulsd xmm1, xmm1
mulsd xmm2, xmm2
addsd xmm1, xmm2
cvtpd2ps xmm3, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm3
ja 0x1400389e4
xorps xmm7, xmm7
sqrtss xmm7, xmm3
jmp 0x1400389ef
mov dword [rbp + 0x40], 0x437f0000
mov dword [rbp + 0x44], 0x437f0000
mov dword [rbp + 0x48], 0x437f0000
movss dword [rbp + 0x4c], xmm0
lea rcx, [rbp + 0x40]
call fcn.140002de0
mov r9d, eax
movaps xmm0, xmm9
movsd xmm6, qword [0x1400ade98]
subsd xmm0, xmm6
cvtpd2ps xmm3, xmm0
movaps xmm1, xmm7
subsd xmm1, xmm6
cvtpd2ps xmm2, xmm1
test eax, 0xff000000
je 0x140038842
lea rax, [rbp + 0x100]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140038960
lea r8, [rbp + 0x100]
add r8, rcx
lea rax, [rbp + 0x100]
cmp rax, r8
je 0x140038842
mov rax, qword [r10 + 0x38]
movsxd rdx, dword [r10 + 0x60]
add rdx, rdx
mov rcx, qword [r10 + 0x68]
movups xmm0, xmmword [rcx + rdx*8 - 0x10]
movups xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm14
mov qword [rsp + 0x38], r8
lea rcx, [rbp + 0x100]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r9d
unpcklps xmm2, xmm3
movq r9, xmm2
movss xmm2, dword [rax + 0x10]
mov rdx, r10
mov rcx, qword [rax + 8]
call fcn.1400215d0
jmp 0x140038723
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm7, xmm0
mov dword [rbp - 0x64], 0
mov r9d, 4
lea r8, [rbp - 0x64]
lea rdx, [r14 + 0x330]
call fcn.1400316d0
movss xmm6, dword [rbp - 0x64]
mov dword [rsp + 0x78], 0
mov r9d, 4
lea r8, [rsp + 0x78]
lea rdx, [r14 + 0x338]
call fcn.1400316d0
movss xmm0, dword [rsp + 0x78]
movss xmm8, dword [0x1400adddc]
addss xmm0, xmm8
comiss xmm0, xmm6
jae 0x140038a7c
movd xmm0, dword [0x1400d5a54]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm7
jbe 0x140038af8
movss xmm12, dword [0x1400ade5c]
comiss xmm15, xmm7
jbe 0x140038b01
movaps xmm15, xmm7
mov r13, r15
jmp 0x140038b01
mov dword [rsp + 0x70], 0
mov r9d, 4
lea r8, [rsp + 0x70]
lea rdx, [r14 + 0x330]
call fcn.1400316d0
movss xmm6, dword [rsp + 0x70]
mov dword [rsp + 0x68], 0
mov r9d, 4
lea r8, [rsp + 0x68]
lea rdx, [r14 + 0x338]
call fcn.1400316d0
movss xmm0, dword [rsp + 0x68]
addss xmm0, xmm8
comiss xmm0, xmm6
jb 0x140038af8
movd xmm0, dword [0x1400d5a54]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm7
jbe 0x140038af8
movss xmm12, dword [0x1400ade5c]
comiss xmm15, xmm7
jbe 0x140038b01
movaps xmm15, xmm7
mov r13, r15
jmp 0x140038b01
movss xmm12, dword [0x1400ade5c]
inc r12d
cmp r12d, esi
jae 0x140038b20
mov rcx, qword [rbp - 0x10]
jmp 0x140037875
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp byte [0x1400b50e6], 0
je 0x140038cdf
test r13, r13
je 0x140038cdf
mov ecx, dword [0x1400e9bb0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140038cdf
mov qword [rbp - 0x60], 0
lea rdx, [r13 + 0x310]
mov r9d, 8
lea r8, [rbp - 0x60]
call fcn.1400316d0
mov r8d, dword [0x1400e9c08]
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x50]
call fcn.140032830
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x60], xmm0
movsd xmm1, qword [rbp - 0x40]
movsd qword [rbp + 0x70], xmm1
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.140032a70
movsd xmm0, qword [rbp - 0x48]
ucomisd xmm0, qword [0x1400addb0]
jp 0x140038bb1
je 0x140038cdf
cvtpd2ps xmm6, xmm0
movsd xmm7, qword [rbp - 0x50]
cvtpd2ps xmm7, xmm7
mov eax, dword [0x1400e9b5c]
cdq
sub eax, edx
sar eax, 1
movd xmm5, eax
cvtdq2ps xmm5, xmm5
mov eax, dword [0x1400e9b58]
cdq
sub eax, edx
sar eax, 1
movd xmm4, eax
cvtdq2ps xmm4, xmm4
cvttss2si eax, dword [0x1400d5a50]
movaps xmm3, xmm14
movaps xmm2, xmm14
movss xmm8, dword [0x1400ae440]
ucomiss xmm7, xmm14
jp 0x140038c03
je 0x140038c5d
comiss xmm7, xmm5
jbe 0x140038c35
movaps xmm3, xmm5
subss xmm3, xmm7
xorps xmm3, xmm8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm3, xmm0
movaps xmm1, xmm3
addss xmm1, xmm5
movaps xmm0, xmm5
addss xmm0, xmm5
comiss xmm1, xmm0
jbe 0x140038c35
movaps xmm3, xmm14
comiss xmm5, xmm7
jbe 0x140038c5d
movaps xmm3, xmm7
subss xmm3, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm3, xmm0
movaps xmm1, xmm3
addss xmm1, xmm5
comiss xmm14, xmm1
jbe 0x140038c5d
movaps xmm3, xmm14
ucomiss xmm6, xmm14
jp 0x140038c65
je 0x140038cbf
comiss xmm6, xmm4
jbe 0x140038c97
movaps xmm2, xmm4
subss xmm2, xmm6
xorps xmm2, xmm8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movaps xmm1, xmm2
addss xmm1, xmm4
movaps xmm0, xmm4
addss xmm0, xmm4
comiss xmm1, xmm0
jbe 0x140038c97
movaps xmm2, xmm14
comiss xmm4, xmm6
jbe 0x140038cbf
movaps xmm2, xmm6
subss xmm2, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movaps xmm1, xmm2
addss xmm1, xmm4
comiss xmm14, xmm1
jbe 0x140038cbf
movaps xmm2, xmm14
cvttss2si r8, xmm2
cvttss2si rdx, xmm3
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea ecx, [r9 + 1]
call qword [sym.imp.USER32.dll_mouse_event]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rbp + 0xc8]
call fcn.14003fae0
nop
lea rcx, [rbp + 0x80]
call fcn.14003fae0
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400405d0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140030b80
nop
call fcn.140040330
int3
call fcn.140023b40
nop
call fcn.140023b40
int3
call fcn.140030b80
int3
call fcn.140023b40
int3