Function at 0x140016ed0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140028008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x120]
mov r12, rcx
mov qword [rsp + 0x58], rax
mov rcx, 0xffffffffffffffff
mov r14d, edx
mov eax, 8
mov esi, edx
mov r13d, r9d
mul r14
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x54], r8d
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor ebp, ebp
mov r15, rax
mov edi, ebp
test r14d, r14d
je 0x140016f84
mov rbx, r12
mov r13d, 0x8000
nop dword [rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64]
test eax, eax
jne 0x140016f6f
mov rax, qword [rsp + 0x78]
test word [rsp + 0x66], r13w
jne 0x140016f72
mov rax, rbp
add rdi, rax
add rbx, 8
sub rsi, 1
jne 0x140016f50
mov r13d, dword [rsp + 0x50]
xor eax, eax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0xa8], eax
test r15, r15
jne 0x140016fee
cmp dword [0x140028034], 1
jb 0x14001717a
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8d, [r15 + 0xc]
lea rdx, str.Error__i_:
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x14001717a
lea ecx, [r15 + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.not_enough_memory_for_fileSizes
jmp 0x14001714f
movabs rax, 0x200000000
lea rbx, [rdi + rdi*2]
and rbx, 0xfffffffffc000000
add rbx, 0xc000000
cmp rbx, rax
cmova rbx, rax
nop dword [rax]
nop word [rax + rax]
mov rax, rbx
mov rcx, rbx
shr rcx, 1
add rbx, 0xfffffffffc000000
cmp rax, 0x4000000
cmovbe rbx, rcx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140017020
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rbx
lea rcx, [rbx - 0x4000000]
shr rax, 1
cmp rbx, 0x4000000
cmovbe rcx, rax
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
cmp rcx, 3
jb 0x14001710b
cmp rdx, rdi
mov rsi, rdi
mov ebx, 0x7e000000
cmovbe rsi, rdx
cmp rsi, rbx
jbe 0x1400170b9
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x7e0
lea rdx, str.File_s__bigger_than_LZ4s_max_input_size__testing__u_MB_only..._n
mov rcx, rax
call fcn.140015200
jmp 0x1400170e5
mov rbx, rsi
cmp rsi, rdi
jae 0x1400170e5
mov ecx, 2
shr rbx, 0x14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Not_enough_memory__testing__u_MB_only..._n
mov rcx, rax
call fcn.140015200
mov rbx, rsi
test rbx, rbx
mov rax, 0xffffffffffffffff
mov rcx, rbx
sete bpl
add rcx, rbp
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140017186
cmp dword [0x140028034], 1
jb 0x14001717a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0xc
lea rdx, str.Error__i_:
mov rcx, rax
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x14001717a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.not_enough_memory
mov rcx, rax
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x14001717a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x140022b38]
call fcn.140015200
mov ecx, 0xc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9, r12
mov dword [rsp + 0x20], r14d
mov r8, r15
mov rdx, rbx
mov rcx, rdi
call fcn.140016b30
mov r9d, r14d
lea r8, str.__u_files
mov edx, 0x14
lea rcx, [rsp + 0x98]
call fcn.140015250
lea r8, [rsp + 0x98]
cmp r14d, 1
ja 0x1400171ca
mov r8, qword [r12]
mov eax, dword [rsp + 0x128]
mov rdx, rbx
mov r9d, dword [rsp + 0x54]
mov rcx, rdi
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r13d
call fcn.1400169e0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140020560
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret