Function at 0x14000dca0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x27d0]
mov eax, 0x28d0
call fcn.14002b060
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x28f8], rbx
mov qword [rsp + 0x2900], rsi
mov qword [rsp + 0x2908], rdi
mov rax, qword [0x140041008]
xor rax, rsp
mov qword [rbp + 0x27c0], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x2800
lea rcx, [rbp - 0x40]
call fcn.140012ac0
cmp qword [0x140043550], 0
sete al
xor r15d, r15d
test al, al
jne 0x14000df16
lea r8, [0x140038d30]
lea rdx, [0x140043540]
lea rcx, [rbp - 0x68]
call fcn.1400042a0
nop
lea r8, [0x140043560]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140008fc0
nop
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x14000dda6
inc rax
mov rcx, qword [rbp - 0x68]
cmp rax, 0xffffffffffffffff
jbe 0x14000dd61
call fcn.140019f90
int3
cmp rax, 0x1000
jb 0x14000dda1
test cl, 0x1f
je 0x14000dd74
call fcn.140019f90
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000dd83
call fcn.140019f90
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000dd92
call fcn.140019f90
int3
cmp rcx, 0x27
jbe 0x14000dd9e
call fcn.140019f90
int3
mov rcx, rax
call fcn.14000f220
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14000ed40
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
lea r8, [rsp + 0x58]
cmovae r8, qword [rsp + 0x58]
mov rax, qword [rdi + 0x18]
cmp rax, 0x10
jb 0x14000ddf3
mov rcx, qword [rdi]
jmp 0x14000ddf6
mov rcx, rdi
cmp rax, 0x10
jb 0x14000de01
mov r9, qword [rdi]
jmp 0x14000de04
mov r9, rdi
mov eax, dword [rdi + 0x20]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
lea r8, str.CONNECT__s:_d_HTTP_1.1_r_nHost:__s:_d_r_nAuthorization:_Basic__s_r_nProxy_Authorization:_Basic__s_r_n_r_n
mov edx, 0x2800
lea rcx, [rbp - 0x40]
call fcn.14000bfa0
nop
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x14000de9a
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0xffffffffffffffff
jbe 0x14000de53
call fcn.140019f90
int3
cmp rax, 0x1000
jb 0x14000de95
test byte [rsp + 0x58], 0x1f
je 0x14000de68
call fcn.140019f90
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000de77
call fcn.140019f90
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000de86
call fcn.140019f90
int3
cmp rcx, 0x27
jbe 0x14000de92
call fcn.140019f90
int3
mov rcx, rax
call fcn.14000f220
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x58], 0
mov rax, qword [rbp - 0x70]
cmp rax, 0x10
jb 0x14000df5b
inc rax
mov rcx, qword [rsp + 0x78]
cmp rax, 0xffffffffffffffff
jbe 0x14000decf
call fcn.140019f90
int3
cmp rax, 0x1000
jb 0x14000df0f
test cl, 0x1f
je 0x14000dee2
call fcn.140019f90
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000def1
call fcn.140019f90
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000df00
call fcn.140019f90
int3
cmp rcx, 0x27
jbe 0x14000df0c
call fcn.140019f90
int3
mov rcx, rax
call fcn.14000f220
jmp 0x14000df5b
mov rax, qword [rdi + 0x18]
cmp rax, 0x10
jb 0x14000df25
mov rcx, qword [rdi]
jmp 0x14000df28
mov rcx, rdi
cmp rax, 0x10
jb 0x14000df33
mov r9, qword [rdi]
jmp 0x14000df36
mov r9, rdi
mov eax, dword [rdi + 0x20]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
lea r8, str.CONNECT__s:_d_HTTP_1.1_r_nHost:__s:_d_r_n_r_n
mov edx, 0x2800
lea rcx, [rbp - 0x40]
call fcn.14000bfa0
lea rax, [rbp - 0x40]
or rsi, 0xffffffffffffffff
mov rbx, rsi
inc rbx
cmp byte [rax + rbx], 0
jne 0x14000df66
lea r14, [rbp - 0x40]
test ebx, ebx
je 0x14000dfa5
cmp byte [rdi + 0x50], 0
je 0x14000df9d
movsxd rcx, dword [rdi + 0x4c]
xor r9d, r9d
mov r8d, ebx
mov rdx, r14
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x14000df9d
sub ebx, eax
cdqe
add r14, rax
jmp 0x14000df73
test ebx, ebx
jne 0x14000e033
movzx ebx, byte [rdi + 0x50]
test bl, bl
je 0x14000e033
movsxd rcx, dword [rdi + 0x4c]
xor r9d, r9d
mov r8d, 0x2800
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x14000e033
test bl, bl
je 0x14000e033
cdqe
cmp rax, 0x2800
jae 0x14000e02d
mov byte [rbp + rax - 0x40], 0
lea rax, [rbp - 0x40]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14000dfe3
lea rbx, [rbp - 0x40]
movsxd rax, esi
lea rdi, [rbp - 0x40]
add rdi, rax
lea rax, [rbp - 0x40]
cmp rax, rdi
je 0x14000e015
movsx ecx, byte [rbx]
call fcn.14001b9e4
mov byte [rbx], al
inc rbx
cmp rbx, rdi
jne 0x14000e003
lea rdx, str.200_connection_established
lea rcx, [rbp - 0x40]
call fcn.1400121b8
test rax, rax
setne al
jmp 0x14000e035
call fcn.14000f6c8
int3
xor al, al
mov rcx, qword [rbp + 0x27c0]
xor rcx, rsp
call fcn.14000f1c0
lea r11, [rsp + 0x28d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret