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

Disassembly:
push rbp
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x1400d6080]
xor rax, rsp
mov qword [rsp + 0x58], rax
movss xmm6, dword [0x1400c5b98]
xorps xmm0, xmm0
movups xmmword [0x1400d7008], xmm0
xor ebp, ebp
mov qword [rsp + 0x80], rbx
movups xmmword [0x1400d7018], xmm0
movups xmmword [0x1400d7028], xmm0
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [0x1400d7038]
lea rcx, [0x1400d7008]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400475d0
lea rcx, [0x1400d7008]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400d7008]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp qword [0x1400d7000], rbp
je 0x140047b40
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400d7000]
jne 0x140047622
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400d7038]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x140047671
mov eax, dword [0x1400d7370]
lea rdx, [rsp + 0x40]
lea rcx, [0x1400474d0]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14004765c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14004765c
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x14004765f
mov rax, rbp
mov ecx, 0xfa
mov qword [0x1400d7000], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [0x1400d6f90]
lea rcx, [rsp + 0x50]
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x50]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
movd xmm0, dword [rsp + 0x54]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400476d8
mov byte [rbx + 0xe08], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
mov byte [rbx + 0x3740], 1
jmp 0x1400476df
mov byte [rbx + 0xe08], bpl
cmp dword [0x1400d7450], ebp
jne 0x1400476ff
cmp dword [0x1400d7458], ebp
jne 0x1400476ff
cmp dword [0x1400d7454], ebp
jne 0x1400476ff
cmp dword [0x1400d745c], ebp
je 0x140047759
mov rcx, qword [0x1400d7038]
xorps xmm0, xmm0
mov dword [rsp + 0x30], 8
xor r9d, r9d
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebp
movdqu xmmword [0x1400d7450], xmm0
mov dword [0x1400d7464], ebp
mov dword [0x1400d746c], ebp
mov qword [0x1400d6fb0], rbp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400d6fa8]
lea rdx, [0x1400d6fb0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1400d6f90]
test rax, rax
je 0x14004776e
mov rcx, qword [rax + 0x98]
jmp 0x140047771
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x140047792
test rax, rax
je 0x140047792
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140047792
cmp qword [rcx], rbp
je 0x140047792
call fcn.14002e250
call fcn.14002ee00
call fcn.140007f10
call fcn.1400462c0
call fcn.140047080
call fcn.140009c80
mov rcx, qword [0x1400d6fa8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400d6fa8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400d6fa8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400d6fa8]
mov r9d, 1
mov dword [rsp + 0x30], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400d6fa8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140047867
call fcn.14000a070
mov rax, qword [0x1400d6f90]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rbp
add rax, 0x48
cmp byte [rax], bpl
cmovne rcx, rax
call fcn.14002dca0
mov rcx, qword [0x1400d6fa8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400d6fa8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140047945
mov rcx, qword [0x1400d6fa8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140047945
mov rbx, qword [0x1400d6f90]
test rbx, rbx
je 0x14004790c
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x14004790c
cmp qword [rbx], rbp
je 0x14004790c
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400478d7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400478ea
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004790c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1400d6f90]
mov qword [rbx + 0x18], rbp
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rbp
mov rcx, qword [0x1400d6fa8]
lea rdx, [0x1400d6fb0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, qword [0x1400d6f90]
test rcx, rcx
je 0x14004794c
mov rax, qword [rcx + 0x98]
test rax, rax
je 0x14004794c
cmp qword [rax], rbp
je 0x14004794c
call fcn.14002e250
mov rcx, qword [0x1400d6f90]
cmp dword [0x1400d7010], 0x12
jne 0x140047590
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rdi
test rcx, rcx
je 0x140047977
mov rsi, qword [rcx + 0x98]
jmp 0x14004797a
mov rsi, rbp
lea rdi, [rcx + 8]
test rcx, rcx
je 0x1400479f3
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x1400479f3
cmp qword [rbx], rbp
je 0x1400479f3
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400479b1
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400d6f90]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400479ce
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400d6f90]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1400479f3
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400d6f90]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rbp
mov rdx, qword [rsi]
test rdx, rdx
je 0x140047a0b
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400d6f90]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rcx, rcx
je 0x140047a28
dec dword [rcx + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400d6f90]
mov rsi, qword [rsp + 0x88]
test rax, rax
je 0x140047a4e
mov rdi, qword [rax + 0x90]
jmp 0x140047a51
mov rdi, rbp
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x140047a6b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400d6f90]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test rax, rax
je 0x140047a85
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400d6f90]
mov qword [0x1400d6f90], rbx
call fcn.140005ec0
mov rdi, qword [rsp + 0x90]
mov qword [0x1400d6f90], rbp
test rbx, rbx
je 0x140047ad8
mov rcx, rbx
call fcn.14001c700
mov rax, qword [0x1400d6f90]
test rax, rax
je 0x140047acf
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400d6fa8]
test rcx, rcx
je 0x140047afa
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400d6fa8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400d7040]
test rcx, rcx
je 0x140047b0c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400d7038]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400d7018]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ac630
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3