Function at 0x100adae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
mov eax, dword [0x102184e0]
xor eax, esp
mov dword [esp + 0x1c0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + eax*4 + 0x420]
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], edx
mov eax, dword [ecx + 0xaa0]
mov dword [esp + 0x44], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x6c], edx
cmp eax, edx
je 0x100adb34
mov ebx, eax
mov dword [esp + 0x58], eax
jmp 0x100adb3d
mov ebx, str.rcmd
mov dword [esp + 0x58], ebx
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100adb42
sub eax, edx
push 0x2f
push ebx
mov esi, eax
call fcn.100b3c90
add esp, 8
test eax, eax
je 0x100adb86
push ebx
call dword [0x102181c8]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100adbe2
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.100b197c
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x32c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100adb90
sub eax, edx
lea ecx, [eax + esi + 2]
push ecx
call dword [0x102181bc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100adb6c
mov edx, edi
mov edx, dword [edx + 0x32c]
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100adbc0
mov ecx, dword [esp + 0x58]
push edx
push ecx
sub eax, edi
push str._s__s
lea edx, [eax + esi + 2]
push edx
push ebx
call fcn.10098d40
add esp, 0x14
mov edx, 1
mov dword [esp + 0x80], edx
mov dword [esp + 0x74], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x78], edx
lea edx, [esp + 0xa4]
mov dword [esp + 0x68], edx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x4c]
mov dword [esp + 0x88], eax
xor eax, eax
lea edx, [esp + 0x3c]
push edx
push eax
push eax
push eax
push eax
mov ecx, 2
push ecx
push str.Kerberos
mov dword [esp + 0x9c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push eax
mov eax, dword [0x1022728c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x88], 3
mov ecx, dword [eax + 0xc]
call ecx
mov esi, dword [esp + 0x44]
push eax
mov edi, str.AcquireCredentialsHandle
call fcn.100ada50
add esp, 4
test eax, eax
je 0x100adcbd
mov edx, dword [esp + 0x10]
push str.Failed_to_acquire_credentials.
push edx
call fcn.1007fc80
push ebx
call dword [0x102181c0]
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x10]
add esp, 0xc
lea eax, [esp + 0x38]
push eax
call edx
jmp 0x100ae922
mov eax, dword [esp + 0x40]
push 0
push eax
call fcn.100a89f0
mov eax, dword [esp + 0x74]
add esp, 8
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
lea ecx, [esp + 0x90]
push ecx
push 0x10
push 0
push 0x116
push ebx
push eax
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x18]
lea edx, [esp + 0x64]
push edx
call ecx
mov edi, eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x100add2b
mov edx, dword [0x1022728c]
push eax
mov eax, dword [edx + 0x40]
call eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], eax
test edi, edi
je 0x100add4b
cmp edi, 0x90314
je 0x100add4b
cmp edi, 0x90313
je 0x100add4b
cmp edi, 0x90312
jne 0x100adeba
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100addca
push ecx
mov word [esp + 0x18], 0x101
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [esp + 0x24]
push ecx
push 4
lea edx, [esp + 0x1c]
mov word [esp + 0x1e], ax
mov eax, dword [esp + 0x48]
push edx
push eax
push esi
call fcn.10080330
add esp, 0x14
test eax, eax
jne 0x100adf98
cmp dword [esp + 0x24], 4
jne 0x100adf98
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push esi
call fcn.10080330
add esp, 0x14
test eax, eax
jne 0x100adf33
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x24]
jne 0x100adf33
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x100adde9
mov eax, dword [0x1022728c]
push ecx
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x100ade09
mov edx, dword [0x1022728c]
push eax
mov eax, dword [edx + 0x40]
call eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
cmp edi, 0x90312
jne 0x100adffe
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x34]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push eax
push esi
call fcn.100a5060
add esp, 0x14
test eax, eax
jne 0x100ae8eb
cmp dword [esp + 0x34], 4
jne 0x100ae8eb
mov al, byte [esp + 0x15]
cmp al, 0xff
je 0x100ae84f
cmp al, 1
jne 0x100ae878
mov ecx, dword [esp + 0x16]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
push edi
mov dword [esp + 0x4c], edi
call dword [0x102181bc]
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
je 0x100ae889
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x44]
push ecx
push eax
push edx
push esi
call fcn.100a5060
add esp, 0x14
test eax, eax
jne 0x100ae8cd
cmp dword [esp + 0x34], edi
jne 0x100ae8cd
lea eax, [esp + 0x1c]
jmp 0x100adcd0
push 0x100
lea eax, [esp + 0xcc]
push eax
push edi
call fcn.100a7190
mov ecx, dword [esi]
push eax
push str.InitializeSecurityContext
push str.SSPI_error:__s_failed:__s
push ecx
call fcn.1007fc80
push ebx
call dword [0x102181c0]
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x10]
add esp, 0x20
lea edx, [esp + 0x38]
push edx
call ecx
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
call ecx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x100adf1c
mov edx, dword [0x1022728c]
push eax
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esp + 0x10]
push str.Failed_to_initialise_security_context.
push ecx
call fcn.1007fc80
add esp, 8
jmp 0x100ae922
mov edx, dword [esp + 0x10]
push str.Failed_to_send_SSPI_authentication_token.
push edx
call fcn.1007fc80
push ebx
call dword [0x102181c0]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x100adf5f
push eax
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x100adf73
mov edx, dword [0x1022728c]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0x1022728c]
mov eax, dword [edx + 0x10]
lea ecx, [esp + 0x38]
push ecx
call eax
mov edx, dword [0x1022728c]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x1c]
push ecx
call eax
jmp 0x100ae922
mov ecx, dword [esp + 0x10]
push str.Failed_to_send_SSPI_authentication_request.
push ecx
call fcn.1007fc80
push ebx
call dword [0x102181c0]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x100adfc5
mov edx, dword [0x1022728c]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x100adfd9
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x1c]
push eax
call edx
jmp 0x100ae922
push ebx
call dword [0x102181c0]
mov edx, dword [0x1022728c]
add esp, 4
lea eax, [esp + 0x54]
push eax
mov eax, dword [edx + 8]
push 1
lea ecx, [esp + 0x40]
push ecx
call eax
mov edx, dword [0x1022728c]
lea ecx, [esp + 0x38]
mov edi, eax
mov eax, dword [edx + 0x10]
push ecx
call eax
push edi
mov edi, str.QueryCredentialAttributes
call fcn.100ada50
add esp, 4
test eax, eax
je 0x100ae07a
mov edx, dword [0x1022728c]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x1c]
push ecx
call eax
mov ecx, dword [esp + 0x54]
mov edx, dword [0x1022728c]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x10]
push str.Failed_to_determine_user_name.
push ecx
call fcn.1007fc80
add esp, 8
jmp 0x100ae922
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x10]
push edx
push str.SOCKS5_server_authenticated_user__s_with_GSS_API._n
push esi
call fcn.1007fb40
mov eax, dword [esp + 0x60]
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x40]
add esp, 0xc
push eax
call edx
mov eax, dword [esp + 0x5c]
mov word [esp + 0x14], 0x201
test al, 0x10
jne 0x100ae0c5
test eax, 0x10000
jne 0x100ae0be
mov eax, 0x101b8f88
jmp 0x100ae0ca
mov eax, str.integrity
jmp 0x100ae0ca
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push esi
call fcn.1007fb40
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 0xc18], ebx
je 0x100ae0f4
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x44]
jmp 0x100ae416
mov edx, dword [0x1022728c]
lea eax, [esp + 0x94]
push eax
mov eax, dword [edx + 0x2c]
push ebx
lea ecx, [esp + 0x24]
push ecx
call eax
mov esi, dword [esp + 0x44]
push eax
mov edi, str.QueryContextAttributes
call fcn.100ada50
add esp, 4
test eax, eax
jne 0x100ae663
mov eax, dword [esp + 0xa0]
push eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 2
call dword [0x102181bc]
add esp, 4
mov dword [esp + 0xac], eax
cmp eax, ebx
je 0x100ae188
push 1
mov dword [esp + 0xb4], 1
call dword [0x102181bc]
add esp, 4
mov dword [esp + 0xb8], eax
cmp eax, ebx
jne 0x100ae1b1
mov edx, dword [esp + 0xac]
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
call ecx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.100b197c
mov esp, ebp
pop ebp
ret
mov byte [eax], bl
mov eax, dword [esp + 0x9c]
push eax
mov dword [esp + 0xc4], 9
mov dword [esp + 0xc0], eax
call dword [0x102181bc]
add esp, 4
mov dword [esp + 0xc4], eax
cmp eax, ebx
jne 0x100ae22e
mov edx, dword [esp + 0xac]
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0xb8]
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
call ecx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.100b197c
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1022728c]
push ebx
lea edx, [esp + 0x64]
push edx
mov edx, dword [ecx + 0x64]
push reloc.WS2_32.dll_accept
lea eax, [esp + 0x28]
push eax
call edx
push eax
mov edi, str.EncryptMessage
call fcn.100ada50
add esp, 4
test eax, eax
je 0x100ae2bb
mov eax, dword [esp + 0xac]
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0xb8]
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0xc4]
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [esp + 0x10]
push str.Failed_to_query_security_context_attributes.
push eax
call fcn.1007fc80
add esp, 8
jmp 0x100ae922
mov eax, dword [esp + 0xbc]
add eax, dword [esp + 0xb0]
add eax, dword [esp + 0xa4]
push eax
mov dword [esp + 0x2c], eax
call dword [0x102181bc]
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x100ae349
mov eax, dword [esp + 0xac]
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0xb8]
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0xc4]
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.100b197c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xac]
push ecx
push edx
push eax
call fcn.100b4ba0
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc4]
push eax
mov eax, dword [esp + 0xb4]
add eax, dword [esp + 0x40]
push ecx
push eax
call fcn.100b4ba0
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0xcc]
add ecx, dword [esp + 0xc0]
push edx
add ecx, dword [esp + 0x50]
push ecx
call fcn.100b4ba0
mov edx, dword [esp + 0xd0]
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x40]
add esp, 0x24
push edx
call ecx
mov edx, dword [esp + 0xb8]
mov eax, dword [0x1022728c]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa4], ebx
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0xc4]
mov eax, dword [0x1022728c]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb0], ebx
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc0], ebx
call dword [sym.imp.WS2_32.dll_htons]
mov ebx, dword [esp + 0x40]
mov word [esp + 0x16], ax
lea eax, [esp + 0x24]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push ebx
push esi
call fcn.10080330
add esp, 0x14
test eax, eax
jne 0x100ae823
cmp dword [esp + 0x24], 4
jne 0x100ae823
mov edi, dword [esp + 0x10]
cmp dword [edi + 0xc18], eax
je 0x100ae49c
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x18], al
push 1
lea eax, [esp + 0x1c]
push eax
push ebx
push esi
call fcn.10080330
add esp, 0x14
test eax, eax
jne 0x100ae479
cmp dword [esp + 0x24], 1
je 0x100ae4df
push str.Failed_to_send_SSPI_encryption_type.
push edi
call fcn.1007fc80
mov edx, dword [0x1022728c]
mov eax, dword [edx + 0x24]
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
call eax
jmp 0x100ae922
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
push ebx
push esi
call fcn.10080330
add esp, 0x14
test eax, eax
jne 0x100ae7fb
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x24]
jne 0x100ae7fb
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100ae4df
mov edx, dword [0x1022728c]
push eax
mov eax, dword [edx + 0x40]
call eax
lea ecx, [esp + 0x34]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push ebx
push esi
call fcn.100a5060
add esp, 0x14
test eax, eax
jne 0x100ae7d8
cmp dword [esp + 0x34], 4
jne 0x100ae7d8
mov al, byte [esp + 0x15]
cmp al, 0xff
jne 0x100ae53e
movzx eax, byte [esp + 0x14]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push edi
call fcn.1007fc80
mov edx, dword [0x1022728c]
mov eax, dword [edx + 0x24]
add esp, 0x10
lea ecx, [esp + 0x1c]
push ecx
call eax
jmp 0x100ae922
cmp al, 2
je 0x100ae56f
movzx edx, byte [esp + 0x14]
movzx ecx, al
push ecx
push edx
push str.Invalid_SSPI_encryption_response_type___u__u_.
push edi
call fcn.1007fc80
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x24]
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
call edx
jmp 0x100ae922
mov eax, dword [esp + 0x16]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
push edi
mov dword [esp + 0xa8], edi
call dword [0x102181bc]
add esp, 4
mov dword [esp + 0xac], eax
test eax, eax
je 0x100ae8a3
mov edx, dword [esp + 0xa4]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
push ebx
push esi
call fcn.100a5060
add esp, 0x14
test eax, eax
jne 0x100ae7b1
cmp dword [esp + 0x34], edi
jne 0x100ae7b1
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xc18], 0
jne 0x100ae712
xor eax, eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [0x1022728c]
push eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], eax
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x70], 2
mov dword [esp + 0xb4], 0xa
mov dword [esp + 0xc0], 1
mov edx, dword [ecx + 0x68]
push eax
call edx
push eax
mov edi, str.DecryptMessage
call fcn.100ada50
add esp, 4
test eax, eax
je 0x100ae68a
mov eax, dword [esp + 0xac]
test eax, eax
je 0x100ae64c
push eax
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x100ae663
mov edx, dword [0x1022728c]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0x1022728c]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x1c]
push ecx
call eax
mov ecx, dword [esp + 0x10]
push str.Failed_to_query_security_context_attributes.
push ecx
call fcn.1007fc80
add esp, 8
jmp 0x100ae922
mov eax, dword [esp + 0xb0]
cmp eax, 1
je 0x100ae6dd
mov edx, dword [esp + 0x10]
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edx
call fcn.1007fc80
mov eax, dword [esp + 0xb8]
add esp, 0xc
test eax, eax
je 0x100ae6bf
push eax
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x100adf83
mov edx, dword [0x1022728c]
push eax
mov eax, dword [edx + 0x40]
jmp 0x100adf81
mov ecx, dword [esp + 0xb8]
mov dl, byte [ecx]
mov eax, dword [esp + 0xac]
mov ecx, dword [0x1022728c]
mov byte [esp + 0x14], dl
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0xb8]
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x40]
push eax
call edx
jmp 0x100ae75f
mov eax, dword [esp + 0xa4]
cmp eax, 1
je 0x100ae746
push eax
mov eax, dword [esp + 0x14]
push str.Invalid_SSPI_encryption_response_length___lu_.
push eax
call fcn.1007fc80
mov edx, dword [0x1022728c]
mov ecx, dword [esp + 0xb8]
mov eax, dword [edx + 0x40]
add esp, 0xc
jmp 0x100adf80
mov eax, dword [esp + 0xac]
mov cl, byte [eax]
mov edx, dword [0x1022728c]
mov byte [esp + 0x14], cl
push eax
mov eax, dword [edx + 0x40]
call eax
push 1
push ebx
call fcn.100a89f0
mov al, byte [esp + 0x1c]
add esp, 8
test al, al
jne 0x100ae779
mov eax, str.out_GSS_API_data
jmp 0x100ae787
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x100ae787
mov eax, str._GSS_API_confidentiality
mov ecx, dword [esp + 0x10]
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push ecx
call fcn.1007fb40
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.100b197c
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
push str.Failed_to_receive_SSPI_encryption_type.
push edx
call fcn.1007fc80
mov ecx, dword [0x1022728c]
mov eax, dword [esp + 0xb4]
mov edx, dword [ecx + 0x40]
add esp, 8
jmp 0x100adfe6
push str.Failed_to_receive_SSPI_encryption_response.
push edi
call fcn.1007fc80
mov ecx, dword [0x1022728c]
mov edx, dword [ecx + 0x24]
add esp, 8
lea eax, [esp + 0x1c]
push eax
call edx
jmp 0x100ae922
push str.Failed_to_send_SSPI_encryption_type.
push edi
call fcn.1007fc80
mov eax, dword [esp + 0x38]
add esp, 8
test eax, eax
je 0x100ae913
push eax
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x40]
jmp 0x100ae911
mov edx, dword [esp + 0x10]
push str.Failed_to_send_SSPI_encryption_request.
push edx
call fcn.1007fc80
mov eax, dword [esp + 0x38]
add esp, 8
test eax, eax
je 0x100ae913
push eax
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x40]
jmp 0x100ae911
movzx edx, byte [esp + 0x14]
push 0xff
push edx
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
mov eax, dword [esp + 0x1c]
push eax
call fcn.1007fc80
push ebx
call dword [0x102181c0]
add esp, 0x14
jmp 0x100adf73
movzx edx, byte [esp + 0x14]
movzx ecx, al
push ecx
push edx
push str.Invalid_SSPI_authentication_response_type___u__u_.
jmp 0x100ae85f
push ebx
call dword [0x102181c0]
mov edx, dword [0x1022728c]
mov eax, dword [edx + 0x10]
add esp, 4
lea ecx, [esp + 0x38]
push ecx
call eax
mov edx, dword [0x1022728c]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x1c]
push ecx
call eax
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.100b197c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
push str.Failed_to_receive_SSPI_authentication_token.
push ecx
call fcn.1007fc80
push ebx
call dword [0x102181c0]
add esp, 0xc
jmp 0x100adf5f
mov ecx, dword [esp + 0x10]
push str.Failed_to_receive_SSPI_authentication_response.
push ecx
call fcn.1007fc80
push ebx
call dword [0x102181c0]
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x10]
add esp, 0xc
lea edx, [esp + 0x38]
push edx
call ecx
mov eax, dword [0x1022728c]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
call ecx
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 7
call fcn.100b197c
mov esp, ebp
pop ebp
ret