Function at 0x14005f0e0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, qword [rbp + 0x50]
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.1400b9040
mov rcx, qword [rbx]
mov dword [rcx], eax
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
mov eax, dword [rax]
mov dword [rcx + 0x110], eax
mov rax, qword [rbx]
cmp dword [rax], 0
jne 0x14005f16d
mov rax, qword [rbx + 8]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.14005ce30
mov rcx, qword [rbx + 0x160]
cmp rcx, 0xffffffffffffffff
je 0x14005f166
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14005f53d
mov al, 1
jmp 0x14005f513
mov rax, qword [rbx + 0x10]
inc dword [rax + 0xe8]
mov rdx, qword [rbx + 0x10]
lea rsi, [rdx + 0x110]
lea r14, [rdx + 0xe8]
lea rax, [rdx + 0x118]
cmp qword [rdx + 0x128], 0
cmovne rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14002f6f0
nop
mov dword [rbp + 0x10], 0x30383936
mov dword [rbp + 0x14], 0x46304236
movsd xmm0, qword [str.repository]
movsd qword [rbp - 0x30], xmm0
mov eax, dword [0x14020a6b0]
mov dword [rbp - 0x28], eax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x24], rax
mov dword [rbp - 0x1c], 0x314
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
call fcn.1400568b0
nop
mov rdi, qword [rbp + 0x10]
test rdi, rdi
je 0x14005f292
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
mov rax, qword [rax + 0x78]
call qword [case.0x1400cd6b1.0]
test al, al
je 0x14005f292
lea rax, str.Curl:_url:_current_retry:___request_error:_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], gethostname
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x18]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
call fcn.140060980
nop
mov rcx, qword [rdi]
mov r10, qword [rcx + 0x18]
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14005f257
mov rcx, qword [rax]
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, rdi
mov rax, r10
call qword [case.0x1400cd6b1.0]
nop
lea rcx, [rbp - 0x50]
call fcn.140021a40
nop
mov rsi, 0xffffffffffffffff
mov rdi, qword [rbp + 0x18]
test rdi, rdi
je 0x14005f2da
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14005f2da
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400cd6b1.0]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14005f2da
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400cd6b1.0]
nop
lea rcx, [rbp - 0x18]
call fcn.140021a40
mov rcx, qword [rbx + 8]
call fcn.14005df60
mov rax, qword [rbx + 0x18]
cmp byte [rax + 1], 0
jne 0x14005f331
mov rax, qword [rbx]
mov ecx, dword [rax]
cmp ecx, 6
je 0x14005f305
cmp ecx, 0x1c
jne 0x14005f331
mov rcx, qword [rbx + 8]
call fcn.14005f5b0
mov byte [rsp + 0x30], al
mov byte [rsp + 0x31], 1
mov rcx, qword [rbx + 0x18]
movzx eax, word [rsp + 0x30]
mov word [rcx], ax
mov rax, qword [rbx + 0x18]
cmp byte [rax + 1], 0
jne 0x14005f511
mov rdx, qword [rbx + 0x10]
mov rax, qword [rbx + 8]
movzx ecx, byte [rax + 0x7d]
cmp dword [rdx + 0xe8], ecx
jl 0x14005f511
cmp byte [rdx + 0x20], 0
je 0x14005f511
lea rcx, [rdx + 0x118]
cmp rcx, rdx
je 0x14005f372
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14005f36d
mov rdx, qword [rdx]
call fcn.140060ed0
mov rdi, qword [rbx + 0x10]
add rdi, 0x118
mov r14, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14005f38e
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 6
lea r9, str.https:
xor r8d, r8d
mov rdx, r14
call fcn.140046140
test rax, rax
jne 0x14005f511
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
cmp r14, 5
jb 0x14005f537
lea rax, [r14 - 5]
cmp rax, 0xffffffffffffffff
cmovb rsi, rax
cmp qword [rdi + 0x18], 0xf
jbe 0x14005f3e1
mov rdi, qword [rdi]
lea rdx, [rdi + 5]
mov r8, rsi
lea rcx, [rbp - 0x70]
call fcn.1400218d0
nop
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rax, qword [rbp - 0x70]
lea rcx, str.http
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], 6
mov qword [rsp + 0x58], rax
movabs rax, 0xb000000000000000
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x70], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.14000e100
mov rcx, qword [rbx + 0x10]
add rcx, 0x118
lea rdx, [rbp - 0x50]
call fcn.1400214f0
lea rcx, [rbp - 0x50]
call fcn.140021a40
nop
lea rcx, [rbp - 0x70]
call fcn.140021a40
mov rdx, qword [rbx + 0x10]
add rdx, 0x118
cmp qword [rdx + 0x18], 0xf
jbe 0x14005f49e
mov rdx, qword [rdx]
mov rcx, qword [rbx + 8]
call fcn.14005dc60
mov dword [rbp + 0x10], 0x30383936
mov dword [rbp + 0x14], 0x46304236
movsd xmm0, qword [str.repository]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14020a6b0]
mov dword [rsp + 0x78], eax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x7c], rax
mov dword [rbp - 0x7c], 0x333
lea rax, str.Download_failed__switch_to_HTTP_protocol_new_url_.
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], gethostname
mov r9, qword [rbx + 0x10]
add r9, 0x118
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov ecx, 5
call fcn.140060550
xor al, al
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140144310
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140012da0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_trim_the_file_to_the_current_position_
lea rcx, [rbp - 0x50]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x50]
call fcn.14015a550
int3