Function at 0x1400d2bb0
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 [0x1402581e0]
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 0x1400d2c5c
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], r13b
jne 0x1400d2c20
call qword [sub.MSVCR120.dll_malloc]
mov r15, rax
test rax, rax
je 0x1400d314e
nop dword [rax + rax]
inc rdi
cmp byte [rsi + rdi], r13b
jne 0x1400d2c40
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.MSVCR120.dll_memcpy
jmp 0x1400d2cd9
mov rcx, qword [rbx + 0xd8]
mov rax, rdi
inc rax
cmp byte [rcx + rax], r13b
jne 0x1400d2c66
mov rcx, rdi
inc rcx
cmp byte [rsi + rcx], r13b
jne 0x1400d2c72
add rax, 2
add rcx, rax
call qword [sub.MSVCR120.dll_malloc]
mov r15, rax
test rax, rax
je 0x1400d314e
mov rcx, qword [rbx + 0xd8]
mov rax, rdi
nop
inc rax
cmp byte [rcx + rax], r13b
jne 0x1400d2ca0
nop dword [rax]
cmp byte [rsi + rdi + 1], r13b
lea rdi, [rdi + 1]
jne 0x1400d2cb0
mov qword [rsp + 0x20], rcx
lea rdx, [rdi + 2]
lea r8, [0x14025b9dc]
mov r9, rsi
mov rcx, r15
add rdx, rax
call fcn.1400bd4d0
xor esi, esi
lea rax, [rsp + 0x78]
lea rdx, [0x14025fec0]
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 [0x1402ddb18]
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 0x1400d2de0
lea edx, [rax - 0x90312]
cmp edx, 2
jbe 0x1400d2de0
mov edx, eax
mov rcx, rbx
call fcn.1400ca910
mov rcx, qword [rbx]
lea r8, str.AcquireCredentialsHandle
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b8ac0
lea rdx, str.Failed_to_acquire_credentials.
mov rcx, r14
call fcn.1400b8ac0
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rax, qword [0x1402ddb18]
lea rcx, [rbp]
call qword [rax + 0x20]
jmp 0x1400d35f6
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 [0x1402ddb18]
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 0x1400d2e5a
mov rdx, qword [0x1402ddb18]
call qword [rdx + 0x80]
mov rcx, rsi
mov dword [rsp + 0x78], esi
mov qword [rbp - 0x80], rcx
test edi, edi
je 0x1400d2e6d
lea eax, [rdi - 0x90312]
cmp eax, 2
ja 0x1400d3002
cmp dword [rsp + 0x68], esi
je 0x1400d2f0d
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 0x1400d30cc
cmp rcx, 4
jne 0x1400d3100
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.1400b8bc0
cmp dword [rbp - 0x70], esi
jne 0x1400d3074
mov ecx, dword [rsp + 0x68]
cmp rcx, rax
jne 0x1400d3074
mov rcx, qword [rbp - 0x80]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400d2f30
mov rcx, rax
mov rax, qword [0x1402ddb18]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x68], esi
test rcx, rcx
je 0x1400d2f4a
mov rax, qword [0x1402ddb18]
call qword [rax + 0x80]
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x78], esi
cmp edi, 0x90312
jne 0x1400d31ad
lea rax, [rbp - 0x78]
lea r8, [rsp + 0x60]
mov r9d, 4
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400c6ec0
test eax, eax
jne 0x1400d319c
cmp qword [rbp - 0x78], 4
jne 0x1400d319c
movzx eax, byte [rsp + 0x61]
cmp al, 0xff
je 0x1400d318d
cmp al, 1
jne 0x1400d3158
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 [sub.MSVCR120.dll_malloc]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1400d3129
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.1400c6ec0
test eax, eax
jne 0x1400d310c
cmp qword [rbp - 0x78], rdi
jne 0x1400d310c
lea r13, [rbp - 0x10]
jmp 0x1400d2de0
mov edx, edi
mov rcx, rbx
call fcn.1400ca910
mov rcx, qword [rbx]
lea r8, str.InitializeSecurityContext
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b8ac0
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rax, qword [0x1402ddb18]
lea rcx, [rbp]
call qword [rax + 0x20]
mov rax, qword [0x1402ddb18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400d3060
mov rax, qword [0x1402ddb18]
call qword [rax + 0x80]
lea rdx, str.Failed_to_initialise_security_context.
mov rcx, r14
call fcn.1400b8ac0
jmp 0x1400d35f6
lea rdx, str.Failed_to_send_SSPI_authentication_token.
mov rcx, r14
call fcn.1400b8ac0
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400d30a3
mov rax, qword [0x1402ddb18]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400d30b9
mov rax, qword [0x1402ddb18]
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
lea rcx, [rbp]
call qword [rax + 0x20]
jmp 0x1400d35e8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
je 0x1400d3100
mov edx, eax
mov rcx, rbx
call fcn.1400ca7f0
mov rcx, qword [rbx]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400b8ac0
mov rcx, qword [rbx]
mov dword [rcx + 0x88d4], edi
lea rdx, str.Failed_to_send_SSPI_authentication_request.
jmp 0x1400d307b
lea rdx, str.Failed_to_receive_SSPI_authentication_token.
mov rcx, r14
call fcn.1400b8ac0
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
jmp 0x1400d30a3
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rax, qword [0x1402ddb18]
lea rcx, [rbp]
call qword [rax + 0x20]
mov rax, qword [0x1402ddb18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov eax, 0x1b
jmp 0x1400d35fb
movzx r9d, al
lea rdx, str.Invalid_SSPI_authentication_response_type___u__u_.
movzx r8d, byte [rsp + 0x60]
mov rcx, r14
call fcn.1400b8ac0
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rax, qword [0x1402ddb18]
lea rcx, [rbp]
call qword [rax + 0x20]
jmp 0x1400d35e8
mov r9d, 0xff
lea rdx, [0x140260018]
jmp 0x1400d3163
lea rdx, str.Failed_to_receive_SSPI_authentication_response.
mov rcx, r14
call fcn.1400b8ac0
jmp 0x1400d3171
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rax, qword [0x1402ddb18]
lea r8, [rbp - 0x68]
lea rcx, [rbp]
mov edx, 1
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [0x1402ddb18]
lea rcx, [rbp]
mov edi, eax
call qword [rdx + 0x20]
test edi, edi
je 0x1400d3242
lea ecx, [rdi - 0x90312]
cmp ecx, 2
jbe 0x1400d3242
mov edx, edi
mov rcx, rbx
call fcn.1400ca910
mov rcx, qword [rbx]
lea r8, str.QueryCredentialAttributes
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b8ac0
mov rax, qword [0x1402ddb18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp - 0x68]
call qword [rax + 0x80]
lea rdx, str.Failed_to_determine_user_name.
mov rcx, r14
call fcn.1400b8ac0
jmp 0x1400d35f6
mov r8, qword [rbp - 0x68]
lea rdx, str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
mov rcx, r14
call fcn.1400b89e0
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp - 0x68]
call qword [rax + 0x80]
mov eax, dword [rbp - 0x6c]
mov word [rsp + 0x60], 0x201
test al, 0x10
je 0x1400d327b
mov eax, 2
jmp 0x1400d3286
bt eax, 0x10
jae 0x1400d329d
mov eax, 1
lea rcx, str.integrity
lea r8, str.confidentiality
cmp eax, 1
cmove r8, rcx
jmp 0x1400d32a4
lea r8, [0x14025b984]
lea rdx, str.SOCKS5_server_supports_GSS_API__s_data_protection._n
mov rcx, r14
call fcn.1400b89e0
cmp dword [r14 + 0x6a4], esi
je 0x1400d32c6
mov ecx, 1
jmp 0x1400d354f
mov rax, qword [0x1402ddb18]
lea r8, [rbp - 0x20]
lea rcx, [rbp - 0x10]
xor edx, edx
call qword [rax + 0x58]
test eax, eax
je 0x1400d332e
lea ecx, [rax - 0x90312]
cmp ecx, 2
jbe 0x1400d332e
mov edx, eax
mov rcx, rbx
call fcn.1400ca910
mov rcx, qword [rbx]
lea r8, str.QueryContextAttributes
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b8ac0
mov rax, qword [0x1402ddb18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
lea rdx, [0x1402601a8]
mov rcx, r14
call fcn.1400b8ac0
jmp 0x1400d35f6
mov eax, dword [rbp - 0x14]
mov dword [rbp + 0x14], 2
mov ecx, eax
mov dword [rbp + 0x10], eax
call qword [sub.MSVCR120.dll_malloc]
mov qword [rbp + 0x18], rax
test rax, rax
je 0x1400d3140
mov ecx, 1
mov dword [rbp + 0x20], 1
call qword [sub.MSVCR120.dll_malloc]
mov qword [rbp + 0x28], rax
test rax, rax
jne 0x1400d3381
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
jmp 0x1400d3140
mov byte [rax], sil
mov eax, dword [rbp - 0x18]
mov dword [rbp + 0x34], 9
mov ecx, eax
mov dword [rbp + 0x30], eax
call qword [sub.MSVCR120.dll_malloc]
mov qword [rbp + 0x38], rax
test rax, rax
mov rax, qword [0x1402ddb18]
jne 0x1400d33c9
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x80]
jmp 0x1400d3140
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x10]
xor r9d, r9d
mov edx, 0x80000001
call qword [rax + 0xc8]
test eax, eax
je 0x1400d346a
lea ecx, [rax - 0x90312]
cmp ecx, 2
jbe 0x1400d346a
mov edx, eax
mov rcx, rbx
call fcn.1400ca910
mov rcx, qword [rbx]
lea r8, str.EncryptMessage
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b8ac0
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp + 0x38]
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
lea rdx, [0x1402601e8]
mov rcx, r14
call fcn.1400b8ac0
jmp 0x1400d35f6
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 [sub.MSVCR120.dll_malloc]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1400d34c1
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp + 0x38]
call qword [rax + 0x80]
jmp 0x1400d3140
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 [0x1402ddb18]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
mov rcx, qword [rbp + 0x28]
mov qword [rbp + 0x18], rsi
mov dword [rbp + 0x10], esi
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
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 0x1400d3628
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
je 0x1400d35c2
mov edx, eax
mov rcx, rbx
call fcn.1400ca7f0
mov rcx, qword [rbx]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400b8ac0
mov rcx, qword [rbx]
mov dword [rcx + 0x88d4], edi
lea rdx, str.Failed_to_send_SSPI_encryption_request.
mov rcx, r14
call fcn.1400b8ac0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400d35e8
mov rax, qword [0x1402ddb18]
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov eax, 7
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1401bddc0
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 0x1400d35c2
cmp dword [r14 + 0x6a4], esi
je 0x1400d36d2
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 0x1400d36b8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
je 0x1400d36be
mov edx, eax
mov rcx, rbx
call fcn.1400ca7f0
mov rcx, qword [rbx]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400b8ac0
mov rcx, qword [rbx]
lea rdx, [0x140260240]
mov dword [rcx + 0x88d4], edi
mov rcx, r14
call fcn.1400b8ac0
jmp 0x1400d35e8
cmp rcx, 1
je 0x1400d3726
lea rdx, [0x140260240]
mov rcx, r14
call fcn.1400b8ac0
jmp 0x1400d35e8
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.1400b8bc0
cmp dword [rbp - 0x70], esi
jne 0x1400d39ba
mov ecx, dword [rsp + 0x68]
cmp rcx, rax
jne 0x1400d39ba
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400d3726
mov rax, qword [0x1402ddb18]
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.1400c6ec0
test eax, eax
jne 0x1400d39a6
cmp qword [rbp - 0x78], 4
jne 0x1400d39a6
movzx eax, byte [rsp + 0x61]
cmp al, 0xff
jne 0x1400d3781
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.1400b8ac0
jmp 0x1400d35e8
cmp al, 2
je 0x1400d37a3
movzx r8d, byte [rsp + 0x60]
lea rdx, str.Invalid_SSPI_encryption_response_type___u__u_.
movzx r9d, al
mov rcx, r14
call fcn.1400b8ac0
jmp 0x1400d35e8
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 [sub.MSVCR120.dll_malloc]
mov qword [rbp + 0x18], rax
test rax, rax
je 0x1400d3140
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.1400c6ec0
test eax, eax
jne 0x1400d398e
cmp qword [rbp - 0x78], rdi
jne 0x1400d398e
cmp dword [r14 + 0x6a4], esi
jne 0x1400d3918
mov rax, qword [0x1402ddb18]
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 0x1400d38be
lea ecx, [rax - 0x90312]
cmp ecx, 2
jbe 0x1400d38be
mov edx, eax
mov rcx, rbx
call fcn.1400ca910
mov rcx, qword [rbx]
lea r8, str.DecryptMessage
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b8ac0
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400d3886
mov rax, qword [0x1402ddb18]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400d389c
mov rax, qword [0x1402ddb18]
call qword [rax + 0x80]
mov rax, qword [0x1402ddb18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
lea rdx, str.Failed_to_query_security_context_attributes.
mov rcx, r14
call fcn.1400b8ac0
jmp 0x1400d35f6
mov r8d, dword [rbp + 0x20]
cmp r8d, 1
je 0x1400d38f6
lea rdx, [0x140260388]
mov rcx, r14
call fcn.1400b8ac0
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400d38ed
mov rax, qword [0x1402ddb18]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x28]
jmp 0x1400d35d6
mov rax, qword [rbp + 0x28]
movzx ecx, byte [rax]
mov rax, qword [0x1402ddb18]
mov byte [rsp + 0x60], cl
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x28]
jmp 0x1400d3945
mov r8d, dword [rbp + 0x10]
cmp r8d, 1
je 0x1400d393a
lea rdx, str.Invalid_SSPI_encryption_response_length___lu_.
mov rcx, r14
call fcn.1400b8ac0
mov rcx, qword [rbp + 0x18]
jmp 0x1400d35db
mov rcx, qword [rbp + 0x18]
movzx eax, byte [rcx]
mov byte [rsp + 0x60], al
mov rax, qword [0x1402ddb18]
call qword [rax + 0x80]
movzx eax, byte [rsp + 0x60]
test al, al
jne 0x1400d3964
lea r8, str.out_GSS_API_data
jmp 0x1400d3978
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.1400b89e0
xor eax, eax
jmp 0x1400d35fb
lea rdx, str.Failed_to_receive_SSPI_encryption_type.
mov rcx, r14
call fcn.1400b8ac0
mov rcx, qword [rbp + 0x18]
jmp 0x1400d35db
lea rdx, str.Failed_to_receive_SSPI_encryption_response.
mov rcx, r14
call fcn.1400b8ac0
jmp 0x1400d35e8
lea rdx, str.Failed_to_send_SSPI_encryption_type.
jmp 0x1400d35c9