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.1400093e0
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 + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140004bb0
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rax, qword [rsp + 0x58]
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 0x140002104
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140004770
mov rcx, rax
mov edx, ebx
call fcn.140002790
mov rbx, rax
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rax, qword [rax + rbx + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x48], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x40]
call fcn.140004630
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x40]
movzx r14d, al
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000207a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x14000207a
mov rax, qword [rax]
mov edx, 1
call qword [rax]
movzx edx, r14b
mov rcx, rbx
call fcn.140005ed0
mov rcx, rbx
call fcn.1400043a0
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1400020db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000221c
call fcn.140008db0
mov rax, rsi
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.140008d90
mov rbx, qword [rsp + 0x10d0]
add rsp, 0x1090
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
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 0x140002147
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14000208e
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], 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 0x1400021b0
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400021ab
mov r9d, eax
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140006130
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 0x140002171
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rax, qword [rsp + 0x48]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1400020db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020d6
call fcn.140012044
int3