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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x140028008]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov r15, qword [rsp + 0x120]
xor r14d, r14d
xor ebp, ebp
mov r12d, edx
mov r13d, 0xc
mov rbx, rcx
cmp r8d, r13d
mov edi, r13d
cmovle edi, r8d
cmp dword [0x14002863c], ebp
je 0x1400172fd
cmp dword [0x140028034], 2
jb 0x1400172b2
lea ecx, [rbp + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Benchmark_Decompression_of_LZ4_Frame
call fcn.140015200
cmp dword [0x140028634], ebp
je 0x1400172d7
cmp dword [0x140028034], 2
jb 0x1400172fa
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str._without__checksum_even_when_present__n
jmp 0x1400172f2
cmp dword [0x140028034], 2
jb 0x1400172fa
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str._Checksum_when_present__n
mov rcx, rax
call fcn.140015200
mov r9d, edi
cmp r9d, r13d
mov esi, edi
cmovg r9d, r13d
cmp r9d, edi
cmovge esi, r9d
cmp esi, edi
jle 0x14001733a
cmp dword [0x140028034], 2
jb 0x14001733a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
lea rdx, str.Benchmarking_levels_from__d_to__d_n
mov rcx, rax
mov r8d, edi
call fcn.140015200
test r15, r15
je 0x1400175a6
lea rdx, [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64]
test eax, eax
jne 0x14001765c
mov eax, 0x8000
test word [rsp + 0x5e], ax
je 0x14001765c
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x14001765c
cmp dword [0x14002863c], ebp
je 0x1400173fa
cmp dword [0x140028034], 1
jb 0x1400173ee
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x1a
lea rdx, str.Error__i_:
mov rcx, rax
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x1400173ee
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.Error_:_LZ4_Frame_decoder_mode_not_compatible_with_dictionary_yet
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x1400173ee
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, 0x1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, [0x140022f74]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r15, rax
test rax, rax
jne 0x14001745e
cmp dword [0x140028034], 1
jb 0x1400176cb
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 + 0x19]
lea rdx, str.Error__i_:
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x1400176cb
lea ecx, [r15 + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Dictionary_error_:_could_not_open_dictionary_file
jmp 0x1400176a0
mov ebp, 0x10000
cmp r14, rbp
jbe 0x1400174d3
lea eax, [r14 - 0x10000]
xor r8d, r8d
movsxd rdx, eax
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test eax, eax
je 0x1400174d6
cmp dword [0x140028034], 1
jb 0x1400176cb
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x19
lea rdx, str.Error__i_:
mov rcx, rax
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x1400176cb
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Dictionary_error_:_could_not_seek_dictionary_file
jmp 0x1400176a0
mov rbp, r14
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
jne 0x140017533
cmp dword [0x140028034], 1
jb 0x1400176cb
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, [r14 + 0x19]
lea rdx, str.Error__i_:
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x1400176cb
lea ecx, [r14 + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Allocation_error_:_not_enough_memory
jmp 0x1400176a0
mov r9, r15
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x14001759d
cmp dword [0x140028034], 1
jb 0x1400176cb
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x19
lea rdx, str.Error__i_:
mov rcx, rax
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x1400176cb
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Dictionary_error_:_could_not_read_dictionary_file
jmp 0x1400176a0
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r12d, r12d
jne 0x140017757
xor eax, eax
mov qword [rsp + 0x50], 0x989680
mov ecx, 0x989680
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400176d7
cmp dword [0x140028034], 1
jb 0x140017650
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, [r12 + 0x15]
lea rdx, str.Error__i_:
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x140017650
lea ecx, [rbx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.not_enough_memory
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x140017650
lea ecx, [rbx + 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, 0x15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp dword [0x140028034], 1
jb 0x1400176cb
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x19
lea rdx, str.Error__i_:
mov rcx, rax
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x1400176cb
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Dictionary_error_:_could_not_stat_dictionary_file
mov rcx, rax
call fcn.140015200
cmp dword [0x140028034], 1
jb 0x1400176cb
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, 0x19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movsd xmm2, qword [0x140025a50]
xorps xmm3, xmm3
mov edx, 0x989680
mov dword [rsp + 0x20], 0
mov rcx, rbx
call fcn.140017b80
mov r9d, 0x32
lea r8, str.Synthetic__2u__
lea rcx, [rsp + 0x90]
lea edx, [r9 - 0x1e]
call fcn.140015250
mov dword [rsp + 0x40], ebp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x90]
mov dword [rsp + 0x30], 1
mov r9d, edi
mov qword [rsp + 0x28], rax
mov edx, 0x989680
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.1400169e0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400177c2
cmp dword [0x140028638], 0
je 0x1400177a8
cmp edi, r13d
cmovg edi, r13d
cmp esi, r13d
mov r15d, edi
cmovg esi, r13d
cmp esi, edi
cmovge r15d, esi
test r12d, r12d
je 0x1400177c2
mov rsi, r12
nop
mov dword [rsp + 0x28], ebp
mov r9d, r15d
mov r8d, edi
mov qword [rsp + 0x20], r14
mov edx, 1
mov rcx, rbx
call fcn.140016ed0
add rbx, 8
sub rsi, 1
jne 0x140017780
jmp 0x1400177c2
mov dword [rsp + 0x28], ebp
mov r9d, esi
mov r8d, edi
mov qword [rsp + 0x20], r14
mov edx, r12d
mov rcx, rbx
call fcn.140016ed0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140020560
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret