Function at 0x180002b30
Capabilities:
Check http status code
Create http request
Get http content length
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0xf58]
mov eax, 0x1058
call fcn.180019b40
sub rsp, rax
mov rax, qword [0x1800677c0]
xor rax, rsp
mov qword [rbp + 0xf40], rax
xor ebx, ebx
mov r15, rdx
mov rdi, rcx
mov qword [rdx], rbx
test rcx, rcx
jne 0x180002b73
xor eax, eax
jmp 0x180002db9
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x180002b77
cmp rax, 0xa
jb 0x180002b6c
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0xffe
mov qword [rsp + 0x1050], r14
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], ebx
mov word [rsp + 0x40], bx
call fcn.180019cb0
lea rcx, [rsp + 0x40]
mov r8, rdi
mov edx, 0x800
call fcn.180018de0
lea rcx, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
je 0x180002dad
mov qword [rsp + 0x1090], rsi
mov r9d, 4
lea r8, [rsp + 0x3c]
mov rcx, r14
lea edx, [r9 - 2]
mov dword [rsp + 0x3c], 0xbb8
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
je 0x180002d97
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov edx, 0x20000013
mov rcx, rax
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x180002d8e
mov eax, dword [rsp + 0x38]
cmp eax, 0xc8
je 0x180002d0b
add eax, 0xfffffed3
cmp eax, 1
ja 0x180002d8e
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x1000
call fcn.180019cb0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov edx, 0x21
mov rcx, rsi
mov dword [rsp + 0x30], 0x800
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x180002d8e
lea rcx, [rsp + 0x40]
mov r8, rdi
mov edx, 0x800
call fcn.180018de0
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
jne 0x180002bf0
jmp 0x180002d8e
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 0x20000005
mov rcx, rsi
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x180002d8e
mov ecx, dword [rsp + 0x34]
call fcn.180017d9c
lea r9, [rsp + 0x30]
mov r8d, 0x5dc
mov rdx, rax
mov rcx, rsi
mov rdi, rax
mov qword [r15], rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180002d8e
nop
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x180002d8e
cmp ebx, dword [rsp + 0x34]
je 0x180002d8e
add rdi, rcx
add ebx, ecx
lea r9, [rsp + 0x30]
mov r8d, 0x5dc
mov rcx, rsi
mov rdx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180002d60
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rsi, qword [rsp + 0x1090]
test r14, r14
je 0x180002dad
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [rsp + 0x34]
mov r14, qword [rsp + 0x1050]
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.180019ba0
add rsp, 0x1058
pop r15
pop rdi
pop rbx
pop rbp
ret