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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [esi + ecx*4 + 0x154]
push edi
xor edi, edi
mov dword [esp + 0x78], edi
mov ebx, dword [eax + 0x42c]
push 0x2f
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x84], edi
call fcn.00a7da70
add esp, 8
test eax, eax
mov eax, ebx
lea edx, [eax + 1]
je 0xac90a0
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xac9060
sub eax, edx
push eax
call dword [0xafa6e0]
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
je 0xac9c9f
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xac9086
sub eax, edx
push eax
push ebx
push esi
call fcn.00a81c00
add esp, 0xc
jmp 0xac9128
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xac90a0
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0xa8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xac90b4
sub eax, esi
lea eax, [eax + edx + 2]
push eax
call dword [0xafa6e0]
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0xac9c9f
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xac90e0
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xa8]
sub eax, edx
mov edi, eax
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xac9100
push ecx
sub eax, esi
push ebx
lea edx, [eax + edi + 2]
mov eax, dword [esp + 0x24]
push str._s__s
push edx
push eax
call fcn.00aa6f00
mov esi, dword [esp + 0x30]
add esp, 0x14
xor edi, edi
mov ecx, 1
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x90], ecx
lea edx, [esp + 0x68]
mov dword [esp + 0xa0], edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x94], ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x88], edx
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x3c]
push edx
push edi
push edi
push edi
mov eax, 2
push edi
push eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x4c], eax
mov eax, dword [0xafc688]
push str.Kerberos
mov dword [esp + 0xb8], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0xa4], 3
mov dword [esp + 0xa0], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov ecx, dword [eax + 0xc]
push edi
call ecx
cmp eax, edi
je 0xac9237
cmp eax, 0x90314
je 0xac9237
cmp eax, 0x90313
je 0xac9237
cmp eax, 0x90312
je 0xac9237
mov edi, dword [ebp + 0xc]
push eax
push edi
call fcn.00aa8530
mov edx, dword [edi]
push eax
push str.AcquireCredentialsHandle
push str.SSPI_error:__s_failed:__s
push edx
call fcn.00aa31a0
mov eax, dword [esp + 0x38]
push str.Failed_to_acquire_credentials.
push eax
call fcn.00aa31a0
push esi
call dword [0xafa6e4]
mov edx, dword [0xafc688]
mov eax, dword [edx + 0x10]
add esp, 0x24
lea ecx, [esp + 0x38]
push ecx
call eax
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x7c]
xor esi, esi
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push esi
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [0xafc688]
push 0x10
push esi
push 0x116
push edx
mov edx, dword [ecx + 0x18]
push eax
lea eax, [esp + 0x64]
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0xac92a0
push eax
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x40]
call ecx
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], esi
cmp edi, esi
je 0xac92c0
cmp edi, 0x90314
je 0xac92c0
cmp edi, 0x90313
je 0xac92c0
cmp edi, 0x90312
jne 0xac9425
mov ecx, dword [esp + 0x2c]
cmp ecx, esi
je 0xac9342
push ecx
mov byte [esp + 0x10], 1
mov byte [esp + 0x11], 1
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x12], ax
push 4
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
call fcn.00aa33b0
add esp, 0x14
test eax, eax
jne 0xac950f
cmp dword [esp + 0x24], 4
jne 0xac950f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push ebx
call fcn.00aa33b0
add esp, 0x14
test eax, eax
jne 0xac949e
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x24]
jne 0xac949e
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x34]
cmp ecx, esi
je 0xac935e
push ecx
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x40]
call edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], esi
cmp eax, esi
je 0xac9375
push eax
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x40]
call ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x68], esi
cmp edi, 0x90312
jne 0xac9516
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
push 4
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
call fcn.00abff30
add esp, 0x14
test eax, eax
jne 0xac9ccd
cmp dword [esp + 0x28], 4
jne 0xac9ccd
mov al, byte [esp + 0xd]
cmp al, 0xff
je 0xac9c0c
cmp al, 1
jne 0xac9c39
mov edx, dword [esp + 0xe]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x6c], edi
call dword [0xafa6e0]
add esp, 4
mov dword [esp + 0x70], eax
cmp eax, esi
je 0xac9c73
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
mov eax, dword [esp + 0x4c]
push eax
push ebx
call fcn.00abff30
add esp, 0x14
test eax, eax
jne 0xac9cab
cmp dword [esp + 0x28], edi
jne 0xac9cab
lea eax, [esp + 0x14]
jmp 0xac9240
push edi
push ebx
call fcn.00aa8530
mov ecx, dword [ebx]
push eax
push str.InitializeSecurityContext
push str.SSPI_error:__s_failed:__s
push ecx
call fcn.00aa31a0
mov edx, dword [esp + 0x34]
push edx
call dword [0xafa6e4]
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x10]
add esp, 0x1c
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x14]
push eax
call edx
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0xac9480
push eax
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x40]
call ecx
mov edx, dword [esp + 0x20]
push str.Failed_to_initialise_security_context.
push edx
call fcn.00aa31a0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Failed_to_send_SSPI_authentication_token.
mov eax, dword [esp + 0x24]
push eax
call fcn.00aa31a0
mov ecx, dword [esp + 0x24]
push ecx
call dword [0xafa6e4]
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp eax, esi
je 0xac94cf
mov edx, dword [0xafc688]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0xac94e3
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x14]
push eax
call edx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Failed_to_send_SSPI_authentication_request.
jmp 0xac94a3
mov eax, dword [esp + 0x1c]
push eax
call dword [0xafa6e4]
mov eax, dword [0xafc688]
add esp, 4
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [eax + 8]
push 1
lea edx, [esp + 0x40]
push edx
call ecx
mov esi, eax
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x38]
push edx
call ecx
mov eax, esi
push str.QueryCredentialAttributes
mov esi, ebx
call fcn.00ac8fd0
add esp, 4
test eax, eax
je 0xac959c
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x14]
push edx
call ecx
mov edx, dword [esp + 0x74]
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x20]
push str.Failed_to_determine_user_name.
push edx
call fcn.00aa31a0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x20]
push eax
push str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
push ebx
call fcn.00aa3110
mov ecx, dword [esp + 0x80]
mov edx, dword [0xafc688]
mov eax, dword [edx + 0x40]
add esp, 0xc
push ecx
call eax
mov eax, dword [esp + 0x78]
mov byte [esp + 0xc], 1
mov byte [esp + 0xd], 2
test al, 0x10
jne 0xac95ed
test eax, 0x10000
jne 0xac95e6
mov eax, 0xae53cc
jmp 0xac95f2
mov eax, str.integrity
jmp 0xac95f2
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push ebx
call fcn.00aa3110
add esp, 0xc
cmp dword [ebx + 0x458], 0
je 0xac9619
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov edi, esi
jmp 0xac9863
mov eax, dword [0xafc688]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [eax + 0x2c]
push 0
lea edx, [esp + 0x1c]
push edx
call ecx
push str.QueryContextAttributes
mov edi, esi
call fcn.00ac8fd0
add esp, 4
test eax, eax
jne 0xac9a84
mov eax, dword [esp + 0xbc]
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 2
call dword [0xafa6e0]
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
je 0xac9c90
push 1
mov dword [esp + 0x54], 1
call dword [0xafa6e0]
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
jne 0xac969e
mov eax, dword [0xafc688]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 0x40]
jmp 0xac9c8d
mov byte [eax], 0
mov eax, dword [esp + 0xb8]
push eax
mov dword [esp + 0x64], 9
mov dword [esp + 0x60], eax
call dword [0xafa6e0]
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
jne 0xac96e6
mov edx, dword [esp + 0x4c]
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0xafc688]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + 0x40]
jmp 0xac9c8d
mov ecx, dword [0xafc688]
push 0
lea edx, [esp + 0x84]
push edx
mov edx, dword [ecx + 0x64]
push 0x80000001
lea eax, [esp + 0x20]
push eax
call edx
push str.EncryptMessage
call fcn.00ac8fd0
add esp, 4
test eax, eax
je 0xac9770
mov eax, dword [esp + 0x4c]
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x58]
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x64]
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x14]
push eax
call edx
push str.Failed_to_query_security_context_attributes.
push ebx
call fcn.00aa31a0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
add eax, ecx
add eax, dword [esp + 0x44]
push eax
mov dword [esp + 0x30], eax
call dword [0xafa6e0]
xor esi, esi
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, esi
jne 0xac97c5
mov edx, dword [esp + 0x4c]
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x58]
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0xafc688]
mov edx, dword [esp + 0x64]
mov ecx, dword [eax + 0x40]
jmp 0xac9c8d
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
push edx
push ecx
push eax
call fcn.00a81c00
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x54]
push eax
add edx, ecx
push edx
call fcn.00a81c00
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x6c]
add eax, edx
add eax, dword [esp + 0x50]
push ecx
push eax
call fcn.00a81c00
mov ecx, dword [esp + 0x70]
mov edx, dword [0xafc688]
mov eax, dword [edx + 0x40]
add esp, 0x24
push ecx
call eax
mov ecx, dword [esp + 0x58]
mov edx, dword [0xafc688]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x64]
mov edx, dword [0xafc688]
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], esi
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], esi
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x12], ax
push 4
lea eax, [esp + 0x14]
push eax
push esi
push edi
call fcn.00aa33b0
add esp, 0x14
test eax, eax
jne 0xac9bf3
cmp dword [esp + 0x24], 4
jne 0xac9bf3
cmp dword [ebx + 0x458], eax
je 0xac98d5
lea ecx, [esp + 0x24]
push ecx
push 1
lea edx, [esp + 0x14]
push edx
push esi
push edi
mov byte [esp + 0x20], al
call fcn.00aa33b0
add esp, 0x14
test eax, eax
jne 0xac98c2
cmp dword [esp + 0x24], 1
je 0xac9918
push str.Failed_to_send_SSPI_encryption_type.
push ebx
call fcn.00aa31a0
add esp, 8
jmp 0xac94f3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push esi
push edi
call fcn.00aa33b0
add esp, 0x14
test eax, eax
jne 0xac9bb5
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x24]
jne 0xac9bb5
mov eax, dword [esp + 0x34]
test eax, eax
je 0xac9918
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x40]
push eax
call edx
lea eax, [esp + 0x28]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
call fcn.00abff30
add esp, 0x14
test eax, eax
jne 0xac9ba2
cmp dword [esp + 0x28], 4
jne 0xac9ba2
mov al, byte [esp + 0xd]
cmp al, 0xff
jne 0xac9967
movzx edx, byte [esp + 0xc]
push 0xff
push edx
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push ebx
call fcn.00aa31a0
add esp, 0x10
jmp 0xac94f3
cmp al, 2
je 0xac9988
movzx ecx, byte [esp + 0xc]
movzx eax, al
push eax
push ecx
push str.Invalid_SSPI_encryption_response_type___u__u_.
push ebx
call fcn.00aa31a0
add esp, 0x10
jmp 0xac9cf9
mov edx, dword [esp + 0xe]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x48], edi
call dword [0xafa6e0]
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
jne 0xac99cb
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x14]
push eax
call edx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
mov eax, esi
push eax
push ecx
call fcn.00abff30
add esp, 0x14
test eax, eax
jne 0xac9b83
cmp dword [esp + 0x28], edi
jne 0xac9b83
cmp dword [ebx + 0x458], eax
jne 0xac9b13
lea edx, [esp + 0xa4]
push edx
mov edx, dword [0xafc688]
xor edi, edi
push edi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x90], 2
mov dword [esp + 0x54], 0xa
mov dword [esp + 0x60], 1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edi
mov eax, dword [edx + 0x68]
push ecx
call eax
mov esi, dword [ebp + 0xc]
push str.DecryptMessage
call fcn.00ac8fd0
add esp, 4
test eax, eax
je 0xac9aad
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0xac9a71
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0xac9a84
push eax
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x14]
push edx
call ecx
push str.Failed_to_query_security_context_attributes.
push ebx
call fcn.00aa31a0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
cmp eax, 1
je 0xac9af3
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push ebx
call fcn.00aa31a0
mov eax, dword [esp + 0x58]
add esp, 0xc
cmp eax, edi
je 0xac9ad9
mov edx, dword [0xafc688]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0xac94f3
mov ecx, dword [0xafc688]
mov edx, dword [ecx + 0x40]
jmp 0xac94f0
mov eax, dword [esp + 0x58]
mov cl, byte [eax]
mov edx, dword [esp + 0x4c]
mov eax, dword [0xafc688]
mov byte [esp + 0xc], cl
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x58]
push edx
jmp 0xac9b44
mov eax, dword [esp + 0x44]
cmp eax, 1
je 0xac9b39
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push ebx
call fcn.00aa31a0
mov eax, dword [0xafc688]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + 0x40]
jmp 0xac9cf3
mov eax, dword [esp + 0x4c]
mov dl, byte [eax]
mov byte [esp + 0xc], dl
push eax
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x40]
call ecx
mov al, byte [esp + 0xc]
test al, al
jne 0xac9b5d
mov eax, str.out_GSS_API_data
jmp 0xac9b6b
cmp al, 1
mov eax, str._GSS_API_integrity
je 0xac9b6b
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push ebx
call fcn.00aa3110
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Failed_to_receive_SSPI_encryption_type.
push ebx
call fcn.00aa31a0
mov eax, dword [0xafc688]
mov edx, dword [esp + 0x54]
mov ecx, dword [eax + 0x40]
add esp, 8
jmp 0xac9cf6
push str.Failed_to_receive_SSPI_encryption_response.
push ebx
call fcn.00aa31a0
add esp, 8
jmp 0xac9cf9
push str.Failed_to_send_SSPI_encryption_type.
push ebx
call fcn.00aa31a0
mov eax, dword [esp + 0x3c]
add esp, 8
test eax, eax
je 0xac9bd7
mov edx, dword [0xafc688]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0xafc688]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x14]
push ecx
call eax
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Failed_to_send_SSPI_encryption_request.
push ebx
call fcn.00aa31a0
mov eax, dword [esp + 0x3c]
add esp, 8
test eax, eax
jmp 0xac9adf
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x20]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push ecx
call fcn.00aa31a0
mov edx, dword [esp + 0x2c]
push edx
call dword [0xafa6e4]
add esp, 0x14
jmp 0xac94e3
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x20]
movzx eax, al
push eax
push ecx
push str.Invalid_SSPI_authentication_response_type___u__u_.
push edx
call fcn.00aa31a0
mov eax, dword [esp + 0x2c]
push eax
call dword [0xafa6e4]
mov edx, dword [0xafc688]
mov eax, dword [edx + 0x10]
add esp, 0x14
lea ecx, [esp + 0x38]
push ecx
jmp 0xac9bd5
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0xafa6e4]
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x10]
add esp, 4
lea edx, [esp + 0x38]
push edx
call ecx
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x14]
push edx
call ecx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
push str.Failed_to_receive_SSPI_authentication_token.
push edx
call fcn.00aa31a0
mov eax, dword [esp + 0x24]
push eax
call dword [0xafa6e4]
add esp, 0xc
jmp 0xac94cf
mov eax, dword [esp + 0x20]
push str.Failed_to_receive_SSPI_authentication_response.
push eax
call fcn.00aa31a0
mov ecx, dword [esp + 0x24]
push ecx
call dword [0xafa6e4]
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x44]
add esp, 0xc
push edx
call ecx
mov eax, dword [0xafc688]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x14]
push edx
call ecx
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret