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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1400e6060]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [0x1401359c0]
test rax, rax
je 0x14004f3a3
inc dword [rax + 0x3b0]
mov rdx, qword [0x1401359b0]
mov ecx, 0x3e50
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
xor r15d, r15d
test rax, rax
je 0x14004f3df
xor edx, edx
mov rcx, rax
call fcn.140002870
mov rcx, rax
jmp 0x14004f3e2
mov rcx, r15
mov rax, qword [0x1401359c0]
test rax, rax
cmove rax, rcx
mov qword [0x1401359c0], rax
call fcn.140008f80
mov r14, qword [0x1401359c0]
lea rbx, [0x1400d0dc0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
movss xmm3, dword [0x1400d335c]
mov r8d, 0x4d33c
lea rdx, [0x1400e60c0]
mov rcx, qword [r14 + 0xa8]
call fcn.14002ed90
mov qword [0x140135a18], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
movss xmm3, dword [0x1400d3350]
mov r8d, 0x4d33c
lea rdx, [0x1400e60c0]
mov rcx, qword [r14 + 0xa8]
call fcn.14002ed90
mov qword [0x140135a88], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
movss xmm3, dword [0x1400d336c]
mov r8d, 0xfa0
lea rdx, [0x1401334c0]
mov rcx, qword [r14 + 0xa8]
call fcn.14002ed90
mov qword [r14 + 0x20], r15
or dword [r14 + 8], 0x400
xor ecx, ecx
call fcn.14002ad10
call fcn.1400345b0
mov rcx, qword [0x1401359c8]
mov rbx, qword [0x1401359c0]
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rax
or dword [rbx + 0xc], 0x1008
mov qword [0x140135b70], rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rbx + 8], 0x400
je 0x14004f537
mov rax, qword [0x1401359c0]
lea rcx, [fcn.140034270]
mov qword [rax + 0x15f0], rcx
lea rcx, [0x140034340]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x1400343d0]
mov qword [rax + 0x1600], rcx
lea rcx, [0x140034430]
mov qword [rax + 0x1608], rcx
lea rcx, [0x140034580]
mov qword [rax + 0x1610], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movss xmm6, dword [0x1400d32bc]
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14004f59a
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14004f93e
mov ecx, dword [reloc.WLDAP32.dll_Ordinal_45]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004f5b8
cmp byte [reloc.WS2_32.dll_accept], 0
sete byte [0x140133414]
mov ecx, dword [0x140135a34]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14004fa0f
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004f5f1
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004f5f1
call fcn.140047c80
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004f616
mov ecx, Ordinal_79
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004f616
call fcn.140049a20
cmp qword [0x140135b60], 0
jne 0x14004f625
call fcn.140033f60
mov rbx, qword [0x1401359c0]
lea rdx, [rsp + 0x50]
mov rcx, qword [0x140135b88]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14004f6bf
mov rdi, qword [0x1401359c0]
mov ecx, dword [rdi + 0x161c]
test ecx, ecx
jns 0x14004f69d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r15d
test eax, eax
cmovg edx, eax
lea rcx, [rdi + 0x1618]
call fcn.140023320
mov dword [rdi + 0x1618], r15d
xor r9d, r9d
lea r8, [0x140034f50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [reloc.WS2_32.dll_accept], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
sub rax, qword [0x140135b90]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x140135b98]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [0x140135b90], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13c], al
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13d], al
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13e], al
mov byte [rbx + 0x13f], 0
call fcn.140034aa0
cmp byte [rbx + 0xd0], 0
je 0x14004f75b
mov eax, 0xffffffff
jmp 0x14004f768
mov rax, qword [0x1401359c0]
mov eax, dword [rax + 0x1ef8]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x14004f77b
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.140034920
call fcn.140034ca0
call fcn.1400080c0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14004f793
call fcn.14004ec20
call fcn.14000a2e0
mov rcx, qword [0x1401359c8]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r15d
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r15d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1401359c8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004f811
call fcn.14000a860
mov rax, qword [0x1401359c0]
mov rcx, qword [rax + 0x1d48]
mov rax, qword [rcx]
add rax, 0xb0
mov rcx, r15
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140033980
mov rcx, qword [0x1401359c8]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r14 + 8], 0x400
je 0x14004f8e5
call fcn.14001a850
mov rbx, qword [0x1401359c0]
mov ebp, 1
mov eax, dword [rbx + 0x1630]
cmp eax, ebp
jle 0x14004f887
mov esi, 8
nop
mov rax, qword [rbx + 0x1638]
mov rdi, qword [rsi + rax]
test byte [rdi + 4], 0x80
jne 0x14004f877
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x14004f864
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x14004f877
xor edx, edx
mov rcx, rdi
call rax
inc ebp
add rsi, 8
mov eax, dword [rbx + 0x1630]
cmp ebp, eax
jl 0x14004f840
mov ebp, 1
cmp eax, ebp
jle 0x14004f8e5
mov esi, 8
nop word [rax + rax]
mov rax, qword [rbx + 0x1638]
mov rdi, qword [rsi + rax]
test byte [rdi + 4], 0x80
jne 0x14004f8d7
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x14004f8c4
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x14004f8d7
xor edx, edx
mov rcx, rdi
call rax
inc ebp
add rsi, 8
cmp ebp, dword [rbx + 0x1630]
jl 0x14004f8a0
mov rcx, qword [0x1401359c8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004f93e
mov rcx, qword [0x1401359c8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14004f93e
call fcn.140034130
mov rcx, qword [0x1401359c8]
mov rax, qword [rcx]
lea rdx, [0x1401359d0]
call qword [rax + 0x80]
call fcn.140033f60
cmp dword [rsp + 0x70], 0x12
jne 0x14004f560
call fcn.14001ae10
call fcn.140034130
mov rcx, qword [0x140135b70]
test rcx, rcx
je 0x14004f96c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140135b70], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov qword [0x140135b88], r15
mov rbx, qword [0x1401359c0]
mov rcx, rbx
call fcn.140009210
mov rax, qword [0x1401359c0]
cmp rax, rbx
cmove rax, r15
mov qword [0x1401359c0], rax
test rbx, rbx
je 0x14004f9dd
mov rcx, rbx
call fcn.140023a50
mov rax, qword [0x1401359c0]
test rax, rax
je 0x14004f9ce
dec dword [rax + 0x3b0]
mov rdx, qword [0x1401359b0]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400b9630
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3