Function at 0x14002ff50
Capabilities:
Check os version
Execute command
Hide graphical window
Terminate process

Disassembly:
push rdi
sub rsp, 0x740
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x730], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x22]
movzx r8d, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x24]
lea rcx, [rsp + 0x1e0]
call fcn.140038530
mov rcx, rax
call fcn.140031ab0
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.140024bc0
nop
lea rcx, [rsp + 0x118]
call fcn.14002fb20
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x118]
call fcn.140024b90
cmp qword [rsp + 0x90], 0
je 0x1400300ff
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x25]
movzx r8d, byte [rsp + 0x26]
movzx edx, byte [rsp + 0x27]
lea rcx, [rsp + 0x140]
call fcn.140038660
mov rcx, rax
call fcn.1400319a0
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x28]
movzx r8d, byte [rsp + 0x29]
movzx edx, byte [rsp + 0x2a]
lea rcx, [rsp + 0x220]
call fcn.1400385b0
mov rcx, rax
call fcn.140031680
mov qword [rsp + 0xa0], rax
mov r9d, 0x10
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rax, [rsp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x2b]
movzx r8d, byte [rsp + 0x2c]
movzx edx, byte [rsp + 0x21]
lea rcx, [rsp + 0x150]
call fcn.140038660
mov rcx, rax
call fcn.1400319a0
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x2e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x2e]
movzx r8d, byte [rsp + 0x2f]
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x430]
call fcn.1400386b0
mov rcx, rax
call fcn.140032d40
mov qword [rsp + 0xb0], rax
mov r9d, 0x21
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 1
jne 0x140030a96
mov dword [rsp + 0x610], 0x114
lea rcx, [rsp + 0x610]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
cmp dword [rsp + 0x614], 0xb
je 0x14003021f
cmp dword [rsp + 0x614], 0xa
jne 0x140030503
xor edx, edx
lea rcx, [rsp + 0x584]
call fcn.14002f490
call fcn.14002f710
mov byte [rsp + 0x20], al
lea rdx, [0x14003ea28]
lea rcx, [rsp + 0x5a0]
call fcn.140024bc0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400302cd
cmp dword [rsp + 0x584], 0
je 0x1400302cd
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x31]
movzx r8d, byte [rsp + 0x32]
movzx edx, byte [rsp + 0x33]
lea rcx, [rsp + 0x3a0]
call fcn.1400388c0
mov rcx, rax
call fcn.140032400
mov rdx, rax
lea rcx, [rsp + 0x5a0]
call fcn.140035bf0
jmp 0x1400303b4
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140030341
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x34]
movzx r8d, byte [rsp + 0x35]
movzx edx, byte [rsp + 0x36]
lea rcx, [rsp + 0x2c0]
call fcn.140038aa0
mov rcx, rax
call fcn.140031cd0
mov rdx, rax
lea rcx, [rsp + 0x5a0]
call fcn.140035bf0
jmp 0x1400303b4
cmp dword [rsp + 0x584], 0
je 0x1400303b4
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x37]
movzx r8d, byte [rsp + 0x38]
movzx edx, byte [rsp + 0x39]
lea rcx, [rsp + 0x330]
call fcn.140038c10
mov rcx, rax
call fcn.140031cd0
mov rdx, rax
lea rcx, [rsp + 0x5a0]
call fcn.140035bf0
lea rdx, str.none
lea rcx, [rsp + 0x5a0]
call fcn.140038d80
movzx eax, al
test eax, eax
je 0x1400304f6
lea rax, [rsp + 0x2d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x2d]
movzx r8d, byte [rsp + 0x3b]
movzx edx, byte [rsp + 0x3c]
lea rcx, [rsp + 0x160]
call fcn.140038660
mov rcx, rax
call fcn.1400319a0
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x5a0]
call fcn.140024a00
mov qword [rsp + 0xc0], rax
mov r9d, 0x24
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 6
jne 0x1400304ed
call fcn.14002f8d0
mov edx, 1
lea rcx, [rsp + 0x584]
call fcn.14002f490
lea rax, [rsp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x3d]
movzx r8d, byte [rsp + 0x3e]
movzx edx, byte [rsp + 0x3f]
lea rcx, [rsp + 0x200]
call fcn.140038dc0
mov rcx, rax
call fcn.140031ab0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400304f6
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0x5a0]
call fcn.140024b90
mov edx, 0x18
lea rcx, [rsp + 0x588]
call fcn.140020210
lea rcx, [rsp + 0x588]
call fcn.1400201c0
nop
lea rdx, [rsp + 0x588]
lea rcx, [0x140047df0]
call fcn.14002fa40
lea rcx, [rsp + 0x588]
call fcn.140034510
test rax, rax
jne 0x14003064b
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x40]
movzx r8d, byte [rsp + 0x41]
movzx edx, byte [rsp + 0x42]
lea rcx, [rsp + 0x170]
call fcn.140038660
mov rcx, rax
call fcn.1400319a0
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x43]
movzx r8d, byte [rsp + 0x44]
movzx edx, byte [rsp + 0x45]
lea rcx, [rsp + 0x180]
call fcn.140038e40
mov rcx, rax
call fcn.1400319a0
mov qword [rsp + 0xd0], rax
mov r9d, 0x10
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x70], 0xffffffff
lea rcx, [rsp + 0x588]
call fcn.140020070
mov eax, dword [rsp + 0x70]
jmp 0x140030a9c
mov edx, 0x48
lea rcx, [rsp + 0x5c0]
call fcn.140020210
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x588]
mov rcx, qword [rsp + 0xd8]
call fcn.140034650
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x5c0]
call fcn.14001f570
nop
call fcn.14002f3a0
movzx eax, al
test eax, eax
jne 0x1400307bc
lea rax, [rsp + 0x46]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x47]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x46]
movzx r8d, byte [rsp + 0x47]
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x190]
call fcn.140038660
mov rcx, rax
call fcn.1400319a0
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x4a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x4b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x49]
movzx r8d, byte [rsp + 0x4a]
movzx edx, byte [rsp + 0x4b]
lea rcx, [rsp + 0x1a0]
call fcn.140038e90
mov rcx, rax
call fcn.1400319a0
mov qword [rsp + 0xf0], rax
mov r9d, 0x10
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x60], 0xffffffff
lea rcx, [rsp + 0x5c0]
call fcn.140030af0
nop
lea rcx, [rsp + 0x588]
call fcn.140020070
mov eax, dword [rsp + 0x60]
jmp 0x140030a9c
lea rcx, [rsp + 0x580]
call fcn.140022970
lea rcx, [0x14003ee40]
call fcn.14002d7c0
mov eax, dword [rax + 4]
mov dword [rsp + 0x64], eax
mov r8d, dword [rsp + 0x64]
lea rdx, [0x140047e10]
lea rcx, [rsp + 0x580]
call fcn.140023100
lea rax, [rsp + 0x581]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x280]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x581]
mov rcx, qword [rsp + 0xf8]
call fcn.140038ee0
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x5c0]
call fcn.14001fc30
lea rcx, [rsp + 0x5c0]
call fcn.14001f680
lea rax, [rsp + 0x4d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x4e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x4f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x4d]
movzx r8d, byte [rsp + 0x4e]
movzx edx, byte [rsp + 0x4f]
lea rcx, [rsp + 0x1b0]
call fcn.140038fd0
mov rcx, rax
call fcn.1400319a0
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x50]
movzx r8d, byte [rsp + 0x51]
movzx edx, byte [rsp + 0x52]
lea rcx, [rsp + 0x250]
call fcn.140038f20
mov rcx, rax
call fcn.140031680
mov qword [rsp + 0x110], rax
mov r9d, 0x40
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x110]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x140030a7b
lea rcx, [rsp + 0x5c0]
call fcn.14001f640
mov rdx, rax
lea rcx, [rsp + 0x580]
call fcn.140023950
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x5c0]
call fcn.14001fa80
lea rcx, [rsp + 0x5c0]
call fcn.14001f640
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x5c0]
call fcn.14001fe20
mov qword [rsp + 0x80], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x580]
call fcn.140023c20
lea rcx, [rsp + 0x5c0]
call fcn.14001f660
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x5c0]
call fcn.14001f640
mov r9, rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x580]
call fcn.140039020
test eax, eax
jne 0x140030a7b
lea rax, [rsp + 0x53]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x53]
movzx r8d, byte [rsp + 0x3a]
movzx edx, byte [rsp + 0x4c]
lea rcx, [rsp + 0x4d0]
call fcn.140039160
mov rcx, rax
call fcn.140030b20
mov r9d, 0x40
lea r8, [0x14003e9db]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rsp + 0x5c0]
call fcn.140030af0
nop
lea rcx, [rsp + 0x588]
call fcn.140020070
jmp 0x140030a9a
xor eax, eax
mov rcx, qword [rsp + 0x730]
xor rcx, rsp
call fcn.14003bf00
add rsp, 0x740
pop rdi
ret