Function at 0x140039a7c
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 [0x1401cd300]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x1401ce670]
lea r9, [rbp - 0x20]
xor edi, edi
lea rdx, [0x140193eb0]
mov r8d, 0x12107
mov qword [rbp - 0x20], rdi
call sub.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory
xorps xmm0, xmm0
movups xmmword [0x1401ce228], xmm0
movups xmmword [0x1401ce238], xmm0
movups xmmword [0x1401ce248], xmm0
mov rdx, qword [0x1401ce668]
lea rcx, [0x1401ce228]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140039b17
lea rcx, [0x1401ce228]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1401ce228]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1401ce208]
jne 0x140039b5a
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1401ce668]
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 0x140039d0e
mov rcx, qword [0x1401ce208]
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 [0x1401ce208]
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.140008f74
mov rbx, rax
mov qword [rax + 0x18], rdi
mov rcx, qword [0x1401ce208]
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 0x140039c27
mov byte [rbx + 0x118], 1
mov eax, dword [rbx + 0x114]
mov dword [rbx + 0x3d4], eax
mov byte [rbx + 0x428], 1
jmp 0x140039c2e
mov byte [rbx + 0x118], dil
mov eax, dword [0x1401ce6a0]
mov ecx, dword [rbp - 0xc]
mov edx, dword [rbp - 0x10]
cmp dword [rbp - 0x18], eax
jne 0x140039c5a
cmp edx, dword [0x1401ce6a8]
jne 0x140039c5a
mov eax, dword [0x1401ce6a4]
cmp dword [rbp - 0x14], eax
jne 0x140039c5a
cmp ecx, dword [0x1401ce6ac]
je 0x140039cbc
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 [0x1401ce210], edx
mov dword [0x1401ce214], ecx
mov dword [0x1401ce0f0], edx
xor edx, edx
mov dword [0x1401ce0f4], ecx
mov rcx, qword [0x1401ce668]
movdqu xmmword [0x1401ce6a0], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1401ce670]
lea rdx, [0x1401ce0f0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x20]
call fcn.1400342cc
cmp dword [0x1401ce230], 0x12
jne 0x140039ad7
call fcn.14001fa4c
call fcn.14001fd24
xor ecx, ecx
call fcn.1400073d8
mov rcx, qword [0x1401ce668]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400df3e0
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