Function at 0x140004530
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x90]
cmp qword [rax], 0
je 0x1400045d7
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x90]
mov rdx, qword [rax]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0xf8]
call fcn.14000ba70
test eax, eax
je 0x1400045b0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0xf8]
call fcn.14000a7b0
mov r9, rax
lea r8, [0x140107608]
xor edx, edx
mov ecx, 1
call fcn.1400094a0
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x90]
add rax, 8
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0x90], rax
jmp 0x140004547
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x10], 0
je 0x140004647
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x24]
and eax, 0x100
mov r8d, eax
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0xf8]
call fcn.14000bbf0
test eax, eax
je 0x140004647
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0xf8]
call fcn.14000a7b0
mov r9, rax
lea r8, str.Error_inclusion_pattern:__s
xor edx, edx
mov ecx, 1
call fcn.1400094a0
call fcn.140010200
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x70]
call fcn.140003fd0
test eax, eax
jne 0x140004675
mov rcx, qword [rsp + 0x28]
call fcn.140013cd0
mov rcx, qword [rsp + 0x28]
call fcn.140013db0
lea rcx, [0x140107648]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400047a0
mov qword [rsp + 0x50], 0x1d
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x1400046b9
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000471a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea r8, [0x140107660]
mov edx, dword [rax]
mov ecx, 1
call fcn.1400094a0
lea rax, [0x140107670]
mov rdi, qword [rsp + 0x40]
mov rsi, rax
mov rcx, qword [rsp + 0x50]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rdi, rax
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call fcn.140015500
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [rsp + 0x20], 0xffffffe2
jne 0x140004796
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov r9, rax
lea r8, [0x1401075e4]
xor edx, edx
mov ecx, 1
call fcn.1400094a0
jmp 0x1400047a0
mov rcx, qword [rsp + 0x28]
call fcn.14000a830
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x60]
mov rcx, qword [rsp + 0x28]
call fcn.140015500
test eax, eax
je 0x1400047da
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov r9, rax
lea r8, [0x1401075f4]
xor edx, edx
mov ecx, 1
call fcn.1400094a0
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x24]
and eax, 0x10
test eax, eax
je 0x140004821
lea rdx, [0x140107690]
mov rcx, qword [rsp + 0x28]
call fcn.140015500
test eax, eax
je 0x140004821
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov r9, rax
lea r8, [0x140107624]
xor edx, edx
mov ecx, 1
call fcn.1400094a0
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x50], 0
je 0x14000484c
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x50]
mov rcx, qword [rsp + 0x28]
call fcn.140015720
mov dword [rsp + 0x20], eax
jmp 0x140004869
lea r8, [0x140005f70]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x28]
call fcn.1400157f0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140004890
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov r9, rax
lea r8, [0x140107644]
xor edx, edx
mov ecx, 1
call fcn.1400094a0
mov rax, qword [rsp + 0xf0]
movsxd rax, dword [rax + 0x18]
mov r8, rax
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x28]
call fcn.140013e90
test eax, eax
je 0x1400048d8
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov r9, rax
lea r8, str.Error_opening_archive:__s
xor edx, edx
mov ecx, 1
call fcn.1400094a0
mov rcx, qword [rsp + 0xf0]
call fcn.1400052c0
movsx eax, byte [rsp + 0xf8]
cmp eax, 0x78
jne 0x140004928
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xb8], rax
lea r8, [rsp + 0xb0]
lea rdx, [0x1400050c0]
mov rcx, qword [rsp + 0x28]
call fcn.140015d50
movsx eax, byte [rsp + 0xf8]
cmp eax, 0x78
jne 0x14000495a
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x24]
and eax, 4
test eax, eax
je 0x14000495a
lea r8, str.chroot_isnt_supported_on_this_platform
xor edx, edx
mov ecx, 1
call fcn.1400094a0
movsx eax, byte [rsp + 0xf8]
cmp eax, 0x78
jne 0x14000498b
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x24]
and eax, 0x800
test eax, eax
je 0x14000498b
mov edx, 0x8000
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x24]
and eax, 8
test eax, eax
je 0x1400049ba
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0xf8]
call fcn.14000bd10
test eax, eax
jne 0x1400049ba
jmp 0x140004f5c
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140014bc0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xc0], rax
cmp dword [rsp + 0x20], 1
jne 0x1400049e6
jmp 0x140004f5c
cmp dword [rsp + 0x20], 0
jge 0x140004a08
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov r8, rax
lea rdx, [0x14010765c]
xor ecx, ecx
call fcn.140009450
cmp dword [rsp + 0x20], 0xffffffec
jg 0x140004a21
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0xb4], 1
cmp dword [rsp + 0x20], 0xfffffff6
jne 0x140004a3b
lea rdx, str.Retrying...
xor ecx, ecx
call fcn.140009450
jmp 0x14000498b
cmp dword [rsp + 0x20], 0xffffffe2
jne 0x140004a47
jmp 0x140004f5c
mov rcx, qword [rsp + 0x30]
call fcn.14001d9a0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140004a74
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x140004a99
lea rdx, str.Archive_entry_has_empty_or_unreadable_filename_..._skipping.
xor ecx, ecx
call fcn.140009450
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0xb4], 1
jmp 0x14000498b
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x40], 0
jl 0x140004acc
mov rax, qword [rsp + 0xf0]
movsxd rax, dword [rax + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14001f400
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14001f430
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x34], 0
jl 0x140004aff
mov rax, qword [rsp + 0xf0]
movsxd rax, dword [rax + 0x34]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14001e5c0
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14001e5f0
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x48], 0
je 0x140004b24
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.14001f430
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x38], 0
je 0x140004b49
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.14001e5f0
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0xf8]
call fcn.14000b580
test eax, eax
je 0x140004b6b
jmp 0x14000498b
movsx eax, byte [rsp + 0xf8]
cmp eax, 0x74
jne 0x140004ce0
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x24]
and eax, 0x800
test eax, eax
je 0x140004ba2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x70], rax
jmp 0x140004bb2
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x20], 2
jge 0x140004bea
mov rcx, qword [rsp + 0x30]
call fcn.14001d9a0
mov r8, rax
lea rdx, [0x1401076ac]
mov rcx, qword [rsp + 0x38]
call fcn.140005670
jmp 0x140004c01
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xf0]
call fcn.140006040
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [rsp + 0x28]
call fcn.140011270
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffec
jne 0x140004c4d
lea rdx, [0x1401076cc]
mov rcx, qword [rsp + 0x38]
call fcn.140003170
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov r8, rax
lea rdx, [0x140107704]
xor ecx, ecx
call fcn.140009450
cmp dword [rsp + 0x20], 0xfffffff6
jne 0x140004c80
lea rdx, [0x140107748]
mov rcx, qword [rsp + 0x38]
call fcn.140003170
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov r8, rax
lea rdx, [0x14010774c]
xor ecx, ecx
call fcn.140009450
cmp dword [rsp + 0x20], 0xffffffe2
jne 0x140004cca
lea rdx, [0x140107750]
mov rcx, qword [rsp + 0x38]
call fcn.140003170
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov r8, rax
lea rdx, [0x140107754]
xor ecx, ecx
call fcn.140009450
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0xb4], 1
jmp 0x140004f5c
lea rdx, [0x140107758]
mov rcx, qword [rsp + 0x38]
call fcn.140003170
jmp 0x140004f57
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xf0]
call fcn.140005330
test eax, eax
je 0x140004cfb
jmp 0x14000498b
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x24]
and eax, 0x20
test eax, eax
je 0x140004d2f
mov rcx, qword [rsp + 0x30]
call fcn.14001d9a0
mov rdx, rax
lea rcx, str.extract__s
call fcn.140005dd0
test eax, eax
jne 0x140004d2f
jmp 0x14000498b
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x20], 1
jle 0x140004d8d
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [0x14010775c]
mov rcx, rax
call fcn.140005670
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x30]
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call fcn.140006040
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x140004de6
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x20], 0
jle 0x140004de6
mov rcx, qword [rsp + 0x30]
call fcn.14001d9a0
mov qword [rsp + 0x80], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x80]
mov r8, rcx
lea rdx, str.x__s
mov rcx, rax
call fcn.140005670
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x24]
and eax, 0x800
test eax, eax
je 0x140004e0f
mov edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.140014fb0
mov dword [rsp + 0x20], eax
jmp 0x140004e2a
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140015c30
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140004f26
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x20], 0
jne 0x140004e7a
mov rcx, qword [rsp + 0x30]
call fcn.14001d9a0
mov qword [rsp + 0x88], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x88]
mov r8, rcx
lea rdx, [0x140107778]
mov rcx, rax
call fcn.140005670
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov qword [rsp + 0x90], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x90]
mov r8, rcx
lea rdx, str.:__s:
mov rcx, rax
call fcn.140003170
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 qword [rsp + 0x98], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x98]
mov r8, rcx
lea rdx, [0x140107784]
mov rcx, rax
call fcn.140003170
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x20], 0
jne 0x140004f14
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [0x140107788]
mov rcx, rax
call fcn.140003170
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0xb4], 1
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x20], 0
je 0x140004f4e
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [0x14010778c]
mov rcx, rax
call fcn.140003170
cmp dword [rsp + 0x20], 0xffffffe2
jne 0x140004f57
jmp 0x140004f5c
jmp 0x14000498b
mov rcx, qword [rsp + 0x28]
call fcn.140014c70
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140004f8c
mov rcx, qword [rsp + 0x28]
call fcn.14000a7b0
mov r8, rax
lea rdx, [0x140107790]
xor ecx, ecx
call fcn.140009450
cmp dword [rsp + 0x20], 0xffffffec
jg 0x140004fa5
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0xb4], 1
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x20], 2
jle 0x140005009
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140014f80
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x28]
call fcn.14000a7f0
mov qword [rsp + 0xa8], rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0xa0]
mov r9, rcx
mov rcx, qword [rsp + 0xa8]
mov r8, rcx
lea rdx, str.Archive_Format:__s___Compression:__s_n
mov rcx, rax
call fcn.140003170
mov rcx, qword [rsp + 0x28]
call fcn.140014ca0
add rsp, 0xd8
pop rdi
pop rsi
ret