Function at 0x140106720
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov eax, dword [0x1403b36b8]
mov rbx, rdx
mov r8d, eax
movsxd rbp, ecx
inc eax
mov dword [0x1403b36b8], eax
test r8d, r8d
jle 0x140106751
mov ecx, 5
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov qword [rsp + 0x50], r14
xor r14d, r14d
cmp dword [0x1403b7354], r14d
je 0x14010677c
mov rcx, qword [0x1404cc3e0]
lea rdx, [0x14032eb94]
call fcn.1400a5710
mov dword [0x1403b7354], r14d
mov rcx, qword [0x1403b7238]
test rcx, rcx
je 0x1401067a4
cmp dword [0x1403b7358], r14d
je 0x1401067a4
lea rdx, [0x14032eb94]
call fcn.1400a5710
mov dword [0x1403b7358], r14d
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
test rbx, rbx
je 0x140106878
lea rcx, [rbp*2]
add rcx, rbp
lea rsi, [0x1403805f0]
lea rdi, [rcx*8]
test byte [rdi + rsi + 0x10], 0x10
je 0x1401067fa
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ecx, dword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov rcx, qword [0x1404cc3e0]
lea rdx, str.zip_I_O_error:__s
mov r8, rax
call fcn.1400a5710
mov rcx, qword [0x1404cc3e0]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
mov r8, qword [rdi + rsi + 8]
lea rdx, str._nzip_error:__s___s__n
mov rcx, qword [0x1404cc3e0]
mov r9, rbx
call fcn.1400a5710
mov rcx, qword [0x1403b7238]
test rcx, rcx
je 0x140106878
test byte [rdi + rsi + 0x10], 0x10
je 0x14010685d
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ecx, dword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov rcx, qword [0x1403b7238]
lea rdx, str.zip_I_O_error:__s_n
mov r8, rax
call fcn.1400a5710
mov rcx, qword [0x1403b7238]
mov r8, qword [rdi + rsi + 8]
lea rdx, str._nzip_error:__s___s__n
mov r9, rbx
call fcn.1400a5710
mov dword [0x1403b7358], r14d
mov rcx, qword [0x1403b7290]
test rcx, rcx
je 0x1401069ca
mov r8, qword [0x1404cc3d8]
cmp rcx, r8
je 0x1401068ec
mov rax, qword [0x1403b7318]
test rax, rax
je 0x1401068b6
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rcx, qword [0x1403b7290]
mov rax, qword [0x1403b7318]
mov rdx, qword [0x1403b7298]
cmp rdx, rax
je 0x1401068d6
test rdx, rdx
je 0x1401068d6
mov rcx, rdx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rcx, qword [0x1403b7290]
call fcn.1401457a0
mov rcx, qword [0x1403b7290]
call case.0x1400ef54e.0
jmp 0x1401069ca
mov rcx, qword [0x1404cc3e0]
lea rdx, str.attempting_to_restore__s_to_its_previous_state_n
mov rsi, qword [0x1404cc3d0]
mov rdi, r14
call fcn.1400a5710
mov rcx, qword [0x1403b7238]
test rcx, rcx
je 0x140106928
mov r8, qword [0x1404cc3d8]
lea rdx, str.attempting_to_restore__s_to_its_previous_state_n
call fcn.1400a5710
mov rdx, qword [0x1404cc3d0]
xor r8d, r8d
mov rcx, qword [0x1403b7298]
call fcn.140143500
mov rbx, qword [0x1403b7390]
mov rdx, qword [0x1404cc3d0]
mov qword [0x1404cc3c8], rdx
test rbx, rbx
je 0x140106995
mov rcx, rbx
call fcn.140143e20
movzx eax, word [rbx + 0x24]
inc rdi
movzx ecx, word [rbx + 0x26]
mov rdx, qword [0x1404cc3c8]
add ecx, eax
movzx eax, word [rbx + 0x20]
add eax, 0x2e
add eax, ecx
cdqe
add rdx, rax
mov qword [0x1404cc3c8], rdx
mov rbx, qword [rbx + 0xc0]
test rbx, rbx
jne 0x140106958
mov rax, qword [0x1403b73a0]
sub rdx, rsi
movzx r9d, word [0x1404cc3b8]
mov r8, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1401444a0
mov rcx, qword [0x1403b7298]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov qword [0x1403b7298], r14
mov rcx, qword [0x1403b7360]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
test rcx, rcx
je 0x1401069ec
call case.0x1400ef54e.0
mov qword [0x1403b7360], r14
mov rcx, qword [0x1403b7368]
test rcx, rcx
je 0x140106a04
call case.0x1400ef54e.0
mov qword [0x1403b7368], r14
mov rcx, qword [0x1404cc3d8]
test rcx, rcx
je 0x140106a1c
call case.0x1400ef54e.0
mov qword [0x1404cc3d8], r14
mov rcx, qword [0x1403b7388]
test rcx, rcx
je 0x140106a34
call case.0x1400ef54e.0
mov qword [0x1403b7388], r14
mov rcx, qword [0x1403b73a0]
test rcx, rcx
je 0x140106a4c
call case.0x1400ef54e.0
mov qword [0x1403b73a0], r14
call fcn.140106400
mov ecx, ebp
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov r14, qword [rsp + 0x50]
int3