Function at 0x140037ae0
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.14003b870
mov rdi, rax
mov rcx, qword [0x14004c0e0]
mov rcx, qword [rcx]
add rcx, 0x120
call fcn.14003b870
mov rbx, rax
mov rcx, rax
call fcn.14003b910
movaps xmm9, xmm0
lea rcx, [rbx + 0x20]
call fcn.14003b910
movaps xmm8, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.14003b910
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
mulsd xmm0, qword [0x140044288]
movsd qword [0x14004c400], xmm0
movsd xmm7, qword [0x140044348]
mulsd xmm9, xmm7
movaps xmm1, xmm8
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
mulsd xmm0, qword [0x140044288]
mulsd xmm0, xmm7
mulsd xmm0, xmm7
movsd qword [0x14004c408], xmm0
xorps xmm0, xmm0
movsd qword [0x14004c410], xmm0
movups xmmword [rsp + 0x78], xmm0
movsd qword [rsp + 0x70], xmm0
lea r8d, [rsi + 0x18]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140030240
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x14004c418], xmm0
movsd xmm0, qword [rbp - 0x80]
movsd qword [0x14004c428], xmm0
mov rax, qword [0x14004c0e0]
mov rcx, qword [rax + 0x30]
add rcx, 0x394
call fcn.14003b7d0
mulss xmm0, dword [0x1400442fc]
movss dword [0x14004c058], xmm0
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rsp + 0x50]
call fcn.1400359b0
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.140035be0
movsd xmm7, qword [rax + 8]
lea r8d, [rsi + 0x6e]
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x30]
call fcn.1400359b0
lea r8d, [rsi + 0x6e]
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
call fcn.1400359b0
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.140035be0
movsd xmm6, qword [rax + 8]
lea r8d, [rsi + 0x6e]
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x50]
call fcn.1400359b0
movsd xmm2, qword [rbp - 0x40]
addsd xmm2, qword [0x140044270]
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.140035be0
movsd xmm10, qword [rax]
movsd xmm8, qword [rax + 8]
movsd xmm2, qword [rbp - 0x20]
addsd xmm2, qword [0x140044278]
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.140035be0
movsd xmm15, qword [rax]
movsd xmm0, qword [rax + 8]
movsd qword [rbp - 0x58], xmm0
subsd xmm6, xmm7
movsd xmm12, qword [0x140044530]
andps xmm6, xmm12
cvtpd2ps xmm11, xmm6
movss xmm9, dword [0x140044218]
cmp byte [0x14004bef9], sil
je 0x140037e07
mov rdi, qword [0x14004bf00]
movaps xmm0, xmmword [0x1400444e0]
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.1400032a0
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.14001ea90
movss xmm13, dword [0x1400441d0]
cmp byte [0x14004beff], sil
je 0x140037f05
mov rbx, qword [0x14004bf80]
lea rcx, [rbx + 0x2e8]
call fcn.14003b7d0
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14003b7d0
addss xmm0, xmm13
comiss xmm0, xmm6
setae al
test al, al
je 0x140037f05
mov ecx, dword [0x14004bf68]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140037f05
mov ecx, 8
call fcn.14003cc84
lea rcx, [0x140037990]
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, [0x14003c5f0]
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 0x14003803a
cmp dword [rbp - 0x28], 0
jne 0x140037ebf
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 0x140037ed6
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 0x140037efd
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 [0x1400441f4]
xorps xmm14, xmm14
cmp byte [0x14004bf5c], 0
je 0x140038170
movaps xmm7, xmm11
mulss xmm7, xmm9
cmp byte [0x14004bf0f], 0
je 0x140038079
mov rbx, qword [0x14004bf80]
lea rcx, [rbx + 0x2e8]
call fcn.14003b7d0
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14003b7d0
addss xmm0, xmm13
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
comiss xmm0, xmm6
jb 0x140038049
call fcn.1400359b0
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.140035be0
movaps xmm0, xmmword [0x1400444a0]
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.1400032a0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x38]
jmp 0x140038149
mov dword [rbp - 0x28], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.1400359b0
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.140035be0
movaps xmm0, xmmword [0x140044440]
jmp 0x1400380b5
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
call fcn.1400359b0
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.140035be0
movaps xmm0, xmmword [0x1400444a0]
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.1400032a0
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.14001e630
cmp byte [0x14004bf5e], 0
je 0x14003828b
movaps xmm7, xmm11
mulss xmm7, xmm9
cmp byte [0x14004bf0f], 0
je 0x1400381f9
mov rbx, qword [0x14004bf80]
lea rcx, [rbx + 0x2e8]
call fcn.14003b7d0
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14003b7d0
addss xmm0, xmm13
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
comiss xmm0, xmm6
jae 0x140038207
call fcn.1400359b0
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.140035be0
movaps xmm0, xmmword [0x140044440]
jmp 0x140038235
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
call fcn.1400359b0
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.140035be0
movaps xmm0, xmmword [0x1400444a0]
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.140036430
cmp byte [0x14004bf5d], 0
je 0x140038405
mulss xmm11, xmm9
cvttsd2si edi, xmm8
cmp byte [0x14004bf0f], 0
je 0x14003831f
mov rbx, qword [0x14004bf80]
lea rcx, [rbx + 0x2e8]
call fcn.14003b7d0
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14003b7d0
addss xmm0, xmm13
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
comiss xmm0, xmm6
jae 0x14003832d
call fcn.1400359b0
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.140035be0
mov qword [rsp + 0x50], 0x3f800000
mov dword [rsp + 0x58], 0
jmp 0x140038365
xor r8d, r8d
mov rdx, qword [0x14004bf80]
lea rcx, [rbp - 0x70]
call fcn.1400359b0
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.140035be0
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.1400032a0
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.14001e770
cmp byte [0x14004befb], 0
je 0x140038418
mov ecx, 0x318
call fcn.140036700
cmp byte [0x14004befd], 0
je 0x1400384f7
cvtpd2ps xmm7, xmm15
movsd xmm8, qword [rbp - 0x58]
cvtpd2ps xmm8, xmm8
cmp byte [0x14004bf0f], 0
je 0x140038487
mov rbx, qword [0x14004bf80]
lea rcx, [rbx + 0x2e8]
call fcn.14003b7d0
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14003b7d0
addss xmm0, xmm13
mov rbx, qword [0x14004bf00]
movss dword [rbp - 0x38], xmm7
movss dword [rbp - 0x34], xmm8
xor ecx, ecx
comiss xmm0, xmm6
jae 0x14003849b
movaps xmm0, xmmword [0x140044440]
jmp 0x1400384a2
mov rbx, qword [0x14004bf00]
movss dword [rbp - 0x38], xmm7
movss dword [rbp - 0x34], xmm8
xor ecx, ecx
movaps xmm0, xmmword [0x1400444a0]
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.1400032a0
movss xmm0, dword [0x14004424c]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x1cc8]
call fcn.14001e4b0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003c640
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