Function at 0x1400033b4
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400150f8]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r14, rdx
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetVersion]
nop dword [rax + rax]
xor r12d, r12d
mov r15d, 1
test eax, eax
js 0x14000344c
cmp al, 6
jb 0x14000344c
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x14000344c
lea rdx, str.HeapSetInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x14000344c
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [vtable._SH_.0]
mov ecx, r15d
call fcn.14000eb28
xor r9d, r9d
mov rcx, rax
xor edx, edx
lea ebx, [r9 + 4]
mov r8d, ebx
call qword [sym.imp.msvcrt.dll_setvbuf]
nop dword [rax + rax]
lea ecx, [rbx - 2]
call fcn.14000eb28
mov rcx, rax
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call qword [sym.imp.msvcrt.dll_setvbuf]
nop dword [rax + rax]
mov ecx, 0xc48
mov dword [rbp + 0x130], r12d
mov byte [rsp + 0x30], r12b
mov dword [rbp + 0x150], r12d
mov qword [rbp + 0x158], r12
mov qword [rbp + 0x138], r12
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400034f5
lea rdx, str.Could_not_allocate_SESSION
lea rcx, [rsp + 0x30]
call fcn.1400081b0
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.140007530
mov ecx, r15d
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
mov edx, 0x20
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
lea rcx, [rax + 0x9dc]
mov qword [rax + 0xa0], r12
mov qword [rax + 0xc8], r12
lea r8d, [rdx + 0x2f]
mov qword [rax + 0xd0], r12
mov dword [rax + 0x20], r12d
mov qword [rax + 0x18], r12
mov dword [rax + 0x50], r12d
mov qword [rax + 0x58], r12
mov qword [rax + 0x70], r12
mov dword [rax + 0x80], r12d
mov dword [rax + 0x6c], r12d
mov qword [rax + 0x88], r12
mov word [rax + 0x9c], r12w
mov byte [rax + 0xb2c], r12b
mov dword [rax + 0xc40], r12d
call sub.msvcrt.dll_memset
or rax, 0xffffffffffffffff
mov byte [rdi + 0xa2b], r12b
mov dword [rdi + 0x30], eax
lea rbx, [rdi + 0x1dc]
mov qword [rdi + 0xa8], rax
lea r9, [0x140010c00]
mov qword [rdi + 0xb0], rax
lea r8, str.Cabinet_Maker___Lossless_Data_Compression_Tool_n_n
lea rax, [0x140011254]
mov dword [rdi], r12d
mov edx, 0x800
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov qword [rdi + 0x24], r12
mov dword [rdi + 0x2c], r12d
mov qword [rdi + 0x48], r12
mov qword [rdi + 0x78], r12
mov dword [rdi + 0x84], r12d
mov dword [rdi + 0xd8], r12d
mov qword [rdi + 0x34], r12
mov qword [rdi + 0x3c], r12
mov dword [rdi + 0xb8], r15d
mov qword [rdi + 0xbc], r15
call fcn.14000cd08
mov rdx, rbx
lea rcx, [0x140010c00]
call qword [sym.imp.msvcrt.dll_printf]
nop dword [rax + rax]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400011fc
test rax, rax
je 0x140003671
lea r9, [rsp + 0x30]
mov qword [rdi + 0x10], rax
mov r8, r14
mov edx, esi
mov rcx, rdi
call fcn.140007084
test eax, eax
je 0x140003671
cmp dword [rdi], r15d
jne 0x140003642
lea rcx, str.MAKECAB___V_n_____D_varvalue_...____L_dir__source__destination__nMAKECAB___V_n_____D_varvalue_...___F_directive_file__...__n_n__source_________File_to_compress._n__destination____File_name_to_give_compressed_file.__If_omitted__the_n_________________last_character_of_the_source_file_name_is_replaced_n_________________with_an_underscore_____and_used_as_the_destination._n___F_directives__A_file_with_MakeCAB_directives__may_be_repeated_._Refer_to_n_________________Microsoft_Cabinet_SDK_for_information_on_directive_file._n___D_varvalue___Defines_variable_with_specified_value._n___L_dir_________Location_to_place_destination__default_is_current_directory_._n___V_n___________Verbosity_level__1..3_._n
call qword [sym.imp.msvcrt.dll_printf]
nop dword [rax + rax]
xor eax, eax
jmp 0x140003681
call qword [sym.imp.msvcrt.dll_clock]
nop dword [rax + rax]
mov ecx, dword [rdi]
mov dword [rdi + 0x90], eax
sub ecx, 2
je 0x1400036ad
cmp ecx, r15d
jne 0x1400036cd
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140003b3c
test eax, eax
jne 0x1400036cd
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140007530
mov eax, r15d
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14000e520
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140007db4
test eax, eax
je 0x14000367e
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140003778
jmp 0x14000366d
cmp dword [rdi + 0x48], r12d
mov r15d, r12d
mov rcx, qword [rdi + 0x10]
setg r15b
test rcx, rcx
je 0x1400036e6
call fcn.14000ddc8
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x1400036f7
call fcn.14000a410
mov r14, qword [rdi + 8]
test r14, r14
je 0x14000375b
mov rsi, qword [r14]
test rsi, rsi
je 0x14000374c
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000371c
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140003731
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rbx, qword [rsi + 0x20]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rsi, rbx
test rbx, rbx
jne 0x140003708
mov rcx, r14
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
jmp 0x14000367e