Function at 0x140038508
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140152340]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x1401531f0]
lea r9, [rbp - 0x20]
xor edi, edi
lea rdx, [0x140115760]
mov r8d, 0x12107
mov qword [rbp - 0x20], rdi
call sub.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory
xorps xmm0, xmm0
movups xmmword [0x140152cd8], xmm0
movups xmmword [0x140152ce8], xmm0
movups xmmword [0x140152cf8], xmm0
mov rdx, qword [0x1401531e8]
lea rcx, [0x140152cd8]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400385a3
lea rcx, [0x140152cd8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140152cd8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140152dd0]
jne 0x1400385e6
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1401531e8]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14003879a
mov rcx, qword [0x140152dd0]
lea rdx, [rbp - 0x18]
xorps xmm0, xmm0
mov qword [rbp - 0x30], rdi
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140152dd0]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x2c]
mov dword [rbp - 0x14], eax
call fcn.140008ee4
mov rbx, rax
mov qword [rax + 0x18], rdi
mov rcx, qword [0x140152dd0]
mov qword [rax + 0x100], rcx
lea rcx, [rbp - 0x28]
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rbp - 0x28]
sub ecx, dword [rbp - 0x30]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x110], xmm0
mov ecx, dword [rbp - 0x24]
sub ecx, dword [rbp - 0x2c]
movd xmm0, ecx
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x114], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400386b3
mov byte [rbx + 0x118], 1
mov eax, dword [rbx + 0x114]
mov dword [rbx + 0x3d4], eax
mov byte [rbx + 0x428], 1
jmp 0x1400386ba
mov byte [rbx + 0x118], dil
mov eax, dword [0x140153228]
mov ecx, dword [rbp - 0xc]
mov edx, dword [rbp - 0x10]
cmp dword [rbp - 0x18], eax
jne 0x1400386e6
cmp edx, dword [0x140153230]
jne 0x1400386e6
mov eax, dword [0x14015322c]
cmp dword [rbp - 0x14], eax
jne 0x1400386e6
cmp ecx, dword [0x140153234]
je 0x140038748
movups xmm0, xmmword [rbp - 0x18]
mov r9d, dword [rbp - 0x2c]
mov r8d, dword [rbp - 0x30]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x140152dd8], edx
mov dword [0x140152ddc], ecx
mov dword [0x140152c90], edx
xor edx, edx
mov dword [0x140152c94], ecx
mov rcx, qword [0x1401531e8]
movdqu xmmword [0x140153228], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1401531f0]
lea rdx, [0x140152c90]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x20]
call fcn.140033424
cmp dword [0x140152ce0], 0x12
jne 0x140038563
call fcn.14001f9bc
call fcn.14001fc94
xor ecx, ecx
call fcn.140007348
mov rcx, qword [0x1401531e8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a9cb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3