Function at 0x1400d3bc0
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 [0x140264330]
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 0x1400d3c6c
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], r13b
jne 0x1400d3c30
call qword [sub.MSVCR120.dll_malloc]
mov r15, rax
test rax, rax
je 0x1400d415e
nop dword [rax + rax]
inc rdi
cmp byte [rsi + rdi], r13b
jne 0x1400d3c50
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.MSVCR120.dll_memcpy
jmp 0x1400d3ce9
mov rcx, qword [rbx + 0xd8]
mov rax, rdi
inc rax
cmp byte [rcx + rax], r13b
jne 0x1400d3c76
mov rcx, rdi
inc rcx
cmp byte [rsi + rcx], r13b
jne 0x1400d3c82
add rax, 2
add rcx, rax
call qword [sub.MSVCR120.dll_malloc]
mov r15, rax
test rax, rax
je 0x1400d415e
mov rcx, qword [rbx + 0xd8]
mov rax, rdi
nop
inc rax
cmp byte [rcx + rax], r13b
jne 0x1400d3cb0
nop dword [rax]
cmp byte [rsi + rdi + 1], r13b
lea rdi, [rdi + 1]
jne 0x1400d3cc0
mov qword [rsp + 0x20], rcx
lea rdx, [rdi + 2]
lea r8, [0x140267b2c]
mov r9, rsi
mov rcx, r15
add rdx, rax
call fcn.1400be4d0
xor esi, esi
lea rax, [rsp + 0x78]
lea rdx, [0x14026c020]
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 [0x1402ead18]
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 0x1400d3df0
lea edx, [rax - 0x90312]
cmp edx, 2
jbe 0x1400d3df0
mov edx, eax
mov rcx, rbx
call fcn.1400cb920
mov rcx, qword [rbx]
lea r8, str.AcquireCredentialsHandle
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b9ac0
lea rdx, str.Failed_to_acquire_credentials.
mov rcx, r14
call fcn.1400b9ac0
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rax, qword [0x1402ead18]
lea rcx, [rbp]
call qword [rax + 0x20]
jmp 0x1400d4606
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 [0x1402ead18]
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 0x1400d3e6a
mov rdx, qword [0x1402ead18]
call qword [rdx + 0x80]
mov rcx, rsi
mov dword [rsp + 0x78], esi
mov qword [rbp - 0x80], rcx
test edi, edi
je 0x1400d3e7d
lea eax, [rdi - 0x90312]
cmp eax, 2
ja 0x1400d4012
cmp dword [rsp + 0x68], esi
je 0x1400d3f1d
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 0x1400d40dc
cmp rcx, 4
jne 0x1400d4110
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.1400b9bc0
cmp dword [rbp - 0x70], esi
jne 0x1400d4084
mov ecx, dword [rsp + 0x68]
cmp rcx, rax
jne 0x1400d4084
mov rcx, qword [rbp - 0x80]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400d3f40
mov rcx, rax
mov rax, qword [0x1402ead18]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x68], esi
test rcx, rcx
je 0x1400d3f5a
mov rax, qword [0x1402ead18]
call qword [rax + 0x80]
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x78], esi
cmp edi, 0x90312
jne 0x1400d41bd
lea rax, [rbp - 0x78]
lea r8, [rsp + 0x60]
mov r9d, 4
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400c7ec0
test eax, eax
jne 0x1400d41ac
cmp qword [rbp - 0x78], 4
jne 0x1400d41ac
movzx eax, byte [rsp + 0x61]
cmp al, 0xff
je 0x1400d419d
cmp al, 1
jne 0x1400d4168
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 0x1400d4139
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.1400c7ec0
test eax, eax
jne 0x1400d411c
cmp qword [rbp - 0x78], rdi
jne 0x1400d411c
lea r13, [rbp - 0x10]
jmp 0x1400d3df0
mov edx, edi
mov rcx, rbx
call fcn.1400cb920
mov rcx, qword [rbx]
lea r8, str.InitializeSecurityContext
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b9ac0
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rax, qword [0x1402ead18]
lea rcx, [rbp]
call qword [rax + 0x20]
mov rax, qword [0x1402ead18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400d4070
mov rax, qword [0x1402ead18]
call qword [rax + 0x80]
lea rdx, str.Failed_to_initialise_security_context.
mov rcx, r14
call fcn.1400b9ac0
jmp 0x1400d4606
lea rdx, str.Failed_to_send_SSPI_authentication_token.
mov rcx, r14
call fcn.1400b9ac0
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400d40b3
mov rax, qword [0x1402ead18]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400d40c9
mov rax, qword [0x1402ead18]
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
lea rcx, [rbp]
call qword [rax + 0x20]
jmp 0x1400d45f8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
je 0x1400d4110
mov edx, eax
mov rcx, rbx
call fcn.1400cb800
mov rcx, qword [rbx]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400b9ac0
mov rcx, qword [rbx]
mov dword [rcx + 0x88d4], edi
lea rdx, str.Failed_to_send_SSPI_authentication_request.
jmp 0x1400d408b
lea rdx, str.Failed_to_receive_SSPI_authentication_token.
mov rcx, r14
call fcn.1400b9ac0
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
jmp 0x1400d40b3
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rax, qword [0x1402ead18]
lea rcx, [rbp]
call qword [rax + 0x20]
mov rax, qword [0x1402ead18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov eax, 0x1b
jmp 0x1400d460b
movzx r9d, al
lea rdx, str.Invalid_SSPI_authentication_response_type___u__u_.
movzx r8d, byte [rsp + 0x60]
mov rcx, r14
call fcn.1400b9ac0
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rax, qword [0x1402ead18]
lea rcx, [rbp]
call qword [rax + 0x20]
jmp 0x1400d45f8
mov r9d, 0xff
lea rdx, [0x14026c178]
jmp 0x1400d4173
lea rdx, str.Failed_to_receive_SSPI_authentication_response.
mov rcx, r14
call fcn.1400b9ac0
jmp 0x1400d4181
mov rcx, r15
call qword [sub.MSVCR120.dll_free]
mov rax, qword [0x1402ead18]
lea r8, [rbp - 0x68]
lea rcx, [rbp]
mov edx, 1
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [0x1402ead18]
lea rcx, [rbp]
mov edi, eax
call qword [rdx + 0x20]
test edi, edi
je 0x1400d4252
lea ecx, [rdi - 0x90312]
cmp ecx, 2
jbe 0x1400d4252
mov edx, edi
mov rcx, rbx
call fcn.1400cb920
mov rcx, qword [rbx]
lea r8, str.QueryCredentialAttributes
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b9ac0
mov rax, qword [0x1402ead18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp - 0x68]
call qword [rax + 0x80]
lea rdx, str.Failed_to_determine_user_name.
mov rcx, r14
call fcn.1400b9ac0
jmp 0x1400d4606
mov r8, qword [rbp - 0x68]
lea rdx, str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
mov rcx, r14
call fcn.1400b99e0
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp - 0x68]
call qword [rax + 0x80]
mov eax, dword [rbp - 0x6c]
mov word [rsp + 0x60], 0x201
test al, 0x10
je 0x1400d428b
mov eax, 2
jmp 0x1400d4296
bt eax, 0x10
jae 0x1400d42ad
mov eax, 1
lea rcx, str.integrity
lea r8, str.confidentiality
cmp eax, 1
cmove r8, rcx
jmp 0x1400d42b4
lea r8, [0x140267ad4]
lea rdx, str.SOCKS5_server_supports_GSS_API__s_data_protection._n
mov rcx, r14
call fcn.1400b99e0
cmp dword [r14 + 0x6a4], esi
je 0x1400d42d6
mov ecx, 1
jmp 0x1400d455f
mov rax, qword [0x1402ead18]
lea r8, [rbp - 0x20]
lea rcx, [rbp - 0x10]
xor edx, edx
call qword [rax + 0x58]
test eax, eax
je 0x1400d433e
lea ecx, [rax - 0x90312]
cmp ecx, 2
jbe 0x1400d433e
mov edx, eax
mov rcx, rbx
call fcn.1400cb920
mov rcx, qword [rbx]
lea r8, str.QueryContextAttributes
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b9ac0
mov rax, qword [0x1402ead18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
lea rdx, [0x14026c308]
mov rcx, r14
call fcn.1400b9ac0
jmp 0x1400d4606
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 0x1400d4150
mov ecx, 1
mov dword [rbp + 0x20], 1
call qword [sub.MSVCR120.dll_malloc]
mov qword [rbp + 0x28], rax
test rax, rax
jne 0x1400d4391
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
jmp 0x1400d4150
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 [0x1402ead18]
jne 0x1400d43d9
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x80]
jmp 0x1400d4150
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x10]
xor r9d, r9d
mov edx, 0x80000001
call qword [rax + 0xc8]
test eax, eax
je 0x1400d447a
lea ecx, [rax - 0x90312]
cmp ecx, 2
jbe 0x1400d447a
mov edx, eax
mov rcx, rbx
call fcn.1400cb920
mov rcx, qword [rbx]
lea r8, str.EncryptMessage
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b9ac0
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp + 0x38]
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
lea rdx, [0x14026c348]
mov rcx, r14
call fcn.1400b9ac0
jmp 0x1400d4606
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 0x1400d44d1
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp + 0x38]
call qword [rax + 0x80]
jmp 0x1400d4150
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 [0x1402ead18]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
mov rcx, qword [rbp + 0x28]
mov qword [rbp + 0x18], rsi
mov dword [rbp + 0x10], esi
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
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 0x1400d4638
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
je 0x1400d45d2
mov edx, eax
mov rcx, rbx
call fcn.1400cb800
mov rcx, qword [rbx]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400b9ac0
mov rcx, qword [rbx]
mov dword [rcx + 0x88d4], edi
lea rdx, str.Failed_to_send_SSPI_encryption_request.
mov rcx, r14
call fcn.1400b9ac0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400d45f8
mov rax, qword [0x1402ead18]
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
mov eax, 7
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1401bb2c0
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 0x1400d45d2
cmp dword [r14 + 0x6a4], esi
je 0x1400d46e2
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 0x1400d46c8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
je 0x1400d46ce
mov edx, eax
mov rcx, rbx
call fcn.1400cb800
mov rcx, qword [rbx]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400b9ac0
mov rcx, qword [rbx]
lea rdx, [0x14026c3a0]
mov dword [rcx + 0x88d4], edi
mov rcx, r14
call fcn.1400b9ac0
jmp 0x1400d45f8
cmp rcx, 1
je 0x1400d4736
lea rdx, [0x14026c3a0]
mov rcx, r14
call fcn.1400b9ac0
jmp 0x1400d45f8
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.1400b9bc0
cmp dword [rbp - 0x70], esi
jne 0x1400d49ca
mov ecx, dword [rsp + 0x68]
cmp rcx, rax
jne 0x1400d49ca
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400d4736
mov rax, qword [0x1402ead18]
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.1400c7ec0
test eax, eax
jne 0x1400d49b6
cmp qword [rbp - 0x78], 4
jne 0x1400d49b6
movzx eax, byte [rsp + 0x61]
cmp al, 0xff
jne 0x1400d4791
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.1400b9ac0
jmp 0x1400d45f8
cmp al, 2
je 0x1400d47b3
movzx r8d, byte [rsp + 0x60]
lea rdx, str.Invalid_SSPI_encryption_response_type___u__u_.
movzx r9d, al
mov rcx, r14
call fcn.1400b9ac0
jmp 0x1400d45f8
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 0x1400d4150
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.1400c7ec0
test eax, eax
jne 0x1400d499e
cmp qword [rbp - 0x78], rdi
jne 0x1400d499e
cmp dword [r14 + 0x6a4], esi
jne 0x1400d4928
mov rax, qword [0x1402ead18]
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 0x1400d48ce
lea ecx, [rax - 0x90312]
cmp ecx, 2
jbe 0x1400d48ce
mov edx, eax
mov rcx, rbx
call fcn.1400cb920
mov rcx, qword [rbx]
lea r8, str.DecryptMessage
lea rdx, str.SSPI_error:__s_failed:__s
mov r9, rax
call fcn.1400b9ac0
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400d4896
mov rax, qword [0x1402ead18]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400d48ac
mov rax, qword [0x1402ead18]
call qword [rax + 0x80]
mov rax, qword [0x1402ead18]
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
lea rdx, str.Failed_to_query_security_context_attributes.
mov rcx, r14
call fcn.1400b9ac0
jmp 0x1400d4606
mov r8d, dword [rbp + 0x20]
cmp r8d, 1
je 0x1400d4906
lea rdx, [0x14026c4e8]
mov rcx, r14
call fcn.1400b9ac0
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400d48fd
mov rax, qword [0x1402ead18]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x28]
jmp 0x1400d45e6
mov rax, qword [rbp + 0x28]
movzx ecx, byte [rax]
mov rax, qword [0x1402ead18]
mov byte [rsp + 0x60], cl
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x28]
jmp 0x1400d4955
mov r8d, dword [rbp + 0x10]
cmp r8d, 1
je 0x1400d494a
lea rdx, str.Invalid_SSPI_encryption_response_length___lu_.
mov rcx, r14
call fcn.1400b9ac0
mov rcx, qword [rbp + 0x18]
jmp 0x1400d45eb
mov rcx, qword [rbp + 0x18]
movzx eax, byte [rcx]
mov byte [rsp + 0x60], al
mov rax, qword [0x1402ead18]
call qword [rax + 0x80]
movzx eax, byte [rsp + 0x60]
test al, al
jne 0x1400d4974
lea r8, str.out_GSS_API_data
jmp 0x1400d4988
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.1400b99e0
xor eax, eax
jmp 0x1400d460b
lea rdx, str.Failed_to_receive_SSPI_encryption_type.
mov rcx, r14
call fcn.1400b9ac0
mov rcx, qword [rbp + 0x18]
jmp 0x1400d45eb
lea rdx, str.Failed_to_receive_SSPI_encryption_response.
mov rcx, r14
call fcn.1400b9ac0
jmp 0x1400d45f8
lea rdx, str.Failed_to_send_SSPI_encryption_type.
jmp 0x1400d45d9