Function at 0x14001dd90
Capabilities:
Read file on windows
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x80
mov rax, qword [0x140028008]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor edi, edi
mov qword [rsp + 0x38], r8
xor r15d, r15d
mov qword [rsp + 0x40], rdx
mov r13, r9
mov rsi, r8
mov r12, rdx
mov rbx, rcx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x5c], 1
mov dword [rsp + 0x64], edi
cmp dword [r9 + 0x18], edi
jne 0x14001ddf4
cmp dword [r9 + 0x1c], edi
jne 0x14001ddf4
lea rdx, [rsp + 0x58]
jmp 0x14001ddf6
xor edx, edx
mov rax, qword [rcx]
mov qword [rsp + 0x50], 4
mov qword [rsp + 0x48], rdi
mov dword [rax], 0x184d2204
mov r8, qword [rcx + 0x38]
mov r9, qword [rcx]
mov r10, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x28]
cmp dword [rcx + 0x44], 2
jg 0x14001de34
mov rax, qword [rbx + 0x30]
mov qword [rcx + 0x80], rax
mov qword [rcx + 0x88], r8
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x50]
mov rdx, r10
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
call fcn.14000a070
mov rbp, rax
cmp rax, 0xffffffffffffffea
jbe 0x14001deef
cmp dword [0x140028678], 1
jl 0x14001dee3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x3e
lea rdx, str.Error__i_:
mov rcx, rax
call fcn.140015200
cmp dword [0x140028678], 1
jl 0x14001dee3
movsxd rax, ebp
lea rbx, str.OK_NoError
shl rax, 3
mov ecx, 2
sub rbx, rax
mov rbx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Header_error_:__s
mov rcx, rax
call fcn.140015200
cmp dword [0x140028678], 1
jl 0x14001dee3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x140024bf0]
call fcn.140015200
mov ecx, 0x3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x78], r14
test rbp, rbp
je 0x14001e124
mov rcx, qword [rbx + 0x18]
nop dword [rax]
nop word [rax + rax]
mov rax, rbp
xor r14d, r14d
mov rbp, qword [rbx + 8]
mov rsi, rcx
mov rcx, qword [rbx]
cmp rax, rbp
mov r9, r12
cmovbe rbp, rax
lea edx, [r14 + 1]
mov r8, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r12, rax
test rax, rax
je 0x14001e11a
cmp r14, r12
jb 0x14001df55
mov rcx, qword [rbx + 0x18]
cmp rsi, rcx
jne 0x14001e075
mov rcx, qword [rbx + 0x28]
mov rax, r12
mov r9, qword [rbx]
sub rax, r14
mov r8, qword [rbx + 0x38]
add r9, r14
mov rdx, qword [rbx + 0x10]
cmp dword [rcx + 0x44], 2
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x50], rax
jg 0x14001df93
mov rax, qword [rbx + 0x30]
mov qword [rcx + 0x80], rax
mov qword [rcx + 0x88], r8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.14000a070
mov rbp, rax
cmp rax, 0xffffffffffffffea
ja 0x14001e088
add r14, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x14001e069
cmp dword [r13 + 8], 0
jne 0x14001dff4
mov r9d, dword [r13 + 0x24]
mov r8, rsi
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], edi
call fcn.14001d050
mov dword [rsp + 0x30], eax
add r15, rsi
cmp dword [0x140028678], 2
jl 0x14001e069
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
sub eax, dword [0x140028680]
cmp eax, 0xa6
jg 0x14001e01c
cmp dword [0x140028678], 4
jl 0x14001e069
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov rdi, r15
mov ecx, 2
mov dword [0x140028680], eax
shr rdi, 0x14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, edi
lea rdx, str._rDecompressed_:__u_MiB
mov rcx, rax
call fcn.140015200
cmp dword [0x140028678], 4
jl 0x14001e069
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 edi, dword [rsp + 0x30]
test rbp, rbp
jmp 0x14001df3d
mov r12, qword [rsp + 0x40]
test rbp, rbp
je 0x14001e11f
jmp 0x14001df10
cmp dword [0x140028678], 1
jl 0x14001e10e
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x42
lea rdx, str.Error__i_:
mov rcx, rax
call fcn.140015200
cmp dword [0x140028678], 1
jl 0x14001e10e
movsxd rax, ebp
lea rbx, str.OK_NoError
shl rax, 3
mov ecx, 2
sub rbx, rax
mov rbx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Decompression_error_:__s
mov rcx, rax
call fcn.140015200
cmp dword [0x140028678], 1
jl 0x14001e10e
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x140024bf0]
call fcn.140015200
mov ecx, 0x42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
je 0x14001e1ac
cmp dword [0x140028678], 1
jl 0x14001e1a0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x43
lea rdx, str.Error__i_:
mov rcx, rax
call fcn.140015200
cmp dword [0x140028678], 1
jl 0x14001e1a0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Read_error
call fcn.140015200
cmp dword [0x140028678], 1
jl 0x14001e1a0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x140024bf0]
call fcn.140015200
mov ecx, 0x43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp dword [r13 + 8], 0
jne 0x14001e1bd
mov edx, edi
mov rcx, rsi
call fcn.14001d530
test rbp, rbp
je 0x14001e23d
cmp dword [0x140028678], 1
jl 0x14001e231
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x44
lea rdx, str.Error__i_:
mov rcx, rax
call fcn.140015200
cmp dword [0x140028678], 1
jl 0x14001e231
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Unfinished_stream
call fcn.140015200
cmp dword [0x140028678], 1
jl 0x14001e231
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x140024bf0]
call fcn.140015200
mov ecx, 0x44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r14, qword [rsp + 0x78]
mov rax, r15
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140020560
add rsp, 0x80
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret