Function at 0x140012120
Capabilities:
Execute command
Set console window title

Disassembly:
sub rsp, 0x108
mov dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
lea rcx, str..exe
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140002b00
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0xa0]
call fcn.140002d40
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x2c], 0
jmp 0x140012193
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x2c], eax
jge 0x1400121c1
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, edx
inc eax
movzx edx, al
lea rcx, [rsp + 0xa0]
call fcn.140003550
jmp 0x140012189
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14000ca10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0xa0]
call fcn.140003320
call fcn.14000cab0
movzx eax, al
test eax, eax
je 0x140012203
jmp 0x140012213
call fcn.14000c720
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14005b054]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x1400b5c80]
call fcn.14000d040
call fcn.14000cab0
lea rcx, [0x14005b058]
call fcn.14000cb70
test eax, eax
je 0x1400124b6
lea rdx, str.___Process_Attach.
lea rcx, [rsp + 0xc0]
call fcn.140002b00
nop
mov edx, 0x12c
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Beep]
mov eax, 4
mov eax, eax
mov ecx, dword [0x1400b5d84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1400b5c78], eax
jle 0x1400122d4
lea rcx, [0x1400b5c78]
call fcn.140057ef4
cmp dword [0x1400b5c78], 0xffffffff
jne 0x1400122d4
lea rcx, [0x14005aae0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14005aac0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400b5c70], rax
lea rcx, [0x1400b5c78]
call fcn.140057e88
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r8d, r8d
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r9d, 0xff
mov r8, qword [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x30], rax
mov rax, qword [0x1400b5c70]
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0x24]
mov r8d, 0x30
mov rdx, qword [rsp + 0x30]
mov ecx, 0x42
call qword [rsp + 0x70]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x24]
add eax, 0x1f
mov eax, eax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x80], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x30]
mov edx, 8
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
mov rax, qword [0x1400b5c70]
mov qword [rsp + 0x88], rax
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x42
call qword [rsp + 0x88]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
cmp qword [rsp + 0x58], 0
je 0x14001247c
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x28], 0
jmp 0x1400123ff
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x28], eax
jae 0x14001247c
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
and rax, 0xfffffffffffffffe
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
and rax, 1
test rax, rax
je 0x140012477
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0x200000
jne 0x140012477
cmp qword [rsp + 0x60], 0
jne 0x140012477
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0x546e6f43
jne 0x140012477
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
jmp 0x1400123f5
mov rax, qword [rsp + 0x60]
mov qword [0x1400b58f8], rax
mov rax, qword [0x1400b58f8]
mov qword [0x1400b58f0], rax
call fcn.14000c3a0
mov qword [0x1400b59d8], rax
call fcn.14000f390
nop
lea rcx, [rsp + 0xc0]
call fcn.140003320
nop
lea rcx, [rsp + 0xe0]
call fcn.140003320
xor eax, eax
add rsp, 0x108
ret