Function at 0x140042c80
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1400ac010]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x78]
mov edx, 0xa
movups xmmword [0x1400accb0], xmm0
movups xmmword [0x1400accc0], xmm0
movups xmmword [0x1400accd0], xmm0
call fcn.1400394e0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140042ccf
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x140042d21
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042d1c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043188
call fcn.140045e10
mov qword [rsp + 0xb0], rbp
lea r8, [0x1400424d0]
xor ebp, ebp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0x28], rbp
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
mov qword [rsp + 0xc0], rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
lea r8, [0x140042ae0]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
lea r8, [0x140039c50]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x1400accb8], 0x12
je 0x140042f9c
nop
mov ecx, 0xfc
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140042f9c
cmp byte [0x1400af2e8], bpl
jne 0x140042f9c
cmp byte [0x1400acf34], bpl
jne 0x140042df6
lea rcx, [rsp + 0x48]
call fcn.1400399f0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x1400af080], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x1400af0a0], xmm0
movups xmmword [0x1400af090], xmm1
mov rdx, qword [0x1400af030]
lea rcx, [0x1400accb0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140042e36
lea rcx, [0x1400accb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400accb0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1400af150]
cmp rax, rcx
jne 0x140042e83
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400af030]
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]
mov rcx, qword [0x1400af150]
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbp
lea rdx, [rsp + 0x78]
movups xmmword [rsp + 0x78], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400af150]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x70]
mov rcx, qword [0x1400af150]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x7c], eax
mov rax, qword [0x1400aefd0]
mov qword [rax + 0x120], rcx
mov eax, dword [0x1400af300]
mov ecx, dword [rsp + 0x84]
mov edx, dword [rsp + 0x80]
cmp dword [rsp + 0x78], eax
jne 0x140042f08
cmp edx, dword [0x1400af308]
jne 0x140042f08
mov eax, dword [0x1400af304]
cmp dword [rsp + 0x7c], eax
jne 0x140042f08
cmp ecx, dword [0x1400af30c]
je 0x140042f6c
movups xmm0, xmmword [rsp + 0x78]
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1400af160], edx
mov dword [0x1400af164], ecx
mov dword [0x1400acc60], edx
xor edx, edx
mov dword [0x1400acc64], ecx
mov rcx, qword [0x1400af030]
movups xmmword [0x1400af300], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400acc58]
lea rdx, [0x1400acc60]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400421a0
mov eax, 0x3e8
cdq
idiv dword [0x1400acf38]
movsxd rcx, eax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x40]
call fcn.140044750
cmp dword [0x1400accb8], 0x12
jne 0x140042da0
mov rcx, qword [0x1400aefd0]
test rcx, rcx
je 0x140042fb1
mov rdi, qword [rcx + 0xf0]
jmp 0x140042fb4
mov rdi, rbp
lea rsi, [rcx + 8]
test rcx, rcx
je 0x140043030
mov rbx, qword [rcx + 0xf0]
test rbx, rbx
je 0x140043030
cmp qword [rbx], rbp
je 0x140043030
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140042feb
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400aefd0]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140043008
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400aefd0]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140043030
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400aefd0]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0xa8]
mov qword [rax + 8], rbp
mov rdx, qword [rdi]
test rdx, rdx
je 0x140043048
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400aefd0]
mov qword [rsi + 0xd8], rbp
mov qword [rsi + 0xe8], rbp
mov rsi, qword [rsp + 0xb8]
test rcx, rcx
je 0x140043069
dec dword [rcx + 0x3b0]
mov rcx, rdi
call fcn.140052f34
mov rax, qword [0x1400aefd0]
test rax, rax
je 0x140043086
mov rbx, qword [rax + 0xe8]
jmp 0x140043089
mov rbx, rbp
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x1400430a3
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400aefd0]
mov qword [rdi + 0xd0], rbp
mov qword [rdi + 0xe0], rbp
mov rdi, qword [rsp + 0xc0]
test rax, rax
je 0x1400430c4
dec dword [rax + 0x3b0]
mov rcx, rbx
call fcn.140052f34
mov rbx, qword [0x1400aefd0]
mov rcx, rbx
call fcn.140007920
cmp qword [0x1400aefd0], rbx
jne 0x1400430eb
mov qword [0x1400aefd0], rbp
mov rbp, qword [rsp + 0xb0]
test rbx, rbx
je 0x14004311a
mov rcx, rbx
call fcn.1400164e0
mov rax, qword [0x1400aefd0]
test rax, rax
je 0x140043112
dec dword [rax + 0x3b0]
mov rcx, rbx
call fcn.140052f34
mov rcx, qword [0x1400acc58]
test rcx, rcx
je 0x14004313c
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400acc58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400acc50]
test rcx, rcx
je 0x14004314e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400af030]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x1400aeff8]
mov rcx, qword [0x1400af020]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140045d20
add rsp, 0xa0
pop rbx
ret
call fcn.140059638
int3