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

Disassembly:
push rdi
sub rsp, 0x6c0
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rsp + 0x6b0], 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.140028350
mov rcx, rax
call fcn.1400219a0
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.140016060
nop
lea rcx, [rsp + 0x128]
call fcn.140020930
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x128]
call fcn.140016030
cmp qword [rsp + 0x90], 0
je 0x140020f0f
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.140028480
mov rcx, rax
call fcn.1400221f0
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.1400283d0
mov rcx, rax
call fcn.140023790
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.140028480
mov rcx, rax
call fcn.1400221f0
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 + 0x2b0]
call fcn.1400284d0
mov rcx, rax
call fcn.140023370
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 0x14002191c
mov dword [rsp + 0x590], 0x114
lea rcx, [rsp + 0x590]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
cmp dword [rsp + 0x594], 0xb
je 0x14002102f
cmp dword [rsp + 0x594], 0xa
jne 0x140021313
xor edx, edx
lea rcx, [rsp + 0x504]
call fcn.1400202a0
call fcn.140020520
mov byte [rsp + 0x20], al
lea rdx, [0x14002ec18]
lea rcx, [rsp + 0x520]
call fcn.140016060
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400210dd
cmp dword [rsp + 0x504], 0
je 0x1400210dd
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 + 0x470]
call fcn.1400285b0
mov rcx, rax
call fcn.140022a30
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.140025940
jmp 0x1400211c4
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140021151
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 + 0x390]
call fcn.140028790
mov rcx, rax
call fcn.140022300
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.140025940
jmp 0x1400211c4
cmp dword [rsp + 0x504], 0
je 0x1400211c4
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 + 0x400]
call fcn.140028900
mov rcx, rax
call fcn.140022300
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.140025940
lea rdx, str.none
lea rcx, [rsp + 0x520]
call fcn.140028a70
movzx eax, al
test eax, eax
je 0x140021306
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.140028480
mov rcx, rax
call fcn.1400221f0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x520]
call fcn.140015ea0
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 0x1400212fd
call fcn.1400206e0
mov edx, 1
lea rcx, [rsp + 0x504]
call fcn.1400202a0
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.140028ab0
mov rcx, rax
call fcn.1400219a0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140021306
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0x520]
call fcn.140016030
mov edx, 0x18
lea rcx, [rsp + 0x508]
call fcn.140012210
lea rcx, [rsp + 0x508]
call fcn.1400121c0
nop
lea rdx, [rsp + 0x508]
lea rcx, [0x140037df8]
call fcn.140020850
lea rcx, [rsp + 0x508]
call fcn.140024200
test rax, rax
jne 0x14002145b
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.140028480
mov rcx, rax
call fcn.1400221f0
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.140028b30
mov rcx, rax
call fcn.1400221f0
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 + 0x508]
call fcn.140012070
mov eax, dword [rsp + 0x70]
jmp 0x140021922
mov edx, 0x48
lea rcx, [rsp + 0x540]
call fcn.140012210
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x508]
mov rcx, qword [rsp + 0xd8]
call fcn.140024340
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x540]
call fcn.140011570
nop
call fcn.140020190
movzx eax, al
test eax, eax
jne 0x1400215cc
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.140028480
mov rcx, rax
call fcn.1400221f0
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.140028b80
mov rcx, rax
call fcn.1400221f0
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 + 0x540]
call fcn.140021970
nop
lea rcx, [rsp + 0x508]
call fcn.140012070
mov eax, dword [rsp + 0x64]
jmp 0x140021922
lea rcx, [rsp + 0x500]
call fcn.140014950
lea rcx, [0x14002f080]
call fcn.14001e520
mov eax, dword [rax + 4]
mov dword [rsp + 0x60], eax
mov r8d, dword [rsp + 0x60]
lea rdx, [0x140037e18]
lea rcx, [rsp + 0x500]
call fcn.140015010
lea rax, [rsp + 0x501]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x501]
mov rcx, qword [rsp + 0xf8]
call fcn.140028bd0
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x540]
call fcn.140011c30
lea rcx, [rsp + 0x540]
call fcn.140011680
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.140028480
mov rcx, rax
call fcn.1400221f0
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 + 0x280]
call fcn.140028c10
mov rcx, rax
call fcn.140023790
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 0x140021901
lea rcx, [rsp + 0x540]
call fcn.140011640
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x500]
call fcn.140015520
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x540]
call fcn.140011a80
lea rcx, [rsp + 0x540]
call fcn.140011640
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x540]
call fcn.140011e20
mov qword [rsp + 0x120], rax
mov r9, qword [rsp + 0x118]
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x500]
call fcn.140015650
lea rcx, [rsp + 0x540]
call fcn.140011660
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x540]
call fcn.140011640
mov r9, rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x500]
call fcn.140028cc0
test eax, eax
jne 0x140021901
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.140028ef0
mov rcx, rax
call fcn.1400219a0
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 + 0x330]
call fcn.140028db0
mov rcx, rax
call fcn.140021bc0
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 + 0x540]
call fcn.140021970
nop
lea rcx, [rsp + 0x508]
call fcn.140012070
jmp 0x140021920
xor eax, eax
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.14002bc30
add rsp, 0x6c0
pop rdi
ret