Function at 0x14001e1e0
Capabilities:
Check if file exists
Create directory
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x140070070]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rbx, rdx
mov r14, rcx
lea rdx, str.http:__qqhelper.qq.com:8080_site_media_QQTroubleShoot.exe
lea rcx, [rsp + 0x50]
call fcn.140015e60
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14002dc80
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov esi, 1
mov r9d, esi
lea r8d, [rsi + 0x19]
lea rdx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x5e], 0x5c
je 0x14001e280
lea rdx, [0x140061004]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.TencentQQMiscQQTroubleShoot
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001e2be
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001e2be
lea rcx, [rsp + 0x48]
call fcn.140020508
jmp 0x14001e2e0
lea rdx, [0x140061004]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.14000d338
nop
lea r8, str.QQTroubleShoot.exe
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14000ceb0
nop
mov rdx, rax
mov rcx, rbx
call fcn.14000d250
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e323
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e342
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, esi
mov edx, 0x40000000
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001e41a
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [r14]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x14001e41a
mov r14d, 0x3ff
jmp 0x14001e3e2
mov r8d, dword [rsp + 0x40]
mov rcx, rdi
test r8d, r8d
je 0x14001e465
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea rdx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001e408
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jne 0x14001e408
and dword [rsp + 0x40], 0
and dword [rsp + 0x44], 0
lea r9, [rsp + 0x40]
mov r8d, r14d
lea rdx, [rbp + 0x170]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14001e3ab
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001e43c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, esi
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14002b930
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14001e41c