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

Disassembly:
push rbp
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x58], rax
movss xmm6, dword [0x14004241c]
xorps xmm0, xmm0
movups xmmword [0x1400497a8], xmm0
xor ebp, ebp
mov qword [rsp + 0x80], rbx
movups xmmword [0x1400497b8], xmm0
movups xmmword [0x1400497c8], xmm0
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [0x1400497d8]
lea rcx, [0x1400497a8]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400393d0
lea rcx, [0x1400497a8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400497a8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp qword [0x1400497a0], rbp
je 0x140039942
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400497a0]
jne 0x140039422
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400497d8]
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 0x140039471
mov eax, dword [0x140049750]
lea rdx, [rsp + 0x40]
lea rcx, [0x1400392d0]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14003945c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14003945c
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x14003945f
mov rax, rbp
mov ecx, 0xfa
mov qword [0x1400497a0], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [0x140049730]
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 0x1400394d8
mov byte [rbx + 0xe08], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
mov byte [rbx + 0x3740], 1
jmp 0x1400394df
mov byte [rbx + 0xe08], bpl
cmp dword [0x1400498c0], ebp
jne 0x1400394ff
cmp dword [0x1400498c8], ebp
jne 0x1400394ff
cmp dword [0x1400498c4], ebp
jne 0x1400394ff
cmp dword [0x1400498cc], ebp
je 0x140039559
mov rcx, qword [0x1400497d8]
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 [0x1400498c0], xmm0
mov dword [0x1400498e8], ebp
mov dword [0x1400498f8], ebp
mov qword [0x140049760], rbp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140049748]
lea rdx, [0x140049760]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140049730]
test rax, rax
je 0x14003956e
mov rcx, qword [rax + 0x98]
jmp 0x140039571
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x140039592
test rax, rax
je 0x140039592
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140039592
cmp qword [rcx], rbp
je 0x140039592
call fcn.14002aff0
call fcn.14002bba0
call fcn.140006f50
call fcn.140038540
call fcn.140038fb0
call fcn.140008ca0
mov rcx, qword [0x140049748]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140049748]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140049748]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140049748]
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 [0x140049748]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140039669
call fcn.1400090b0
mov rax, qword [0x140049730]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rbp
add rax, 0x48
cmp byte [rax], bpl
cmovne rcx, rax
call fcn.14002aa30
mov rcx, qword [0x140049748]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140049748]
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 0x140039747
mov rcx, qword [0x140049748]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140039747
mov rbx, qword [0x140049730]
test rbx, rbx
je 0x14003970e
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x14003970e
cmp qword [rbx], rbp
je 0x14003970e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400396d9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400396ec
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14003970e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140049730]
mov qword [rbx + 0x18], rbp
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rbp
mov rcx, qword [0x140049748]
lea rdx, [0x140049760]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, qword [0x140049730]
test rcx, rcx
je 0x14003974e
mov rax, qword [rcx + 0x98]
test rax, rax
je 0x14003974e
cmp qword [rax], rbp
je 0x14003974e
call fcn.14002aff0
mov rcx, qword [0x140049730]
cmp dword [0x1400497b0], 0x12
jne 0x140039390
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rdi
test rcx, rcx
je 0x140039779
mov rsi, qword [rcx + 0x98]
jmp 0x14003977c
mov rsi, rbp
lea rdi, [rcx + 8]
test rcx, rcx
je 0x1400397f5
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x1400397f5
cmp qword [rbx], rbp
je 0x1400397f5
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400397b3
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140049730]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400397d0
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140049730]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1400397f5
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140049730]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rbp
mov rdx, qword [rsi]
test rdx, rdx
je 0x14003980d
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140049730]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rcx, rcx
je 0x14003982a
dec dword [rcx + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140049730]
mov rsi, qword [rsp + 0x88]
test rax, rax
je 0x140039850
mov rdi, qword [rax + 0x90]
jmp 0x140039853
mov rdi, rbp
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x14003986d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140049730]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test rax, rax
je 0x140039887
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140049730]
mov qword [0x140049730], rbx
call fcn.140005120
mov rdi, qword [rsp + 0x90]
mov qword [0x140049730], rbp
test rbx, rbx
je 0x1400398da
mov rcx, rbx
call fcn.14001a720
mov rax, qword [0x140049730]
test rax, rax
je 0x1400398d1
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140049748]
test rcx, rcx
je 0x1400398fc
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140049748]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400497f0]
test rcx, rcx
je 0x14003990e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400497d8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400497b8]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14003a3a0
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