Function at 0x1400039f0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1120]
mov eax, 0x1220
call fcn.1400078a0
sub rsp, rax
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rbp + 0x1110], rax
mov r15, rdx
xor r12d, r12d
cmp qword [rcx + 0x18], 0xf
jbe 0x140003a36
mov rcx, qword [rcx]
lea r8, [rbp - 0x10]
xor edx, edx
call qword [sym.imp.zip.dll_zip_open]
mov rsi, rax
test rax, rax
jne 0x140003a74
lea rdx, str.Failed_to_open_the_ZIP_archive.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400058c0
mov rcx, rax
lea rdx, [0x140005a90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x1400040e8
xor edx, edx
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_get_num_entries]
mov r14, rax
mov edi, r12d
test eax, eax
jle 0x1400040dd
lea r13, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea rcx, [rsp + 0x70]
call qword [sym.imp.zip.dll_zip_stat_init]
movsxd rbx, edi
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_stat_index]
test eax, eax
jne 0x1400040a4
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov rdx, qword [rsp + 0x78]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140003ae0
lea rcx, [rbp - 0x30]
call fcn.1400060f0
nop
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_fopen_index]
mov rbx, rax
test rax, rax
je 0x140004029
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
seta r10b
mov r9, qword [rbp - 0x30]
cmova rdx, r9
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140003b5b
lea rax, [rcx - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rdx
cmp byte [r8], 0x2f
je 0x140003b56
cmp r8, rdx
je 0x140003b5b
dec r8
cmp byte [r8], 0x2f
jne 0x140003b48
sub r8, rdx
jmp 0x140003b62
mov r8, 0xffffffffffffffff
cmp r8, 0xffffffffffffffff
je 0x140003d88
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rbp - 0x30]
test r10b, r10b
cmovne rdx, r9
lea rcx, [rsp + 0x50]
call fcn.1400060f0
nop
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140005ad0
nop
lea r9, [rsp + 0x50]
mov r8, rax
lea rcx, [rbp - 0x50]
call fcn.140006370
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140003bf8
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004112
call fcn.140006c04
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003c48
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004119
call fcn.140006c04
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140003d4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140003d4d
lea rdx, str.Failed_to_create_directory:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400058c0
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, rax
call fcn.140006560
mov rcx, rax
lea rdx, [0x140005a90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rbx
call qword [sym.imp.zip.dll_zip_fclose]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140003cf9
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003cf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004127
call fcn.140006c04
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400040d2
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004120
call fcn.140006c04
jmp 0x1400040d2
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140003d88
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004127
call fcn.140006c04
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140005ad0
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, rax
call fcn.1400054f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
lea rcx, [rbp]
call fcn.140005300
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140003e5f
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000412e
call fcn.140006c04
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140003eac
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ea7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004135
call fcn.140006c04
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
cmp qword [rbp + 0x88], 0
je 0x140003f54
mov r8d, 0x1000
lea rdx, [rbp + 0x110]
mov rcx, rbx
call qword [sym.imp.zip.dll_zip_fread]
test rax, rax
jle 0x140003f1f
nop dword [rax + rax]
mov r8, rax
lea rdx, [rbp + 0x110]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov r8d, 0x1000
lea rdx, [rbp + 0x110]
mov rcx, rbx
call qword [sym.imp.zip.dll_zip_fread]
test rax, rax
jg 0x140003ef0
lea rcx, [rbp + 8]
call fcn.1400057d0
test rax, rax
jne 0x140003f49
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call qword [sym.imp.zip.dll_zip_fclose]
jmp 0x140003f92
lea rdx, str.Failed_to_open_output_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400058c0
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, rax
call fcn.140006560
mov rcx, rax
lea rdx, [0x140005a90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 8], rax
cmp qword [rbp + 0x88], 0
je 0x140003ff3
mov rax, qword [rbp + 0x20]
lea rcx, [rbp + 0x78]
cmp qword [rax], rcx
jne 0x140003ff3
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x90]
mov qword [rax], rcx
mov rax, qword [rbp + 0x40]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x58]
mov dword [rax], edx
cmp byte [rbp + 0x84], 0
je 0x140004005
lea rcx, [rbp + 8]
call fcn.1400057d0
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x140004067
lea rdx, str.Failed_to_open_file_in_ZIP_archive:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400058c0
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, rax
call fcn.140006560
mov rcx, rax
lea rdx, [0x140005a90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400040d2
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000409d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000413c
call fcn.140006c04
jmp 0x1400040d2
lea rdx, str.Failed_to_get_information_for_file_in_ZIP_archive_at_index
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400058c0
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140005a90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc edi
cmp edi, r14d
jl 0x140003a94
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_close]
mov al, 1
mov rcx, qword [rbp + 0x1110]
xor rcx, rsp
call fcn.1400067f0
mov rbx, qword [rsp + 0x1270]
add rsp, 0x1220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3