Function at 0x14003ef80
Capabilities:
Create directory
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2070]
mov eax, 0x2170
call fcn.1401ce7e0
sub rsp, rax
mov rax, qword [0x140245028]
xor rax, rsp
mov qword [rbp + 0x2060], rax
mov r12, rcx
mov qword [rbp - 0x38], rcx
xor r15d, r15d
mov dword [rbp + 0x10], r15d
lea r8, [rbp + 0x10]
lea edx, [r15 + 0x10]
lea rcx, str.bin_data.zip
call qword [sym.imp.zip.dll_zip_open]
mov rsi, rax
test rax, rax
jne 0x14003f022
lea rdx, str.Error_opening_ZIP_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b220
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.zip.dll_zip_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.14000b220
lea rdx, [0x14000b3f0]
mov rcx, rax
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 edx, edx
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_get_num_entries]
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
jns 0x14003f07d
lea rdx, str.Error_getting_number_of_entries:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b220
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.14000b220
lea rdx, [0x14000b3f0]
mov rcx, rax
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, rsi
call qword [sym.imp.zip.dll_zip_close]
lea rcx, [0x1401f9270]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
test eax, eax
je 0x14003f0e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x11
je 0x14003f0e1
lea rdx, str.Error_creating_extraction_directory:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b220
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.14000b220
lea rdx, [0x14000b3f0]
mov rcx, rax
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, rsi
call qword [sym.imp.zip.dll_zip_close]
mov r14, r15
test rdi, rdi
jle 0x14003f59d
nop dword [rax]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_stat_index]
test eax, eax
jne 0x14003f54e
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14003f11a
mov rdx, qword [r12]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14003f133
lea rcx, [rsp + 0x40]
call fcn.140002690
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov rdx, qword [rbp - 0x28]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14003f165
lea rcx, [rsp + 0x20]
call fcn.140002690
nop
lea rdi, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
setae r13b
mov r15, qword [rsp + 0x20]
cmovae rdi, r15
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14003f1b9
mov r8, rbx
mov edx, 0x2f
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
je 0x14003f1b9
sub rcx, rdi
jmp 0x14003f1c0
mov rcx, 0xffffffffffffffff
cmp rcx, 0xffffffffffffffff
je 0x14003f26a
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
cmp rbx, rcx
jb 0x14003f602
sub rbx, rcx
mov r8, 0xffffffffffffffff
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rsp + 0x20]
test r13b, r13b
cmovne rdx, r15
add rdx, rcx
lea rcx, [rbp - 0x78]
call fcn.140002690
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.140028130
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xor r15d, r15d
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
lea rcx, [rbp - 0x78]
call fcn.140001c20
jmp 0x14003f27b
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x18]
call fcn.140006ef0
xor r15d, r15d
lea rcx, [rsp + 0x20]
call fcn.140001c20
nop
lea rcx, [rsp + 0x40]
call fcn.140001c20
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001be40
lea rdx, [0x14000b3f0]
mov rcx, rax
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]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
mov r8d, 3
lea rdx, [0x1401f9270]
lea rcx, [rbp - 0x58]
call fcn.140002690
nop
mov r8d, 1
lea rdx, [0x1401f92cc]
lea rcx, [rbp - 0x58]
call fcn.140001c80
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.140001c80
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x68]
call fcn.140001c20
nop
lea rcx, [rbp - 0x58]
call fcn.140001c20
mov rcx, qword [rbp - 0x28]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp byte [rcx + rax], 0
jne 0x14003f393
cmp byte [rax + rcx - 1], 0x2f
jne 0x14003f3f8
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
test eax, eax
je 0x14003f534
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x11
je 0x14003f534
lea rdx, str.Error_creating_directory:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b220
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
jmp 0x14003f50f
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_fopen_index]
mov rdi, rax
test rax, rax
je 0x14003f4f0
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rcx, qword [rbp + 0x38]
lea rdx, [0x1401f91a4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x14003f494
mov r8d, 0x2000
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [sym.imp.zip.dll_zip_fread]
test rax, rax
jle 0x14003f47d
nop
mov r9, rbx
mov r8, rax
mov edx, 1
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r8d, 0x2000
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [sym.imp.zip.dll_zip_fread]
test rax, rax
jg 0x14003f450
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call qword [sym.imp.zip.dll_zip_fclose]
jmp 0x14003f534
lea rdx, str.Error_creating_output_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b220
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.14000b220
lea rdx, [0x14000b3f0]
mov rcx, rax
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, rdi
call qword [sym.imp.zip.dll_zip_fclose]
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_close]
mov rcx, rdi
call qword [sym.imp.zip.dll_zip_fclose]
jmp 0x14003f534
lea rdx, str.Error_opening_file_in_ZIP:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b220
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.14000b220
lea rdx, [0x14000b3f0]
mov rcx, rax
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, rsi
call qword [sym.imp.zip.dll_zip_close]
nop
lea rcx, [rbp + 0x38]
call fcn.140001c20
nop
lea rcx, [rbp + 0x18]
call fcn.140001c20
mov rdi, qword [rsp + 0x60]
jmp 0x14003f591
lea rdx, str.Error_getting_file_stat:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b220
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.14000b220
lea rdx, [0x14000b3f0]
mov rcx, rax
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, rsi
call qword [sym.imp.zip.dll_zip_close]
inc r14
cmp r14, rdi
jl 0x14003f0f0
mov rcx, rsi
call qword [sym.imp.zip.dll_zip_close]
lea rdx, str.Extraction_complete.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000b220
lea rdx, [0x14000b3f0]
mov rcx, rax
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 rcx, r12
call fcn.140001c20
mov rcx, qword [rbp + 0x2060]
xor rcx, rsp
call fcn.1401cd610
lea r11, [rsp + 0x2170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400099d0
nop
int3