Function at 0x4b8df3
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x38]
lea rdx, [0x00762f1a]
mov rcx, rax
call sub.msvcrt.dll_fopen
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x4b8e53
lea r8, str.Unable_to_open_public_key_file
mov edx, 0xfffffff0
mov rcx, qword [rbp + 0x10]
call fcn.004bcb4f
jmp 0x4b913d
jmp 0x4b8e5a
add qword [rbp - 0x10], 1
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_feof
test eax, eax
jne 0x4b8e9e
mov rdx, qword [rbp - 0x20]
lea rax, [rbp - 0x29]
mov r9, rdx
mov r8d, 1
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fread
cmp rax, 1
jne 0x4b8e9e
movzx eax, byte [rbp - 0x29]
cmp al, 0xd
je 0x4b8e9e
movzx eax, byte [rbp - 0x29]
cmp al, 0xa
jne 0x4b8e55
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_feof
test eax, eax
je 0x4b8eb3
sub qword [rbp - 0x10], 1
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_rewind
cmp qword [rbp - 0x10], 1
ja 0x4b8eec
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_fclose
lea r8, str.Invalid_data_in_public_key_file
mov edx, 0xfffffff0
mov rcx, qword [rbp + 0x10]
call fcn.004bcb4f
jmp 0x4b913d
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp - 0x10]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x4b8f2f
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_fclose
lea r8, str.Unable_to_allocate_memory_for_public_key_data
mov edx, 0xfffffffa
mov rcx, qword [rbp + 0x10]
call fcn.004bcb4f
jmp 0x4b913d
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fread
cmp rax, qword [rbp - 0x10]
je 0x4b8f8c
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x18]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp - 0x18]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_fclose
lea r8, str.Unable_to_read_public_key_from_file
mov edx, 0xfffffff0
mov rcx, qword [rbp + 0x10]
call fcn.004bcb4f
jmp 0x4b913d
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_fclose
jmp 0x4b8f9f
sub qword [rbp - 0x10], 1
cmp qword [rbp - 0x10], 0
je 0x4b8fca
mov rax, qword [rbp - 0x10]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x18]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll_isspace]
call rax
test eax, eax
jne 0x4b8f9a
cmp qword [rbp - 0x10], 0
jne 0x4b8ffd
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x18]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp - 0x18]
call rax
lea r8, str.Missing_public_key_data
mov edx, 0xfffffff0
mov rcx, qword [rbp + 0x10]
call fcn.004bcb4f
jmp 0x4b913d
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov r8, rdx
mov edx, 0x20
mov rcx, rax
call sub.msvcrt.dll_memchr
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
jne 0x4b904c
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x18]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp - 0x18]
call rax
lea r8, str.Invalid_public_key_data
mov edx, 0xfffffff0
mov rcx, qword [rbp + 0x10]
call fcn.004bcb4f
jmp 0x4b913d
add qword [rbp - 0x28], 1
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x28]
sub rdx, rax
mov rax, rdx
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
lea rdx, [rax + 1]
mov rax, qword [rbp - 0x28]
mov r8, rdx
mov edx, 0x20
mov rcx, rax
call sub.msvcrt.dll_memchr
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x4b909b
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 8], rax
mov rdx, qword [rbp - 8]
mov rax, qword [rbp - 0x28]
sub rdx, rax
mov rax, rdx
mov edx, eax
mov r8, qword [rbp - 0x28]
lea rcx, [rbp - 0x3c]
lea rax, [rbp - 0x38]
mov dword [rsp + 0x20], edx
mov r9, r8
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call sym.minerd.exe_libssh2_base64_decode
test eax, eax
je 0x4b90fa
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x18]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp - 0x18]
call rax
lea r8, str.Invalid_key_data__not_base64_encoded
mov edx, 0xfffffff0
mov rcx, qword [rbp + 0x10]
call fcn.004bcb4f
jmp 0x4b913d
mov rax, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x18]
mov qword [rax], rdx
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
sub rdx, rax
mov rax, rdx
sub rax, 1
mov rdx, rax
mov rax, qword [rbp + 0x20]
mov qword [rax], rdx
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbp + 0x28]
mov qword [rax], rdx
mov eax, dword [rbp - 0x3c]
mov edx, eax
mov rax, qword [rbp + 0x30]
mov qword [rax], rdx
mov eax, 0
add rsp, 0x70
pop rbp
ret