Function at 0x140001e50
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push rbp
push r12
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rbp + 0x50], rax
lea rcx, [rbp - 0x70]
call fcn.14004c620
mov ecx, dword [rbp - 0x58]
lea rax, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rbp + 0x20], rax
movdqu xmmword [rbp + 0x30], xmm0
lea rax, [rbp - 0x70]
mov byte [rsp + 0x50], 1
mov qword [rbp + 0x28], rax
xorps xmm1, xmm1
mov eax, ecx
sar eax, 0x10
movzx eax, al
movdqu xmmword [rbp + 0x40], xmm1
movss xmm1, dword [0x14005eba4]
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
sar eax, 8
movzx eax, al
divss xmm0, xmm1
movss dword [rbp - 0x40], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
mov ecx, 0x10
divss xmm0, xmm1
movss dword [rbp - 0x3c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [rbp - 0x38], xmm0
call fcn.140054b20
lea rcx, [rbp + 0x20]
xor r12d, r12d
mov r9, rax
lea r8, [0x140006f50]
xor edx, edx
mov qword [rax], rcx
lea rcx, [0x140002850]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400021c0
cmp dword [rsp + 0x68], r12d
je 0x1400021b4
movaps xmm0, xmmword [rsp + 0x60]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400021b4
mov qword [rsp + 0x198], r14
mov ecx, 0x3e8
mov qword [rsp + 0x160], r15
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
mov byte [rbp - 0x2b], 1
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
call fcn.140002420
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
call fcn.140006f80
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
lea ecx, [r12 + 1]
sub eax, edx
sar eax, 1
mov r14d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [rbp - 0x34]
cdq
sub eax, edx
sar eax, 1
mov r15d, eax
mov eax, dword [rbp - 0x64]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add ecx, r14d
mov dword [rsp + 0x54], ecx
mov ecx, dword [rbp - 0x30]
sub ecx, eax
add ecx, r15d
mov dword [rsp + 0x58], ecx
cmp byte [rsp + 0x50], r12b
je 0x140002178
mov qword [rsp + 0x180], rbx
mov rbx, qword [rbp - 0x20]
mov qword [rsp + 0x188], rsi
mov rsi, qword [rbp - 8]
mov qword [rsp + 0x190], rdi
mov rdi, qword [rbp + 0x18]
nop dword [rax + rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140002155
nop dword [rax]
mov eax, dword [rbx + 0xc]
test eax, eax
jns 0x140002059
inc eax
mov edx, dword [0x140068a64]
mov ecx, dword [0x140068a60]
sar eax, 1
mov dword [rsp + 0x20], 1
lea r9d, [rax + rdx]
sub edx, eax
lea r8d, [rax + rcx]
sub ecx, eax
call rsi
test eax, eax
jne 0x14000208d
lea rdx, str.Screenshot_failed
jmp 0x140002137
mov eax, dword [rbx + 0x2c]
lea r9, [rsp + 0x58]
mov dword [rsp + 0x5c], eax
lea r8, [rsp + 0x54]
mov eax, dword [rbx + 0x1c]
lea rdx, [rsp + 0x5c]
mov ecx, dword [rbx + 0x28]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x20], eax
call rdi
test eax, eax
je 0x140002122
mov eax, dword [rbp - 0x60]
lea r8, [rsp + 0x7c]
mov edx, dword [rsp + 0x78]
sub eax, r14d
add eax, dword [rsp + 0x54]
mov r9d, 1
mov rcx, qword [rsp + 0x70]
mov word [rsp + 0x7e], r12w
mov dword [rbp - 0x74], r12d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rbp - 0x68]
cvttss2si eax, xmm0
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp - 0x5c]
sub eax, r15d
add eax, dword [rsp + 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rbp - 0x68]
cvttss2si eax, xmm0
mov dword [rbp - 0x78], eax
call qword [sym.imp.interception.dll_interception_send]
jmp 0x140002143
mov eax, dword [rbx + 0x20]
lea rdx, str._nPixelsearch_failed
mov dword [rsp + 0x54], eax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x58], eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400021e0
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140002050
cmp byte [rsp + 0x50], r12b
jne 0x140002030
mov rdi, qword [rsp + 0x190]
mov rsi, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x180]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rbp - 0x70]
call fcn.14004dec0
mov r15, qword [rsp + 0x160]
xor eax, eax
mov r14, qword [rsp + 0x198]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140054b00
add rsp, 0x168
pop r12
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x68], r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3