Function at 0x14002e1d0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rax, qword [0x1400cb080]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xb8], 0
xor esi, esi
test rdx, rdx
je 0x14002e47d
mov rdi, r8
mov rbx, rdx
test r8, r8
jne 0x14002e21a
mov rdi, qword [rbx]
test byte [rbx + 0x28], 4
jne 0x14002e47d
test rdi, rdi
je 0x14002e47d
cmp byte [rdi], 0
je 0x14002e47d
lea r8, [rsp + 0xc0]
lea r9, [rsp + 0xb8]
mov rdx, rdi
call fcn.140071110
mov esi, eax
test eax, eax
jne 0x14002e46f
mov r9, qword [rsp + 0xc0]
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
mov edx, reloc.WLDAP32.dll_Ordinal_117
mov r8d, 1
call fcn.140093198
mov r13, qword [rbx + 8]
xor esi, esi
test r13, r13
je 0x14002e429
mov qword [rsp + 0xa8], rdi
lea rdi, [0x1400c05c0]
jmp 0x14002e348
lea r8, [0x1400c0407]
mov r15d, dword [rsp + 0xc8]
mov r14d, dword [rsp + 0xcc]
mov r9, rdi
mov edi, dword [rsp + 0xd0]
mov edx, dword [rsp + 0xd4]
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x90], ebp
mov dword [rsp + 0x88], r15d
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x78], edi
mov rdi, r9
mov dword [rsp + 0x70], edx
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x60], r10d
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x30], eax
lea r9, [0x1400c3031]
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x28], r9
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov rcx, r12
lea rdx, str._s__s_s_s__u__s__s_s_s__u___d_02d_02d__02d:_02d:_02d___u__d_n
call fcn.14003be00
test r13, r13
je 0x14002e41b
mov r15, qword [r13]
mov r13, qword [r13 + 0x10]
mov r12, qword [rsp + 0xc0]
mov rcx, qword [r15 + 0x20]
lea rdx, [rsp + 0xc8]
call fcn.1400710b0
test eax, eax
jne 0x14002e41f
mov ecx, dword [r15 + 0x1c]
mov rax, rdi
cmp ecx, 8
je 0x14002e3a0
cmp ecx, 0x20
je 0x14002e390
cmp ecx, 0x10
jne 0x14002e399
lea rax, [0x1400c046d]
jmp 0x14002e3a0
lea rax, [0x1400c0407]
jmp 0x14002e3a0
lea rax, [0x1400c3031]
mov ebx, dword [r15 + 0x2c]
movzx ebp, byte [r15 + 0x28]
mov ecx, dword [rsp + 0xd8]
inc ecx
mov r10d, dword [rsp + 0xdc]
mov edx, 0x76c
add r10d, edx
movzx esi, word [r15 + 0x18]
mov r11, qword [r15 + 0x10]
movzx edx, word [r15 + 8]
mov dword [rsp + 0xa4], edx
mov rdx, qword [r15]
mov qword [rsp + 0xb0], rdx
mov r15d, dword [r15 + 0xc]
mov r8, rdi
cmp r15d, 8
je 0x14002e2a1
cmp r15d, 0x20
je 0x14002e29a
cmp r15d, 0x10
jne 0x14002e40f
lea r8, [0x1400c046d]
jmp 0x14002e2a1
lea r8, [0x1400c3031]
jmp 0x14002e2a1
xor esi, esi
jmp 0x14002e421
mov esi, eax
mov rdi, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400922e8
mov rcx, qword [rsp + 0xb8]
test esi, esi
jne 0x14002e461
test rcx, rcx
je 0x14002e461
mov rdx, rdi
call fcn.140071340
test eax, eax
mov esi, reloc.WS2_32.dll_socket
cmove esi, eax
mov rcx, qword [rsp + 0xb8]
test esi, esi
je 0x14002e46f
test rcx, rcx
je 0x14002e46f
call fcn.14008faac
mov rcx, qword [rsp + 0xb8]
call qword [fcn.140092c88]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140080da0
mov eax, esi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret