Function at 0x14000c570
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140017010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x11], rcx
mov qword [rbp - 9], rdx
lea rsi, [rcx + 0x10]
mov r8, qword [rsi]
cmp qword [rcx + 0x18], 0x10
jb 0x14000c5bc
add r8, qword [rcx]
mov rdx, qword [rcx]
jmp 0x14000c5c2
add r8, rdi
mov rdx, rdi
lea rcx, [rbp + 0x1f]
call fcn.1400034d0
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000c5df
add r8, qword [rbx]
mov rdx, qword [rbx]
jmp 0x14000c5e5
add r8, rbx
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.1400034d0
nop
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rdx, qword [rbp + 0x1f]
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae r8, qword [rbp - 1]
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
jne 0x14000c7a2
lea rdx, str.The_file_is_saved_to
call fcn.140001560
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
lea rdx, [0x140003490]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.140006250
mov rcx, rax
call fcn.14000c310
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x14000c6b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c6b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c7e6
call fcn.14000e04c
movdqa xmm0, xmmword [0x140012150]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r14w
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x14000c707
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c702
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c83b
call fcn.14000e04c
movdqa xmm0, xmmword [0x140012150]
movdqu xmmword [rbp + 0x2f], xmm0
mov word [rbp + 0x1f], r14w
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000c753
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000c74e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c90f
mov rcx, r8
call fcn.14000e04c
mov qword [rsi], r14
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000c79b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000c796
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c916
mov rcx, r8
call fcn.14000e04c
xor eax, eax
jmp 0x14000c8dc
lea rdx, str.Unable_to_Download_the_file.
call fcn.140001560
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x14000c7f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c7ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c7ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000e04c
movdqa xmm0, xmmword [0x140012150]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r14w
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x14000c847
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c842
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c842
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000e04c
movdqa xmm0, xmmword [0x140012150]
movdqu xmmword [rbp + 0x2f], xmm0
mov word [rbp + 0x1f], r14w
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000c893
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000c88e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c90f
mov rcx, r8
call fcn.14000e04c
mov qword [rsi], r14
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000c8d7
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000c8d2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c916
mov rcx, r8
call fcn.14000e04c
mov eax, 0xffffffff
mov byte [rbx], 0
mov qword [rbx + 0x18], recv
mov qword [rbx + 0x10], r14
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14000dff0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3