Function at 0x140078150
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
mov qword [rsp + 0x28], 0
mov rbx, rdx
mov rsi, r8
mov r12, r9
test rdx, rdx
je 0x1400783b8
test r8, r8
je 0x140078280
test r9, r9
je 0x140078280
lea rbp, str.sha256__
mov r8d, 8
mov rcx, rbx
mov rdx, rbp
call sym.strncmp
test eax, eax
jne 0x140078220
mov qword [rsp + 0x30], 0
mov rax, qword [0x14016bcc0]
mov qword [rsp + 0x38], 0
cmp qword [rax + 0xb8], 0
je 0x140078280
mov rax, qword [0x140186a50]
mov ecx, 0x20
call qword [rax]
mov r13, rax
test rax, rax
je 0x1400783c8
mov r8, rax
mov rax, qword [0x14016bcc0]
mov rdx, r12
mov rcx, rsi
mov r9d, 0x20
call qword [rax + 0xb8]
mov edi, eax
test eax, eax
je 0x1400782a0
mov rax, qword [0x140186a40]
mov rcx, r13
call qword [rax]
jmp 0x140078285
mov rcx, rbx
lea rdx, [0x140178e6c]
call sym.curlx_win32_fopen
mov rbx, rax
test rax, rax
je 0x140078280
xor edx, edx
mov r8d, 2
mov rcx, rax
call sym.fseek
test eax, eax
je 0x1400783d8
mov r14, qword [0x140186a40]
mov edi, 0x5a
xor ebp, ebp
mov rcx, rbp
call qword [r14]
mov rcx, qword [rsp + 0x28]
call qword [r14]
mov rcx, rbx
mov qword [rsp + 0x28], 0
call sym.fclose
jmp 0x140078285
mov edi, 0x5a
mov eax, edi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r13
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov edx, 0x20
call sym.Curl_base64_encode
mov r14, qword [0x140186a40]
mov rcx, r13
mov edi, eax
call qword [r14]
test edi, edi
jne 0x140078285
mov rax, qword [0x140186a70]
mov rcx, rbx
lea r12, str._sha256__
call qword [rax]
mov r13, rax
mov rsi, rax
test rax, rax
je 0x1400783c0
nop dword [rax]
mov rcx, rsi
mov rdx, r12
add rsi, 8
call sym.strstr
mov rbx, rax
test rax, rax
je 0x140078340
mov byte [rax], 0
mov rcx, rsi
call sym.strlen
cmp rax, qword [rsp + 0x30]
je 0x140078378
mov byte [rbx], 0x3b
mov rdx, rbp
mov rcx, rbx
call sym.strstr
mov rsi, rax
test rax, rax
jne 0x1400782f0
mov r15, qword [rsp + 0x38]
mov edi, 0x5a
jmp 0x140078359
mov rcx, rsi
call sym.strlen
mov r15, qword [rsp + 0x38]
cmp rax, qword [rsp + 0x30]
je 0x140078398
mov edi, 0x5a
mov rcx, r15
call qword [r14]
mov rcx, r13
mov qword [rsp + 0x38], 0
call qword [r14]
jmp 0x140078285
mov r15, qword [rsp + 0x38]
mov r8, rax
mov rdx, rsi
mov rcx, r15
call sym.memcmp
test eax, eax
jne 0x140078319
jmp 0x140078359
mov r8, rax
mov rdx, rsi
mov rcx, r15
call sym.memcmp
test eax, eax
mov eax, 0x5a
cmovne edi, eax
jmp 0x140078359
xor edi, edi
jmp 0x140078285
mov rcx, qword [rsp + 0x38]
call qword [r14]
mov edi, 0x1b
jmp 0x140078285
mov rcx, rbx
call sym.ftell
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov edi, eax
call sym.fseek
test eax, eax
jne 0x14007824f
cmp edi, 0x100000
ja 0x14007824f
movsxd rcx, edi
call sym.curlx_sotouz
mov rdi, rax
cmp rax, r12
jb 0x14007824f
mov r13, qword [0x140186a50]
lea rcx, [rax + 1]
call qword [r13]
mov rbp, rax
test rax, rax
je 0x14007824f
mov r9, rbx
mov r8d, 1
mov rdx, rdi
mov rcx, rax
call sym.fread
mov r14, qword [0x140186a40]
cmp eax, 1
je 0x14007845c
mov edi, 0x5a
jmp 0x14007825d
cmp r12, rdi
jne 0x14007847b
mov r8, r12
mov rdx, rbp
mov rcx, rsi
xor edi, edi
call sym.memcmp
test eax, eax
je 0x14007825d
jmp 0x140078452
mov byte [rbp + rdi], 0
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, rbp
call sym.strstr
test rax, rax
je 0x140078452
mov r15, rax
sub r15, rbp
je 0x1400784a2
cmp byte [rax - 1], 0xa
jne 0x140078452
add r15, 0x1a
lea rdx, str._n_____END_PUBLIC_KEY_____
lea r14, [rbp + r15]
mov rcx, r14
call sym.strstr
mov rdi, rax
test rax, rax
je 0x14007856a
sub rdi, rbp
mov rax, rdi
sub rax, r15
lea rcx, [rax + 1]
call qword [r13]
mov r13, rax
test rax, rax
je 0x14007856a
cmp r15, rdi
jae 0x140078566
add rdi, rbp
xor eax, eax
movzx edx, byte [r14]
cmp dl, 0xa
je 0x140078504
cmp dl, 0xd
je 0x140078504
mov byte [r13 + rax], dl
add rax, 1
add r14, 1
cmp r14, rdi
jne 0x1400784ed
mov byte [r13 + rax], 0
mov rcx, r13
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x38]
call sym.Curl_base64_decode
mov r14, qword [0x140186a40]
mov rcx, r13
mov edi, eax
call qword [r14]
test edi, edi
jne 0x140078452
cmp qword [rsp + 0x38], r12
jne 0x140078452
mov rdx, qword [rsp + 0x28]
mov r8, r12
mov rcx, rsi
call sym.memcmp
test eax, eax
mov eax, 0x5a
cmovne edi, eax
jmp 0x14007825d
xor eax, eax
jmp 0x14007850d
mov r14, qword [0x140186a40]
jmp 0x140078452