Function at 0x140056390
Capabilities:
Enumerate gui resources
Log keystrokes via polling
Terminate process

Disassembly:
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x1400f1140]
xor rax, rsp
mov qword [rsp + 0x58], rax
movss xmm6, dword [0x1400c8bc8]
xorps xmm0, xmm0
movups xmmword [0x1400f1d20], xmm0
xor edi, edi
mov qword [rsp + 0x80], rbx
movups xmmword [0x1400f1d30], xmm0
movups xmmword [0x1400f1d40], xmm0
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [0x1400f1d50]
lea rcx, [0x1400f1d20]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140056420
lea rcx, [0x1400f1d20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400f1d20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp qword [0x1400f1d58], rdi
je 0x14005674c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400f1d58]
jne 0x140056472
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400f1d50]
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]
jmp 0x1400564c1
mov eax, dword [0x1400f2090]
lea rdx, [rsp + 0x40]
lea rcx, [0x1400421f0]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x1400564ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x1400564ac
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400564af
mov rax, rdi
mov ecx, 0xfa
mov qword [0x1400f1d58], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000d8f0
lea rcx, [rsp + 0x50]
mov rbx, rax
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x50]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdf8], xmm0
movd xmm0, dword [rsp + 0x54]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140056529
mov byte [rbx + 0xe00], 1
mov eax, dword [rbx + 0xdfc]
mov dword [rbx + 0x36e8], eax
mov byte [rbx + 0x3738], 1
jmp 0x140056530
mov byte [rbx + 0xe00], dil
cmp dword [0x1400f2140], edi
jne 0x140056550
cmp dword [0x1400f2148], edi
jne 0x140056550
cmp dword [0x1400f2144], edi
jne 0x140056550
cmp dword [0x1400f214c], edi
je 0x1400565aa
mov rcx, qword [0x1400f1d50]
xorps xmm0, xmm0
mov dword [rsp + 0x30], 8
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
movdqu xmmword [0x1400f2140], xmm0
mov dword [0x1400f20c0], edi
mov dword [0x1400f20c4], edi
mov qword [0x1400f1ce0], rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400f1cd8]
lea rdx, [0x1400f1ce0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140030400
call fcn.140031110
call fcn.140014760
call fcn.140052720
call fcn.140056760
call fcn.14000bac0
mov rcx, qword [0x1400f1cd8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400f1cd8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400f1cd8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400f1cd8]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400f1cd8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14005666d
call fcn.140016370
call fcn.14000d5a0
mov rcx, rax
call fcn.140030460
mov rcx, qword [0x1400f1cd8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400f1cd8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400566c6
mov rcx, qword [0x1400f1cd8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x1400566c6
call fcn.140030370
mov rcx, qword [0x1400f1cd8]
lea rdx, [0x1400f1ce0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400300b0
cmp dword [0x1400f1d28], 0x12
jne 0x1400563e0
call fcn.140030e90
call fcn.140031420
xor ecx, ecx
call fcn.14000b330
mov rcx, qword [0x1400f1cd8]
test rcx, rcx
je 0x140056706
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400f1cd8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f1cd0]
test rcx, rcx
je 0x140056718
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f1d50]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400f1d30]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c1880
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rdi
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3