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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
movsx rax, byte [rcx + 0x435]
lea rdi, [0x1405d5218]
xor r15d, r15d
mov rbp, rdx
imul r14, rax, 0x138
lea edx, [r15 + 5]
mov rbx, rcx
add r14, qword [rcx]
mov esi, r15d
lea r8d, [r15 + 0x5d]
call fcn.1403a6f00
lea r12d, [r15 + 1]
test rax, rax
je 0x1403be05d
mov ecx, r15d
lea r8, [0x1405d5584]
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r8 + rcx - 1]
jne 0x1403be059
cmp rcx, 4
jne 0x1403be040
cmp dl, byte [r8 + rcx - 1]
cmove esi, r12d
test rbp, rbp
jne 0x1403be1b6
mov rax, qword [rbx + 8]
cmp dword [rax + 0x138], r15d
je 0x1403be1a9
xor edx, edx
lea r8d, [rbp + 0x59]
mov rcx, rbx
call fcn.1403a6f00
test rax, rax
je 0x1403be284
movzx ecx, word [rbx + 0x428]
lea r8, str.CONNECT__s:_u_HTTP_1.1_r_nHost:__s:_u_r_nUser_agent:_lws_r_n
mov dword [rsp + 0x30], ecx
mov r9, rax
mov qword [rsp + 0x28], rax
mov edx, 0x100
mov dword [rsp + 0x20], ecx
mov rcx, qword [r14 + 0x2c0]
call fcn.1403ac8d0
mov r9, qword [rbx + 8]
movsxd rsi, eax
cmp byte [r9], r15b
je 0x1403be0ea
mov rcx, qword [r14 + 0x2c0]
lea r8, str.Proxy_authorization:_basic__s_r_n
add rcx, rsi
mov edx, 0x100
call fcn.1403ac8d0
movsxd rcx, eax
add rsi, rcx
mov rcx, qword [r14 + 0x2c0]
lea r8, [0x1405d57e0]
add rcx, rsi
mov edx, 5
call fcn.1403ac8d0
mov r8, qword [rbx + 8]
movsxd rcx, eax
add r8, 0xa8
mov rax, qword [rbx + 0x388]
add rsi, rcx
test rax, rax
je 0x1403be127
mov qword [rax], r8
jmp 0x1403be13c
mov edx, 0x59
mov rcx, rbx
call fcn.1403ab4b0
test eax, eax
jne 0x1403be284
mov rax, qword [rbx + 8]
xor r9d, r9d
mov r8d, esi
movzx ecx, word [rax + 0x138]
mov word [rbx + 0x42a], cx
mov rdx, qword [r14 + 0x2c0]
mov rcx, qword [rbx + 0x3f8]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1403be178
lea rdi, str.proxy_write_failed
jmp 0x1403be284
mov r8, qword [rbx]
mov edx, r12d
mov rcx, rbx
mov r8d, dword [r8 + 0x7e8]
call fcn.1403b4bc0
movzx eax, word [rbx + 0x42a]
mov word [rbx + 0x42c], ax
mov word [rbx + 0x400], 0x203
jmp 0x1403be2c9
cmp qword [rbx + 0x10], r15
jne 0x1403be1dc
xor eax, eax
jmp 0x1403be2cc
lea rcx, [rbx + 0x2b0]
call fcn.1403b47a0
test eax, eax
jne 0x1403be1dc
mov rcx, rbp
mov word [rbx + 0x400], 0x10f
call fcn.1403b6140
jmp 0x1403be2c9
test esi, esi
jne 0x1403be241
cmp word [rbx + 0x400], 0x13
je 0x1403be1f3
mov word [rbx + 0x400], 0x12
mov r8, qword [rbx]
mov edx, 8
mov rcx, rbx
mov r8d, dword [r8 + 0x7e8]
call fcn.1403b4bc0
mov rax, qword [rbx + 0x3f8]
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x3000300
call fcn.1403a7620
test eax, eax
jns 0x1403be238
lea rdi, str.first_service_failed
jmp 0x1403be284
cmovne rbx, r15
jmp 0x1403be2c9
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1403b4bc0
mov rax, qword [rbx + 0x360]
movzx r8d, byte [rax + 0x22]
test r8d, r8d
je 0x1403be2b9
mov rcx, qword [rbx + 0x10]
mov rdx, rbx
mov r9, qword [rbx + 0x3d8]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx + 8]
call fcn.1403a6630
test eax, eax
jns 0x1403be2b9
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], r15b
jne 0x1403be290
mov rdx, rdi
mov rcx, rbx
call fcn.1403af5a0
lea r8, str.client_connect4
xor edx, edx
mov rcx, rbx
call fcn.1403ae7c0
xor eax, eax
jmp 0x1403be2cc
or dword [rbx + 0x41c], r12d
mov word [rbx + 0x400], 0x119
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret