Function at 0x14002f650
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 r13, rcx
mov rbx, rdx
mov rsi, r8
mov r12, r9
mov qword [rsp + 0x28], 0
test rdx, rdx
je 0x14002f900
test r8, r8
je 0x14002f790
test r9, r9
je 0x14002f790
lea rbp, str.sha256__
mov r8d, 8
mov rcx, rbx
mov rdx, rbp
call sym.strncmp
test eax, eax
jne 0x14002f728
mov qword [rsp + 0x30], 0
mov rax, qword [0x1400fc150]
mov qword [rsp + 0x38], 0
cmp qword [rax + 0xb0], 0
je 0x14002f790
mov rax, qword [0x140129dc0]
mov ecx, 0x20
call qword [rax]
mov r15, rax
test rax, rax
je 0x14002f918
mov r8, rax
mov rax, qword [0x1400fc150]
mov rdx, r12
mov rcx, rsi
mov r9d, 0x20
call qword [rax + 0xb0]
mov edi, eax
test eax, eax
je 0x14002f7b0
mov rax, qword [0x140129da0]
mov rcx, r15
call qword [rax]
jmp 0x14002f795
mov rcx, rbx
lea rdx, [0x14010405f]
call sym.curlx_win32_fopen
mov rbx, rax
test rax, rax
je 0x14002f790
xor edx, edx
mov r8d, 2
mov rcx, rax
call sym.fseek
test eax, eax
je 0x14002f928
mov r14, qword [0x140129da0]
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 0x14002f795
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, r15
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov edx, 0x20
call sym.Curl_base64_encode
mov r14, qword [0x140129da0]
mov rcx, r15
mov edi, eax
call qword [r14]
test edi, edi
jne 0x14002f795
test r13, r13
je 0x14002f810
test byte [r13 + 0xa37], 0x10
je 0x14002f810
mov rax, qword [r13 + 0x11e8]
test rax, rax
je 0x14002f7fc
mov eax, dword [rax + 8]
test eax, eax
jle 0x14002f810
mov r8, qword [rsp + 0x38]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r13
call sym.Curl_infof
mov rax, qword [0x140129de0]
mov rcx, rbx
lea r12, str._sha256__
call qword [rax]
mov r13, rax
mov rsi, rax
test rax, rax
je 0x14002f910
nop word [rax + rax]
mov rcx, rsi
mov rdx, r12
add rsi, 8
call sym.strstr
mov rbx, rax
test rax, rax
je 0x14002f888
mov byte [rax], 0
mov rcx, rsi
call sym.strlen
cmp rax, qword [rsp + 0x30]
je 0x14002f8c0
mov byte [rbx], 0x3b
mov rdx, rbp
mov rcx, rbx
call sym.strstr
mov rsi, rax
test rax, rax
jne 0x14002f838
mov r15, qword [rsp + 0x38]
mov edi, 0x5a
jmp 0x14002f8a1
mov rcx, rsi
call sym.strlen
mov r15, qword [rsp + 0x38]
cmp rax, qword [rsp + 0x30]
je 0x14002f8e0
mov edi, 0x5a
mov rcx, r15
call qword [r14]
mov rcx, r13
mov qword [rsp + 0x38], 0
call qword [r14]
jmp 0x14002f795
mov r15, qword [rsp + 0x38]
mov r8, rax
mov rdx, rsi
mov rcx, r15
call sym.memcmp
test eax, eax
jne 0x14002f861
jmp 0x14002f8a1
mov r8, rax
mov rdx, rsi
mov rcx, r15
call sym.memcmp
test eax, eax
mov eax, 0x5a
cmovne edi, eax
jmp 0x14002f8a1
xor edi, edi
jmp 0x14002f795
mov rcx, qword [rsp + 0x38]
call qword [r14]
mov edi, 0x1b
jmp 0x14002f795
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 0x14002f757
cmp edi, 0x100000
ja 0x14002f757
movsxd rcx, edi
call sym.curlx_sotouz
mov rdi, rax
cmp rax, r12
jb 0x14002f757
mov r13, qword [0x140129dc0]
lea rcx, [rax + 1]
call qword [r13]
mov rbp, rax
test rax, rax
je 0x14002f757
mov r9, rbx
mov r8d, 1
mov rdx, rdi
mov rcx, rax
call sym.fread
mov r14, qword [0x140129da0]
cmp eax, 1
je 0x14002f9ac
mov edi, 0x5a
jmp 0x14002f765
cmp r12, rdi
jne 0x14002f9cb
mov r8, r12
mov rdx, rbp
mov rcx, rsi
xor edi, edi
call sym.memcmp
test eax, eax
je 0x14002f765
jmp 0x14002f9a2
mov byte [rbp + rdi], 0
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, rbp
call sym.strstr
test rax, rax
je 0x14002f9a2
mov r15, rax
sub r15, rbp
je 0x14002f9f2
cmp byte [rax - 1], 0xa
jne 0x14002f9a2
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 0x14002faba
sub rdi, rbp
mov rax, rdi
sub rax, r15
lea rcx, [rax + 1]
call qword [r13]
mov r13, rax
test rax, rax
je 0x14002faba
cmp r15, rdi
jae 0x14002fab6
add rdi, rbp
xor eax, eax
movzx edx, byte [r14]
cmp dl, 0xa
je 0x14002fa54
cmp dl, 0xd
je 0x14002fa54
mov byte [r13 + rax], dl
add rax, 1
add r14, 1
cmp r14, rdi
jne 0x14002fa3d
mov byte [r13 + rax], 0
mov rcx, r13
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x38]
call sym.Curl_base64_decode
mov r14, qword [0x140129da0]
mov rcx, r13
mov edi, eax
call qword [r14]
test edi, edi
jne 0x14002f9a2
cmp qword [rsp + 0x38], r12
jne 0x14002f9a2
mov rdx, qword [rsp + 0x28]
mov r8, r12
mov rcx, rsi
call sym.memcmp
test eax, eax
mov eax, 0x5a
cmovne edi, eax
jmp 0x14002f765
xor eax, eax
jmp 0x14002fa5d
mov r14, qword [0x140129da0]
jmp 0x14002f9a2