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

Disassembly:
push rdi
sub rsp, 0x6c0
mov rax, qword [0x140040040]
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.140031350
mov rcx, rax
call fcn.14002a9a0
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.14001f060
nop
lea rcx, [rsp + 0x128]
call fcn.140029930
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x128]
call fcn.14001f030
cmp qword [rsp + 0x90], 0
je 0x140029f0f
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.140031480
mov rcx, rax
call fcn.14002b1f0
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.1400313d0
mov rcx, rax
call fcn.14002c790
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.140031480
mov rcx, rax
call fcn.14002b1f0
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.1400314d0
mov rcx, rax
call fcn.14002c370
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 0x14002a91c
mov dword [rsp + 0x590], 0x114
lea rcx, [rsp + 0x590]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
cmp dword [rsp + 0x594], 0xb
je 0x14002a02f
cmp dword [rsp + 0x594], 0xa
jne 0x14002a313
xor edx, edx
lea rcx, [rsp + 0x504]
call fcn.1400292a0
call fcn.140029520
mov byte [rsp + 0x20], al
lea rdx, [0x140037c18]
lea rcx, [rsp + 0x520]
call fcn.14001f060
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14002a0dd
cmp dword [rsp + 0x504], 0
je 0x14002a0dd
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.1400315b0
mov rcx, rax
call fcn.14002ba30
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.14002e940
jmp 0x14002a1c4
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14002a151
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.140031790
mov rcx, rax
call fcn.14002b300
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.14002e940
jmp 0x14002a1c4
cmp dword [rsp + 0x504], 0
je 0x14002a1c4
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.140031900
mov rcx, rax
call fcn.14002b300
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.14002e940
lea rdx, str.none
lea rcx, [rsp + 0x520]
call fcn.140031a70
movzx eax, al
test eax, eax
je 0x14002a306
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.140031480
mov rcx, rax
call fcn.14002b1f0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x520]
call fcn.14001eea0
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 0x14002a2fd
call fcn.1400296e0
mov edx, 1
lea rcx, [rsp + 0x504]
call fcn.1400292a0
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.140031ab0
mov rcx, rax
call fcn.14002a9a0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x14002a306
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0x520]
call fcn.14001f030
mov edx, 0x18
lea rcx, [rsp + 0x508]
call fcn.14001b210
lea rcx, [rsp + 0x508]
call fcn.14001b1c0
nop
lea rdx, [rsp + 0x508]
lea rcx, [0x140040df8]
call fcn.140029850
lea rcx, [rsp + 0x508]
call fcn.14002d200
test rax, rax
jne 0x14002a45b
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.140031480
mov rcx, rax
call fcn.14002b1f0
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.140031b30
mov rcx, rax
call fcn.14002b1f0
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.14001b070
mov eax, dword [rsp + 0x70]
jmp 0x14002a922
mov edx, 0x48
lea rcx, [rsp + 0x540]
call fcn.14001b210
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x508]
mov rcx, qword [rsp + 0xd8]
call fcn.14002d340
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x540]
call fcn.14001a570
nop
call fcn.140029190
movzx eax, al
test eax, eax
jne 0x14002a5cc
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.140031480
mov rcx, rax
call fcn.14002b1f0
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.140031b80
mov rcx, rax
call fcn.14002b1f0
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.14002a970
nop
lea rcx, [rsp + 0x508]
call fcn.14001b070
mov eax, dword [rsp + 0x64]
jmp 0x14002a922
lea rcx, [rsp + 0x500]
call fcn.14001d950
lea rcx, [0x140038080]
call fcn.140027520
mov eax, dword [rax + 4]
mov dword [rsp + 0x60], eax
mov r8d, dword [rsp + 0x60]
lea rdx, [0x140040e18]
lea rcx, [rsp + 0x500]
call fcn.14001e010
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.140031bd0
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x540]
call fcn.14001ac30
lea rcx, [rsp + 0x540]
call fcn.14001a680
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.140031480
mov rcx, rax
call fcn.14002b1f0
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.140031c10
mov rcx, rax
call fcn.14002c790
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 0x14002a901
lea rcx, [rsp + 0x540]
call fcn.14001a640
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x500]
call fcn.14001e520
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x540]
call fcn.14001aa80
lea rcx, [rsp + 0x540]
call fcn.14001a640
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x540]
call fcn.14001ae20
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.14001e650
lea rcx, [rsp + 0x540]
call fcn.14001a660
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x540]
call fcn.14001a640
mov r9, rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x500]
call fcn.140031cc0
test eax, eax
jne 0x14002a901
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.140031ef0
mov rcx, rax
call fcn.14002a9a0
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.140031db0
mov rcx, rax
call fcn.14002abc0
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.14002a970
nop
lea rcx, [rsp + 0x508]
call fcn.14001b070
jmp 0x14002a920
xor eax, eax
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.140034c30
add rsp, 0x6c0
pop rdi
ret