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

Disassembly:
push rdi
push r12
push r13
mov eax, 0x1060
call fcn.14003d5a0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1080], rbx
mov qword [rsp + 0x1088], rbp
mov qword [rsp + 0x1090], rsi
mov r12, r8
mov r13, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x1098], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.NetworkDownloader
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
jne 0x140002c42
lea rcx, str.InternetOpenW_failed.
call fcn.140005780
mov rdi, rax
mov dl, 0xa
mov rcx, rax
call fcn.140003380
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rdi + 0x10], 6
jne 0x140002c14
mov rcx, qword [rcx + rdi + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
mov ecx, 4
cmp eax, 0xffffffff
cmove ebx, ecx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140002db4
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140002c35
or edx, 4
xor r8d, r8d
call fcn.1400019b0
jmp 0x140002db4
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
jne 0x140002cd9
lea rcx, str.InternetOpenUrlW_failed.
call fcn.140005780
mov rdi, rax
mov dl, 0xa
mov rcx, rax
call fcn.140003380
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rdi + 0x10], 6
jne 0x140002ca6
mov rcx, qword [rcx + rdi + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
mov ecx, 4
cmp eax, 0xffffffff
cmove ebx, ecx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140002ccb
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140002cc3
or edx, 4
xor r8d, r8d
call fcn.1400019b0
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140002db4
mov qword [rsp + 0x30], rbx
mov rdi, rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x1098]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002d5c
nop dword [rax + rax]
mov eax, dword [rsp + 0x1098]
test eax, eax
je 0x140002d57
lea r9, [rsp + rax + 0x60]
lea r8, [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140005d50
lea r9, [rsp + 0x1098]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rdi, qword [rsp + 0x38]
test eax, eax
jne 0x140002d10
mov rbx, qword [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp rbx, rdi
je 0x140002da7
mov ecx, edi
sub ecx, ebx
mov dword [r12], ecx
call fcn.14000f014
mov qword [r13], rax
sub rdi, rbx
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.14002bb90
nop
test rbx, rbx
je 0x140002da3
mov rcx, rbx
call fcn.14002c820
mov al, 1
jmp 0x140002db6
test rbx, rbx
je 0x140002db4
mov rcx, rbx
call fcn.14002c820
xor al, al
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret