Function at 0x1402c43f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x20], 0x5a
cmp qword [rsp + 0xb8], 0
jne 0x1402c4437
xor eax, eax
jmp 0x1402c48b8
cmp qword [rsp + 0xc0], 0
je 0x1402c444d
cmp qword [rsp + 0xc8], 0
jne 0x1402c4456
mov eax, dword [rsp + 0x20]
jmp 0x1402c48b8
mov r8d, 8
lea rdx, [0x14044e198]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1402c46d3
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x38], 0
mov rax, qword [0x14044e0d0]
cmp qword [rax + 0xb8], 0
jne 0x1402c44a8
mov eax, dword [rsp + 0x20]
jmp 0x1402c48b8
mov ecx, 0x20
call qword [str._N5_]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1402c44ca
mov eax, 0x1b
jmp 0x1402c48b8
mov r9d, 0x20
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x14044e0d0]
call qword [rax + 0xb8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1402c451d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x38]
mov edx, 0x20
mov rcx, qword [rsp + 0x50]
call fcn.140306b70
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x50]
call qword [str.EN5_]
mov qword [rsp + 0x50], 0
xor eax, eax
test eax, eax
jne 0x1402c451d
cmp dword [rsp + 0x24], 0
je 0x1402c4547
mov eax, dword [rsp + 0x24]
jmp 0x1402c48b8
mov r8, qword [rsp + 0x38]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, qword [rsp + 0xb0]
call fcn.1402e8500
mov rcx, qword [rsp + 0xb8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc rax
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call qword [str._N5_]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1402c45b7
mov rcx, qword [rsp + 0x38]
call qword [str.EN5_]
mov qword [rsp + 0x38], 0
xor eax, eax
test eax, eax
jne 0x1402c4593
mov eax, 0x1b
jmp 0x1402c48b8
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rdx, str._sha256__
mov rcx, qword [rsp + 0x58]
call sub.VCRUNTIME140.dll_strstr
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1402c460b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x58]
add rax, 8
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp qword [rsp + 0x80], rax
jne 0x1402c4652
mov rax, qword [rsp + 0x58]
add rax, 8
mov r8, qword [rsp + 0x80]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1402c4652
mov dword [rsp + 0x20], 0
jmp 0x1402c4696
cmp qword [rsp + 0x40], 0
je 0x1402c4682
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0x3b
lea rdx, str.sha256__
mov rcx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_strstr
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x40], 0
je 0x1402c4696
cmp qword [rsp + 0x58], 0
jne 0x1402c45db
mov rcx, qword [rsp + 0x38]
call qword [str.EN5_]
mov qword [rsp + 0x38], 0
xor eax, eax
test eax, eax
jne 0x1402c4696
mov rcx, qword [rsp + 0x60]
call qword [str.EN5_]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1402c46b0
mov eax, dword [rsp + 0x20]
jmp 0x1402c48b8
lea rdx, [0x14044e1e4]
mov rcx, qword [rsp + 0xb8]
call fcn.1402f3c90
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1402c46fd
mov eax, dword [rsp + 0x20]
jmp 0x1402c48b8
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
je 0x1402c4719
jmp 0x1402c4875
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
je 0x1402c4741
jmp 0x1402c4875
cmp dword [rsp + 0x30], 0
jl 0x1402c4752
cmp dword [rsp + 0x30], 0x100000
jle 0x1402c4757
jmp 0x1402c4875
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.1402c7ce0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xc8], rax
jbe 0x1402c477d
jmp 0x1402c4875
mov rax, qword [rsp + 0x68]
inc rax
mov rcx, rax
call qword [str._N5_]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1402c47a0
jmp 0x1402c4875
mov r9, qword [rsp + 0x48]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp eax, 1
je 0x1402c47c5
jmp 0x1402c4875
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xc8], rax
jne 0x1402c47fc
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1402c47fa
mov dword [rsp + 0x20], 0
jmp 0x1402c4875
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call fcn.1402c6a50
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x1402c4833
jmp 0x1402c4875
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0xc8], rax
jne 0x1402c486b
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xc0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1402c486b
mov dword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x1402c46fd
mov rcx, qword [rsp + 0x28]
call qword [str.EN5_]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x1402c4875
mov rcx, qword [rsp + 0x70]
call qword [str.EN5_]
mov qword [rsp + 0x70], 0
xor eax, eax
test eax, eax
jne 0x1402c488f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [rsp + 0x20]
add rsp, 0xa8
ret