Function at 0x1400882a0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x468
xor ebx, ebx
mov r13, rcx
mov rsi, rdx
mov r12, r8
mov rdi, r9
test rdx, rdx
je 0x140088674
test r8, r8
je 0x140088490
test r9, r9
je 0x140088490
lea rbp, str.sha256__
mov r8d, 8
mov rcx, rsi
mov rdx, rbp
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x140088472
mov rax, qword [0x1400d95c0]
xor r8d, r8d
mov ebx, 0x5a
mov qword [rsp + 0x40], r8
cmp qword [rax + 0xb0], 0
mov qword [rsp + 0x60], r8
je 0x140088674
mov rax, qword [0x140135e80]
mov ecx, 0x20
call qword [rax]
mov r14, rax
test rax, rax
je 0x1400883ea
mov r8, rax
mov rax, qword [0x1400d95c0]
mov rdx, rdi
mov rcx, r12
mov r9d, 0x20
call qword [rax + 0xb0]
mov ebx, eax
test eax, eax
jne 0x140088378
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov edx, 0x20
mov rcx, r14
call fcn.140071cb0
mov ebx, eax
mov r12, qword [0x140135e70]
mov rcx, r14
call qword [r12]
test ebx, ebx
jne 0x140088674
test r13, r13
je 0x1400883c3
test byte [r13 + 0x98e], 0x20
je 0x1400883c3
mov rax, qword [r13 + 0x1188]
test rax, rax
je 0x1400883af
cmp dword [rax + 8], 0
jle 0x1400883c3
mov r8, qword [rsp + 0x60]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r13
call fcn.140083620
mov rax, qword [0x140135ea0]
mov rcx, rsi
lea r13, str._sha256__
call qword [rax]
mov rdi, rax
mov rsi, rax
test rax, rax
jne 0x140088426
mov rcx, qword [rsp + 0x60]
call qword [r12]
mov ebx, 0x1b
jmp 0x140088674
add rsi, 8
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov r8, rax
cmp rax, qword [rsp + 0x40]
je 0x14008843e
test r14, r14
je 0x140088451
mov byte [r14], 0x3b
mov rdx, rbp
mov rcx, r14
call sub.msvcrt.dll_strstr
mov rsi, rax
test rax, rax
je 0x140088451
mov rdx, r13
mov rcx, rsi
call sub.msvcrt.dll_strstr
mov r14, rax
test rax, rax
je 0x1400883f4
mov byte [rax], 0
jmp 0x1400883f4
mov rcx, qword [rsp + 0x60]
mov rdx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14008840a
jmp 0x140088456
mov ebx, 0x5a
mov rcx, qword [rsp + 0x60]
call qword [r12]
xor ecx, ecx
mov qword [rsp + 0x60], rcx
mov rcx, rdi
call qword [r12]
jmp 0x140088674
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x38], rdx
lea rdx, [0x14012dbf8]
call fcn.1400b8c90
mov rbp, rax
test rax, rax
jne 0x14008849a
mov ebx, 0x5a
jmp 0x140088674
lea r15, [rsp + 0x40]
mov edx, 0x100000
mov rcx, r15
call fcn.14007bbe0
xor edx, edx
mov r8d, 2
mov rcx, rbp
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x140088557
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 0x140088557
cmp ebx, 0x100000
ja 0x140088557
movsxd rcx, ebx
call fcn.1400b8930
mov rsi, rax
cmp rax, rdi
jb 0x140088557
mov r14, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov ebx, 0x400
mov rcx, qword [rsp + 0x28]
mov r9, rbp
mov edx, 1
cmp r14, rbx
cmovbe rbx, r14
mov r8, rbx
call sub.msvcrt.dll_fread
mov r13, rax
cmp rax, rbx
jne 0x140088557
mov rdx, qword [rsp + 0x28]
mov r8, rax
mov rcx, r15
call fcn.14007bba0
mov ebx, eax
test eax, eax
jne 0x140088557
sub r14, r13
jne 0x140088504
jmp 0x140088561
call fcn.14007bc10
mov rsi, rax
test rax, rax
jne 0x140088579
mov ebx, 0x5a
jmp 0x14008864f
mov rcx, r15
cmp rdi, rsi
jne 0x14008854a
call fcn.14007bc10
mov r8, rdi
mov rdx, rax
jmp 0x14008863f
mov rcx, qword [rsp + 0x28]
mov edx, 0x100000
call fcn.14007bbe0
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, rsi
call sub.msvcrt.dll_strstr
test rax, rax
je 0x140088557
mov r9, rax
sub r9, rsi
je 0x1400885aa
cmp byte [rax - 1], 0xa
jne 0x140088557
lea r13, [r9 + 0x1a]
lea rdx, str._n_____END_PUBLIC_KEY_____
lea rcx, [rsi + r13]
call sub.msvcrt.dll_strstr
mov r14, rax
test rax, rax
je 0x140088557
sub r14, rsi
cmp r13, r14
jae 0x1400885fc
mov al, byte [rsi + r13]
cmp al, 0xa
je 0x1400885da
cmp al, 0xd
jne 0x1400885df
inc r13
jmp 0x1400885c9
mov rcx, qword [rsp + 0x28]
lea rdx, [rsi + r13]
mov r8d, 1
call fcn.14007bba0
test eax, eax
je 0x1400885da
jmp 0x140088557
mov rcx, qword [rsp + 0x28]
call fcn.14007bc10
lea rdx, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, rax
call fcn.140071b10
mov rcx, qword [rsp + 0x28]
mov esi, eax
call fcn.14007bbb0
test esi, esi
jne 0x140088557
cmp qword [rsp + 0x30], rdi
jne 0x140088557
mov rdx, qword [rsp + 0x38]
mov r8, rdi
mov rcx, r12
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x140088557
mov rcx, r15
call fcn.14007bbb0
mov rax, qword [0x140135e70]
mov rcx, qword [rsp + 0x38]
call qword [rax]
xor eax, eax
mov rcx, rbp
mov qword [rsp + 0x38], rax
call sub.msvcrt.dll_fclose
mov eax, ebx
add rsp, 0x468
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret