Function at 0x14008add4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x538]
sub rsp, 0x600
mov qword [rbp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
mov r14, rdx
mov qword [rbp], rdx
mov r15, rcx
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x6c], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r12
mov rax, qword [0x140174018]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x20], r12
mov dword [rsp + 0x68], r12d
or r13, 0xffffffffffffffff
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x18], rax
cmp dword [rcx + 0x804], r12d
je 0x14008ae65
lea rdx, str._exporting_report_
lea rcx, [rbp + 0x20]
jmp 0x14008ae70
lea rdx, str._compressing_files_
lea rcx, [rbp + 0x28]
call fcn.140067e3c
lea rsi, [r15 + 0x5e0]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call fcn.14006b790
mov rcx, r14
call fcn.140072ac4
mov qword [rbp - 0x10], rax
mov r8, rax
lea rdx, str.Total_file_size_for_compression_is__I64d_bytes
lea rcx, [rsp + 0x50]
call fcn.14006895c
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0xc], r12d
jl 0x14008aec2
mov qword [rbp - 0x70], rbx
lock inc dword [rbx - 0xc]
jmp 0x14008aee4
mov rax, qword [0x140174018]
mov qword [rbp - 0x70], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1400670f0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.14006b790
cmp dword [r15 + 0x804], r12d
je 0x14008af1a
lea r14, [r15 + 0x7f8]
lea rdx, [r15 + 0x808]
mov rcx, r14
call fcn.140067f7c
jmp 0x14008afa3
lea rdx, [rbp + 0x10]
mov rcx, r14
call fcn.1400720c8
nop
lea r8, [0x1401229b0]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1400680f0
nop
lea r14, [r15 + 0x7f8]
mov rdx, rax
mov rcx, r14
call fcn.140067f7c
nop
mov rcx, qword [rbp + 8]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008af79
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x14008af79
mov rcx, qword [rbp + 8]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
nop
mov rcx, qword [rbp + 0x10]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008afa3
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x14008afa3
mov rcx, qword [rbp + 0x10]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
mov r8, qword [r14]
lea rdx, str.Creating_ZIP_archive_file__s
lea rcx, [rsp + 0x50]
call fcn.14006895c
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0xc], r12d
jl 0x14008afcc
mov qword [rbp - 0x68], rbx
lock inc dword [rbx - 0xc]
jmp 0x14008aff2
mov rax, qword [0x140174018]
mov qword [rbp - 0x68], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.1400670f0
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rbp - 0x68]
mov rcx, rsi
call fcn.14006b790
xor edx, edx
mov rcx, r14
call fcn.140069064
mov rcx, rax
xor edx, edx
call fcn.14005d5e4
mov r12, rax
mov ebx, 0x64
test rax, rax
jne 0x14008b04c
lea rdx, str.Failed_to_create_ZIP_file.
lea rcx, [rbp + 0x30]
call fcn.140067e3c
mov r9b, 1
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call fcn.14006b790
jmp 0x14008b803
xor ebx, ebx
mov dword [rbp - 8], ebx
mov rdi, qword [rbp]
mov rcx, rdi
call fcn.1400723dc
test eax, eax
jle 0x14008b5d0
mov edx, ebx
mov rcx, rdi
call fcn.140072304
mov rbx, rax
mov rcx, rsi
call fcn.14006b688
xor edi, edi
test al, al
jne 0x14008b7dc
xor edx, edx
mov rcx, rbx
call fcn.140069064
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140067e3c
nop
lea rcx, [rbx + 8]
xor edx, edx
call fcn.140069064
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140067e3c
nop
mov rbx, qword [rbx + 0x10]
cmp dword [rbx - 0xc], edi
jl 0x14008b0c9
mov qword [rsp + 0x70], rbx
lock inc dword [rbx - 0xc]
jmp 0x14008b0f7
mov rax, qword [0x140174018]
mov qword [rsp + 0x70], rax
test rbx, rbx
jne 0x14008b0de
mov eax, edi
jmp 0x14008b0e7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400670f0
nop
mov r8, qword [rsp + 0x60]
lea rdx, str.Compressing_file__s
lea rcx, [rsp + 0x50]
call fcn.14006895c
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0xc], edi
jl 0x14008b121
mov qword [rbp - 0x60], rbx
lock inc dword [rbx - 0xc]
jmp 0x14008b147
mov rax, qword [0x140174018]
mov qword [rbp - 0x60], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.1400670f0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14006b790
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14008b25e
mov r8, qword [rsp + 0x78]
lea rdx, str.Couldnt_open_file__s
lea rcx, [rsp + 0x50]
call fcn.14006895c
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0xc], edi
jl 0x14008b1b8
mov qword [rbp - 0x58], rbx
lock inc dword [rbx - 0xc]
jmp 0x14008b1de
mov rax, qword [0x140174018]
mov qword [rbp - 0x58], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x58]
call fcn.1400670f0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.14006b790
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008b215
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x14008b215
call fcn.1400b0230
nop
mov rcx, qword [rsp + 0x78]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008b239
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x14008b239
call fcn.1400b0230
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008b53e
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jmp 0x14008b537
lea rdx, [rbp + 0xb0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0xc4]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov dword [rbp + 0xa0], edi
movzx eax, word [rbp + 0x78]
mov dword [rbp + 0x9c], eax
movzx eax, word [rbp + 0x7a]
dec eax
mov dword [rbp + 0x98], eax
movzx eax, word [rbp + 0x7e]
mov dword [rbp + 0x94], eax
movzx eax, word [rbp + 0x80]
mov dword [rbp + 0x90], eax
movzx eax, word [rbp + 0x82]
mov dword [rbp + 0x8c], eax
movzx eax, word [rbp + 0x84]
mov dword [rbp + 0x88], eax
mov eax, 0x80
mov dword [rbp + 0xa8], eax
mov dword [rbp + 0xa4], eax
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
lea rcx, [rbp + 0x58]
call fcn.1400773c4
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140069064
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400773c4
or dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x38], rbx
and dword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x88]
mov rdx, rax
mov rcx, r12
call fcn.14005e1b0
test eax, eax
je 0x14008b3b6
mov r8, qword [rsp + 0x60]
lea rdx, str.Couldnt_compress_file__s
lea rcx, [rsp + 0x50]
call fcn.14006895c
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0xc], 0
jl 0x14008b374
mov qword [rbp - 0x50], rbx
lock inc dword [rbx - 0xc]
mov rdi, qword [rsp + 0x70]
jmp 0x14008b39a
mov rax, qword [0x140174018]
mov qword [rbp - 0x50], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.1400670f0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14006b790
nop
lea rcx, [rdi - 0xc]
jmp 0x14008b1fa
mov rcx, rsi
call fcn.14006b688
test al, al
jne 0x14008b55d
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, 0x400
lea rdx, [rbp + 0xf0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14008b4c0
mov r8d, dword [rsp + 0x68]
test r8d, r8d
je 0x14008b4c0
lea rdx, [rbp + 0xf0]
mov rcx, r12
call fcn.14005e35c
test eax, eax
jne 0x14008b450
mov eax, dword [rsp + 0x68]
mov rcx, qword [rbp - 0x20]
add rcx, rax
mov qword [rbp - 0x20], rcx
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
mulss xmm1, dword [0x1401260dc]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rbp - 0x10]
divss xmm1, xmm0
cvttss2si edx, xmm1
xor r8d, r8d
mov rcx, rsi
call fcn.14006b740
jmp 0x14008b3b6
mov rcx, r12
call fcn.14005e988
mov r8, qword [rsp + 0x60]
lea rdx, str.Couldnt_write_to_compressed_file__s
lea rcx, [rsp + 0x50]
call fcn.14006895c
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0xc], 0
jl 0x14008b488
mov qword [rbp - 0x48], rbx
lock inc dword [rbx - 0xc]
mov rdi, qword [rsp + 0x70]
jmp 0x14008b4ae
mov rax, qword [0x140174018]
mov qword [rbp - 0x48], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x48]
call fcn.1400670f0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.14006b790
mov rcx, r12
call fcn.14005e988
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rbx, 0xffffffffffffffff
mov r13, rbx
lea rcx, [rdi - 0xc]
cmp rcx, qword [0x140174010]
je 0x14008b4f7
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
test eax, eax
jg 0x14008b4f7
call fcn.1400b0230
nop
mov rcx, qword [rsp + 0x78]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008b51b
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
test eax, eax
jg 0x14008b51b
call fcn.1400b0230
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008b53e
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
test eax, eax
jg 0x14008b53e
call fcn.1400b0230
mov ebx, dword [rbp - 8]
inc ebx
mov dword [rbp - 8], ebx
mov rcx, qword [rbp]
call fcn.1400723dc
cmp ebx, eax
mov rdi, qword [rbp]
jl 0x14008b065
jmp 0x14008b5d0
lea rcx, [rdi - 0xc]
cmp rcx, qword [0x140174010]
je 0x14008b57c
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x14008b57c
call fcn.1400b0230
nop
mov rcx, qword [rsp + 0x78]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008b5a0
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x14008b5a0
call fcn.1400b0230
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008b7dc
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x14008b7dc
call fcn.1400b0230
jmp 0x14008b7dc
xor edx, edx
mov rcx, r12
call fcn.14005ecf0
xor r12d, r12d
cmp dword [r15 + 0x804], r12d
jne 0x14008b7ca
mov r8, qword [r14]
lea rdx, str.Calculating_MD5_hash_for_file__s
lea rcx, [rsp + 0x50]
call fcn.14006895c
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0xc], r12d
jl 0x14008b613
mov qword [rbp - 0x40], rbx
lock inc dword [rbx - 0xc]
jmp 0x14008b639
mov rax, qword [0x140174018]
mov qword [rbp - 0x40], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.1400670f0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.14006b790
mov rbx, qword [r14]
cmp dword [rbx - 0xc], r12d
jl 0x14008b65e
mov qword [rbp - 0x38], rbx
lock inc dword [rbx - 0xc]
jmp 0x14008b689
mov rax, qword [0x140174018]
mov qword [rbp - 0x38], rax
test rbx, rbx
jne 0x14008b672
xor eax, eax
jmp 0x14008b67b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400670f0
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x38]
mov rcx, r15
call fcn.140089bf4
test eax, eax
je 0x14008b703
mov r8, qword [r14]
lea rdx, str.Couldnt_calculate_MD5_hash_for_file__s
lea rcx, [rsp + 0x50]
call fcn.14006895c
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0xc], r12d
jl 0x14008b6c6
mov qword [rbp - 0x30], rbx
lock inc dword [rbx - 0xc]
jmp 0x14008b6ec
mov rax, qword [0x140174018]
mov qword [rbp - 0x30], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.1400670f0
lea rdx, [rbp - 0x30]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call fcn.14006b790
jmp 0x14008b7eb
lea r8, str..md5
mov rdx, r14
lea rcx, [rbp + 0x18]
call fcn.1400680f0
lea r8, [0x140120690]
mov rdx, qword [rax]
lea rcx, [rbp - 0x80]
call fcn.1400d96bc
mov rcx, qword [rbp + 0x18]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008b753
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x14008b753
mov rcx, qword [rbp + 0x18]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
mov rcx, qword [rbp - 0x80]
test rcx, rcx
jne 0x14008b7b4
mov r8, qword [r14]
lea rdx, str.Couldnt_save_MD5_hash_for_file__s
lea rcx, [rsp + 0x50]
call fcn.14006895c
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0xc], r12d
jl 0x14008b785
mov qword [rbp - 0x78], rbx
lock inc dword [rbx - 0xc]
jmp 0x14008b7ab
mov rax, qword [0x140174018]
mov qword [rbp - 0x78], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.1400670f0
lea rdx, [rbp - 0x78]
jmp 0x14008b6f0
mov rdx, qword [rbp - 0x18]
call fcn.14009513c
mov rcx, qword [rbp - 0x80]
call fcn.1400d9814
and qword [rbp - 0x80], r12
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x20]
jne 0x14008b7eb
mov dword [rsp + 0x6c], 1
test r12, r12
je 0x14008b7eb
xor edx, edx
mov rcx, r12
call fcn.14005ecf0
cmp r13, 0xffffffffffffffff
je 0x14008b7fa
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x64
mov edi, dword [rsp + 0x6c]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14008b811
call fcn.1400d9814
test edi, edi
je 0x14008b822
lea rdx, str.Finished_compressing_files...OK
lea rcx, [rbp + 0x38]
jmp 0x14008b82d
lea rdx, str.File_compression_failed.
lea rcx, [rbp + 0x40]
call fcn.140067e3c
mov r9b, 1
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call fcn.14006b790
cmp dword [r15 + 0x804], 0
je 0x14008b86b
test edi, edi
je 0x14008b85e
lea rdx, str._end_exporting_report_ok_
lea rcx, [rbp + 0x48]
jmp 0x14008b876
lea rdx, str._end_exporting_report_failed_
lea rcx, [rbp + 0x50]
jmp 0x14008b876
lea rdx, str._end_compressing_files_
lea rcx, [rbp - 0x28]
call fcn.140067e3c
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call fcn.14006b790
nop
mov rcx, qword [rbp - 0x18]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008b8b0
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x14008b8b0
call fcn.1400b0230
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14008b8d4
or edx, 0xffffffff
lock xadd dword [rcx], edx
sub edx, 1
jg 0x14008b8d4
call fcn.1400b0230
nop
lea rcx, [rbp + 0x58]
call fcn.140067f00
mov eax, edi
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400b0730
mov rbx, qword [rsp + 0x650]
add rsp, 0x600
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret