Function at 0x1400c60c0
Capabilities:
Execute command
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x218
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x1be]
lea rcx, [0x140333130]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x47
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1be]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x60], rax
mov eax, 1
imul rax, rax, 0x46
mov rcx, qword [rsp + 0x60]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1400c6134
mov dword [rsp + 0x48], 1
jmp 0x1400c613c
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
movzx eax, al
test eax, eax
je 0x1400c61ac
mov dword [rsp + 0x24], 0
jmp 0x1400c6165
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x47
jge 0x1400c61ac
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, Ordinal_60
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x88]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx], al
jmp 0x1400c615b
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rdx, rax
lea rcx, [rsp + 0x148]
call fcn.1400979d0
nop
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x168]
lea rcx, [0x1403332d8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WLDAP32.dll_Ordinal_30
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x168]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rax
mov eax, 1
imul rax, rax, 0x1d
mov rcx, qword [rsp + 0x58]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1400c623c
mov dword [rsp + 0x4c], 1
jmp 0x1400c6244
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
movzx eax, al
test eax, eax
je 0x1400c62ae
mov dword [rsp + 0x28], 0
jmp 0x1400c626d
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x1e
jge 0x1400c62ae
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x28]
cdq
mov ecx, Ordinal_60
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x78]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rcx], al
jmp 0x1400c6263
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.1400979d0
nop
xor r8d, r8d
lea rdx, str.C:WindowsSeinFullES
lea rcx, [rsp + 0x108]
call fcn.1400d5cd0
nop
lea rcx, [rsp + 0x108]
call fcn.14009d1e0
nop
lea rcx, [rsp + 0x108]
call fcn.14009c740
nop
call fcn.14009fde0
movzx eax, al
test eax, eax
je 0x1400c6316
jmp 0x1400c635c
lea rcx, str.color_c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x148]
call fcn.140097930
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Error
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x186]
lea rcx, str.cwwkuh
mov rdi, rax
mov rsi, rcx
mov ecx, Ordinal_60
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x186]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x68], rax
mov eax, 2
imul rax, rax, 0x1b
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax]
test eax, eax
je 0x1400c63c6
mov dword [rsp + 0x50], 1
jmp 0x1400c63ce
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
movzx eax, al
test eax, eax
je 0x1400c6439
mov dword [rsp + 0x2c], 0
jmp 0x1400c63f7
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x1c
jge 0x1400c6439
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x2c]
cdq
mov ecx, Ordinal_60
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x7c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x68]
mov word [rdx + rcx*2], ax
jmp 0x1400c63ed
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, rax
call fcn.14009fd20
test rax, rax
je 0x1400c66dd
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140de8d78], eax
jle 0x1400c64c3
lea rcx, [0x140de8d78]
call fcn.140283e10
cmp dword [0x140de8d78], 0xffffffff
jne 0x1400c64c3
lea rcx, [0x14032f808]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140de8d88], rax
lea rcx, [0x140de8d78]
call fcn.140283da4
nop
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x54], 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 + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r9d, 0xff
mov r8, qword [rsp + 0x40]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x40], rax
mov rax, qword [0x140de8d88]
mov qword [rsp + 0xd0], rax
lea r9, [rsp + 0x34]
mov r8d, Ordinal_50
mov rdx, qword [rsp + 0x40]
mov ecx, 0x42
call qword [rsp + Ordinal_211]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x34]
add eax, 0x1f
mov eax, eax
mov qword [rsp + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0xe0], rax
mov r9, qword [rsp + 0xd8]
mov r8, qword [rsp + 0x40]
mov edx, 8
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x54], eax
mov rax, qword [0x140de8d88]
mov qword [rsp + 0xe8], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x40]
mov ecx, 0x42
call qword [rsp + 0xe8]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0
cmp qword [rsp + 0x90], 0
je 0x1400c66a8
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x30], 0
jmp 0x1400c661f
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x30], eax
jae 0x1400c66a8
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
and rax, 0xfffffffffffffffe
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
and rax, 1
test rax, rax
je 0x1400c66a3
mov rax, qword [rsp + 0x70]
cmp qword [rax + 8], 0x200000
jne 0x1400c66a3
cmp qword [rsp + 0x98], 0
jne 0x1400c66a3
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x10], 0x546e6f43
jne 0x1400c66a3
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x98], rax
jmp 0x1400c6615
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [0x140de8048], rax
mov rax, qword [0x140de8048]
mov qword [0x140de81d0], rax
call fcn.1400bd0b0
nop
jmp 0x1400c6723
lea rcx, str.color_c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x128]
call fcn.140097930
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Error
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0x128]
call fcn.140097940
nop
lea rcx, [rsp + 0x148]
call fcn.140097940
nop
add rsp, 0x218
pop rdi
pop rsi
ret