Function at 0x140037b90
Capabilities:
Create thread
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
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
movaps xmmword [rax - 0x98], xmm14
movaps xmmword [rax - 0xa8], xmm15
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor esi, esi
mov rax, qword [0x14004c0e0]
mov rcx, qword [rax]
add rcx, 0x110
call fcn.14003b910
mov rdi, rax
mov rcx, qword [0x14004c0e0]
mov rcx, qword [rcx]
add rcx, 0x120
call fcn.14003b910
mov rbx, rax
mov rcx, rax
call fcn.14003b9b0
movaps xmm9, xmm0
lea rcx, [rbx + 0x20]
call fcn.14003b9b0
movaps xmm8, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.14003b9b0
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
mulsd xmm0, qword [0x140044308]
movsd qword [0x14004c450], xmm0
movsd xmm7, qword [0x1400443c8]
mulsd xmm9, xmm7
movaps xmm1, xmm8
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
mulsd xmm0, qword [0x140044308]
mulsd xmm0, xmm7
mulsd xmm0, xmm7
movsd qword [0x14004c458], xmm0
xorps xmm0, xmm0
movsd qword [0x14004c460], xmm0
movups xmmword [rsp + 0x78], xmm0
movsd qword [rsp + 0x70], xmm0
lea r8d, [rsi + 0x18]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400302d0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x14004c468], xmm0
movsd xmm0, qword [rbp - 0x80]
movsd qword [0x14004c478], xmm0
mov rax, qword [0x14004c0e0]
mov rcx, qword [rax + 0x30]
add rcx, 0x394
call fcn.14003b870
mulss xmm0, dword [0x14004437c]
movss dword [0x14004c058], xmm0
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rsp + 0x50]
call fcn.140035a60
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rsp + 0x60]
movsd qword [rbp - 0x80], xmm1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140035c90
movsd xmm7, qword [rax + 8]
lea r8d, [rsi + 0x6e]
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x30]
call fcn.140035a60
lea r8d, [rsi + 0x6e]
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
call fcn.140035a60
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140035c90
movsd xmm6, qword [rax + 8]
lea r8d, [rsi + 0x6e]
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x50]
call fcn.140035a60
movsd xmm2, qword [rbp - 0x40]
addsd xmm2, qword [0x1400442f0]
movups xmm1, xmmword [rbp - 0x50]
movaps xmmword [rsp + 0x70], xmm1
movsd qword [rbp - 0x60], xmm2
movsd qword [rbp - 0x80], xmm2
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140035c90
movsd xmm10, qword [rax]
movsd xmm8, qword [rax + 8]
movsd xmm2, qword [rbp - 0x20]
addsd xmm2, qword [0x1400442f8]
movups xmm1, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x70], xmm1
movsd qword [rbp - 0x60], xmm2
movsd qword [rbp - 0x80], xmm2
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.140035c90
movsd xmm15, qword [rax]
movsd xmm0, qword [rax + 8]
movsd qword [rbp - 0x58], xmm0
subsd xmm6, xmm7
movsd xmm12, qword [0x1400445a0]
andps xmm6, xmm12
cvtpd2ps xmm11, xmm6
movss xmm9, dword [0x140044298]
cmp byte [0x14004bef9], sil
je 0x140037eb7
mov rdi, qword [0x14004bf00]
movaps xmm0, xmmword [0x140044570]
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140003330
mov ebx, eax
movd xmm7, dword [0x14004b0c4]
cvtdq2ps xmm7, xmm7
lea ecx, [rsi + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm6
movss dword [rsp + 0x28], xmm9
mov r9d, ebx
movaps xmm2, xmm7
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x1cc8]
call fcn.14001eb20
movss xmm13, dword [0x140044250]
cmp byte [0x14004beff], sil
je 0x140037fb5
mov rbx, qword [0x14004bf80]
lea rcx, [rbx + 0x2e8]
call fcn.14003b870
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14003b870
addss xmm0, xmm13
comiss xmm0, xmm6
setae al
test al, al
je 0x140037fb5
mov ecx, dword [0x14004bf68]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140037fb5
mov ecx, 8
call fcn.14003cd24
lea rcx, [0x140037a40]
mov qword [rax], rcx
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14003c690]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400380ea
cmp dword [rbp - 0x28], 0
jne 0x140037f6f
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x28], eax
jne 0x140037f86
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140037fad
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
movss xmm9, dword [0x140044274]
xorps xmm14, xmm14
cmp byte [0x14004bf5c], 0
je 0x140038220
movaps xmm7, xmm11
mulss xmm7, xmm9
cmp byte [0x14004bf0f], 0
je 0x140038129
mov rbx, qword [0x14004bf80]
lea rcx, [rbx + 0x2e8]
call fcn.14003b870
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14003b870
addss xmm0, xmm13
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
comiss xmm0, xmm6
jb 0x1400380f9
call fcn.140035a60
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140035c90
movaps xmm0, xmmword [0x140044530]
movaps xmmword [rsp + 0x50], xmm0
cvttsd2si r8d, xmm8
movaps xmm1, xmm7
mulss xmm1, xmm9
cvtps2pd xmm0, xmm1
movaps xmm2, xmm10
subsd xmm2, xmm0
cvttsd2si edx, xmm2
cvttss2si ecx, xmm7
add ecx, edx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
movaps xmm1, xmm8
subsd xmm1, qword [rax + 8]
andps xmm1, xmm12
cvtpd2ps xmm0, xmm1
cvttss2si eax, xmm0
add eax, r8d
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x44], xmm1
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x38], xmm0
movd xmm1, r8d
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x34], xmm1
cvttss2si eax, dword [0x14004b0d8]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
lea rcx, [rsp + 0x50]
call fcn.140003330
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x38]
jmp 0x1400381f9
mov dword [rbp - 0x28], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140035a60
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140035c90
movaps xmm0, xmmword [0x1400444d0]
jmp 0x140038165
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
call fcn.140035a60
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140035c90
movaps xmm0, xmmword [0x140044530]
movaps xmm1, xmm7
movaps xmmword [rsp + 0x50], xmm0
mulss xmm1, xmm9
cvtps2pd xmm0, xmm1
movaps xmm2, xmm10
subsd xmm2, xmm0
cvttsd2si edx, xmm2
cvttss2si ecx, xmm7
add ecx, edx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x38], xmm0
cvttsd2si r8d, xmm8
movaps xmm1, xmm8
subsd xmm1, qword [rax + 8]
andps xmm1, xmm12
cvtpd2ps xmm0, xmm1
cvttss2si eax, xmm0
add eax, r8d
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x34], xmm1
cvttss2si eax, dword [0x14004b0d8]
movd xmm1, r8d
movd xmm0, edx
movd xmm6, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm6, xmm6
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x50]
call fcn.140003330
lea rdx, [rsp + 0x40]
lea r8, [rbp - 0x38]
movss dword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], esi
mov rcx, qword [0x14004bf00]
movss dword [rsp + 0x20], xmm14
mov r9d, eax
add rcx, 0x1cc8
call fcn.14001e6c0
cmp byte [0x14004bf5e], 0
je 0x14003833b
movaps xmm7, xmm11
mulss xmm7, xmm9
cmp byte [0x14004bf0f], 0
je 0x1400382a9
mov rbx, qword [0x14004bf80]
lea rcx, [rbx + 0x2e8]
call fcn.14003b870
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14003b870
addss xmm0, xmm13
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
comiss xmm0, xmm6
jae 0x1400382b7
call fcn.140035a60
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140035c90
movaps xmm0, xmmword [0x1400444d0]
jmp 0x1400382e5
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
call fcn.140035a60
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rsp + 0x50], xmm0
movsd qword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140035c90
movaps xmm0, xmmword [0x140044530]
movaps xmm1, xmm8
subsd xmm1, qword [rax + 8]
movaps xmmword [rsp + 0x50], xmm0
andps xmm1, xmm12
cvtpd2ps xmm0, xmm1
cvttss2si r8d, xmm7
cvttss2si r9d, xmm0
mulss xmm7, xmm9
cvttss2si r10d, dword [0x14004b0d8]
cvtps2pd xmm0, xmm7
movaps xmm1, xmm10
mov dword [rsp + 0x28], r10d
lea rax, [rsp + 0x50]
subsd xmm1, xmm0
mov qword [rsp + 0x20], rax
cvttsd2si edx, xmm8
cvttsd2si ecx, xmm1
call fcn.1400364e0
cmp byte [0x14004bf5d], 0
je 0x1400384b5
mulss xmm11, xmm9
cvttsd2si edi, xmm8
cmp byte [0x14004bf0f], 0
je 0x1400383cf
mov rbx, qword [0x14004bf80]
lea rcx, [rbx + 0x2e8]
call fcn.14003b870
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14003b870
addss xmm0, xmm13
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
comiss xmm0, xmm6
jae 0x1400383dd
call fcn.140035a60
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140035c90
mov qword [rsp + 0x50], 0x3f800000
mov dword [rsp + 0x58], 0
jmp 0x140038415
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
call fcn.140035a60
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rsp + 0x50], xmm0
movsd qword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140035c90
mov dword [rsp + 0x58], 0x3f008081
mov qword [rsp + 0x50], 0x3f008081
movaps xmm0, xmm11
mulss xmm0, xmm9
cvtps2pd xmm1, xmm0
subsd xmm10, xmm1
cvttsd2si edx, xmm10
cvttss2si ecx, xmm11
add ecx, edx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subsd xmm8, qword [rax + 8]
movss dword [rbp - 0x38], xmm0
andps xmm8, xmm12
cvtpd2ps xmm0, xmm8
cvttss2si eax, xmm0
add eax, edi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x34], xmm1
movd xmm1, edi
movd xmm0, edx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x40], xmm0
mov dword [rsp + 0x5c], 0x3f000000
lea rcx, [rsp + 0x50]
call fcn.140003330
mov dword [rsp + 0x28], esi
mov rcx, qword [0x14004bf00]
movss dword [rsp + 0x20], xmm14
mov r9d, eax
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x40]
add rcx, 0x1cc8
call fcn.14001e800
cmp byte [0x14004befb], 0
je 0x1400384c8
mov ecx, 0x540
call fcn.1400367b0
cmp byte [0x14004befd], 0
je 0x1400385a7
cvtpd2ps xmm7, xmm15
movsd xmm8, qword [rbp - 0x58]
cvtpd2ps xmm8, xmm8
cmp byte [0x14004bf0f], 0
je 0x140038537
mov rbx, qword [0x14004bf80]
lea rcx, [rbx + 0x2e8]
call fcn.14003b870
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14003b870
addss xmm0, xmm13
mov rbx, qword [0x14004bf00]
movss dword [rbp - 0x38], xmm7
movss dword [rbp - 0x34], xmm8
xor ecx, ecx
comiss xmm0, xmm6
jae 0x14003854b
movaps xmm0, xmmword [0x1400444d0]
jmp 0x140038552
mov rbx, qword [0x14004bf00]
movss dword [rbp - 0x38], xmm7
movss dword [rbp - 0x34], xmm8
xor ecx, ecx
movaps xmm0, xmmword [0x140044530]
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x44], 0
movss dword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x50]
call fcn.140003330
movss xmm0, dword [0x1400442cc]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x1cc8]
call fcn.14001e540
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003c6e0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
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 rbp
ret