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

Disassembly:
push rdi
sub rsp, 0x6d0
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x6c0], 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 + 0x1f0]
call fcn.140030350
mov rcx, rax
call fcn.1400299a0
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.14001e060
nop
lea rcx, [rsp + 0x128]
call fcn.140028930
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x128]
call fcn.14001e030
cmp qword [rsp + 0x90], 0
je 0x140028f0f
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 + 0x150]
call fcn.140030480
mov rcx, rax
call fcn.14002a610
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 + 0x250]
call fcn.1400303d0
mov rcx, rax
call fcn.14002b790
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 + 0x160]
call fcn.140030480
mov rcx, rax
call fcn.14002a610
mov qword [rsp + 0xa8], 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 + 0x2c0]
call fcn.1400304d0
mov rcx, rax
call fcn.14002a1f0
mov qword [rsp + 0xb0], rax
mov r9d, 0x21
mov r8, qword [rsp + 0xa8]
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 0x14002991c
mov dword [rsp + 0x5a0], 0x114
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
cmp dword [rsp + 0x5a4], 0xb
je 0x14002902f
cmp dword [rsp + 0x5a4], 0xa
jne 0x140029313
xor edx, edx
lea rcx, [rsp + 0x514]
call fcn.1400282a0
call fcn.140028520
mov byte [rsp + 0x20], al
lea rdx, [0x140036c18]
lea rcx, [rsp + 0x530]
call fcn.14001e060
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400290dd
cmp dword [rsp + 0x514], 0
je 0x1400290dd
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 + 0x480]
call fcn.1400305b0
mov rcx, rax
call fcn.14002ae50
mov rdx, rax
lea rcx, [rsp + 0x530]
call fcn.14002d940
jmp 0x1400291c4
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140029151
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 + 0x3a0]
call fcn.140030790
mov rcx, rax
call fcn.14002a720
mov rdx, rax
lea rcx, [rsp + 0x530]
call fcn.14002d940
jmp 0x1400291c4
cmp dword [rsp + 0x514], 0
je 0x1400291c4
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 + 0x410]
call fcn.140030900
mov rcx, rax
call fcn.14002a720
mov rdx, rax
lea rcx, [rsp + 0x530]
call fcn.14002d940
lea rdx, str.none
lea rcx, [rsp + 0x530]
call fcn.140030a70
movzx eax, al
test eax, eax
je 0x140029306
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 + 0x170]
call fcn.140030480
mov rcx, rax
call fcn.14002a610
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x530]
call fcn.14001dea0
mov qword [rsp + 0xc0], rax
mov r9d, 0x24
mov r8, qword [rsp + 0x88]
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 0x1400292fd
call fcn.1400286e0
mov edx, 1
lea rcx, [rsp + 0x514]
call fcn.1400282a0
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 + 0x210]
call fcn.140030ab0
mov rcx, rax
call fcn.1400299a0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140029306
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0x530]
call fcn.14001e030
mov edx, 0x18
lea rcx, [rsp + 0x518]
call fcn.14001a210
lea rcx, [rsp + 0x518]
call fcn.14001a1c0
nop
lea rdx, [rsp + 0x518]
lea rcx, [0x14003fdf8]
call fcn.140028850
lea rcx, [rsp + 0x518]
call fcn.14002c200
test rax, rax
jne 0x14002945b
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 + 0x180]
call fcn.140030480
mov rcx, rax
call fcn.14002a610
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 + 0x190]
call fcn.140030b30
mov rcx, rax
call fcn.14002a610
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 + 0x518]
call fcn.14001a070
mov eax, dword [rsp + 0x70]
jmp 0x140029922
mov edx, 0x48
lea rcx, [rsp + 0x550]
call fcn.14001a210
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x518]
mov rcx, qword [rsp + 0xd8]
call fcn.14002c340
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x550]
call fcn.140019570
nop
call fcn.140028190
movzx eax, al
test eax, eax
jne 0x1400295cc
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 + 0x1a0]
call fcn.140030480
mov rcx, rax
call fcn.14002a610
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 + 0x1b0]
call fcn.140030b80
mov rcx, rax
call fcn.14002a610
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 + 0x64], 0xffffffff
lea rcx, [rsp + 0x550]
call fcn.140029970
nop
lea rcx, [rsp + 0x518]
call fcn.14001a070
mov eax, dword [rsp + 0x64]
jmp 0x140029922
lea rcx, [rsp + 0x510]
call fcn.14001c950
lea rcx, [0x140037070]
call fcn.140026520
mov eax, dword [rax + 4]
mov dword [rsp + 0x60], eax
mov r8d, dword [rsp + 0x60]
lea rdx, [0x14003fe18]
lea rcx, [rsp + 0x510]
call fcn.14001d010
lea rax, [rsp + 0x511]
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 + 0x511]
mov rcx, qword [rsp + 0xf8]
call fcn.140030bd0
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x550]
call fcn.140019c30
lea rcx, [rsp + 0x550]
call fcn.140019680
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 + 0x1c0]
call fcn.140030480
mov rcx, rax
call fcn.14002a610
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 + 0x300]
call fcn.140030c10
mov rcx, rax
call fcn.14002a1f0
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 0x140029901
lea rcx, [rsp + 0x550]
call fcn.140019640
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x510]
call fcn.14001d520
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x550]
call fcn.140019a80
lea rcx, [rsp + 0x550]
call fcn.140019640
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x550]
call fcn.140019e20
mov qword [rsp + 0x120], rax
mov r9, qword [rsp + 0x118]
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x510]
call fcn.14001d650
lea rcx, [rsp + 0x550]
call fcn.140019660
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x550]
call fcn.140019640
mov r9, rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x510]
call fcn.140030cf0
test eax, eax
jne 0x140029901
lea rax, [rsp + 0x53]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x55]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x53]
movzx r8d, byte [rsp + 0x54]
movzx edx, byte [rsp + 0x55]
lea rcx, [rsp + 0x230]
call fcn.140030f20
mov rcx, rax
call fcn.1400299a0
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x56]
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 + 0x56]
movzx r8d, byte [rsp + 0x3a]
movzx edx, byte [rsp + 0x4c]
lea rcx, [rsp + 0x340]
call fcn.140030de0
mov rcx, rax
call fcn.140029bc0
mov qword [rsp + 0xb8], rax
mov r9d, 0x40
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0xb8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rsp + 0x550]
call fcn.140029970
nop
lea rcx, [rsp + 0x518]
call fcn.14001a070
jmp 0x140029920
xor eax, eax
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.140033c60
add rsp, 0x6d0
pop rdi
ret