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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2790]
mov eax, 0x2890
call fcn.18001c580
sub rsp, rax
mov rax, qword [0x180055538]
xor rax, rsp
mov qword [rbp + 0x2780], rax
mov r13, r8
mov qword [rsp + 0x38], rdx
mov r15, qword [rbp + 0x27f0]
test rdx, rdx
je 0x180003432
xor r14d, r14d
mov dword [r9], r14d
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1800030b1
mov rax, qword [r8]
mov qword [r8 + 0x10], r14
mov byte [rax], r14b
mov dword [rsp + 0x70], r14d
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x78], 3
mov r12, r14
movzx edi, byte [rsp + 0x30]
movzx ebx, byte [rsp + 0x30]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x68], 0xf
movsd xmm0, qword [str.User_Agent:]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x18003bd60]
mov word [rsp + 0x58], ax
movzx eax, byte [0x18003bd62]
mov byte [rsp + 0x5a], al
mov byte [rsp + 0x5b], 0
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [r15 + rsi], 0
jne 0x180003135
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180003187
lea rax, [rcx + rsi]
mov qword [rsp + 0x60], rax
lea r14, [rsp + 0x50]
cmp rdx, 0x10
cmovae r14, qword [rsp + 0x50]
add r14, rcx
mov r8, rsi
mov rdx, r15
mov rcx, r14
call fcn.18001de70
mov byte [r14 + rsi], 0
xor r14d, r14d
jmp 0x1800031a0
mov qword [rsp + 0x20], rsi
mov r9, r15
movzx r8d, dil
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.180009390
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1800031dc
lea rax, [rcx + 4]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x50]
mov dword [rax + rcx], 0xa0d0a0d
mov byte [rax + rcx + 4], 0
jmp 0x1800031ff
mov qword [rsp + 0x20], 4
lea r9, str._r_n_r_n
movzx r8d, bl
mov edx, 4
lea rcx, [rsp + 0x50]
call fcn.180009390
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + r12*4 + 0x70]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
je 0x1800033e2
mov dword [rsp + 0x44], 0x1388
mov r9d, 4
lea r8, [rsp + 0x44]
lea edx, [r9 - 2]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionA]
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r8, qword [rsp + 0x50]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80ff9200
mov r9d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x38]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rsi, rax
test rax, rax
jne 0x18000328a
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
inc r12
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800032ca
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800032c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000345e
call fcn.18001bb98
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
test rsi, rsi
jne 0x1800032f8
cmp r12, 3
jge 0x180003432
xor r14d, r14d
jmp 0x1800030e0
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea edx, [rbx + 0x13]
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, ebx
lea rdx, [rsp + 0x40]
lea r8, [0x18003bc64]
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1800033ce
cmp rcx, 4
jne 0x180003330
xor edx, edx
mov r8d, 0x2800
lea rcx, [rbp - 0x80]
call fcn.18001e520
mov dword [rsp + 0x38], ebx
lea r9, [rsp + 0x38]
mov r8d, 0x2800
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1800033b5
nop dword [rax]
mov r9d, eax
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, r13
call fcn.180016dc0
mov dword [rsp + 0x38], ebx
lea r9, [rsp + 0x38]
mov r8d, 0x2800
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x38]
test eax, eax
jne 0x180003380
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x180003434
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x180003432
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18000341b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003416
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000345e
call fcn.18001bb98
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
xor eax, eax
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.18001c5e0
mov rbx, qword [rsp + 0x28d0]
add rsp, 0x2890
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180022880
int3