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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x990
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1800ec7a0]
xor rax, rsp
mov qword [rsp + 0x988], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov r15, qword [rsp + 0x9f8]
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
test rdx, rdx
je 0x18005f0d9
cmp byte [rdx], r12b
je 0x18005f0d9
test r8, r8
je 0x18005ebfb
mov qword [r8], r12
test r14, r14
je 0x18005ec04
mov byte [r9], 0
test r15, r15
je 0x18005ec0d
mov byte [r15], 0
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.Dev_Client
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x18005ec62
lea r8d, [rax + 0x7f]
lea rdx, str.Could_not_open_internet_handle
lea rcx, [rsp + 0x80]
call fcn.180079980
lea rdx, [0x1800ea630]
lea rcx, [rsp + 0x80]
call fcn.18006cde8
mov dword [rsp + 0x34], 0x1388
mov r9d, 4
lea r8, [rsp + 0x34]
lea edx, [r9 + 2]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [rsp + 0x34], 0x1388
mov r9d, 4
lea r8, [rsp + 0x34]
lea edx, [r9 - 2]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x40200
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x18005ecfa
lea r8d, [rax + 0x7f]
lea rdx, str.Could_not_open_URL
lea rcx, [rsp + 0x100]
call fcn.180079980
lea rdx, [0x1800ea630]
lea rcx, [rsp + 0x100]
call fcn.18006cde8
mov dword [rsp + 0x58], r12d
mov rax, qword [0x1800ec760]
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x180]
call fcn.18006ced0
mov rax, qword [0x1800ec760]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1800ec760]
mov qword [rsp + 0x38], rax
mov edi, dword [rsp + 0x9f0]
nop
lea r9, [rsp + 0x48]
mov r8d, 0x7ff
lea rdx, [rsp + 0x180]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18005f041
mov ecx, dword [rsp + 0x48]
lea eax, [rcx - 1]
cmp eax, 0x7fe
ja 0x18005f041
cmp r12d, 0x100000
jae 0x18005f041
cmp rcx, 0x800
jae 0x18005f03c
mov byte [rsp + rcx + 0x180], 0
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x40]
call fcn.1800667e0
add r12d, dword [rsp + 0x48]
mov dword [rsp + 0x58], r12d
lea rdx, str._link_rel_canonical_
mov rcx, qword [rsp + 0x40]
call fcn.18005d8d0
test rax, rax
je 0x18005ee2e
lea rcx, [rax + 0x16]
lea rdx, str.www.myspace.com_
call fcn.18005d8d0
mov rbx, rax
test rax, rax
je 0x18005ee2e
add rbx, 0x10
lea rdx, [0x1800c8c08]
mov rcx, rbx
call fcn.18005d8d0
mov rdi, rax
test rax, rax
je 0x18005ee2e
mov byte [rax], 0
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180066690
test r15, r15
je 0x18005ee2b
cmp byte [r15], 0
jne 0x18005ee2b
mov r8d, dword [rsp + 0xa00]
mov rdx, rbx
mov rcx, r15
call fcn.180060160
mov byte [rdi], 0x22
test rsi, rsi
je 0x18005eefc
cmp qword [rsi], 0
jne 0x18005eefc
lea rdx, str._DisplayFriendId_:
mov rcx, qword [rsp + 0x40]
call fcn.18005d8d0
test rax, rax
je 0x18005eefc
lea rdx, [0x1800c8c34]
mov rcx, rax
call fcn.18006d118
mov rbx, rax
test rax, rax
je 0x18005eefc
lea rdx, [0x1800c8c64]
lea rcx, [rax + 1]
call fcn.18005d8d0
mov rdi, rax
test rax, rax
je 0x18005eefc
mov byte [rax], 0
lea rcx, [rbx + 1]
call fcn.1800706b8
mov qword [rsi], rax
mov byte [rdi], 0x22
cmp qword [rsi], 0
jne 0x18005eefc
lea rcx, [rbx - 0x31]
lea rdx, str._UserId_:
call fcn.18005d8d0
test rax, rax
je 0x18005eefc
lea rdx, [0x1800c8c34]
mov rcx, rax
call fcn.18006d118
mov rbx, rax
test rax, rax
je 0x18005eefc
lea rdx, [0x1800c8c64]
lea rcx, [rax + 1]
call fcn.18005d8d0
mov rdi, rax
test rax, rax
je 0x18005eefc
mov byte [rax], 0
lea rcx, [rbx + 1]
call fcn.1800706b8
mov qword [rsi], rax
mov byte [rdi], 0x22
test r14, r14
je 0x18005f00a
cmp byte [r14], 0
jne 0x18005f00a
lea rdx, str._h2_class_nickname__
mov rcx, qword [rsp + 0x40]
call fcn.18005d8d0
mov rbx, rax
test rax, rax
je 0x18005ef46
lea rdx, [0x1800aab10]
lea rcx, [rax + 0x15]
call fcn.18005d8d0
mov rdi, rax
test rax, rax
je 0x18005ef8b
lea rdx, [rbx + 0x15]
jmp 0x18005ef7b
lea rdx, str._span_class_nametext__
mov rcx, qword [rsp + 0x40]
call fcn.18005d8d0
mov rbx, rax
test rax, rax
je 0x18005ef8b
lea rdx, [0x1800aab10]
lea rcx, [rax + 0x17]
call fcn.18005d8d0
mov rdi, rax
test rax, rax
je 0x18005ef8b
lea rdx, [rbx + 0x17]
mov byte [rax], 0
lea rcx, [rsp + 0x38]
call fcn.180066690
mov byte [rdi], 0x22
lea rcx, [rsp + 0x38]
call fcn.180067af0
lea rcx, [rsp + 0x38]
call fcn.180067be0
mov edx, 0xfde9
mov rcx, qword [rsp + 0x38]
call fcn.180062c30
mov rbx, rax
mov rcx, qword [0x1800ec760]
mov qword [rsp + 0x50], rcx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180066690
lea rcx, [rsp + 0x50]
call fcn.180067af0
lea rcx, [rsp + 0x50]
call fcn.180067be0
mov edi, dword [rsp + 0x9f0]
mov r8d, edi
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call fcn.180060160
mov rcx, rbx
call fcn.1800686a4
nop
lea rcx, [rsp + 0x50]
call fcn.180066560
jmp 0x18005f011
mov edi, dword [rsp + 0x9f0]
test rsi, rsi
je 0x18005f01c
cmp qword [rsi], 0
je 0x18005f032
test r14, r14
je 0x18005f027
cmp byte [r14], 0
je 0x18005f032
test r15, r15
je 0x18005f084
cmp byte [r15], 0
jne 0x18005f084
mov rbx, qword [rsp + 0x70]
jmp 0x18005ed40
call fcn.1800690dc
cmp dword [rsp + 0x30], 0
jne 0x18005f08c
test r14, r14
je 0x18005f063
cmp byte [r14], 0
jne 0x18005f063
mov r8d, edi
mov rdx, qword [rsp + 0x60]
mov rcx, r14
call fcn.180060160
test rsi, rsi
je 0x18005f06e
cmp qword [rsi], 0
je 0x18005f08c
test r14, r14
je 0x18005f079
cmp byte [r14], 0
je 0x18005f08c
test r15, r15
je 0x18005f084
cmp byte [r15], 0
je 0x18005f08c
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
call fcn.180066560
nop
lea rcx, [rsp + 0x60]
call fcn.180066560
nop
lea rcx, [rsp + 0x40]
call fcn.180066560
nop
jmp 0x18005f0b4
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18005f0c4
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test r13, r13
je 0x18005f0d3
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov eax, dword [rsp + 0x30]
jmp 0x18005f0db
xor eax, eax
mov rcx, qword [rsp + 0x988]
xor rcx, rsp
call fcn.180068b60
add rsp, 0x990
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret