Function at 0x14005cba0
Capabilities:
Create thread
Hide graphical window
Log keystrokes via polling
Set environment variable

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x378
mov qword [rsp + 0x328], 0xfffffffffffffffe
mov rax, qword [0x1400d6300]
xor rax, rsp
mov qword [rsp + 0x368], rax
lea rdx, [0x1400df5a0]
lea rcx, [rsp + 0x220]
call fcn.140030010
nop
lea rdx, [0x1400df568]
lea rcx, [rsp + 0x248]
call fcn.140030010
nop
movzx eax, byte [rsp + 0x398]
mov byte [0x1401093a4], al
movzx eax, byte [rsp + 0x390]
mov byte [0x1401093a5], al
mov eax, dword [rsp + 0x380]
mov dword [0x14010939c], eax
mov eax, dword [rsp + 0x388]
mov dword [0x140109398], eax
movzx eax, byte [rsp + 0x3a0]
test eax, eax
je 0x14005ccfe
movzx eax, byte [rsp + 0x398]
test eax, eax
jne 0x14005ccfe
mov byte [0x1401093c9], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xfa
mov dword [rsp + 0x2a0], eax
lea rax, [0x1401093c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14005d440]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [0x1401093c9]
test eax, eax
je 0x14005ccc8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [rsp + 0x2a0]
jae 0x14005ccc8
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14005cca1
mov qword [rsp + 0x308], 1
lea rcx, [rsp + 0x248]
call fcn.140025af0
nop
lea rcx, [rsp + 0x220]
call fcn.140025af0
mov rax, qword [rsp + 0x308]
jmp 0x14005d0c9
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1401093c0], eax
movzx eax, byte [0x1401093c8]
test eax, eax
jne 0x14005ce15
mov dword [rsp + 0x2b0], 0
lea rax, [0x14005d0f0]
mov qword [rsp + 0x2b8], rax
mov dword [rsp + 0x2c0], 0
mov dword [rsp + 0x2c4], 0
mov rax, qword [0x140108eb8]
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x2d0], 0
movzx eax, byte [0x1401093a4]
test eax, eax
je 0x14005cd7d
mov qword [rsp + 0x330], 0x7f00
jmp 0x14005cd89
mov qword [rsp + 0x330], 0x7f02
mov rdx, qword [rsp + 0x330]
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x2d8], rax
mov qword [rsp + 0x2e0], 0
mov qword [rsp + 0x2e8], 0
movzx eax, byte [rsp + 0x398]
test eax, eax
je 0x14005cddc
lea rcx, [rsp + 0x248]
call fcn.140030150
mov qword [rsp + 0x338], rax
jmp 0x14005cdf1
lea rcx, [rsp + 0x220]
call fcn.140030150
mov qword [rsp + 0x338], rax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x2f0], rax
lea rcx, [rsp + 0x2b0]
call fcn.14004e740
mov byte [0x1401093c8], 1
movzx eax, byte [rsp + 0x398]
test eax, eax
je 0x14005ce5a
mov dword [rsp + 0x300], 0
jmp 0x14005ce3e
mov eax, dword [rsp + 0x300]
inc eax
mov dword [rsp + 0x300], eax
cmp dword [rsp + 0x300], 0x100
jge 0x14005ce5a
mov ecx, dword [rsp + 0x300]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x14005ce2e
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x14010939c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x298], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x140109398]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x29c], eax
movzx eax, byte [0x1401093a4]
test eax, eax
je 0x14005cea9
mov dword [rsp + 0x340], 0
jmp 0x14005ceb4
mov dword [rsp + 0x340], 0x8000000
movzx eax, byte [rsp + 0x398]
test eax, eax
je 0x14005ced2
lea rax, [rsp + 0x248]
mov qword [rsp + 0x348], rax
jmp 0x14005cee2
lea rax, [rsp + 0x220]
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
mov qword [rsp + 0x310], rax
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x70]
call fcn.140029c50
nop
movzx eax, byte [rsp + 0x390]
test eax, eax
je 0x14005cf1e
mov dword [rsp + 0x350], 8
jmp 0x14005cf29
mov dword [rsp + 0x350], 0x80
mov eax, dword [rsp + 0x340]
bts eax, 0x1f
mov qword [rsp + 0x58], 0
mov rcx, qword [0x140108eb8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov ecx, dword [0x140109398]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x14010939c]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x29c]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x298]
mov dword [rsp + 0x20], ecx
mov r9d, eax
lea r8, [0x140109270]
lea rdx, [rsp + 0x70]
mov ecx, dword [rsp + 0x350]
call fcn.14004eb40
mov qword [0x1401093a8], rax
lea rcx, [rsp + 0x70]
call fcn.140029cb0
mov edx, 4
mov rcx, qword [0x1401093a8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1401093a8]
call qword [sym.imp.USER32.dll_UpdateWindow]
movzx eax, byte [rsp + 0x398]
test eax, eax
je 0x14005cff7
xor r9d, r9d
mov r8d, 0x64
mov edx, 2
mov rcx, qword [0x1401093a8]
call qword [sym.imp.USER32.dll_SetTimer]
mov rax, qword [0x1401093a8]
mov qword [rsp + 0x318], rax
lea rdx, [0x1400df560]
lea rcx, [rsp + 0x100]
call fcn.140033dc0
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x360], rax
lea rdx, [rsp + 0x318]
mov rcx, qword [rsp + 0x360]
call fcn.14005d630
mov rdx, rax
lea rcx, [rsp + 0x270]
call fcn.140033f00
nop
lea rcx, [rsp + 0x100]
call fcn.140031ed0
lea rcx, [rsp + 0x270]
call fcn.14002ff90
mov rdx, rax
lea rcx, [0x1400df550]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov byte [0x1401093c9], 0
mov rax, qword [0x1401093a8]
mov qword [rsp + 0x320], rax
lea rcx, [rsp + 0x270]
call fcn.1400214d0
nop
lea rcx, [rsp + 0x248]
call fcn.140025af0
nop
lea rcx, [rsp + 0x220]
call fcn.140025af0
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x368]
xor rcx, rsp
call fcn.14006fd00
add rsp, 0x378
ret