Function at 0x14006cd80
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, qword [rdx]
mov r12, qword [rdx + 0x1a8]
mov dword [rbp - 0x6c], 0
mov rsi, qword [r14 + 0x678]
mov rbx, rdx
xor r13d, r13d
lea edx, [r13 + 0x2f]
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_strchr]
or rdi, 0xffffffffffffffff
test rax, rax
je 0x14006ce2c
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], r13b
jne 0x14006cdf0
call qword [0x140177978]
mov r15, rax
test rax, rax
je 0x14006d31e
nop dword [rax + rax]
inc rdi
cmp byte [rsi + rdi], r13b
jne 0x14006ce10
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.MSVCR120.dll_memcpy
jmp 0x14006cea9
mov rcx, qword [rbx + 0xd8]
mov rax, rdi
inc rax
cmp byte [rcx + rax], r13b
jne 0x14006ce36
mov rcx, rdi
inc rcx
cmp byte [rsi + rcx], r13b
jne 0x14006ce42
add rax, 2
add rcx, rax
call qword [0x140177978]
mov r15, rax
test rax, rax
je 0x14006d31e
mov rcx, qword [rbx + 0xd8]
mov rax, rdi
nop
inc rax
cmp byte [rcx + rax], r13b
jne 0x14006ce70
nop dword [rax]
cmp byte [rsi + rdi + 1], r13b
lea rdi, [rdi + 1]
jne 0x14006ce80
mov qword [rsp + 0x20], rcx
lea rdx, [rdi + 2]
lea r8, [0x14017a53c]
mov r9, rsi
mov rcx, r15
add rdx, rax
call fcn.140057690
xor esi, esi
lea rax, [rsp + 0x78]
lea rdx, [0x14017ea70]
mov qword [rbp - 0x38], rax
lea rax, [rsp + 0x68]
lea r8d, [rsi + 2]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x10]
xor r9d, r9d
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x50]
xor ecx, ecx
mov qword [rsp + 0x40], rax
lea rax, [rbp]
mov dword [rbp - 0x3c], 1
mov qword [rsp + 0x38], rax
mov rax, qword [0x1401f2800]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov dword [rbp - 0x40], esi
mov dword [rsp + 0x7c], 2
mov dword [rsp + 0x78], esi
mov qword [rbp - 0x80], rsi
mov dword [rbp - 0x2c], 1
mov dword [rbp - 0x30], esi
mov dword [rsp + 0x6c], 2
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x70], rsi
mov dword [rbp - 0x5c], 3
mov dword [rbp - 0x60], esi
mov qword [rbp], rsi
mov qword [rbp + 8], rsi
mov qword [rsp + 0x20], rsi
call qword [rax + 0x18]
test eax, eax
je 0x14006cfb0
lea edx, [rax - 0x90312]
cmp edx, 2
jbe 0x14006cfb0
mov edx, eax
mov rcx, rbx
call fcn.140064ae0
mov rcx, qword [rbx]
lea r8, str.AcquireCredentialsHandle
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.140052c80
lea rdx, str.Failed_to_acquire_credentials.
mov rcx, r14
call fcn.140052c80
mov rcx, r15
call qword [case.0x140054204.2]
mov rax, qword [0x1401f2800]
lea rcx, [rbp]
call qword [rax + 0x20]
jmp 0x14006d7c6
lea rax, [rbp - 0x50]
lea rcx, [rbp]
mov r9d, 0x116
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x6c]
mov r8, r15
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x30]
mov rdx, r13
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], esi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [0x1401f2800]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], esi
call qword [rax + 0x30]
mov rcx, qword [rbp - 0x80]
mov edi, eax
test rcx, rcx
je 0x14006d02a
mov rdx, qword [0x1401f2800]
call qword [rdx + 0x80]
mov rcx, rsi
mov dword [rsp + 0x78], esi
mov qword [rbp - 0x80], rcx
test edi, edi
je 0x14006d03d
lea eax, [rdi - 0x90312]
cmp eax, 2
ja 0x14006d1d2
cmp dword [rsp + 0x68], esi
je 0x14006d0dd
movzx ecx, word [rsp + 0x68]
mov word [rsp + 0x60], 0x101
call qword [sym.imp.WS2_32.dll_htons]
cmp r12, qword [rbx + 0x1b0]
lea rdx, [rsp + 0x60]
mov word [rsp + 0x62], ax
mov rax, rsi
sete al
mov rcx, qword [rbx + rax*8 + 0x1a8]
xor r9d, r9d
lea r8d, [r9 + 4]
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
je 0x14006d29c
cmp rcx, 4
jne 0x14006d2d0
cmp r12, qword [rbx + 0x1b0]
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
lea rax, [rbp - 0x70]
mov edx, esi
mov rcx, rbx
sete dl
mov qword [rsp + 0x20], rax
call fcn.140052d80
cmp dword [rbp - 0x70], esi
jne 0x14006d244
mov ecx, dword [rsp + 0x68]
cmp rcx, rax
jne 0x14006d244
mov rcx, qword [rbp - 0x80]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14006d100
mov rcx, rax
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x68], esi
test rcx, rcx
je 0x14006d11a
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x78], esi
cmp edi, 0x90312
jne 0x14006d37d
lea rax, [rbp - 0x78]
lea r8, [rsp + 0x60]
mov r9d, 4
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140061080
test eax, eax
jne 0x14006d36c
cmp qword [rbp - 0x78], 4
jne 0x14006d36c
movzx eax, byte [rsp + 0x61]
cmp al, 0xff
je 0x14006d35d
cmp al, 1
jne 0x14006d328
movzx ecx, word [rsp + 0x62]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
movzx edi, ax
mov dword [rsp + 0x78], ecx
mov ecx, edi
call qword [0x140177978]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14006d2f9
mov r9d, dword [rsp + 0x78]
lea rcx, [rbp - 0x78]
mov r8, rax
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r12
call fcn.140061080
test eax, eax
jne 0x14006d2dc
cmp qword [rbp - 0x78], rdi
jne 0x14006d2dc
lea r13, [rbp - 0x10]
jmp 0x14006cfb0
mov edx, edi
mov rcx, rbx
call fcn.140064ae0
mov rcx, qword [rbx]
lea r8, str.InitializeSecurityContext
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.140052c80
mov rcx, r15
call qword [case.0x140054204.2]
mov rax, qword [0x1401f2800]
lea rcx, [rbp]
call qword [rax + 0x20]
mov rax, qword [0x1401f2800]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14006d230
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
lea rdx, str.Failed_to_initialise_security_context.
mov rcx, r14
call fcn.140052c80
jmp 0x14006d7c6
lea rdx, str.Failed_to_send_SSPI_authentication_token.
mov rcx, r14
call fcn.140052c80
mov rcx, r15
call qword [case.0x140054204.2]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14006d273
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14006d289
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
lea rcx, [rbp]
call qword [rax + 0x20]
jmp 0x14006d7b8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
je 0x14006d2d0
mov edx, eax
mov rcx, rbx
call fcn.1400649c0
mov rcx, qword [rbx]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.140052c80
mov rcx, qword [rbx]
mov dword [rcx + 0x88d4], edi
lea rdx, str.Failed_to_send_SSPI_authentication_request.
jmp 0x14006d24b
lea rdx, str.Failed_to_receive_SSPI_authentication_token.
mov rcx, r14
call fcn.140052c80
mov rcx, r15
call qword [case.0x140054204.2]
jmp 0x14006d273
mov rcx, r15
call qword [case.0x140054204.2]
mov rax, qword [0x1401f2800]
lea rcx, [rbp]
call qword [rax + 0x20]
mov rax, qword [0x1401f2800]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov eax, 0x1b
jmp 0x14006d7cb
movzx r9d, al
lea rdx, str.Invalid_SSPI_authentication_response_type___u__u_.
movzx r8d, byte [rsp + 0x60]
mov rcx, r14
call fcn.140052c80
mov rcx, r15
call qword [case.0x140054204.2]
mov rax, qword [0x1401f2800]
lea rcx, [rbp]
call qword [rax + 0x20]
jmp 0x14006d7b8
mov r9d, 0xff
lea rdx, [0x14017ebc8]
jmp 0x14006d333
lea rdx, str.Failed_to_receive_SSPI_authentication_response.
mov rcx, r14
call fcn.140052c80
jmp 0x14006d341
mov rcx, r15
call qword [case.0x140054204.2]
mov rax, qword [0x1401f2800]
lea r8, [rbp - 0x68]
lea rcx, [rbp]
mov edx, 1
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [0x1401f2800]
lea rcx, [rbp]
mov edi, eax
call qword [rdx + 0x20]
test edi, edi
je 0x14006d412
lea ecx, [rdi - 0x90312]
cmp ecx, 2
jbe 0x14006d412
mov edx, edi
mov rcx, rbx
call fcn.140064ae0
mov rcx, qword [rbx]
lea r8, str.QueryCredentialAttributes
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.140052c80
mov rax, qword [0x1401f2800]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp - 0x68]
call qword [rax + 0x80]
lea rdx, str.Failed_to_determine_user_name.
mov rcx, r14
call fcn.140052c80
jmp 0x14006d7c6
mov r8, qword [rbp - 0x68]
lea rdx, str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
mov rcx, r14
call fcn.140052ba0
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp - 0x68]
call qword [rax + 0x80]
mov eax, dword [rbp - 0x6c]
mov word [rsp + 0x60], 0x201
test al, 0x10
je 0x14006d44b
mov eax, 2
jmp 0x14006d456
bt eax, 0x10
jae 0x14006d46d
mov eax, 1
lea rcx, str.integrity
lea r8, str.confidentiality
cmp eax, 1
cmove r8, rcx
jmp 0x14006d474
lea r8, [0x14017a4e4]
lea rdx, str.SOCKS5_server_supports_GSS_API__s_data_protection._n
mov rcx, r14
call fcn.140052ba0
cmp dword [r14 + 0x6a4], esi
je 0x14006d496
mov ecx, 1
jmp 0x14006d71f
mov rax, qword [0x1401f2800]
lea r8, [rbp - 0x20]
lea rcx, [rbp - 0x10]
xor edx, edx
call qword [rax + 0x58]
test eax, eax
je 0x14006d4fe
lea ecx, [rax - 0x90312]
cmp ecx, 2
jbe 0x14006d4fe
mov edx, eax
mov rcx, rbx
call fcn.140064ae0
mov rcx, qword [rbx]
lea r8, str.QueryContextAttributes
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.140052c80
mov rax, qword [0x1401f2800]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
lea rdx, [0x14017ed58]
mov rcx, r14
call fcn.140052c80
jmp 0x14006d7c6
mov eax, dword [rbp - 0x14]
mov dword [rbp + 0x14], 2
mov ecx, eax
mov dword [rbp + 0x10], eax
call qword [0x140177978]
mov qword [rbp + 0x18], rax
test rax, rax
je 0x14006d310
mov ecx, 1
mov dword [rbp + 0x20], 1
call qword [0x140177978]
mov qword [rbp + 0x28], rax
test rax, rax
jne 0x14006d551
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
jmp 0x14006d310
mov byte [rax], sil
mov eax, dword [rbp - 0x18]
mov dword [rbp + 0x34], 9
mov ecx, eax
mov dword [rbp + 0x30], eax
call qword [0x140177978]
mov qword [rbp + 0x38], rax
test rax, rax
mov rax, qword [0x1401f2800]
jne 0x14006d599
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x80]
jmp 0x14006d310
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x10]
xor r9d, r9d
mov edx, 0x80000001
call qword [rax + 0xc8]
test eax, eax
je 0x14006d63a
lea ecx, [rax - 0x90312]
cmp ecx, 2
jbe 0x14006d63a
mov edx, eax
mov rcx, rbx
call fcn.140064ae0
mov rcx, qword [rbx]
lea r8, str.EncryptMessage
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.140052c80
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x38]
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
lea rdx, [0x14017ed98]
mov rcx, r14
call fcn.140052c80
jmp 0x14006d7c6
mov edx, dword [rbp + 0x30]
add edx, dword [rbp + 0x20]
add edx, dword [rbp + 0x10]
mov ecx, edx
mov dword [rsp + 0x68], edx
call qword [0x140177978]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x14006d691
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x38]
call qword [rax + 0x80]
jmp 0x14006d310
mov r8d, dword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov rcx, rax
call sub.MSVCR120.dll_memcpy
movsxd rcx, dword [rbp + 0x10]
mov r8d, dword [rbp + 0x20]
add rcx, qword [rsp + 0x70]
mov rdx, qword [rbp + 0x28]
call sub.MSVCR120.dll_memcpy
mov edx, dword [rbp + 0x20]
mov ecx, dword [rbp + 0x10]
add rdx, qword [rsp + 0x70]
mov r8d, dword [rbp + 0x30]
add rcx, rdx
mov rdx, qword [rbp + 0x38]
call sub.MSVCR120.dll_memcpy
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x28]
mov qword [rbp + 0x18], rsi
mov dword [rbp + 0x10], esi
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
mov rcx, qword [rbp + 0x38]
mov qword [rbp + 0x28], rsi
mov dword [rbp + 0x20], esi
call qword [rax + 0x80]
movzx ecx, word [rsp + 0x68]
mov qword [rbp + 0x38], rsi
mov dword [rbp + 0x30], esi
call qword [sym.imp.WS2_32.dll_htons]
cmp r12, qword [rbx + 0x1b0]
lea rdx, [rsp + 0x60]
mov word [rsp + 0x62], ax
mov rax, rsi
sete al
mov rcx, qword [rbx + rax*8 + 0x1a8]
xor r9d, r9d
lea r8d, [r9 + 4]
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14006d7f8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
je 0x14006d792
mov edx, eax
mov rcx, rbx
call fcn.1400649c0
mov rcx, qword [rbx]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.140052c80
mov rcx, qword [rbx]
mov dword [rcx + 0x88d4], edi
lea rdx, str.Failed_to_send_SSPI_encryption_request.
mov rcx, r14
call fcn.140052c80
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14006d7b8
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov eax, 7
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140129b50
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp rcx, 4
jne 0x14006d792
cmp dword [r14 + 0x6a4], esi
je 0x14006d8a2
cmp r12, qword [rbx + 0x1b0]
mov rax, rsi
lea r8d, [rcx - 3]
sete al
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov rcx, qword [rbx + rax*8 + 0x1a8]
mov byte [rsp + 0x60], sil
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14006d888
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
je 0x14006d88e
mov edx, eax
mov rcx, rbx
call fcn.1400649c0
mov rcx, qword [rbx]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.140052c80
mov rcx, qword [rbx]
lea rdx, [0x14017edf0]
mov dword [rcx + 0x88d4], edi
mov rcx, r14
call fcn.140052c80
jmp 0x14006d7b8
cmp rcx, 1
je 0x14006d8f6
lea rdx, [0x14017edf0]
mov rcx, r14
call fcn.140052c80
jmp 0x14006d7b8
cmp r12, qword [rbx + 0x1b0]
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
lea rax, [rbp - 0x70]
mov edx, esi
mov rcx, rbx
sete dl
mov qword [rsp + 0x20], rax
call fcn.140052d80
cmp dword [rbp - 0x70], esi
jne 0x14006db8a
mov ecx, dword [rsp + 0x68]
cmp rcx, rax
jne 0x14006db8a
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14006d8f6
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
lea rax, [rbp - 0x78]
lea r8, [rsp + 0x60]
mov r9d, 4
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140061080
test eax, eax
jne 0x14006db76
cmp qword [rbp - 0x78], 4
jne 0x14006db76
movzx eax, byte [rsp + 0x61]
cmp al, 0xff
jne 0x14006d951
movzx r8d, byte [rsp + 0x60]
lea rdx, str.User_was_rejected_by_the_SOCKS5_server___u__u_.
mov r9d, 0xff
mov rcx, r14
call fcn.140052c80
jmp 0x14006d7b8
cmp al, 2
je 0x14006d973
movzx r8d, byte [rsp + 0x60]
lea rdx, str.Invalid_SSPI_encryption_response_type___u__u_.
movzx r9d, al
mov rcx, r14
call fcn.140052c80
jmp 0x14006d7b8
movzx ecx, word [rsp + 0x62]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
movzx edi, ax
mov dword [rbp + 0x10], ecx
mov ecx, edi
call qword [0x140177978]
mov qword [rbp + 0x18], rax
test rax, rax
je 0x14006d310
mov r9d, dword [rbp + 0x10]
lea rcx, [rbp - 0x78]
mov r8, rax
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r12
call fcn.140061080
test eax, eax
jne 0x14006db5e
cmp qword [rbp - 0x78], rdi
jne 0x14006db5e
cmp dword [r14 + 0x6a4], esi
jne 0x14006dae8
mov rax, qword [0x1401f2800]
lea r9, [rbp - 0x48]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x10]
xor r8d, r8d
mov dword [rbp - 0x5c], 2
mov dword [rbp + 0x14], 0xa
mov dword [rbp + 0x24], 1
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x28], rsi
call qword [rax + 0xd0]
test eax, eax
je 0x14006da8e
lea ecx, [rax - 0x90312]
cmp ecx, 2
jbe 0x14006da8e
mov edx, eax
mov rcx, rbx
call fcn.140064ae0
mov rcx, qword [rbx]
lea r8, str.DecryptMessage
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.140052c80
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14006da56
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14006da6c
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
mov rax, qword [0x1401f2800]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
lea rdx, str.Failed_to_query_security_context_attributes.
mov rcx, r14
call fcn.140052c80
jmp 0x14006d7c6
mov r8d, dword [rbp + 0x20]
cmp r8d, 1
je 0x14006dac6
lea rdx, [0x14017ef38]
mov rcx, r14
call fcn.140052c80
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14006dabd
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x28]
jmp 0x14006d7a6
mov rax, qword [rbp + 0x28]
movzx ecx, byte [rax]
mov rax, qword [0x1401f2800]
mov byte [rsp + 0x60], cl
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x28]
jmp 0x14006db15
mov r8d, dword [rbp + 0x10]
cmp r8d, 1
je 0x14006db0a
lea rdx, str.Invalid_SSPI_encryption_response_length___lu_.
mov rcx, r14
call fcn.140052c80
mov rcx, qword [rbp + 0x18]
jmp 0x14006d7ab
mov rcx, qword [rbp + 0x18]
movzx eax, byte [rcx]
mov byte [rsp + 0x60], al
mov rax, qword [0x1401f2800]
call qword [rax + 0x80]
movzx eax, byte [rsp + 0x60]
test al, al
jne 0x14006db34
lea r8, str.out_GSS_API_data
jmp 0x14006db48
lea rcx, str._GSS_API_integrity
lea r8, str._GSS_API_confidentiality
cmp al, 1
cmove r8, rcx
lea rdx, str.SOCKS5_access_with_s_protection_granted._n
mov rcx, r14
call fcn.140052ba0
xor eax, eax
jmp 0x14006d7cb
lea rdx, str.Failed_to_receive_SSPI_encryption_type.
mov rcx, r14
call fcn.140052c80
mov rcx, qword [rbp + 0x18]
jmp 0x14006d7ab
lea rdx, str.Failed_to_receive_SSPI_encryption_response.
mov rcx, r14
call fcn.140052c80
jmp 0x14006d7b8
lea rdx, str.Failed_to_send_SSPI_encryption_type.
jmp 0x14006d799