Function at 0x140006990
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x90
mov rax, qword [0x14000c088]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, [0x1400094c4]
mov r15d, r9d
mov r12d, r8d
mov ebp, edx
mov rdi, rcx
cmp rcx, rax
jne 0x1400069e0
xor ecx, ecx
lea rdi, str.stdin
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rsi, rax
jmp 0x140006a0f
xor edx, edx
call fcn.140007bd0
mov rbx, rax
test rax, rax
je 0x140006c03
lea rdx, [0x140009c58]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rsi, rsi
je 0x140006c03
mov ecx, 0x1013
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x30], 0x1013
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, 0x10000
mov qword [rsp + 0x40], 0x10000
mov rbx, rax
mov qword [rsp + 0x38], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [rsp + 0xe0]
mov dword [rsp + 0x58], ecx
mov ecx, dword [rsp + 0xe8]
mov dword [rsp + 0x5c], ecx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], r15d
test rbx, rbx
je 0x140006bdd
test rax, rax
je 0x140006bdd
xor edx, edx
lea rcx, [rsp + 0x20]
test ebp, ebp
setne dl
call fcn.1400072d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rsi, rax
je 0x140006ac5
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp dword [rsp + 0x60], 0
jne 0x140006af2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rdi
lea rdx, str._s:_no_properly_formatted_xxHash_checksum_lines_found_n
mov rcx, rax
call fcn.1400070e0
xor edi, edi
mov eax, edi
jmp 0x140006c36
mov ebp, dword [rsp + 0x6c]
mov edi, 1
mov esi, dword [rsp + 0x64]
mov qword [rsp + 0xc8], r14
mov r14d, dword [rsp + 0x68]
test r15d, r15d
jne 0x140006bb6
test esi, esi
je 0x140006b4a
lea rax, str.line_is
cmp esi, edi
lea rbx, str.lines_are
mov ecx, edi
cmove rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea rdx, str._lu__s_improperly_formatted_n
mov rcx, rax
mov r8d, esi
call fcn.1400070e0
test ebp, ebp
je 0x140006b7f
lea rax, str.file
cmp ebp, edi
lea rbx, str.files
mov ecx, edi
cmove rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea rdx, str._lu_listed__s_could_not_be_read_n
mov rcx, rax
mov r8d, ebp
call fcn.1400070e0
test r14d, r14d
je 0x140006bb9
lea rax, str.checksum
cmp r14d, edi
lea rbx, str.checksums
mov ecx, edi
cmove rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea rdx, str._lu_computed__s_did_NOT_match_n
mov rcx, rax
mov r8d, r14d
call fcn.1400070e0
test r14d, r14d
mov r14, qword [rsp + 0xc8]
jne 0x140006bd7
test ebp, ebp
jne 0x140006bd7
test r12d, r12d
je 0x140006bd0
test esi, esi
jne 0x140006bd7
cmp dword [rsp + 0x74], 0
je 0x140006bd9
xor edi, edi
mov eax, edi
jmp 0x140006c36
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:_:_memory_allocation_failed__n
call fcn.1400070e0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
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 ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea rdx, str.Error:_Could_not_open__s:__s_n
mov rcx, rax
mov r8, rdi
call fcn.1400070e0
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140007fa0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret