Function at 0x140025cf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
mov r13d, 0x5a
mov qword [rsp + 0x88], r14
mov r12, r9
mov dword [rsp + 0x80], r13d
mov rbp, r8
mov rdi, rdx
mov esi, r14d
mov r15d, r14d
test rdx, rdx
jne 0x140025d48
xor eax, eax
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x98], rbx
test rbp, rbp
je 0x1400260ce
test r12, r12
je 0x1400260ce
mov r8d, 8
lea rdx, str.sha256__
mov rcx, rdi
call fcn.14006e7e0
test eax, eax
jne 0x140025eef
mov rax, qword [case.0x14002e419.2]
cmp qword [rax + 0xb8], rsi
je 0x1400260ce
mov ecx, 0x20
call qword [fcn.14006bcf0]
mov rbx, rax
test rax, rax
je 0x140025e3b
mov r8, rax
mov r9d, 0x20
mov rax, qword [case.0x14002e419.2]
mov rdx, r12
mov rcx, rbp
call qword [rax + 0xb8]
test eax, eax
jne 0x1400260d1
lea rax, [rsp + 0x88]
mov r8d, 0x20
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rdx, rbx
call fcn.140041350
mov rcx, rbx
mov esi, eax
call qword [fcn.14006baa8]
test esi, esi
je 0x140025e07
mov eax, esi
jmp 0x1400260d1
mov rbx, 0xffffffffffffffff
nop
cmp byte [rdi + rbx + 1], r14b
lea rbx, [rbx + 1]
jne 0x140025e10
lea rcx, [rbx + 1]
call qword [fcn.14006bcf0]
mov r14, rax
test rax, rax
jne 0x140025e45
mov rcx, qword [rsp + 0x80]
call qword [fcn.14006baa8]
mov eax, 0x1b
jmp 0x1400260d1
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, r14
call fcn.140062140
mov rsi, qword [rsp + 0x88]
mov rdi, r14
mov rbp, qword [rsp + 0x80]
nop word [rax + rax]
lea rdx, str._sha256__
mov rcx, rdi
call fcn.140063aec
mov rbx, rax
test rax, rax
je 0x140025e8a
mov byte [rax], r15b
lea rdx, [rdi + 8]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r15b
jne 0x140025e95
cmp rsi, rax
jne 0x140025eb2
mov r8, rsi
mov rcx, rbp
call fcn.140063870
test eax, eax
je 0x140025ed3
test rbx, rbx
je 0x140025ed8
lea rdx, str.sha256__
mov byte [rbx], 0x3b
mov rcx, rbx
call fcn.140063aec
mov rdi, rax
test rax, rax
jne 0x140025e70
jmp 0x140025ed8
xor eax, eax
mov r13d, eax
mov rcx, rbp
call qword [fcn.14006baa8]
mov rcx, r14
call qword [fcn.14006baa8]
jmp 0x1400260ce
lea rdx, [0x1400bbfdc]
mov rcx, rdi
call fcn.14007521c
mov r13, rax
test rax, rax
je 0x1400260c8
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.14006b1e4
test eax, eax
jne 0x1400260a5
mov rcx, r13
call fcn.14006e644
xor r8d, r8d
movsxd rbx, eax
xor edx, edx
mov rcx, r13
call fcn.14006b1e4
test eax, eax
jne 0x1400260a5
cmp ebx, 0x100000
ja 0x1400260a5
cmp r12, rbx
ja 0x1400260a5
lea rcx, [rbx + 1]
call qword [fcn.14006bcf0]
mov rsi, rax
test rax, rax
je 0x1400260a5
mov r9, r13
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.14006b750
cmp eax, 1
jne 0x1400260a5
cmp r12, rbx
jne 0x140025fab
mov r8, r12
mov rdx, rsi
mov rcx, rbp
call fcn.140063870
test eax, eax
jne 0x1400260a5
mov ebx, r14d
jmp 0x1400260aa
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov byte [rbx + rsi], r14b
mov rcx, rsi
mov rdi, r14
call fcn.140063aec
test rax, rax
je 0x1400260a5
mov rbx, rax
sub rbx, rsi
je 0x140025fdc
cmp byte [rax - 1], 0xa
jne 0x1400260a5
add rbx, 0x1a
lea rdx, str._n_____END_PUBLIC_KEY_____
lea rcx, [rbx + rsi]
call fcn.140063aec
mov rbp, rax
test rax, rax
je 0x1400260a5
sub rbp, rsi
mov rcx, rbp
sub rcx, rbx
inc rcx
call qword [fcn.14006bcf0]
mov r14, rax
test rax, rax
je 0x1400260a5
cmp rbx, rbp
jae 0x14002603c
nop
movzx ecx, byte [rbx + rsi]
cmp cl, 0xa
je 0x140026034
cmp cl, 0xd
je 0x140026034
mov byte [rax + rdi], cl
inc rdi
inc rbx
cmp rbx, rbp
jb 0x140026020
lea r8, [rsp + 0x30]
mov byte [rax + rdi], r15b
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.140041180
mov rcx, r14
mov ebx, eax
call qword [fcn.14006baa8]
mov r15, qword [rsp + 0x88]
test ebx, ebx
jne 0x1400260a5
cmp r12, qword [rsp + 0x30]
jne 0x14002609c
mov rcx, qword [rsp + 0x90]
mov r8, r12
mov rdx, r15
call fcn.140063870
test eax, eax
mov ecx, 0x5a
mov eax, 0
cmove ecx, eax
mov dword [rsp + 0x80], ecx
mov ebx, dword [rsp + 0x80]
jmp 0x1400260aa
mov ebx, 0x5a
mov rcx, rsi
call qword [fcn.14006baa8]
mov rcx, r15
call qword [fcn.14006baa8]
mov rcx, r13
call fcn.14006ba44
mov eax, ebx
jmp 0x1400260d1
mov r13d, 0x5a
mov eax, r13d
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret