Function at 0x1400a9df0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov r14, qword [rcx + 0x18]
lea r15, str.rcmd
movsxd rax, dword [rcx + 0x20]
xor r12d, r12d
mov rbx, 0xffffffffffffffff
mov qword [rbp + 0x198], r14
mov rdi, rdx
mov r13, rcx
mov rsi, rbx
mov rax, qword [r14 + rax*8 + 0x238]
mov qword [rbp - 0x10], rax
mov rax, qword [rdx + 0x7c8]
test rax, rax
mov dword [rbp + 0x190], 0
cmovne r15, rax
nop dword [rax]
inc rsi
cmp byte [r15 + rsi], r12b
jne 0x1400a9e60
mov edx, 0x2f
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
je 0x1400a9e93
mov rcx, r15
call qword [case.0x140071f61.0]
mov r14, rax
test rax, rax
je 0x1400aa400
jmp 0x1400a9ef9
mov rcx, qword [r14 + 0xb8]
mov rax, rbx
nop dword [rax]
cmp byte [rcx + rax + 1], r12b
lea rax, [rax + 1]
jne 0x1400a9ea0
lea rcx, [rax + 2]
add rcx, rsi
call qword [0x140163098]
mov r14, rax
test rax, rax
je 0x1400aa400
mov rax, qword [rbp + 0x198]
mov rax, qword [rax + 0xb8]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x1400a9ed2
lea rdx, [rsi + 2]
mov qword [rsp + 0x20], rax
add rdx, rbx
lea r8, [0x14014892c]
mov r9, r15
mov rcx, r14
call fcn.14007e5a0
xor ebx, ebx
mov dword [rbp + 0x14], 1
lea rax, [rbp - 0x50]
mov dword [rbp + 0x10], ebx
mov qword [rbp + 0x18], rax
lea rdx, str.Kerberos
lea rax, [rsp + 0x70]
mov dword [rbp - 0x4c], 2
mov qword [rbp + 8], rax
xor r9d, r9d
lea rax, [rbp - 0x80]
mov dword [rbp - 0x50], ebx
mov qword [rbp - 0x20], rax
mov r8d, 2
lea rax, [rbp - 8]
mov qword [rbp - 0x48], rbx
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rbp - 0x40]
mov dword [rbp + 4], 1
mov qword [rsp + 0x38], rax
mov rax, qword [0x140163d58]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov dword [rbp], ebx
mov dword [rsp + 0x74], 2
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x24], 3
mov dword [rbp - 0x28], ebx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov qword [rsp + 0x20], rbx
call qword [rax + 0x18]
test eax, eax
je 0x1400aa000
lea ecx, [rax - 0x90313]
cmp ecx, 1
jbe 0x1400aa000
cmp eax, 0x90312
je 0x1400aa000
lea rdx, [rbp + 0x30]
mov ecx, eax
call fcn.14005b210
mov r9, rax
lea r8, str.AcquireCredentialsHandle
lea rdx, str.SSPI_error:__s_failed:__s
mov rcx, rdi
call fcn.140077850
lea rdx, str.Failed_to_acquire_credentials.
mov rcx, rdi
call fcn.140077850
mov rcx, r14
call qword [0x1401630a8]
mov rax, qword [0x140163d58]
lea rcx, [rbp - 0x40]
call qword [rax + 0x20]
mov eax, 7
jmp 0x1400aa405
mov r15, qword [rbp - 0x10]
lea r8, [rbp + 0x198]
mov rcx, r15
mov dword [rbp + 0x198], ebx
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, r14
call fcn.14007e8e0
mov rsi, rax
test rax, rax
je 0x1400aa400
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp - 8]
mov r9d, 0x116
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x40]
lea rax, [rbp + 0x190]
mov r8, rsi
mov qword [rsp + 0x50], rax
mov rdx, r12
lea rax, [rbp]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov rax, qword [0x140163d58]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], ebx
call qword [rax + 0x30]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400aa0c9
mov rdx, qword [0x140163d58]
call qword [rdx + 0x80]
xor esi, esi
mov ecx, esi
mov dword [rbp - 0x50], esi
mov qword [rbp - 0x48], rcx
jmp 0x1400aa0cb
xor esi, esi
test ebx, ebx
je 0x1400aa0e6
lea eax, [rbx - 0x90313]
cmp eax, 1
jbe 0x1400aa0e6
cmp ebx, 0x90312
jne 0x1400aa2c1
cmp dword [rsp + 0x70], 0
je 0x1400aa1a6
movzx ecx, word [rsp + 0x70]
mov word [rbp + 0x180], 0x101
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [r13 + 8]
mov word [rbp + 0x182], ax
test rcx, rcx
je 0x1400aa34d
mov rax, qword [rcx]
lea rdx, [rbp + 0x188]
mov qword [rsp + 0x28], rdx
lea r8, [rbp + 0x180]
mov rdx, rdi
mov byte [rsp + 0x20], 0
mov r9d, 4
call qword [rax + 0x48]
cmp dword [rbp + 0x188], 0
jne 0x1400aa357
cmp rax, 4
jne 0x1400aa357
mov rcx, qword [r13 + 8]
mov r9d, dword [rsp + 0x70]
test rcx, rcx
je 0x1400aa33a
mov rax, qword [rcx]
lea rdx, [rbp + 0x188]
mov r8, qword [rsp + 0x78]
mov qword [rsp + 0x28], rdx
mov rdx, rdi
mov byte [rsp + 0x20], 0
call qword [rax + 0x48]
cmp dword [rbp + 0x188], 0
jne 0x1400aa344
mov ecx, dword [rsp + 0x70]
cmp rcx, rax
jne 0x1400aa344
mov rcx, qword [rbp - 0x48]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400aa1c9
mov rcx, rax
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x48]
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x70], esi
test rcx, rcx
je 0x1400aa1e3
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
mov qword [rbp - 0x48], rsi
mov dword [rbp - 0x50], esi
cmp ebx, 0x90312
jne 0x1400aa46d
lea rax, [rbp + 0x198]
mov r9d, 4
lea r8, [rbp + 0x180]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r13
call fcn.140092f00
test eax, eax
jne 0x1400aa450
cmp qword [rbp + 0x198], 4
jne 0x1400aa450
movzx eax, byte [rbp + 0x181]
cmp al, 0xff
je 0x1400aa425
cmp al, 1
jne 0x1400aa419
movzx ecx, word [rbp + 0x182]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
movzx ebx, ax
mov dword [rbp - 0x50], ecx
mov ecx, ebx
call qword [0x140163098]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x1400aa3da
mov r9d, dword [rbp - 0x50]
lea rcx, [rbp + 0x198]
mov qword [rsp + 0x20], rcx
mov r8, rax
mov rcx, r13
mov rdx, rdi
call fcn.140092f00
test eax, eax
jne 0x1400aa3c0
cmp qword [rbp + 0x198], rbx
jne 0x1400aa3c0
mov rcx, r14
lea r12, [rsp + 0x60]
call fcn.14007e8e0
mov rsi, rax
test rax, rax
je 0x1400aa400
xor ebx, ebx
jmp 0x1400aa040
lea rdx, [rbp + 0x30]
mov ecx, ebx
call fcn.14005b210
mov r9, rax
lea r8, str.InitializeSecurityContext
lea rdx, str.SSPI_error:__s_failed:__s
mov rcx, rdi
call fcn.140077850
mov rcx, r14
call qword [0x1401630a8]
mov rax, qword [0x140163d58]
lea rcx, [rbp - 0x40]
call qword [rax + 0x20]
mov rax, qword [0x140163d58]
lea rcx, [rsp + 0x60]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400aa321
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
lea rdx, str.Failed_to_initialise_security_context.
mov rcx, rdi
call fcn.140077850
mov eax, 7
jmp 0x1400aa405
mov dword [rbp + 0x188], 0x37
lea rdx, str.Failed_to_send_SSPI_authentication_token.
jmp 0x1400aa35e
mov dword [rbp + 0x188], 0x37
lea rdx, str.Failed_to_send_SSPI_authentication_request.
mov rcx, rdi
call fcn.140077850
mov rcx, r14
call qword [0x1401630a8]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400aa386
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400aa39c
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
mov rax, qword [0x140163d58]
lea rcx, [rbp - 0x40]
call qword [rax + 0x20]
mov rax, qword [0x140163d58]
lea rcx, [rsp + 0x60]
call qword [rax + 0x48]
mov eax, 7
jmp 0x1400aa405
lea rdx, str.Failed_to_receive_SSPI_authentication_token.
mov rcx, rdi
call fcn.140077850
mov rcx, r14
call qword [0x1401630a8]
jmp 0x1400aa386
mov rcx, r14
call qword [0x1401630a8]
mov rax, qword [0x140163d58]
lea rcx, [rbp - 0x40]
call qword [rax + 0x20]
mov rax, qword [0x140163d58]
lea rcx, [rsp + 0x60]
call qword [rax + 0x48]
mov eax, 0x1b
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r9d, eax
lea rdx, str.Invalid_SSPI_authentication_response_type___u__u_.
jmp 0x1400aa432
mov r9d, 0xff
lea rdx, str.User_was_rejected_by_the_SOCKS5_server___u__u_.
movzx r8d, byte [rbp + 0x180]
mov rcx, rdi
call fcn.140077850
mov rcx, r14
call qword [0x1401630a8]
jmp 0x1400aa39c
lea rdx, str.Failed_to_receive_SSPI_authentication_response.
mov rcx, rdi
call fcn.140077850
mov rcx, r14
call qword [0x1401630a8]
jmp 0x1400aa39c
mov rcx, r14
call qword [0x1401630a8]
mov rax, qword [0x140163d58]
lea r8, [rbp - 0x30]
mov edx, 1
lea rcx, [rbp - 0x40]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [0x140163d58]
lea rcx, [rbp - 0x40]
mov ebx, eax
call qword [rdx + 0x20]
lea r8, str.QueryCredentialAttributes
mov edx, ebx
mov rcx, rdi
call fcn.1400a9d70
test eax, eax
je 0x1400aa4eb
mov rax, qword [0x140163d58]
lea rcx, [rsp + 0x60]
call qword [rax + 0x48]
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x30]
call qword [rax + 0x80]
lea rdx, str.Failed_to_determine_username.
mov rcx, rdi
call fcn.140077850
mov eax, 7
jmp 0x1400aa405
mov rcx, qword [rbp - 0x30]
call fcn.14007e990
test rax, rax
lea r8, str._unknown_
lea rdx, str.SOCKS5_server_authenticated_user__s_with_GSS_API.
mov rcx, rdi
cmovne r8, rax
mov rbx, rax
call fcn.140077a60
test rbx, rbx
je 0x1400aa522
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x30]
call qword [rax + 0x80]
mov eax, dword [rbp + 0x190]
mov word [rbp + 0x180], 0x201
test al, 0x10
je 0x1400aa54a
mov al, 2
jmp 0x1400aa552
bt eax, 0x10
jae 0x1400aa568
mov al, 1
cmp al, 1
lea rcx, str.integrity
lea r8, str.confidentiality
cmove r8, rcx
jmp 0x1400aa56f
lea r8, [0x14014af6c]
lea rdx, str.SOCKS5_server_supports_GSS_API__s_data_protection.
mov rcx, rdi
call fcn.140077a60
cmp byte [rdi + 0x9b7], 0
je 0x1400aa591
mov ecx, 1
jmp 0x1400aa7c4
mov rax, qword [0x140163d58]
lea r8, [rbp + 0x20]
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [rax + 0x58]
lea r8, str.QueryContextAttributes
mov rcx, rdi
mov edx, eax
call fcn.1400a9d70
test eax, eax
jne 0x1400aa6b9
mov eax, dword [rbp + 0x2c]
mov ecx, eax
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x7c], 2
call qword [0x140163098]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400aa3f1
mov ecx, 1
mov dword [rbp - 0x70], 1
call qword [0x140163098]
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x1400aa612
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x78]
call qword [rax + 0x80]
jmp 0x1400aa3f1
mov byte [rax], 0
mov eax, dword [rbp + 0x28]
mov ecx, eax
mov dword [rbp - 0x5c], 9
mov dword [rbp - 0x60], eax
call qword [0x140163098]
mov qword [rbp - 0x58], rax
test rax, rax
mov rax, qword [0x140163d58]
jne 0x1400aa65a
mov rcx, qword [rbp - 0x78]
call qword [rax + 0x80]
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x68]
call qword [rax + 0x80]
jmp 0x1400aa3f1
xor r9d, r9d
lea r8, [rbp - 0x28]
mov edx, 0x80000001
lea rcx, [rsp + 0x60]
call qword [rax + 0xc8]
lea r8, str.EncryptMessage
mov rcx, rdi
mov edx, eax
call fcn.1400a9d70
test eax, eax
je 0x1400aa6e1
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x78]
call qword [rax + 0x80]
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x68]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x58]
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
mov rax, qword [0x140163d58]
lea rcx, [rsp + 0x60]
call qword [rax + 0x48]
lea rdx, str.Failed_to_query_security_context_attributes.
mov rcx, rdi
call fcn.140077850
mov eax, 7
jmp 0x1400aa405
mov ecx, dword [rbp - 0x70]
add ecx, dword [rbp - 0x60]
add ecx, dword [rbp - 0x80]
mov dword [rsp + 0x70], ecx
call qword [0x140163098]
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x1400aa736
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x78]
call qword [rax + 0x80]
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x68]
call qword [rax + 0x80]
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x58]
call qword [rax + 0x80]
jmp 0x1400aa3f1
mov r8d, dword [rbp - 0x80]
mov rcx, rax
mov rdx, qword [rbp - 0x78]
call sub.VCRUNTIME140.dll_memcpy
movsxd rcx, dword [rbp - 0x80]
add rcx, qword [rsp + 0x78]
mov r8d, dword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rbp - 0x70]
add rdx, qword [rsp + 0x78]
mov ecx, dword [rbp - 0x80]
mov r8d, dword [rbp - 0x60]
add rcx, rdx
mov rdx, qword [rbp - 0x58]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x78]
call qword [rax + 0x80]
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x78], rsi
mov dword [rbp - 0x80], esi
call qword [rax + 0x80]
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x58]
mov qword [rbp - 0x68], rsi
mov dword [rbp - 0x70], esi
call qword [rax + 0x80]
movzx ecx, word [rsp + 0x70]
mov qword [rbp - 0x58], rsi
mov dword [rbp - 0x60], esi
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [r13 + 8]
mov word [rbp + 0x182], ax
test rcx, rcx
je 0x1400aabb7
mov rax, qword [rcx]
lea rdx, [rbp + 0x188]
mov qword [rsp + 0x28], rdx
lea r8, [rbp + 0x180]
mov rdx, rdi
mov byte [rsp + 0x20], 0
mov r9d, 4
call qword [rax + 0x48]
cmp dword [rbp + 0x188], 0
jne 0x1400aabc1
cmp rax, 4
jne 0x1400aabc1
cmp byte [rdi + 0x9b7], 0
mov rcx, qword [r13 + 8]
je 0x1400aa8a1
mov byte [rbp + 0x180], 0
test rcx, rcx
je 0x1400aa883
mov rax, qword [rcx]
lea rdx, [rbp + 0x188]
mov qword [rsp + 0x28], rdx
lea r8, [rbp + 0x180]
mov rdx, rdi
mov byte [rsp + 0x20], 0
mov r9d, 1
call qword [rax + 0x48]
cmp dword [rbp + 0x188], 0
jne 0x1400aa88d
cmp rax, 1
je 0x1400aa8ff
lea rdx, str.Failed_to_send_SSPI_encryption_type.
mov rcx, rdi
call fcn.140077850
jmp 0x1400aa3aa
mov dword [rbp + 0x188], 0x37
lea rdx, str.Failed_to_send_SSPI_encryption_type.
mov rcx, rdi
call fcn.140077850
jmp 0x1400aa3aa
mov r9d, dword [rsp + 0x70]
test rcx, rcx
je 0x1400aaba4
mov rax, qword [rcx]
lea rdx, [rbp + 0x188]
mov r8, qword [rsp + 0x78]
mov qword [rsp + 0x28], rdx
mov rdx, rdi
mov byte [rsp + 0x20], 0
call qword [rax + 0x48]
cmp dword [rbp + 0x188], 0
jne 0x1400aabae
mov ecx, dword [rsp + 0x70]
cmp rcx, rax
jne 0x1400aabae
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400aa8ff
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
lea rax, [rbp + 0x198]
mov r9d, 4
lea r8, [rbp + 0x180]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r13
call fcn.140092f00
test eax, eax
jne 0x1400aab90
cmp qword [rbp + 0x198], 4
jne 0x1400aab90
movzx eax, byte [rbp + 0x181]
cmp al, 0xff
jne 0x1400aa966
movzx r8d, byte [rbp + 0x180]
lea rdx, str.User_was_rejected_by_the_SOCKS5_server___u__u_.
mov r9d, 0xff
mov rcx, rdi
call fcn.140077850
jmp 0x1400aa3aa
cmp al, 2
je 0x1400aa989
movzx r8d, byte [rbp + 0x180]
lea rdx, str.Invalid_SSPI_encryption_response_type___u__u_.
mov r9d, eax
mov rcx, rdi
call fcn.140077850
jmp 0x1400aa3aa
movzx ecx, word [rbp + 0x182]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
movzx ebx, ax
mov dword [rbp - 0x80], ecx
mov ecx, ebx
call qword [0x140163098]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400aa3f1
mov r9d, dword [rbp - 0x80]
lea rcx, [rbp + 0x198]
mov qword [rsp + 0x20], rcx
mov r8, rax
mov rcx, r13
mov rdx, rdi
call fcn.140092f00
test eax, eax
jne 0x1400aab6b
cmp qword [rbp + 0x198], rbx
jne 0x1400aab6b
cmp byte [rdi + 0x9b7], al
jne 0x1400aaac5
mov rax, qword [0x140163d58]
lea r9, [rbp - 0x18]
xor r8d, r8d
mov dword [rbp - 0x24], 2
lea rdx, [rbp - 0x28]
mov dword [rbp - 0x7c], 0xa
lea rcx, [rsp + 0x60]
mov dword [rbp - 0x6c], 1
mov dword [rbp - 0x70], esi
mov qword [rbp - 0x68], rsi
call qword [rax + 0xd0]
lea r8, str.DecryptMessage
mov rcx, rdi
mov edx, eax
call fcn.1400a9d70
test eax, eax
je 0x1400aaa69
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400aaa57
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400aa6b9
jmp 0x1400aa6ac
mov r8d, dword [rbp - 0x70]
cmp r8d, 1
je 0x1400aaaa1
lea rdx, str.Invalid_SSPI_encryption_response_length___lu_.
mov rcx, rdi
call fcn.140077850
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400aaa98
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x68]
jmp 0x1400aabd5
mov rax, qword [rbp - 0x68]
movzx ecx, byte [rax]
mov rax, qword [0x140163d58]
mov byte [rbp + 0x180], cl
mov rcx, qword [rbp - 0x78]
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x68]
jmp 0x1400aab01
mov r8d, dword [rbp - 0x80]
cmp r8d, 1
je 0x1400aaaf4
lea rdx, str.Invalid_SSPI_encryption_response_length___lu_.
mov rcx, rdi
call fcn.140077850
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x78]
call qword [rax + 0x80]
jmp 0x1400aa3aa
mov rcx, qword [rbp - 0x78]
movzx eax, byte [rcx]
mov byte [rbp + 0x180], al
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
lea r8, [rbp + 0x198]
mov dword [rbp + 0x198], 1
mov edx, 0x8004667e
mov rcx, r15
call qword [sym.imp.WS2_32.dll_ioctlsocket]
movzx eax, byte [rbp + 0x180]
test al, al
jne 0x1400aab41
lea r8, str.out_GSS_API_data
jmp 0x1400aab55
cmp al, 1
lea rcx, str._GSS_API_integrity
lea r8, str._GSS_API_confidentiality
cmove r8, rcx
lea rdx, str.SOCKS5_access_with_s_protection_granted.
mov rcx, rdi
call fcn.140077a60
xor eax, eax
jmp 0x1400aa405
lea rdx, str.Failed_to_receive_SSPI_encryption_type.
mov rcx, rdi
call fcn.140077850
mov rax, qword [0x140163d58]
mov rcx, qword [rbp - 0x78]
call qword [rax + 0x80]
jmp 0x1400aa3aa
lea rdx, str.Failed_to_receive_SSPI_encryption_response.
mov rcx, rdi
call fcn.140077850
jmp 0x1400aa3aa
mov dword [rbp + 0x188], 0x37
lea rdx, str.Failed_to_send_SSPI_encryption_type.
jmp 0x1400aabc8
mov dword [rbp + 0x188], 0x37
lea rdx, str.Failed_to_send_SSPI_encryption_request.
mov rcx, rdi
call fcn.140077850
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400aa3aa
mov rax, qword [0x140163d58]
call qword [rax + 0x80]
jmp 0x1400aa3aa