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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x140322440]
xor rax, rsp
mov qword [rbp - 0x18], rax
lea rdx, [0x140326730]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x1400687a4
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r14d, r14d
mov qword [0x1403268ac], r14
mov qword [0x1403268b8], 1
mov qword [0x1403268d4], r14
mov dword [0x1403268c8], 1
mov r9, qword [0x140326898]
mov qword [0x1403268c0], r9
mov dword [0x1403268b4], r14d
mov dword [0x1403268a8], 0x15
mov eax, dword [0x140326794]
mov dword [0x1403268a0], eax
mov eax, dword [0x140326790]
mov dword [0x1403268a4], eax
mov dword [0x1403268cc], 1
mov dword [0x1403268d0], 0x50
mov eax, dword [reloc.WS2_32.dll_accept]
mov ecx, 0x80000000
cmp eax, 2
cmove eax, ecx
mov dword [0x1403268dc], eax
mov rcx, qword [0x140326730]
mov rax, qword [rcx]
lea rdx, [0x140326768]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
lea rsi, [0x1403268a0]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
jns 0x140068886
mov rcx, qword [0x140326730]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [0x140326780]
mov ecx, 0x6290
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x140326780]
test r8, r8
je 0x140068907
mov r10d, dword [r8 + 0x3f68]
movsx rax, word [r8 + 0x6100]
lea rdx, [r8 + 0x6104]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x1400688fc
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6100], cx
movsx rax, cx
lea rdx, [r8 + 0x6104]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r14d
inc word [rdx + 4]
inc dword [r8 + 0x60f8]
mov qword [rbp - 0x20], r9
lea rax, [rbp - 0x40]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], r9
test r9, r9
je 0x140068928
xor edx, edx
mov rcx, r9
call fcn.14007a630
jmp 0x14006892b
mov rax, r14
mov qword [0x140326780], rax
call fcn.14007e7a0
test rbx, rbx
je 0x140068943
mov qword [0x140326780], rbx
mov rcx, qword [0x140326898]
call fcn.1400a6460
mov rdi, qword [0x140326768]
mov rbx, qword [0x140326780]
mov ecx, Ordinal_41
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rax
mov r9, qword [0x140326780]
test r9, r9
je 0x1400689d7
mov r10d, dword [r9 + 0x3f68]
movsx rdx, word [r9 + 0x6100]
lea rax, [r9 + 0x6104]
lea rax, [rax + rdx*8]
cmp dword [rax], r10d
je 0x1400689cc
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r9 + 0x6100], cx
movsx rax, cx
lea rax, [rax*8 + 0x6104]
add rax, r9
mov dword [rax], r10d
mov dword [rax + 4], r14d
inc word [rax + 4]
inc dword [r9 + 0x60f8]
test r8, r8
je 0x1400689fd
mov qword [r8], r14
mov qword [r8 + 8], r14
mov qword [r8 + 0x10], r14
mov qword [r8 + 0x18], r14
mov dword [r8 + 0x20], 0x1388
mov dword [r8 + 0x24], 0x2710
jmp 0x140068a00
mov r8, r14
mov qword [rbx + 0x98], r8
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0x88], rax
or dword [rbx + 0xc], 8
mov qword [r8], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
call fcn.140068290
xorps xmm0, xmm0
movups xmmword [0x140326738], xmm0
movups xmmword [0x140326748], xmm0
movups xmmword [0x140326758], xmm0
movss xmm6, dword [0x1402ff1e0]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140326898]
lea rcx, [0x140326738]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140068a90
lea rcx, [0x140326738]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140326738]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400690cf
mov rax, qword [0x140326780]
mov dword [rax + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x38], r14
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x38]
mov dword [rbp - 0x30], eax
mov eax, dword [rbp - 0x34]
mov dword [rbp - 0x2c], eax
mov rbx, qword [0x140326780]
mov dword [rbx + 0x18], 0x3c888889
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 0x20]
sub eax, dword [rbp - 0x38]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe40], xmm0
mov eax, dword [rbp - 0x1c]
sub eax, dword [rbp - 0x34]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe44], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140068b5f
mov byte [rbx + 0xe48], 1
mov byte [rbx + 0x3860], 1
mov eax, dword [rbx + 0xe44]
mov dword [rbx + 0x3810], eax
jmp 0x140068b66
mov byte [rbx + 0xe48], 0
mov ecx, dword [rbp - 0x24]
mov edx, dword [rbp - 0x28]
mov eax, dword [0x140326968]
cmp dword [rbp - 0x30], eax
jne 0x140068b92
cmp edx, dword [0x140326970]
jne 0x140068b92
mov eax, dword [0x14032696c]
cmp dword [rbp - 0x2c], eax
jne 0x140068b92
cmp ecx, dword [0x140326974]
je 0x140068bef
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [0x140326968], xmm0
mov dword [0x140326794], edx
mov dword [0x140326790], ecx
mov dword [0x1403268a0], edx
mov dword [0x1403268a4], ecx
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rbp - 0x34]
mov r8d, dword [rbp - 0x38]
xor edx, edx
mov rcx, qword [0x140326898]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x80]
mov rax, qword [0x140326780]
test rax, rax
je 0x140068c04
mov rcx, qword [rax + 0x98]
jmp 0x140068c07
mov rcx, r14
cmp qword [rcx + 0x18], 0
jne 0x140068c2a
test rax, rax
je 0x140068c2a
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140068c2a
cmp qword [rcx], 0
je 0x140068c2a
call fcn.1400a6120
call fcn.1400a6e70
call fcn.140080ea0
call fcn.14005c690
call fcn.140065c70
call fcn.140067d00
call fcn.1400674a0
call fcn.1400829f0
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
call qword [rax + 0x1c8]
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r14d
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140068d0d
call fcn.140082de0
mov rax, qword [0x140326780]
mov rcx, qword [rax + 0x4b20]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r14
cmp byte [rax], r14b
cmovne rcx, rax
call fcn.1400a5b60
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140068de9
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140068de9
mov rbx, qword [0x140326780]
test rbx, rbx
je 0x140068db3
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x140068db3
cmp qword [rbx], 0
je 0x140068db3
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140068d7e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140068d91
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], r14
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140068db3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x18], r14
mov rax, qword [0x140326780]
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], r14
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x80]
mov r8, qword [0x140326780]
test r8, r8
je 0x140068df0
mov rax, qword [r8 + 0x98]
test rax, rax
je 0x140068df0
cmp qword [rax], 0
je 0x140068df0
call fcn.1400a6120
mov r8, qword [0x140326780]
cmp dword [0x140326740], 0x12
jne 0x140068a50
test r8, r8
je 0x140068e0b
mov rsi, qword [r8 + 0x98]
jmp 0x140068e0e
mov rsi, r14
lea rdi, [r8 + 8]
test r8, r8
je 0x140068e7f
mov rbx, qword [r8 + 0x98]
test rbx, rbx
je 0x140068e7f
cmp qword [rbx], 0
je 0x140068e7f
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140068e43
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], r14
mov r8, qword [0x140326780]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140068e5d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], r14
mov r8, qword [0x140326780]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140068e7f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x18], r14
mov r8, qword [0x140326780]
mov rax, qword [r8 + 0x38]
mov qword [rax + 8], r14
mov rcx, qword [rsi]
test rcx, rcx
je 0x140068e94
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x140326780]
mov qword [rdi + 0x80], r14
mov qword [rdi + 0x90], r14
and dword [rdi + 4], 0xfffffff7
test r8, r8
je 0x140068f0b
mov r9d, dword [r8 + 0x3f68]
movsx rdx, word [r8 + 0x6100]
lea rcx, [rdx*8 + 0x6104]
add rcx, r8
cmp dword [rcx], r9d
je 0x140068f00
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6100], cx
movsx rax, cx
lea rcx, [rax*8 + 0x6104]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60fc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x140326780]
test r8, r8
je 0x140068f29
mov rdi, qword [r8 + 0x90]
jmp 0x140068f2c
mov rdi, r14
lea rbx, [r8 + 8]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140068f46
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x140326780]
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x88], r14
and dword [rbx + 4], 0xfffffff8
test r8, r8
je 0x140068fba
mov r9d, dword [r8 + 0x3f68]
movsx rdx, word [r8 + 0x6100]
lea rcx, [rdx*8 + 0x6104]
add rcx, r8
cmp dword [rcx], r9d
je 0x140068faf
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6100], cx
movsx rax, cx
lea rcx, [rax*8 + 0x6104]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60fc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140326780]
mov qword [0x140326780], rbx
call fcn.14007ecb0
mov qword [0x140326780], r14
test rbx, rbx
je 0x140069060
mov rcx, rbx
call fcn.140095180
mov r8, qword [0x140326780]
test r8, r8
je 0x140069057
mov r9d, dword [r8 + 0x3f68]
movsx r10, word [r8 + 0x6100]
lea rdx, [r8 + 0x6104]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14006904c
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6100], cx
movsx rax, cx
lea rdx, [r8 + 0x6104]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r14d
inc word [rdx + 6]
inc dword [r8 + 0x60fc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140326768]
test rcx, rcx
je 0x140069082
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140326768]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140326730]
test rcx, rcx
je 0x140069094
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140326898]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.14022f770
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3