Function at 0x1400ac160
Capabilities:
Create directory
Timestomp file
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rbx, r8
mov r13, rdx
xor r15d, r15d
mov qword [rbp - 0x58], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, 0x100
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x20]
mov rcx, r13
call qword [sym.imp.zlibwapi.dll_Ordinal_64]
mov edi, eax
test eax, eax
je 0x1400ac2e2
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140017750
nop
lea r9d, [r15 + 6]
lea r8, str.error
xor edx, edx
mov rcx, rax
call fcn.140014710
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r15b
lea r8d, [r15 + 0x26]
lea rdx, str._with_zipfile_in_unzGetCurrentFileInfo
lea rcx, [rsp + 0x60]
call fcn.140004d90
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r15b
lea rsi, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rsi, qword [rsp + 0x40]
mov rbx, qword [0x1401a4e50]
test rbx, rbx
jne 0x1400ac2af
lea ecx, [rbx + 4]
call fcn.1400ace1c
mov rbx, rax
mov qword [rbp - 0x48], rax
call fcn.14002cc80
mov dword [rbx], eax
test eax, eax
je 0x1400ac2a8
call fcn.14002cd70
nop
mov qword [0x1401a4e50], rbx
mov r8b, 1
mov rdx, rsi
mov rcx, rbx
call fcn.14002d1d0
nop
lea rcx, [rsp + 0x40]
call fcn.140004bd0
nop
lea rcx, [rsp + 0x60]
call fcn.140004bd0
nop
lea rcx, [rbp - 0x80]
call fcn.140004bd0
jmp 0x1400ac645
mov ecx, 0x4000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
test rax, rax
jne 0x1400ac316
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
lea rdx, str.Error_allocating_memory
call fcn.14002d1d0
lea eax, [r12 - 0x68]
jmp 0x1400ac647
lea r14, [rbp + 0x30]
lea rcx, [rbp + 0x30]
movzx eax, byte [rbp + 0x30]
test al, al
je 0x1400ac33c
cmp al, 0x2f
je 0x1400ac32e
cmp al, 0x5c
jne 0x1400ac332
lea r14, [rcx + 1]
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x1400ac326
cmp byte [r14], r15b
jne 0x1400ac417
cmp dword [rbx], r15d
jne 0x1400ac63c
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], r15b
lea rax, [rbp + 0x30]
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp byte [rax + rsi], r15b
jne 0x1400ac370
mov r8, rsi
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140004c30
nop
mov r9d, reloc.WS2_32.dll_sendto
lea r8, str.creating_directory:
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140014710
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rbx, qword [rsp + 0x40]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rbx
call fcn.14002d1d0
nop
lea rcx, [rsp + 0x40]
call fcn.140004bd0
nop
lea rcx, [rsp + 0x60]
call fcn.140004bd0
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
jmp 0x1400ac63c
lea r15, [rbp + 0x30]
cmp dword [rbx], 0
cmovne r15, r14
xor edx, edx
mov rcx, r13
call qword [sym.imp.zlibwapi.dll_Ordinal_79]
mov edi, eax
mov rsi, 0xffffffffffffffff
test eax, eax
je 0x1400ac50f
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140017750
nop
lea r9d, [rsi + 7]
lea r8, str.error
xor edx, edx
mov rcx, rax
call fcn.140014710
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
lea r8d, [rsi + 0x2c]
lea rdx, str._with_zipfile_in_unzOpenCurrentFilePassword
lea rcx, [rsp + 0x60]
call fcn.140004d90
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rbx, qword [rsp + 0x40]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rbx
call fcn.14002d1d0
nop
lea rcx, [rsp + 0x40]
call fcn.140004bd0
nop
lea rcx, [rsp + 0x60]
call fcn.140004bd0
nop
lea rcx, [rbp - 0x80]
jmp 0x1400ac61f
lea r8, [0x1401476e8]
mov rdx, r15
lea rcx, [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
cmp qword [rbp - 0x58], 0
jne 0x1400ac680
cmp dword [rbx], 0
jne 0x1400ac571
lea rax, [rbp + 0x30]
cmp r14, rax
je 0x1400ac571
movzx ebx, byte [r14 - 1]
mov byte [r14 - 1], 0
mov rdx, r15
call fcn.1400abfa0
mov byte [r14 - 1], bl
lea r8, [0x1401476e8]
mov rdx, r15
lea rcx, [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
cmp qword [rbp - 0x58], 0
jne 0x1400ac680
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], r14b
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [r15 + r8], r14b
jne 0x1400ac590
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.140004c30
nop
mov r9d, reloc.WS2_32.dll_ntohl
lea r8, str.error_opening
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140014710
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rbx, qword [rsp + 0x40]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rbx
call fcn.14002d1d0
nop
lea rcx, [rsp + 0x40]
call fcn.140004bd0
nop
lea rcx, [rsp + 0x60]
call fcn.140004bd0
cmp qword [rbp - 0x58], 0
jne 0x1400ac680
test edi, edi
je 0x1400ac76d
mov rcx, r13
call qword [sym.imp.zlibwapi.dll_Ordinal_72]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, edi
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r8d, 0x4000
mov rdx, r12
mov rcx, r13
call qword [sym.imp.zlibwapi.dll_Ordinal_68]
movsxd rdi, eax
test eax, eax
js 0x1400ac857
add dword [rax], eax
invalid
jle 0x1400ac6d4
mov rdx, rdi
mov r9, qword [rbp - 0x58]
mov r8d, 1
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 1
je 0x1400ac680
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
lea rdx, str.error_in_writing_extracted_file
call fcn.14002d1d0
mov edi, esi
xor r14d, r14d
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400ac6e6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test edi, edi
jne 0x1400ac633
mov ebx, dword [rbp - 0x10]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
mov ecx, ebx
shr ecx, 0x10
lea r8, [rbp - 0x40]
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.zlibwapi.dll_Ordinal_72]
mov edi, eax
test eax, eax
je 0x1400ac63c
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140017750
nop
mov r9d, 6
lea r8, str.error
xor edx, edx
mov rcx, rax
call fcn.140014710
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, Ordinal_41
lea rdx, str._with_zipfile_in_unzCloseCurrentFile
lea rcx, [rsp + 0x60]
call fcn.140004d90
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rbx, qword [rsp + 0x40]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rbx
call fcn.14002d1d0
nop
lea rcx, [rsp + 0x40]
call fcn.140004bd0
nop
lea rcx, [rsp + 0x60]
call fcn.140004bd0
nop
lea rcx, [rbp - 0x80]
call fcn.140004bd0
jmp 0x1400ac63c
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.140017750
nop
mov r9d, 6
lea r8, str.error
xor edx, edx
mov rcx, rax
call fcn.140014710
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
lea r8d, [r14 + 0x23]
lea rdx, str._with_zipfile_in_unzReadCurrentFile
lea rcx, [rsp + 0x60]
call fcn.140004d90
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rbx, qword [rsp + 0x40]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rbx
call fcn.14002d1d0
nop
lea rcx, [rsp + 0x40]
call fcn.140004bd0
nop
lea rcx, [rsp + 0x60]
call fcn.140004bd0
nop
lea rcx, [rbp - 0x80]
call fcn.140004bd0
jmp 0x1400ac6d7