Function at 0x1401c9614
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
xor esi, esi
mov rbx, r9
and qword [rbp - 0x10], rsi
mov r12, r8
mov r14, rdx
mov r15, rcx
lea edi, [rsi + 0x5a]
test rdx, rdx
jne 0x1401c964e
xor eax, eax
jmp 0x1401c98df
test r12, r12
je 0x1401c98dd
test rbx, rbx
je 0x1401c98dd
mov r8d, 8
lea rdx, str.sha256__
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1401c97d0
mov rax, qword [0x14047b690]
and qword [rbp - 8], rsi
and qword [rbp + 0x38], rsi
cmp qword [rax + 0xb8], rsi
je 0x1401c98dd
mov ecx, 0x20
call qword [0x14047b580]
mov rsi, rax
test rax, rax
jne 0x1401c96b7
mov eax, 0x1b
jmp 0x1401c98df
mov rax, qword [0x14047b690]
mov r9d, 0x20
mov r8, rsi
mov rdx, rbx
mov rcx, r12
call qword [rax + 0xb8]
mov ebx, eax
test eax, eax
jne 0x1401c96ee
lea r9, [rbp - 8]
mov rcx, rsi
lea r8, [rbp + 0x38]
lea edx, [rax + 0x20]
call fcn.1401ecb80
mov ebx, eax
mov rcx, rsi
call qword [0x14047b588]
test ebx, ebx
je 0x1401c9702
mov eax, ebx
jmp 0x1401c98df
mov r8, qword [rbp + 0x38]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r15
call fcn.1401e3bac
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rbx, rax
lea rcx, [rax + 1]
call qword [0x14047b580]
mov r15, rax
test rax, rax
jne 0x1401c9741
mov rcx, qword [rbp + 0x38]
call qword [0x14047b588]
jmp 0x1401c96ad
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, r15
call fcn.1403318a0
mov rsi, r15
lea rdx, str._sha256__
mov rcx, rsi
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x1401c976d
mov byte [rax], 0
lea rcx, [rsi + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, qword [rbp - 8]
cmp r8, rax
jne 0x1401c9790
mov rcx, qword [rbp + 0x38]
lea rdx, [rsi + 8]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401c97b1
test rbx, rbx
je 0x1401c97b3
lea rdx, str.sha256__
mov byte [rbx], 0x3b
mov rcx, rbx
call sub.VCRUNTIME140.dll_strstr
mov rsi, rax
test rax, rax
je 0x1401c97b3
jmp 0x1401c9753
xor edi, edi
mov rcx, qword [rbp + 0x38]
call qword [0x14047b588]
and qword [rbp + 0x38], 0
mov rcx, r15
call qword [0x14047b588]
jmp 0x1401c98dd
lea rdx, [0x14043d93c]
mov rcx, r14
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov r15, rax
test rax, rax
je 0x1401c98dd
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1401c98bc
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, r15
movsxd r14, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1401c98bc
cmp r14d, 0x100000
ja 0x1401c98bc
mov rcx, r14
call fcn.1401e4230
mov r14, rax
cmp rbx, rax
ja 0x1401c98bc
lea rcx, [rax + 1]
call qword [0x14047b580]
mov rsi, rax
test rax, rax
je 0x1401c98bc
mov r9, r15
mov r8d, 1
mov rdx, r14
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp eax, 1
jne 0x1401c98bc
cmp rbx, r14
jne 0x1401c9888
mov r8, rbx
mov rdx, rsi
mov rcx, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c98bc
xor edi, edi
jmp 0x1401c98bc
lea r8, [rbp + 0x38]
mov byte [r14 + rsi], 0
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.1401ca754
test eax, eax
jne 0x1401c98bc
cmp rbx, qword [rbp + 0x38]
jne 0x1401c98bc
mov rdx, qword [rbp - 0x10]
mov r8, rbx
mov rcx, r12
call sub.VCRUNTIME140.dll_memcmp
neg eax
sbb ecx, ecx
and edi, ecx
mov rcx, rsi
call qword [0x14047b588]
mov rcx, qword [rbp - 0x10]
call qword [0x14047b588]
and qword [rbp - 0x10], 0
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret