Function at 0x140058ce0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov r14, rdx
mov rdi, rcx
mov byte [0x1401d3041], 1
mov r8, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x140058d1e
mov r8, qword [rdx]
mov rdx, rdi
cmp qword [rcx + 0x18], 0x10
jb 0x140058d2b
mov rdx, qword [rcx]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov r12d, eax
mov r13, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
mov rcx, rax
sub rcx, r13
cmp rcx, 0x10
jb 0x140058fcd
cmp qword [rdi + 0x18], 0x10
jb 0x140058d68
mov rdi, qword [rdi]
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], rbx
lea r15, [r13 + 0x10]
mov ebx, select
lea rsi, [rbp + 0x17]
cmp r15, rbx
jbe 0x140058dfb
mov rbx, r15
or rbx, 0xf
cmp rbx, rax
jbe 0x140058dbe
mov rbx, rax
movabs rax, 0x8000000000000027
mov rcx, rax
call fcn.1400f2760
test rax, rax
je 0x140058fc1
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140058df7
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140058de6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140058fc7
jmp 0x140058d9f
test rcx, rcx
je 0x140058df5
call fcn.1400f2760
mov rsi, rax
jmp 0x140058df7
xor esi, esi
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], rbx
movups xmm0, xmmword [str.Start_download:]
movups xmmword [rsi], xmm0
lea rcx, [rsi + 0x10]
mov r8, r13
mov rdx, rdi
call fcn.1400f4c00
mov byte [rsi + r15], 0
mov r8d, 7
lea rdx, str._nPath:
lea rcx, [rbp + 0x17]
call fcn.14006d500
xor ebx, ebx
mov qword [rbp - 9], rbx
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], setsockopt
mov byte [rax], bl
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x140058e70
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.14006d500
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], setsockopt
mov byte [rax], 0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
lea rcx, [0x1401d1720]
call fcn.1400795d0
mov rcx, rax
call fcn.140070b20
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140058f08
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058f03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058fd3
call fcn.1400f29ec
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], setsockopt
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140058f53
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058f4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058fd9
call fcn.1400f29ec
mov qword [rbp + 7], rbx
mov qword [rbp + setsockopt], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x140058f9a
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058f95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058fc1
call fcn.1400f29ec
test r12d, r12d
setns al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140104ed8
int3
call fcn.140016be0
int3
call fcn.140050bc0
nop
call fcn.140104ed8
nop
call fcn.140104ed8
int3