Function at 0x14000c9c0
Capabilities:
Create http request
Delete file
Download and write a file
Get file size
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x688]
sub rsp, 0x750
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov rsi, r9
mov ebx, r8d
mov dword [rbp - 0x78], ebx
mov r13, rdx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rcx
mov r14, qword [rbp + 0x6b0]
mov qword [rbp - 0x68], r14
mov r12d, 6
mov dword [rsp + 0x40], r12d
test rcx, rcx
je 0x14000d0f3
test rdx, rdx
je 0x14000d0f3
test ebx, ebx
jle 0x14000d0f3
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x78], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x78]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xe00b
lea rcx, [rsp + 0x78]
call fcn.1400cc060
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14000d0e9
xor r15d, r15d
mov dword [rsp + 0x48], r15d
test ebx, ebx
jle 0x14000d0df
xor edi, edi
mov dword [rsp + 0x4c], edi
mov qword [rbp - 0x80], r14
mov ebx, dword [rbp + 0x6b8]
movss xmm8, dword [0x1401eb5d8]
movsd xmm9, qword [0x1401eb5d0]
movss xmm7, dword [0x1401eb5c8]
mov byte [rbp + 0x2f0], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x2f1]
call fcn.14010da60
mov byte [rbp + 0x500], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x501]
call fcn.14010da60
mov byte [rbp - 0x30], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0x2f]
call fcn.14010da60
movsxd r11, edi
mov rax, qword [rbp - 0x50]
lea rdi, [r11 + rax]
add r13, r11
mov qword [rbp - 0x70], r13
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x500]
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.14010e178
lea r11, [rbp + 0x2f0]
mov qword [rsp + 0x20], r11
lea r9, [rbp + 0x500]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14010dec4
test rsi, rsi
je 0x14000cbb7
lea r8, [rbp - 0x30]
lea rdx, [rsi + 0x228]
mov rcx, rsi
call fcn.1400cde60
test r14, r14
je 0x14000cbb1
mov r8d, 1
lea rdx, [rsi + 0x228]
mov rcx, rsi
call fcn.1400ce320
mov ebx, dword [rbp + 0x6b8]
mov byte [rbp + 0xe0], 0
xor edx, edx
mov r8d, 0x207
lea rcx, [rbp + 0xe1]
call fcn.14010da60
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14000d025
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rax + 3]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov qword [rbp - 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x14000cf91
mov ecx, 0x8001
call fcn.14010a204
mov r15, rax
xor eax, eax
mov dword [rsp + 0x44], eax
mov dword [rbp - 0x74], eax
mov r13d, eax
cmp qword [rbp - 0x68], rax
je 0x14000cc60
mov rax, qword [rbp - 0x80]
mov r13d, dword [rax]
mov r12d, r13d
nop word [rax + rax]
lea r9, [rsp + 0x44]
mov r8d, 0x8000
mov rdx, r15
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r14d, eax
test eax, eax
je 0x14000cde2
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x74]
mov r8d, dword [rsp + 0x44]
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test rsi, rsi
je 0x14000ce5e
test r12d, r12d
je 0x14000cd95
test r13d, r13d
je 0x14000cd95
sub r12d, dword [rsp + 0x44]
mov eax, r13d
sub eax, r12d
pxor xmm6, xmm6
cvtsi2ss xmm6, rax
mulss xmm6, xmm8
mov eax, r13d
pxor xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm6, xmm0
unpcklps xmm6, xmm6
cvtps2pd xmm0, xmm6
comisd xmm0, xmm9
jbe 0x14000cd02
movaps xmm6, xmm7
mov byte [rbp + 0x3f0], bl
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x3f1]
call fcn.14010da60
mov eax, 0x10624dd3
mul r13d
mov ecx, edx
shr ecx, 6
inc ecx
mov eax, 0x10624dd3
mul r12d
shr edx, 6
inc edx
cmp edx, ecx
cmova edx, ebx
cvttss2si rdi, xmm6
mov r9d, ecx
sub r9d, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ecx
lea r8, [rbp - 0x30]
lea rdx, str._s___uK_of__uK___u__
lea rcx, [rbp + 0x3f0]
call fcn.14010d754
lea r8, [rbp + 0x3f0]
lea rdx, [rsi + 0x228]
mov rcx, rsi
call fcn.1400cde60
mov r8d, edi
lea rdx, [rsi + 0x228]
mov rcx, rsi
call fcn.1400ce320
mov rdi, qword [rbp - 0x58]
jmp 0x14000cdcc
mov r9d, 1
lea r8d, [r9 + 1]
lea rdx, [rsi + 0x228]
mov rcx, rsi
call fcn.1400ce340
cmp dword [rsi + 0x340], 0x64
jb 0x14000cdcc
mov r8d, 2
lea rdx, [rsi + 0x228]
mov rcx, rsi
call fcn.1400ce320
xor edx, edx
mov rcx, rsi
call fcn.1400cdcb0
cmp dword [rsi + 4], 1
je 0x14000ce7b
jmp 0x14000ce5e
test ebx, ebx
je 0x14000ce5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x50], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x50]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xe011
lea rcx, [rsp + 0x50]
call fcn.1400cc060
nop
mov dword [rsp + 0x20], ebx
lea r9, [rbp - 0x30]
mov r8, qword [rsp + 0x50]
lea rdx, str._s_n_n_s___Reason_1:__d
lea rcx, [rbp + 0xe0]
call fcn.14010d754
xor r8d, r8d
lea edx, [r8 + 0xc]
lea rcx, [rbp + 0xe0]
call fcn.14000a910
nop
lea rcx, [rsp + 0x50]
call fcn.1400ca400
xor ebx, ebx
cmp dword [rsp + 0x44], 0
je 0x14000ceb4
cmp r14d, 1
jne 0x14000cead
mov r14, qword [rsp + 0x58]
mov ebx, dword [rbp + 0x6b8]
jmp 0x14000cc70
lea r8, [rbp - 0x30]
lea rdx, str.Download__s_cancelled_by_user.
lea rcx, [rbp + 0xe0]
call fcn.14010d754
xor r8d, r8d
lea edx, [r8 + 0xc]
lea rcx, [rbp + 0xe0]
call fcn.14000a910
mov r12d, 0x4c7
jmp 0x14000cec1
mov r12d, dword [rsp + 0x40]
jmp 0x14000cec6
mov r12d, dword [rsp + 0x40]
cmp r14d, 1
cmove r12d, ebx
mov dword [rsp + 0x40], r12d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call fcn.140085540
test ebx, ebx
jne 0x14000cf78
mov rbx, qword [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov r12d, 0xd
mov dword [rsp + 0x40], r12d
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x60], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x60]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xe011
lea rcx, [rsp + 0x60]
call fcn.1400cc060
nop
mov dword [rsp + 0x20], r12d
mov r9, rbx
mov r8, qword [rsp + 0x60]
lea rdx, str._s_n_n_s___Reason_3:__d
lea rcx, [rbp + 0xe0]
call fcn.14010d754
xor r8d, r8d
lea edx, [r12 - 1]
lea rcx, [rbp + 0xe0]
call fcn.14000a910
nop
lea rcx, [rsp + 0x60]
call fcn.1400ca400
jmp 0x14000d010
cmp r12d, 0x4c7
jne 0x14000d010
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14000d010
test ebx, ebx
je 0x14000d01a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x70], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x70]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xe011
lea rcx, [rsp + 0x70]
call fcn.1400cc060
nop
mov dword [rsp + 0x20], ebx
mov r9, r13
mov r8, qword [rsp + 0x70]
lea rdx, str._s_n_n_s___Reason_2:__d
lea rcx, [rbp + 0xe0]
call fcn.14010d754
xor r8d, r8d
lea edx, [r8 + 0xc]
lea rcx, [rbp + 0xe0]
call fcn.14000a910
nop
lea rcx, [rsp + 0x70]
call fcn.1400ca400
jmp 0x14000d01a
mov r14, qword [rsp + 0x58]
mov r15d, dword [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14000d0a3
test ebx, ebx
je 0x14000d0a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x68], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x68]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xe012
lea rcx, [rsp + 0x68]
call fcn.1400cc060
nop
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, qword [rsp + 0x68]
lea rdx, str._s:__d____s
lea rcx, [rbp + 0xe0]
call fcn.14010d754
xor r8d, r8d
lea edx, [r8 + 0xb]
lea rcx, [rbp + 0xe0]
call fcn.14000a910
nop
lea rcx, [rsp + 0x68]
call fcn.1400ca400
test r12d, r12d
jne 0x14000d0db
inc r15d
mov dword [rsp + 0x48], r15d
mov edi, dword [rsp + 0x4c]
add edi, 0x104
mov dword [rsp + 0x4c], edi
add qword [rbp - 0x80], 4
cmp r15d, dword [rbp - 0x78]
mov ebx, dword [rbp + 0x6b8]
mov r14, qword [rbp - 0x68]
mov r13, qword [rbp - 0x48]
jl 0x14000cae1
mov rax, qword [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rsp + 0x78]
call fcn.1400ca400
mov eax, r12d
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x750]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret