Function at 0x140006c60
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14000c088]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x30], r8d
mov r12d, r9d
mov qword [rsp + 0x40], rcx
mov r10d, r8d
mov r14d, 1
test edx, edx
jne 0x140006d0c
mov eax, dword [rsp + 0x130]
lea rcx, [0x1400094c4]
mov r9d, dword [rsp + 0x120]
mov r8d, r12d
mov dword [rsp + 0x28], eax
mov edx, r10d
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x20], eax
call fcn.140006990
mov r14d, eax
and r14d, 1
xor r14d, 1
mov eax, r14d
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140007fa0
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movsxd rax, edx
mov qword [rsp + 0x38], rax
test edx, edx
jle 0x140006cda
mov ebp, dword [rsp + 0x120]
lea r13, [0x1400094c4]
xor eax, eax
mov r15d, eax
nop dword [rax + rax]
mov rsi, qword [rcx + r15*8]
cmp rsi, r13
jne 0x140006d50
xor ecx, ecx
lea rsi, str.stdin
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
jmp 0x140006e27
mov dword [rsp + 0x28], eax
mov r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
test eax, eax
je 0x140006db6
mov rcx, rdi
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140006e06
mov dword [rsp + 0x28], edi
mov r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140006e06
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
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, rsi
call fcn.1400070e0
xor eax, eax
and r14d, eax
inc r15
cmp r15, qword [rsp + 0x38]
jge 0x140006cda
mov rcx, qword [rsp + 0x40]
xor eax, eax
jmp 0x140006d30
test rbx, rbx
je 0x140006db6
lea rdx, [0x140009c58]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rdi, rdi
je 0x140006db6
mov ecx, 0x1013
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], 0x1013
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, 0x10000
mov qword [rsp + 0x70], 0x10000
mov rbx, rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [rsp + 0x128]
mov dword [rsp + 0x88], ecx
mov ecx, dword [rsp + 0x130]
mov dword [rsp + 0x8c], ecx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], r12d
mov dword [rsp + 0x84], ebp
test rbx, rbx
je 0x14000701c
test rax, rax
je 0x14000701c
xor edx, edx
lea rcx, [rsp + 0x50]
cmp dword [rsp + 0x30], edx
setne dl
call fcn.1400072d0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x68]
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 rdi, rax
je 0x140006ee6
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp dword [rsp + 0x90], 0
jne 0x140006f12
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rsi
lea rdx, str._s:_no_properly_formatted_xxHash_checksum_lines_found_n
mov rcx, rax
call fcn.1400070e0
jmp 0x140006de7
cmp dword [rsp + 0x120], 0
mov esi, dword [rsp + 0x9c]
mov edi, dword [rsp + 0x98]
mov ebp, dword [rsp + 0x94]
jne 0x140006fe0
test ebp, ebp
je 0x140006f6e
lea rax, str.line_is
cmp ebp, 1
lea rbx, str.lines_are
mov ecx, 1
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, ebp
call fcn.1400070e0
test esi, esi
je 0x140006fa7
lea rax, str.file
cmp esi, 1
lea rbx, str.files
mov ecx, 1
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, esi
call fcn.1400070e0
test edi, edi
je 0x140006fe4
lea rax, str.checksum
cmp edi, 1
lea rbx, str.checksums
mov ecx, 1
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, edi
call fcn.1400070e0
test edi, edi
jne 0x140007010
test esi, esi
jne 0x140007010
test r12d, r12d
je 0x140006ff1
test ebp, ebp
jne 0x140007010
cmp dword [rsp + 0xa4], 0
mov ebp, dword [rsp + 0x120]
jne 0x140006de7
mov eax, 1
jmp 0x140006de9
mov ebp, dword [rsp + 0x120]
jmp 0x140006de7
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