Function at 0x140034a50
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x128
xor r13d, r13d
mov qword [rsp + 0xd8], 0
mov rbx, rdx
mov r14, r8
test rdx, rdx
je 0x140034abe
test r8, r8
je 0x140034ad8
test byte [rbx + 0x28], 4
jne 0x140034abe
cmp byte [r14], 0
je 0x140034abe
lea r9, [rsp + 0xd8]
lea r8, [rsp + 0xd0]
mov rdx, r14
call sym.Curl_fopen
mov r13d, eax
test eax, eax
je 0x140034ae8
mov rcx, qword [rsp + 0xd8]
mov rax, qword [0x1401718c0]
call qword [rax]
mov eax, r13d
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rdx]
test r14, r14
jne 0x140034a82
jmp 0x140034abe
mov r9, qword [rsp + 0xd0]
mov r8d, 0x75
mov edx, 1
lea rcx, str._Your_alt_svc_cache._https:__curl.se_docs_alt_svc.html_n_This_file_was_generated_by_libcurl__Edit_at_your_own_risk._n
call sym.fwrite
lea rcx, [rbx + 8]
call sym.Curl_llist_head
mov r15, rax
test rax, rax
je 0x140034d98
lea rax, [rsp + 0xf0]
mov dword [rsp + 0xcc], r13d
mov qword [rsp + 0x180], r14
mov r13, rax
jmp 0x140034d23
mov rdx, qword [rbx + 0x10]
lea rbp, [rsp + 0xe0]
mov ecx, 0x17
lea rsi, [0x14016015e]
mov r8, rbp
lea r14, [0x140160162]
mov rdi, rsi
call sym.Curl_inet_pton
mov rdx, qword [rbx]
mov r8, rbp
mov ecx, 0x17
cmp eax, 1
lea rax, [0x140160164]
cmove rsi, r14
cmove rdi, rax
call sym.Curl_inet_pton
lea rdx, [0x14016015e]
mov r8d, dword [rbx + 0x1c]
movzx ebp, word [rbx + 0x18]
cmp eax, 1
mov r9, rdx
lea rax, [0x140160164]
cmove r9, rax
movzx eax, byte [rbx + 0x28]
cmove rdx, r14
mov r14d, dword [rbx + 0x2c]
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xf4]
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0x100]
add eax, 1
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0x104]
lea ecx, [rax + 0x76c]
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0xc0], rax
lea rax, [0x14016014f]
cmp r8d, 0x10
je 0x140034c51
lea rax, [0x140160152]
cmp r8d, 0x20
je 0x140034c51
cmp r8d, 8
lea rax, [0x14016014c]
lea r8, [0x14016015e]
cmovne rax, r8
movzx r11d, word [rbx + 8]
mov r10, qword [rbx]
lea r8, [0x14016014f]
mov ebx, dword [rbx + 0xc]
cmp ebx, 0x10
je 0x140034c89
lea r8, [0x140160152]
cmp ebx, 0x20
je 0x140034c89
cmp ebx, 8
lea r8, [0x14016014c]
lea rbx, [0x14016015e]
cmovne r8, rbx
mov ebx, dword [rsp + 0xac]
mov qword [rsp + 0x50], rsi
mov rsi, qword [rsp + 0xc0]
mov dword [rsp + 0x60], ecx
mov rcx, r12
mov dword [rsp + 0x90], ebx
mov ebx, dword [rsp + 0xb0]
mov qword [rsp + 0x28], rdx
lea rdx, str._s__s_s_s__u__s__s_s_s__u___d_02d_02d__02d:_02d:_02d___u__u_n
mov dword [rsp + 0x88], ebx
mov ebx, dword [rsp + 0xb4]
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x80], ebx
mov ebx, dword [rsp + 0xb8]
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x78], ebx
mov ebx, dword [rsp + 0xbc]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x20], r10
mov dword [rsp + 0x70], ebx
mov ebx, dword [rsp + 0xc8]
mov dword [rsp + 0x98], r14d
mov dword [rsp + 0x68], ebx
call sym.curl_mfprintf
test r15, r15
je 0x140034d88
mov rcx, r15
call sym.Curl_node_elem
mov rcx, r15
mov rbx, rax
call sym.Curl_node_next
mov rcx, qword [rbx + 0x20]
mov rdx, r13
mov r12, qword [rsp + 0xd0]
mov r15, rax
call sym.Curl_gmtime
mov esi, eax
test eax, eax
je 0x140034b40
mov rcx, qword [rsp + 0xd0]
call sym.fclose
mov rcx, qword [rsp + 0xd8]
mov r13d, esi
test rcx, rcx
je 0x140034ab5
call sym.unlink
jmp 0x140034aad
mov r13d, dword [rsp + 0xcc]
mov r14, qword [rsp + 0x180]
mov rcx, qword [rsp + 0xd0]
call sym.fclose
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140034ab5
mov rdx, r14
call sym.Curl_rename
test eax, eax
je 0x140034aad
mov esi, 0x17
jmp 0x140034d64