Function at 0x18004fb10
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1190]
mov eax, 0x1290
call fcn.180068ed0
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x12d0], rbx
mov rax, qword [0x1800ec7a0]
xor rax, rsp
mov qword [rbp + 0x1180], rax
mov rdi, rdx
mov r15, rcx
xor r14b, r14b
mov ecx, 0x101
lea rdx, [rsp + 0x40]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
movups xmm0, xmmword [str.graph.facebook.com]
movups xmmword [rbp + 0xe0], xmm0
movzx eax, word [0x1800acbc8]
mov word [rbp + 0xf0], ax
movzx eax, byte [0x1800acbca]
mov byte [rbp + 0xf2], al
lea rcx, [rbp + 0xe0]
call qword [sym.imp.WSOCK32.dll_gethostbyname]
or rbx, 0xffffffffffffffff
lea esi, [rbx + 3]
test rax, rax
jne 0x18004fbd6
lea rax, [rbp + 0xe0]
mov rdx, rbx
inc rdx
cmp byte [rax + rdx], 0
jne 0x18004fbb4
mov r8d, esi
lea rcx, [rbp + 0xe0]
call qword [sym.imp.WSOCK32.dll_gethostbyaddr]
test rax, rax
je 0x18004fd9d
mov dword [rsp + 0x30], 0x50000002
movsx r8, word [rax + 0x12]
mov rdx, qword [rax + 0x18]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x34]
call fcn.18006c9b0
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, esi
call qword [sym.imp.WSOCK32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18004fd9d
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_connect]
test eax, eax
jne 0x18004fd9d
lea r8d, [rax + 0xa]
lea rdx, [rbp + 0x100]
mov rcx, r15
call fcn.180070da8
mov rax, qword [0x1800ec760]
mov qword [rsp + 0x20], rax
lea rdx, str.GET__
lea rcx, [rsp + 0x20]
call fcn.180066690
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x20]
call fcn.1800667e0
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rsp + 0x20]
call fcn.1800667e0
lea rdx, str.Host:_graph.facebook.com_r_n
lea rcx, [rsp + 0x20]
call fcn.1800667e0
lea rdx, str.Connection:_close_r_n_r_n
lea rcx, [rsp + 0x20]
call fcn.1800667e0
mov rdx, qword [rsp + 0x20]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18004fca5
mov r8, rbx
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.WSOCK32.dll_send]
test eax, eax
je 0x18004fd89
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x180]
call fcn.18006ced0
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x180]
mov rcx, rsi
call qword [sym.imp.WSOCK32.dll_recv]
movsxd rcx, eax
test eax, eax
je 0x18004fd89
cmp rcx, 0x1000
jae 0x18004fd83
mov byte [rbp + rcx + 0x180], 0
lea rdx, str._name_:
lea rcx, [rbp + 0x180]
call fcn.18005d8d0
mov rbx, rax
test rax, rax
je 0x18004fd89
add rbx, 7
movzx eax, byte [rbx]
test al, al
je 0x18004fd46
cmp al, 0x22
je 0x18004fd4b
inc rbx
movzx eax, byte [rbx]
test al, al
jne 0x18004fd38
cmp byte [rbx], 0x22
jne 0x18004fd89
inc rbx
mov edx, 0x22
mov rcx, rbx
call fcn.18006d08c
test rax, rax
je 0x18004fd89
mov byte [rax], 0
sub rdi, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdi + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x18004fd70
mov r14b, 1
jmp 0x18004fd89
call fcn.1800690dc
int3
mov rcx, rsi
call qword [sym.imp.WSOCK32.dll_closesocket]
nop
lea rcx, [rsp + 0x20]
call fcn.180066560
call qword [sym.imp.WSOCK32.dll_WSACleanup]
movzx eax, r14b
mov rcx, qword [rbp + 0x1180]
xor rcx, rsp
call fcn.180068b60
mov rbx, qword [rsp + 0x12d0]
add rsp, 0x1290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret