Function at 0x1400122b0
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.140002b10
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.140002d50
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x2c], 0
jmp 0x140012323
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x2c], eax
jge 0x140012351
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.140003560
jmp 0x140012319
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14000ca30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0xa0]
call fcn.140003330
call fcn.14000cad0
movzx eax, al
test eax, eax
je 0x140012393
jmp 0x1400123a3
call fcn.14000c740
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.14000d060
call fcn.14000cad0
lea rcx, [0x14005b058]
call fcn.14000cb90
test eax, eax
je 0x140012646
lea rdx, str.___Process_Attach.
lea rcx, [rsp + 0xc0]
call fcn.140002b10
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 0x140012464
lea rcx, [0x1400b5c78]
call fcn.140058084
cmp dword [0x1400b5c78], 0xffffffff
jne 0x140012464
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.140058018
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 0x14001260c
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x28], 0
jmp 0x14001258f
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x28], eax
jae 0x14001260c
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 0x140012607
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0x200000
jne 0x140012607
cmp qword [rsp + 0x60], 0
jne 0x140012607
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0x546e6f43
jne 0x140012607
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
jmp 0x140012585
mov rax, qword [rsp + 0x60]
mov qword [0x1400b58f8], rax
mov rax, qword [0x1400b58f8]
mov qword [0x1400b58f0], rax
call fcn.14000c3c0
mov qword [0x1400b59d8], rax
call fcn.14000f3b0
nop
lea rcx, [rsp + 0xc0]
call fcn.140003330
nop
lea rcx, [rsp + 0xe0]
call fcn.140003330
xor eax, eax
add rsp, 0x108
ret