Function at 0x140001f20
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140009460
sub rsp, rax
mov rax, qword [0x14003c040]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov r14d, dword [rdx + 0x10]
mov r8, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140001f70
mov r8, qword [rdx]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
lea r9d, [r14 + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd r15, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140004a60
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rax, qword [rsp + 0x40]
cmp qword [rbx + 0x18], 0xf
jbe 0x140001fc5
mov rbx, qword [rbx]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 1]
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.Downloader
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
jne 0x1400020a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetOpen_failed:
call fcn.1400046f0
mov rcx, rax
mov edx, ebx
call fcn.140002710
mov rcx, rax
call fcn.1400049d0
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000207b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002076
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021e2
call fcn.140008e30
mov rax, rsi
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.140008e10
mov rbx, qword [rsp + 0x10d0]
add rsp, 0x1090
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
jne 0x14000210d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetOpenUrl_failed:
call fcn.1400046f0
mov rcx, rax
mov edx, ebx
call fcn.140002710
mov rcx, rax
call fcn.1400049d0
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14000202e
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rdi
lea r9, [rsp + 0x38]
mov r8d, 0x1000
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002176
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140002171
mov r9d, eax
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.140005fe0
lea r9, [rsp + 0x38]
mov r8d, 0x1000
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140002137
mov rdi, qword [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rsp + 0x60]
mov qword [rsi], rax
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000207b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002076
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002076
call fcn.1400120a4
int3