Function at 0x1400329f0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x468
mov rbx, rcx
mov r12, rdx
mov r14, r8
mov r15, r9
test rdx, rdx
je 0x140032ce0
test r8, r8
je 0x140032b70
test r9, r9
je 0x140032b70
mov ecx, 8
lea rdi, str.sha256__
mov rsi, rdx
repe cmpsb byte [rsi], byte [rdi]
seta al
sbb al, 0
test al, al
jne 0x140032ac0
mov qword [rsp + 0x40], 0
mov rax, qword [0x140154170]
mov qword [rsp + 0x60], 0
cmp qword [rax + 0xb0], 0
je 0x140032b70
mov rax, qword [0x1401719a0]
mov ecx, 0x20
call qword [rax]
mov rsi, rax
test rax, rax
je 0x140032cf0
mov r8, rax
mov rax, qword [0x140154170]
mov rdx, r15
mov rcx, r14
mov r9d, 0x20
call qword [rax + 0xb0]
mov r13d, eax
test eax, eax
je 0x140032b90
mov rax, qword [0x1401718c0]
mov rcx, rsi
call qword [rax]
jmp 0x140032b76
mov rcx, r12
lea rdx, [0x14015fc37]
mov qword [rsp + 0x38], 0
call sym.curlx_win32_fopen
mov r12, rax
test rax, rax
je 0x140032b70
lea rsi, [rsp + 0x40]
mov edx, 0x100000
mov rcx, rsi
call sym.Curl_dyn_init
xor edx, edx
mov r8d, 2
mov rcx, r12
call sym.fseek
test eax, eax
jne 0x140032b38
mov rcx, r12
call sym.ftell
xor r8d, r8d
xor edx, edx
mov rcx, r12
mov ebx, eax
call sym.fseek
test eax, eax
jne 0x140032b38
cmp ebx, 0x100000
jbe 0x140032d00
nop dword [rax]
mov r13d, 0x5a
mov rcx, rsi
call sym.Curl_dyn_free
mov rax, qword [0x1401718c0]
mov rcx, qword [rsp + 0x38]
call qword [rax]
mov rcx, r12
mov qword [rsp + 0x38], 0
call sym.fclose
jmp 0x140032b76
mov r13d, 0x5a
mov eax, r13d
add rsp, 0x468
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov edx, 0x20
call sym.Curl_base64_encode
mov rbp, qword [0x1401718c0]
mov rcx, rsi
mov r13d, eax
call qword [rbp]
test r13d, r13d
jne 0x140032b76
test rbx, rbx
je 0x140032bf1
test byte [rbx + 0xa47], 0x10
je 0x140032bf1
mov rax, qword [rbx + 0x1270]
test rax, rax
je 0x140032bdd
mov eax, dword [rax + 8]
test eax, eax
jle 0x140032bf1
mov r8, qword [rsp + 0x60]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, rbx
call sym.Curl_infof
mov rax, qword [0x1401719c0]
mov rcx, r12
lea rsi, str._sha256__
lea rdi, str.sha256__
call qword [rax]
mov r14, rax
mov r12, rax
test rax, rax
jne 0x140032c4d
jmp 0x140032d70
mov byte [rax], 0
mov rcx, r12
call sym.strlen
cmp rax, qword [rsp + 0x40]
je 0x140032ca0
mov byte [r15], 0x3b
mov rdx, rdi
mov rcx, r15
call sym.strstr
mov r12, rax
test rax, rax
je 0x140032ec0
mov rcx, r12
mov rdx, rsi
add r12, 8
call sym.strstr
mov r15, rax
test rax, rax
jne 0x140032c20
mov rcx, r12
call sym.strlen
mov rbx, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x40]
je 0x140032cc0
mov r13d, 0x5a
mov rcx, rbx
call qword [rbp]
mov rcx, r14
mov qword [rsp + 0x60], 0
call qword [rbp]
jmp 0x140032b76
mov rbx, qword [rsp + 0x60]
mov r8, rax
mov rdx, r12
mov rcx, rbx
call sym.memcmp
test eax, eax
jne 0x140032c32
jmp 0x140032c7e
mov r8, rax
mov rdx, r12
mov rcx, rbx
call sym.memcmp
test eax, eax
mov eax, 0x5a
cmovne r13d, eax
jmp 0x140032c7e
xor r13d, r13d
jmp 0x140032b76
mov r13d, 0x1b
jmp 0x140032b76
movsxd rcx, ebx
call sym.curlx_sotouz
mov qword [rsp + 0x28], rax
cmp r15, rax
ja 0x140032b38
mov rbx, rax
lea rbp, [rsp + 0x60]
jmp 0x140032d3e
mov r8, rax
mov rdx, rbp
mov rcx, rsi
call sym.Curl_dyn_addn
mov r13d, eax
test eax, eax
jne 0x140032b38
sub rbx, rdi
je 0x140032d83
cmp rbx, 0x400
mov r9, r12
mov edx, 1
mov rcx, rbp
mov r13d, 0x400
cmovbe r13, rbx
mov r8, r13
call sym.fread
mov rdi, rax
cmp rax, r13
je 0x140032d20
jmp 0x140032b38
mov rcx, qword [rsp + 0x60]
mov r13d, 0x1b
call qword [rbp]
jmp 0x140032b76
mov rcx, rsi
cmp r15, qword [rsp + 0x28]
je 0x140032ea0
call sym.Curl_dyn_ptr
mov rdi, rax
test rax, rax
je 0x140032b38
mov edx, 0x100000
mov rcx, rbp
call sym.Curl_dyn_init
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, rdi
call sym.strstr
test rax, rax
je 0x140032b38
mov rbx, rax
sub rbx, rdi
je 0x140032dd9
cmp byte [rax - 1], 0xa
jne 0x140032b38
add rbx, 0x1a
lea rdx, str._n_____END_PUBLIC_KEY_____
lea r9, [rdi + rbx]
mov rcx, r9
mov qword [rsp + 0x28], r9
call sym.strstr
test rax, rax
je 0x140032b38
sub rax, rdi
mov r9, qword [rsp + 0x28]
cmp rbx, rax
mov r10, rax
jb 0x140032e14
jmp 0x140032e4c
lea r9, [rdi + rbx]
movzx eax, byte [rdi + rbx]
cmp al, 0xa
je 0x140032e43
cmp al, 0xd
je 0x140032e43
mov r8d, 1
mov rdx, r9
mov rcx, rbp
mov qword [rsp + 0x28], r10
call sym.Curl_dyn_addn
mov r10, qword [rsp + 0x28]
test eax, eax
jne 0x140032b38
add rbx, 1
cmp r10, rbx
ja 0x140032e10
mov rcx, rbp
call sym.Curl_dyn_ptr
lea rdx, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, rax
call sym.Curl_base64_decode
mov rcx, rbp
mov ebx, eax
call sym.Curl_dyn_free
test ebx, ebx
jne 0x140032b38
cmp qword [rsp + 0x30], r15
jne 0x140032b38
mov rdx, qword [rsp + 0x38]
mov r8, r15
mov rcx, r14
call sym.memcmp
test eax, eax
jne 0x140032b38
jmp 0x140032b3e
call sym.Curl_dyn_ptr
mov r8, r15
mov rcx, r14
mov rdx, rax
call sym.memcmp
test eax, eax
je 0x140032b3e
jmp 0x140032b38
mov rbx, qword [rsp + 0x60]
jmp 0x140032c78