Function at 0x14002f180
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 0x14002f430
test r8, r8
je 0x14002f2c0
test r9, r9
je 0x14002f2c0
lea rbp, str.sha256__
mov r8d, 8
mov rcx, rbx
mov rdx, rbp
call sym.strncmp
test eax, eax
jne 0x14002f258
mov qword [rsp + 0x30], 0
mov rax, qword [0x1400f1150]
mov qword [rsp + 0x38], 0
cmp qword [rax + 0xb0], 0
je 0x14002f2c0
mov rax, qword [0x14011e810]
mov ecx, 0x20
call qword [rax]
mov r15, rax
test rax, rax
je 0x14002f448
mov r8, rax
mov rax, qword [0x1400f1150]
mov rdx, r12
mov rcx, rsi
mov r9d, 0x20
call qword [rax + 0xb0]
mov edi, eax
test eax, eax
je 0x14002f2e0
mov rax, qword [0x14011e7f0]
mov rcx, r15
call qword [rax]
jmp 0x14002f2c5
mov rcx, rbx
lea rdx, [0x1400f8f3f]
call sym.curlx_win32_fopen
mov rbx, rax
test rax, rax
je 0x14002f2c0
xor edx, edx
mov r8d, 2
mov rcx, rax
call sym.fseek
test eax, eax
je 0x14002f458
mov r14, qword [0x14011e7f0]
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 0x14002f2c5
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 [0x14011e7f0]
mov rcx, r15
mov edi, eax
call qword [r14]
test edi, edi
jne 0x14002f2c5
test r13, r13
je 0x14002f340
test byte [r13 + 0xa37], 0x10
je 0x14002f340
mov rax, qword [r13 + 0x11e8]
test rax, rax
je 0x14002f32c
mov eax, dword [rax + 8]
test eax, eax
jle 0x14002f340
mov r8, qword [rsp + 0x38]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r13
call sym.Curl_infof
mov rax, qword [0x14011e830]
mov rcx, rbx
lea r12, str._sha256__
call qword [rax]
mov r13, rax
mov rsi, rax
test rax, rax
je 0x14002f440
nop word [rax + rax]
mov rcx, rsi
mov rdx, r12
add rsi, 8
call sym.strstr
mov rbx, rax
test rax, rax
je 0x14002f3b8
mov byte [rax], 0
mov rcx, rsi
call sym.strlen
cmp rax, qword [rsp + 0x30]
je 0x14002f3f0
mov byte [rbx], 0x3b
mov rdx, rbp
mov rcx, rbx
call sym.strstr
mov rsi, rax
test rax, rax
jne 0x14002f368
mov r15, qword [rsp + 0x38]
mov edi, 0x5a
jmp 0x14002f3d1
mov rcx, rsi
call sym.strlen
mov r15, qword [rsp + 0x38]
cmp rax, qword [rsp + 0x30]
je 0x14002f410
mov edi, 0x5a
mov rcx, r15
call qword [r14]
mov rcx, r13
mov qword [rsp + 0x38], 0
call qword [r14]
jmp 0x14002f2c5
mov r15, qword [rsp + 0x38]
mov r8, rax
mov rdx, rsi
mov rcx, r15
call sym.memcmp
test eax, eax
jne 0x14002f391
jmp 0x14002f3d1
mov r8, rax
mov rdx, rsi
mov rcx, r15
call sym.memcmp
test eax, eax
mov eax, 0x5a
cmovne edi, eax
jmp 0x14002f3d1
xor edi, edi
jmp 0x14002f2c5
mov rcx, qword [rsp + 0x38]
call qword [r14]
mov edi, 0x1b
jmp 0x14002f2c5
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 0x14002f287
cmp edi, 0x100000
ja 0x14002f287
movsxd rcx, edi
call sym.curlx_sotouz
mov rdi, rax
cmp rax, r12
jb 0x14002f287
mov r13, qword [0x14011e810]
lea rcx, [rax + 1]
call qword [r13]
mov rbp, rax
test rax, rax
je 0x14002f287
mov r9, rbx
mov r8d, 1
mov rdx, rdi
mov rcx, rax
call sym.fread
mov r14, qword [0x14011e7f0]
cmp eax, 1
je 0x14002f4dc
mov edi, 0x5a
jmp 0x14002f295
cmp r12, rdi
jne 0x14002f4fb
mov r8, r12
mov rdx, rbp
mov rcx, rsi
xor edi, edi
call sym.memcmp
test eax, eax
je 0x14002f295
jmp 0x14002f4d2
mov byte [rbp + rdi], 0
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, rbp
call sym.strstr
test rax, rax
je 0x14002f4d2
mov r15, rax
sub r15, rbp
je 0x14002f522
cmp byte [rax - 1], 0xa
jne 0x14002f4d2
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 0x14002f5ea
sub rdi, rbp
mov rax, rdi
sub rax, r15
lea rcx, [rax + 1]
call qword [r13]
mov r13, rax
test rax, rax
je 0x14002f5ea
cmp r15, rdi
jae 0x14002f5e6
add rdi, rbp
xor eax, eax
movzx edx, byte [r14]
cmp dl, 0xa
je 0x14002f584
cmp dl, 0xd
je 0x14002f584
mov byte [r13 + rax], dl
add rax, 1
add r14, 1
cmp r14, rdi
jne 0x14002f56d
mov byte [r13 + rax], 0
mov rcx, r13
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x38]
call sym.Curl_base64_decode
mov r14, qword [0x14011e7f0]
mov rcx, r13
mov edi, eax
call qword [r14]
test edi, edi
jne 0x14002f4d2
cmp qword [rsp + 0x38], r12
jne 0x14002f4d2
mov rdx, qword [rsp + 0x28]
mov r8, r12
mov rcx, rsi
call sym.memcmp
test eax, eax
mov eax, 0x5a
cmovne edi, eax
jmp 0x14002f295
xor eax, eax
jmp 0x14002f58d
mov r14, qword [0x14011e7f0]
jmp 0x14002f4d2