Function at 0x1400e28f0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
xor ebx, ebx
mov r12, r8
xor r8d, r8d
mov r14, rcx
mov rsi, rdx
mov qword [rsp + 0x28], r8
mov rdi, r9
test rdx, rdx
je 0x1400e2c9d
test r12, r12
je 0x1400e2929
test r9, r9
jne 0x1400e2933
mov ebx, 0x5a
jmp 0x1400e2c9d
lea r13, str.sha256__
mov r8d, 8
mov rcx, rsi
mov rdx, r13
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x1400e2ace
mov rax, qword [0x14010aa40]
xor ecx, ecx
mov ebx, 0x5a
mov qword [rsp + 0x30], rcx
cmp qword [rax + 0xb8], 0
mov qword [rsp + 0x38], rcx
je 0x1400e2c9d
mov r15, qword [0x14013aec0]
mov ecx, 0x20
call qword [r15]
mov rbp, rax
test rax, rax
je 0x1400e2a20
mov r8, rax
mov rax, qword [0x14010aa40]
mov rcx, r12
mov rdx, rdi
mov r9d, 0x20
call qword [rax + 0xb8]
mov r12, qword [0x14013aeb0]
mov rcx, rbp
test eax, eax
mov ebx, eax
jne 0x1400e2ac5
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov edx, 0x20
call fcn.1400cb7f0
mov rcx, rbp
mov ebx, eax
call qword [r12]
test ebx, ebx
jne 0x1400e2c9d
mov r8, qword [rsp + 0x38]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r14
call fcn.1400ddc00
mov rcx, rsi
call sub.msvcrt.dll_strlen
lea rbp, [rax + 1]
mov rcx, rbp
call qword [r15]
mov r14, rax
test rax, rax
jne 0x1400e2a2a
mov rcx, qword [rsp + 0x38]
call qword [r12]
mov ebx, 0x1b
jmp 0x1400e2c9d
mov rdi, rax
mov rcx, rbp
rep movsb byte [rdi], byte [rsi]
mov rsi, rax
lea rdi, str._sha256__
mov rcx, rsi
mov rdx, rdi
add rsi, 8
call sub.msvcrt.dll_strstr
mov rbp, rax
test rax, rax
je 0x1400e2a81
mov byte [rax], 0
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov r8, qword [rsp + 0x30]
cmp rax, r8
je 0x1400e2a9a
mov byte [rbp], 0x3b
mov rdx, r13
mov rcx, rbp
call sub.msvcrt.dll_strstr
mov rsi, rax
test rax, rax
jne 0x1400e2a3c
jmp 0x1400e2a93
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov r8, qword [rsp + 0x30]
cmp rax, r8
je 0x1400e2a9a
mov ebx, 0x5a
jmp 0x1400e2ab2
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400e2ab2
test rbp, rbp
jne 0x1400e2a68
jmp 0x1400e2a93
mov rcx, qword [rsp + 0x38]
call qword [r12]
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x38], rdx
call qword [r12]
jmp 0x1400e2c9d
lea rdx, [0x14013379b]
mov rcx, rsi
call fcn.1400f6560
mov rbp, rax
test rax, rax
je 0x1400e2929
xor edx, edx
mov r8d, 2
mov rcx, rax
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x1400e2c74
mov rcx, rbp
call sub.msvcrt.dll_ftell
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov ebx, eax
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x1400e2c74
cmp ebx, 0x100000
ja 0x1400e2c74
movsxd rcx, ebx
call fcn.1400f61f0
mov rbx, rax
cmp rax, rdi
jb 0x1400e2c74
mov r13, qword [0x14013aec0]
lea rcx, [rax + 1]
call qword [r13]
mov rsi, rax
test rax, rax
je 0x1400e2c74
mov r9, rbp
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call sub.msvcrt.dll_fread
dec eax
jne 0x1400e2c6d
cmp rdi, rbx
jne 0x1400e2b99
mov r8, rdi
mov rdx, rsi
mov rcx, r12
xor ebx, ebx
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400e2c7b
jmp 0x1400e2c6d
mov byte [rsi + rbx], 0
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, rsi
call sub.msvcrt.dll_strstr
test rax, rax
je 0x1400e2c6d
mov rbx, rax
sub rbx, rsi
je 0x1400e2bc7
cmp byte [rax - 1], 0xa
jne 0x1400e2c6d
add rbx, 0x1a
lea rdx, str._n_____END_PUBLIC_KEY_____
lea rcx, [rsi + rbx]
call sub.msvcrt.dll_strstr
mov r14, rax
test rax, rax
je 0x1400e2c6d
sub r14, rsi
mov rax, r14
sub rax, rbx
lea rcx, [rax + 1]
call qword [r13]
mov r13, rax
xor eax, eax
test r13, r13
je 0x1400e2c6d
lea rcx, [r13 + rax]
cmp rbx, r14
jae 0x1400e2c23
mov dl, byte [rsi + rbx]
cmp dl, 0xa
je 0x1400e2c1e
cmp dl, 0xd
je 0x1400e2c1e
mov byte [rcx], dl
inc rax
inc rbx
jmp 0x1400e2c02
mov byte [rcx], 0
lea rdx, [rsp + 0x28]
mov rcx, r13
lea r8, [rsp + 0x38]
call fcn.1400cb650
mov rcx, r13
mov ebx, eax
mov rax, qword [0x14013aeb0]
call qword [rax]
test ebx, ebx
jne 0x1400e2c6d
cmp qword [rsp + 0x38], rdi
jne 0x1400e2c6d
mov rdx, qword [rsp + 0x28]
mov r8, rdi
mov rcx, r12
call sub.msvcrt.dll_memcmp
test eax, eax
mov eax, 0x5a
cmovne ebx, eax
jmp 0x1400e2c7b
mov ebx, 0x5a
jmp 0x1400e2c7b
mov ebx, 0x5a
xor esi, esi
mov rdi, qword [0x14013aeb0]
mov rcx, rsi
call qword [rdi]
mov rcx, qword [rsp + 0x28]
call qword [rdi]
xor eax, eax
mov rcx, rbp
mov qword [rsp + 0x28], rax
call sub.msvcrt.dll_fclose
mov eax, ebx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret