Function at 0x1401aaf30
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 r13, r8
xor r8d, r8d
mov r15, rcx
mov rsi, rdx
mov qword [rsp + 0x28], r8
mov rdi, r9
test rdx, rdx
je 0x1401ab2c2
test r13, r13
je 0x1401aaf69
test r9, r9
jne 0x1401aaf73
mov ebx, 0x5a
jmp 0x1401ab2c2
lea rbp, str.sha256__
mov r8d, 8
mov rcx, rsi
mov rdx, rbp
call sym.strncmp
test eax, eax
jne 0x1401ab0f6
mov rax, qword [0x1401eb110]
xor ecx, ecx
mov ebx, 0x5a
mov qword [rsp + 0x30], rcx
cmp qword [rax + 0xb8], 0
mov qword [rsp + 0x38], rcx
je 0x1401ab2c2
mov rax, qword [0x140297bb0]
mov ecx, 0x20
call qword [rax]
mov r14, rax
test rax, rax
je 0x1401ab06e
mov r8, rax
mov rax, qword [0x1401eb110]
mov rdx, rdi
mov rcx, r13
mov r9d, 0x20
call qword [rax + 0xb8]
mov ebx, eax
test eax, eax
jne 0x1401ab00e
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov edx, 0x20
mov rcx, r14
call sym.Curl_base64_encode
mov ebx, eax
mov r12, qword [0x140297ba0]
mov rcx, r14
call qword [r12]
test ebx, ebx
jne 0x1401ab2c2
test r15, r15
je 0x1401ab047
test byte [r15 + 0xa0e], 0x20
je 0x1401ab047
mov r8, qword [rsp + 0x38]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r15
call sym.Curl_infof
mov rax, qword [0x140297bf0]
mov rcx, rsi
lea r13, str._sha256__
call qword [rax]
mov rdi, rax
mov rsi, rax
test rax, rax
jne 0x1401ab0aa
mov rcx, qword [rsp + 0x38]
call qword [r12]
mov ebx, 0x1b
jmp 0x1401ab2c2
add rsi, 8
mov rcx, rsi
call sym.strlen
mov r8, rax
cmp rax, qword [rsp + 0x30]
je 0x1401ab0c2
test r14, r14
je 0x1401ab0d5
mov byte [r14], 0x3b
mov rdx, rbp
mov rcx, r14
call sym.strstr
mov rsi, rax
test rax, rax
je 0x1401ab0d5
mov rdx, r13
mov rcx, rsi
call sym.strstr
mov r14, rax
test rax, rax
je 0x1401ab078
mov byte [rax], 0
jmp 0x1401ab078
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1401ab08e
jmp 0x1401ab0da
mov ebx, 0x5a
mov rcx, qword [rsp + 0x38]
call qword [r12]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x38], rdx
call qword [r12]
jmp 0x1401ab2c2
lea rdx, [0x14028ca20]
mov rcx, rsi
call sym.curlx_win32_fopen
mov rbp, rax
test rax, rax
je 0x1401aaf69
xor edx, edx
mov r8d, 2
mov rcx, rax
call sym.fseek
test eax, eax
jne 0x1401ab299
mov rcx, rbp
call sym.ftell
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov ebx, eax
call sym.fseek
test eax, eax
jne 0x1401ab299
cmp ebx, 0x100000
ja 0x1401ab299
movsxd rcx, ebx
call sym.curlx_sotouz
mov rbx, rax
cmp rax, rdi
jb 0x1401ab299
mov r14, qword [0x140297bb0]
lea rcx, [rax + 1]
call qword [r14]
mov rsi, rax
test rax, rax
je 0x1401ab299
mov r9, rbp
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call sym.fread
dec eax
jne 0x1401ab292
cmp rdi, rbx
jne 0x1401ab1c0
mov r8, rdi
mov rdx, rsi
mov rcx, r13
xor ebx, ebx
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1401ab2a0
jmp 0x1401ab292
mov byte [rsi + rbx], 0
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, rsi
call sym.strstr
test rax, rax
je 0x1401ab292
mov rbx, rax
sub rbx, rsi
je 0x1401ab1ee
cmp byte [rax - 1], 0xa
jne 0x1401ab292
add rbx, 0x1a
lea rdx, str._n_____END_PUBLIC_KEY_____
lea rcx, [rsi + rbx]
call sym.strstr
mov r12, rax
test rax, rax
je 0x1401ab292
sub r12, rsi
mov rax, r12
sub rax, rbx
lea rcx, [rax + 1]
call qword [r14]
mov r14, rax
xor eax, eax
test r14, r14
je 0x1401ab292
lea rcx, [r14 + rax]
cmp rbx, r12
jae 0x1401ab248
mov dl, byte [rsi + rbx]
cmp dl, 0xa
je 0x1401ab243
cmp dl, 0xd
je 0x1401ab243
mov byte [rcx], dl
inc rax
inc rbx
jmp 0x1401ab228
mov byte [rcx], 0
lea rdx, [rsp + 0x28]
mov rcx, r14
lea r8, [rsp + 0x38]
call sym.Curl_base64_decode
mov rcx, r14
mov ebx, eax
mov rax, qword [0x140297ba0]
call qword [rax]
test ebx, ebx
jne 0x1401ab292
cmp qword [rsp + 0x38], rdi
jne 0x1401ab292
mov rdx, qword [rsp + 0x28]
mov r8, rdi
mov rcx, r13
call sub.msvcrt.dll_memcmp
test eax, eax
mov eax, 0x5a
cmovne ebx, eax
jmp 0x1401ab2a0
mov ebx, 0x5a
jmp 0x1401ab2a0
mov ebx, 0x5a
xor esi, esi
mov rdi, qword [0x140297ba0]
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 sym.fclose
mov eax, ebx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret