Function at 0x140001440
Capabilities:
Create thread
Enumerate processes via ntquerysysteminformation
Get system information on windows
Get token membership
Log keystrokes via polling
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14002a020]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rcx, str.ROM.exe_Patcher__
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, str.welcome_rom_fucker__n
call fcn.140001080
mov dword [rbp - 0x29], 0
mov word [rbp - 0x25], 0x500
xor r13d, r13d
mov dword [rbp - 0x31], r13d
lea rax, [rbp - 0x39]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r9d, 0x220
lea r8d, [r13 + 0x20]
mov dl, 2
lea rcx, [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400018ec
lea r8, [rbp - 0x31]
mov rdx, qword [rbp - 0x39]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rbp - 0x31]
test eax, eax
cmove ecx, r13d
mov dword [rbp - 0x31], ecx
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp - 0x31], r13d
je 0x1400018ec
lea rcx, str.if_you_want_exit__process__ESC___n
call fcn.140001080
xor edx, edx
lea r8d, [r13 + 1]
lea rcx, str.C:kakaogamesROMclientGameAssembly.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x14002c308], rax
test rax, rax
jne 0x14000154b
lea rcx, str.failed_to_load_gameAssembly_in_local_memory_n
jmp 0x1400018f3
lea rcx, [0x140026b88]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x14002c310], rax
mov edx, 0x100000
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x14002c318], rax
test rax, rax
je 0x1400018dd
cmp qword [0x14002c310], r13
je 0x1400018dd
lea rsi, str.ROM.exe
mov rdx, rsi
lea rcx, str.start_monitoring__S_..._n
call fcn.140001080
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov qword [rbp - 0x39], rax
mov qword [rbp + 7], rax
mov r14, qword [rbp - 1]
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rax
xor edx, edx
mov r8d, 0x100000
mov rcx, qword [0x14002c318]
call fcn.140004050
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r12, r13
mov qword [rbp - 0x11], r13
mov dword [rbp - 0x31], r13d
lea r9, [rbp - 0x31]
mov r8d, 0x100000
mov rdx, qword [0x14002c318]
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x14000162d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r13
mov rbx, qword [rbp + 0x17]
mov r15, qword [rbp + 0xf]
jmp 0x1400016b9
mov rdi, qword [0x14002c318]
mov rbx, qword [rbp - 0x19]
cmp dword [rdi], 0
je 0x14000169d
nop dword [rax]
mov rdx, qword [rdi + 0x40]
test rdx, rdx
je 0x140001693
mov rax, r13
nop dword [rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [rsi + rax*2 - 2]
jne 0x140001693
cmp rax, 8
jne 0x140001650
mov eax, dword [rdi + 0x50]
mov dword [rbp - 0x29], eax
cmp rbx, r12
je 0x14000167b
mov dword [rbx], eax
add rbx, 4
mov qword [rbp - 0x19], rbx
jmp 0x140001693
lea r8, [rbp - 0x29]
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.1400019a0
mov r12, qword [rbp - 0x11]
mov rbx, qword [rbp - 0x19]
mov eax, dword [rdi]
add rdi, rax
cmp dword [rdi], 0
jne 0x140001640
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], r13
mov r15, qword [rbp - 0x21]
mov qword [rbp - 0x21], r13
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], r12
mov rdi, rbx
sub rdi, r15
mov qword [rbp - 0x29], rdi
mov r13, rdi
sar r13, 2
mov rax, r14
mov rcx, qword [rbp - 9]
sub rax, rcx
sar rax, 2
cmp r13, rax
je 0x140001755
jbe 0x140001783
mov rsi, r15
cmp r15, rbx
je 0x14000174e
nop dword [rax + rax]
mov edi, dword [rsi]
mov rax, rcx
cmp rcx, r14
je 0x14000170d
nop word [rax + rax]
cmp dword [rax], edi
je 0x14000170d
add rax, 4
cmp rax, r14
jne 0x140001700
cmp rax, r14
jne 0x140001741
mov edx, edi
lea rcx, str._t_NEW__new_process_detected___pid_:__d_n
call fcn.140001080
mov ecx, 4
call fcn.140008750
mov dword [rax], edi
mov r8, rax
xor edx, edx
lea rcx, [0x140001280]
call fcn.140006bfc
mov rcx, qword [rbp - 9]
add rsi, 4
cmp rsi, rbx
jne 0x1400016f0
mov rdi, qword [rbp - 0x29]
lea rsi, str.ROM.exe
mov rax, qword [rbp - 0x39]
mov rbx, qword [rbp - 9]
sub rax, rbx
sar rax, 2
cmp r13, rax
jbe 0x1400017cd
mov rdx, r13
lea rcx, [rbp - 9]
call fcn.140001b60
mov r13, qword [rbp + 7]
mov qword [rbp - 0x39], r13
mov rbx, qword [rbp - 9]
jmp 0x1400017d1
jae 0x140001755
mov rdi, rcx
cmp rcx, r14
je 0x1400017c7
nop dword [rax]
mov edx, dword [rdi]
mov rax, r15
cmp r15, rbx
je 0x1400017ad
nop word [rax + rax]
cmp dword [rax], edx
je 0x1400017ad
add rax, 4
cmp rax, rbx
jne 0x1400017a0
cmp rax, rbx
jne 0x1400017be
lea rcx, str._t_DEL__Process_with_pid__d_is_terminated._n
call fcn.140001080
add rdi, 4
cmp rdi, r14
jne 0x140001790
mov rdi, qword [rbp - 0x29]
jmp 0x140001755
mov r13, qword [rbp - 0x39]
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call fcn.140003840
lea r14, [rbx + rdi]
mov qword [rbp - 1], r14
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14000184e
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
test r15, r15
mov r13d, 0
je 0x1400015c0
sub r12, r15
and r12, 0xfffffffffffffffc
mov rax, r15
cmp r12, 0x1000
jb 0x14000183e
add r12, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001939
mov rdx, r12
mov rcx, r15
call fcn.140001e7c
jmp 0x1400015c0
test r15, r15
je 0x14000188f
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x140001887
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001939
mov rcx, r15
call fcn.140001e7c
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [0x14002c318]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
test rbx, rbx
je 0x1400018dd
sub r13, rbx
and r13, 0xfffffffffffffffc
mov rax, rbx
cmp r13, 0x1000
jb 0x1400018d2
add r13, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001933
mov rdx, r13
mov rcx, rbx
call fcn.140001e7c
mov rcx, qword [0x14002c308]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140001904
lea rcx, str.please_run_with_administrator_mode_n
call fcn.140001080
lea rcx, str.pause___nil
call fcn.140008354
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140001e20
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400086d8
nop
call fcn.1400086d8
nop
int3