Function at 0x140020930
Capabilities:
Check os version
Execute command
Terminate process

Disassembly:
push rdi
sub rsp, 0x670
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rsp + 0x660], 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 + 0x110]
call fcn.140027a10
mov rcx, rax
call fcn.140021e30
mov qword [rsp + 0x88], rax
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 + 0x2b0]
call fcn.1400278a0
mov rcx, rax
call fcn.140022160
mov qword [rsp + 0x90], rax
mov r9d, 0x21
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 1
jne 0x140021359
mov dword [rsp + 0x540], 0x114
lea rcx, [rsp + 0x540]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
cmp dword [rsp + 0x544], 0xb
jne 0x140020d56
xor edx, edx
lea rcx, [rsp + 0x4b4]
call fcn.1400202a0
call fcn.140020520
mov byte [rsp + 0x20], al
lea rdx, [0x14002eb60]
lea rcx, [rsp + 0x4d0]
call fcn.140016060
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140020b20
cmp dword [rsp + 0x4b4], 0
je 0x140020b20
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 + 0x410]
call fcn.140027a60
mov rcx, rax
call fcn.1400230d0
mov rdx, rax
lea rcx, [rsp + 0x4d0]
call fcn.1400257b0
jmp 0x140020c07
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140020b94
lea rax, [rsp + 0x21]
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 + 0x2d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x21]
movzx r8d, byte [rsp + 0x2c]
movzx edx, byte [rsp + 0x2d]
lea rcx, [rsp + 0x390]
call fcn.140027c70
mov rcx, rax
call fcn.140022890
mov rdx, rax
lea rcx, [rsp + 0x4d0]
call fcn.1400257b0
jmp 0x140020c07
cmp dword [rsp + 0x4b4], 0
je 0x140020c07
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 + 0x320]
call fcn.140027e10
mov rcx, rax
call fcn.140022160
mov rdx, rax
lea rcx, [rsp + 0x4d0]
call fcn.1400257b0
lea rdx, str.none
lea rcx, [rsp + 0x4d0]
call fcn.140027f80
movzx eax, al
test eax, eax
je 0x140020d49
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 + 0x120]
call fcn.140027a10
mov rcx, rax
call fcn.140021e30
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x4d0]
call fcn.140015ea0
mov qword [rsp + 0x80], rax
mov r9d, 0x24
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 6
jne 0x140020d40
call fcn.1400206e0
mov edx, 1
lea rcx, [rsp + 0x4b4]
call fcn.1400202a0
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 + 0x2b]
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 + 0x2b]
lea rcx, [rsp + 0x1b0]
call fcn.140027fc0
mov rcx, rax
call fcn.140021f40
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140020d49
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0x4d0]
call fcn.140016030
mov edx, 0x18
lea rcx, [rsp + 0x4b8]
call fcn.140012210
lea rcx, [rsp + 0x4b8]
call fcn.1400121c0
nop
lea rdx, [rsp + 0x4b8]
lea rcx, [0x140037df8]
call fcn.140020850
lea rcx, [rsp + 0x4b8]
call fcn.140024070
test rax, rax
jne 0x140020e9e
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 + 0x130]
call fcn.140027a10
mov rcx, rax
call fcn.140021e30
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x3a]
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 + 0x3a]
movzx r8d, byte [rsp + 0x3b]
movzx edx, byte [rsp + 0x3c]
lea rcx, [rsp + 0x140]
call fcn.140028040
mov rcx, rax
call fcn.140021e30
mov qword [rsp + 0xb0], rax
mov r9d, 0x10
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x68], 0xffffffff
lea rcx, [rsp + 0x4b8]
call fcn.140012070
mov eax, dword [rsp + 0x68]
jmp 0x14002135f
mov edx, 0x48
lea rcx, [rsp + 0x4f0]
call fcn.140012210
lea rax, [rsp + 0x190]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x4b8]
mov rcx, qword [rsp + 0xb8]
call fcn.1400241b0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x4f0]
call fcn.140011570
nop
call fcn.140020190
movzx eax, al
test eax, eax
jne 0x14002100f
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 + 0x150]
call fcn.140027a10
mov rcx, rax
call fcn.140021e30
mov qword [rsp + 0xc8], rax
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 + 0x160]
call fcn.140028090
mov rcx, rax
call fcn.140021e30
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 + 0x58], 0xffffffff
lea rcx, [rsp + 0x4f0]
call fcn.1400213b0
nop
lea rcx, [rsp + 0x4b8]
call fcn.140012070
mov eax, dword [rsp + 0x58]
jmp 0x14002135f
lea rcx, [rsp + 0x4b0]
call fcn.140014950
lea rcx, [0x14002ef90]
call fcn.14001e520
mov eax, dword [rax + 4]
mov dword [rsp + 0x5c], eax
mov r8d, dword [rsp + 0x5c]
lea rdx, [0x140037e18]
lea rcx, [rsp + 0x4b0]
call fcn.140015010
lea rax, [rsp + 0x4b1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x4b1]
mov rcx, qword [rsp + 0xd8]
call fcn.1400280e0
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x4f0]
call fcn.140011c30
lea rcx, [rsp + 0x4f0]
call fcn.140011680
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
lea rax, [rsp + 0x46]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x44]
movzx r8d, byte [rsp + 0x45]
movzx edx, byte [rsp + 0x46]
lea rcx, [rsp + 0x170]
call fcn.140027a10
mov rcx, rax
call fcn.140021e30
mov qword [rsp + 0xe8], rax
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
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x47]
movzx r8d, byte [rsp + 0x48]
movzx edx, byte [rsp + 0x49]
lea rcx, [rsp + 0x210]
call fcn.140028120
mov rcx, rax
call fcn.140021a10
mov qword [rsp + 0xf0], rax
mov r9d, 0x40
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x14002133e
lea rcx, [rsp + 0x4f0]
call fcn.140011640
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x4b0]
call fcn.140015520
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x4f0]
call fcn.140011a80
lea rcx, [rsp + 0x4f0]
call fcn.140011640
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x4f0]
call fcn.140011e20
mov qword [rsp + 0x100], rax
mov r9, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x4b0]
call fcn.140015650
lea rcx, [rsp + 0x4f0]
call fcn.140011660
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x4f0]
call fcn.140011640
mov r9, rax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x4b0]
call fcn.140028200
test eax, eax
jne 0x14002133e
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
lea rax, [rsp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x4a]
movzx r8d, byte [rsp + 0x4b]
movzx edx, byte [rsp + 0x4c]
lea rcx, [rsp + 0x180]
call fcn.140027a10
mov rcx, rax
call fcn.140021e30
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x4d]
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
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x4d]
movzx r8d, byte [rsp + 0x36]
movzx edx, byte [rsp + 0x43]
lea rcx, [rsp + 0x250]
call fcn.1400282f0
mov rcx, rax
call fcn.1400213e0
mov qword [rsp + 0xa0], rax
mov r9d, 0x40
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rsp + 0x4f0]
call fcn.1400213b0
nop
lea rcx, [rsp + 0x4b8]
call fcn.140012070
jmp 0x14002135d
xor eax, eax
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.14002b0f0
add rsp, 0x670
pop rdi
ret