Function at 0x1401d41a0
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 0x1401d4532
test r13, r13
je 0x1401d41d9
test r9, r9
jne 0x1401d41e3
mov ebx, 0x5a
jmp 0x1401d4532
lea rbp, str.sha256__
mov r8d, 8
mov rcx, rsi
mov rdx, rbp
call sym.strncmp
test eax, eax
jne 0x1401d4366
mov rax, qword [0x140215110]
xor ecx, ecx
mov ebx, 0x5a
mov qword [rsp + 0x30], rcx
cmp qword [rax + 0xb8], 0
mov qword [rsp + 0x38], rcx
je 0x1401d4532
mov rax, qword [0x1402c1ab0]
mov ecx, 0x20
call qword [rax]
mov r14, rax
test rax, rax
je 0x1401d42de
mov r8, rax
mov rax, qword [0x140215110]
mov rdx, rdi
mov rcx, r13
mov r9d, 0x20
call qword [rax + 0xb8]
mov ebx, eax
test eax, eax
jne 0x1401d427e
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 [0x1402c1aa0]
mov rcx, r14
call qword [r12]
test ebx, ebx
jne 0x1401d4532
test r15, r15
je 0x1401d42b7
test byte [r15 + 0xa0e], 0x20
je 0x1401d42b7
mov r8, qword [rsp + 0x38]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r15
call sym.Curl_infof
mov rax, qword [0x1402c1af0]
mov rcx, rsi
lea r13, str._sha256__
call qword [rax]
mov rdi, rax
mov rsi, rax
test rax, rax
jne 0x1401d431a
mov rcx, qword [rsp + 0x38]
call qword [r12]
mov ebx, 0x1b
jmp 0x1401d4532
add rsi, 8
mov rcx, rsi
call sym.strlen
mov r8, rax
cmp rax, qword [rsp + 0x30]
je 0x1401d4332
test r14, r14
je 0x1401d4345
mov byte [r14], 0x3b
mov rdx, rbp
mov rcx, r14
call sym.strstr
mov rsi, rax
test rax, rax
je 0x1401d4345
mov rdx, r13
mov rcx, rsi
call sym.strstr
mov r14, rax
test rax, rax
je 0x1401d42e8
mov byte [rax], 0
jmp 0x1401d42e8
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1401d42fe
jmp 0x1401d434a
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 0x1401d4532
lea rdx, [0x1402b6910]
mov rcx, rsi
call sym.curlx_win32_fopen
mov rbp, rax
test rax, rax
je 0x1401d41d9
xor edx, edx
mov r8d, 2
mov rcx, rax
call sym.fseek
test eax, eax
jne 0x1401d4509
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 0x1401d4509
cmp ebx, 0x100000
ja 0x1401d4509
movsxd rcx, ebx
call sym.curlx_sotouz
mov rbx, rax
cmp rax, rdi
jb 0x1401d4509
mov r14, qword [0x1402c1ab0]
lea rcx, [rax + 1]
call qword [r14]
mov rsi, rax
test rax, rax
je 0x1401d4509
mov r9, rbp
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call sym.fread
dec eax
jne 0x1401d4502
cmp rdi, rbx
jne 0x1401d4430
mov r8, rdi
mov rdx, rsi
mov rcx, r13
xor ebx, ebx
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1401d4510
jmp 0x1401d4502
mov byte [rsi + rbx], 0
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, rsi
call sym.strstr
test rax, rax
je 0x1401d4502
mov rbx, rax
sub rbx, rsi
je 0x1401d445e
cmp byte [rax - 1], 0xa
jne 0x1401d4502
add rbx, 0x1a
lea rdx, str._n_____END_PUBLIC_KEY_____
lea rcx, [rsi + rbx]
call sym.strstr
mov r12, rax
test rax, rax
je 0x1401d4502
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 0x1401d4502
lea rcx, [r14 + rax]
cmp rbx, r12
jae 0x1401d44b8
mov dl, byte [rsi + rbx]
cmp dl, 0xa
je 0x1401d44b3
cmp dl, 0xd
je 0x1401d44b3
mov byte [rcx], dl
inc rax
inc rbx
jmp 0x1401d4498
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 [0x1402c1aa0]
call qword [rax]
test ebx, ebx
jne 0x1401d4502
cmp qword [rsp + 0x38], rdi
jne 0x1401d4502
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 0x1401d4510
mov ebx, 0x5a
jmp 0x1401d4510
mov ebx, 0x5a
xor esi, esi
mov rdi, qword [0x1402c1aa0]
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