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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + ecx*4 + 0x1a8]
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 0x6b0]
mov dword [esp + 0x60], edx
cmp eax, ecx
je 0x4ac72e
mov ebx, eax
mov dword [esp + 0x64], eax
jmp 0x4ac737
mov ebx, str.rcmd
mov dword [esp + 0x64], ebx
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ac740
sub eax, edx
mov esi, eax
push 0x2f
push ebx
mov dword [esp + 0x84], esi
call fcn.004546c0
add esp, 8
test eax, eax
je 0x4ac77d
push ebx
call dword [0x4d202c]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4ac7d9
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ac786
sub eax, edx
lea eax, [eax + esi + 2]
push eax
call dword [0x4d2020]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4ac771
mov edx, dword [edi + 0xc0]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ac7b0
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x80]
push ecx
sub eax, esi
push str._s__s
lea eax, [eax + edx + 2]
push eax
push ebx
call fcn.00496320
add esp, 0x14
mov edx, 1
mov dword [esp + 0xa0], edx
mov dword [esp + 0x94], edx
xor eax, eax
lea edx, [esp + 0x28]
mov dword [esp + 0x98], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x88], edx
lea edx, [esp + 0xa8]
push edx
lea edx, [esp + 0x38]
push edx
push eax
push eax
push eax
lea ecx, [esp + 0x7c]
push eax
mov dword [esp + 0xbc], ecx
mov ecx, 2
push ecx
push str.Kerberos
mov dword [esp + 0xbc], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push eax
mov eax, dword [0x4d4cf0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0xa8], 3
mov ecx, dword [eax + 0xc]
call ecx
push str.AcquireCredentialsHandle
mov esi, edi
call fcn.004ac6b0
add esp, 4
test eax, eax
je 0x4ac8c7
mov edx, dword [esp + 0xc]
push str.Failed_to_acquire_credentials.
push edx
call fcn.0048e940
push ebx
call dword [0x4d2024]
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x10]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
call edx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov eax, esi
jmp 0x4ac8d0
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
lea ecx, [esp + 0xb0]
push ecx
push 0x10
push esi
push 0x116
push ebx
push eax
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x18]
lea edx, [esp + 0x60]
push edx
call ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x4ac92c
mov edx, dword [0x4d4cf0]
push eax
mov eax, dword [edx + 0x40]
call eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x64]
push str.InitializeSecurityContext
mov esi, edi
call fcn.004ac6b0
add esp, 4
test eax, eax
jne 0x4acb04
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4aca07
push eax
mov byte [esp + 0x14], 1
mov byte [esp + 0x15], 1
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x60]
lea ecx, [esp + 0x20]
push ecx
push 4
lea edx, [esp + 0x18]
push edx
push esi
push edi
mov word [esp + 0x26], ax
call fcn.0048eec0
add esp, 0x14
test eax, eax
jne 0x4acb60
cmp dword [esp + 0x20], 4
jne 0x4acb60
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x20]
push eax
push ecx
push edx
push esi
push edi
call fcn.0048eec0
add esp, 0x14
test eax, eax
jne 0x4ac9bd
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x20]
je 0x4aca0b
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_authentication_token.
push ecx
call fcn.0048e940
push ebx
call dword [0x4d2024]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x4ac9ea
mov edx, dword [0x4d4cf0]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4ad3b6
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x40]
push eax
call edx
jmp 0x4ad3b6
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4aca27
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], 0
test eax, eax
je 0x4aca4a
push eax
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
call ecx
mov dword [esp + 0x70], 0
cmp dword [esp + 0x64], 0x90312
mov dword [esp + 0x68], 0
jne 0x4acbca
lea edx, [esp + 0x24]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.004a1ac0
add esp, 0x14
test eax, eax
jne 0x4ad39d
cmp dword [esp + 0x24], 4
jne 0x4ad39d
mov al, byte [esp + 0x11]
cmp al, 0xff
je 0x4ad311
cmp al, 1
jne 0x4ad33a
mov ecx, dword [esp + 0x12]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x6c], edi
call dword [0x4d2020]
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
je 0x4ad34b
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x64]
push ecx
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
call fcn.004a1ac0
add esp, 0x14
test eax, eax
jne 0x4ad37f
cmp dword [esp + 0x24], edi
jne 0x4ad37f
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x18]
xor esi, esi
jmp 0x4ac8d0
push ebx
call dword [0x4d2024]
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x10]
add esp, 4
lea ecx, [esp + 0x34]
push ecx
call eax
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4acb42
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0xc]
push str.Failed_to_initialise_security_context.
push eax
call fcn.0048e940
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
push str.Failed_to_send_SSPI_authentication_request.
push eax
call fcn.0048e940
push ebx
call dword [0x4d2024]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x4acb8d
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4acba0
push eax
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x18]
push edx
call ecx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x4d2024]
mov ecx, dword [0x4d4cf0]
add esp, 4
lea edx, [esp + 0x74]
push edx
mov edx, dword [ecx + 8]
push 1
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x10]
mov ebx, eax
lea eax, [esp + 0x34]
push eax
call edx
push str.QueryCredentialAttributes
mov eax, ebx
mov esi, edi
call fcn.004ac6b0
add esp, 4
test eax, eax
je 0x4acc50
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, dword [esp + 0x74]
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0xc]
push str.Failed_to_determine_user_name.
push eax
call fcn.0048e940
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0xc]
push ecx
push str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
push esi
call fcn.0048e8b0
mov edx, dword [esp + 0x80]
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
add esp, 0xc
push edx
call ecx
mov eax, dword [esp + 0x78]
mov byte [esp + 0x10], 1
mov byte [esp + 0x11], 2
test al, 0x10
jne 0x4acca0
test eax, 0x10000
jne 0x4acc99
mov eax, 0x4c4a14
jmp 0x4acca5
mov eax, str.integrity
jmp 0x4acca5
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push esi
call fcn.0048e8b0
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 0x6dc], ebx
je 0x4accc5
push 1
jmp 0x4acf3e
mov ecx, dword [0x4d4cf0]
lea edx, [esp + 0xb8]
push edx
mov edx, dword [ecx + 0x2c]
push ebx
lea eax, [esp + 0x20]
push eax
call edx
push str.QueryContextAttributes
mov esi, edi
call fcn.004ac6b0
add esp, 4
test eax, eax
je 0x4acd1f
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, dword [esp + 0xc]
push str.Failed_to_query_security_context_attributes.
push eax
call fcn.0048e940
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc4]
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 2
call dword [0x4d2020]
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
je 0x4acd6f
push 1
mov dword [esp + 0x4c], 1
call dword [0x4d2020]
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
jne 0x4acd8b
mov ecx, dword [esp + 0x44]
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax], 0
mov eax, dword [esp + 0xc0]
push eax
mov dword [esp + 0x5c], 9
mov dword [esp + 0x58], eax
call dword [0x4d2020]
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, ebx
jne 0x4acdc9
mov ecx, dword [esp + 0x44]
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x50]
jmp 0x4acd63
mov eax, dword [0x4d4cf0]
push ebx
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [eax + 0x64]
push closesocket
lea edx, [esp + 0x24]
push edx
call ecx
push str.EncryptMessage
mov esi, edi
call fcn.004ac6b0
add esp, 4
test eax, eax
je 0x4ace53
mov edx, dword [esp + 0x44]
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x50]
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x18]
push edx
call ecx
mov edx, dword [esp + 0xc]
push str.Failed_to_query_security_context_attributes.
push edx
call fcn.0048e940
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
add eax, ecx
add eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x2c], eax
call dword [0x4d2020]
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x4acea6
mov edx, dword [esp + 0x44]
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x50]
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x4d4cf0]
mov edx, dword [esp + 0x5c]
mov ecx, dword [eax + 0x40]
jmp 0x4ad361
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
push edx
push ecx
push eax
call fcn.00450960
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x4c]
push eax
add edx, ecx
push edx
call fcn.00450960
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x64]
add eax, edx
add eax, dword [esp + 0x4c]
push ecx
push eax
call fcn.00450960
mov ecx, dword [esp + 0x68]
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x40]
add esp, 0x24
push ecx
call eax
mov ecx, dword [esp + 0x50]
mov edx, dword [0x4d4cf0]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [0x4d4cf0]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebx
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ebx
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x60]
lea edx, [esp + 0x20]
push edx
mov word [esp + 0x16], ax
push 4
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.0048eec0
add esp, 0x14
test eax, eax
jne 0x4ad30a
cmp dword [esp + 0x20], 4
jne 0x4ad30a
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
cmp dword [ecx + 0x6dc], ebx
je 0x4acfd4
mov byte [esp + 0x14], al
push 1
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.0048eec0
add esp, 0x14
test eax, eax
jne 0x4acfa7
cmp dword [esp + 0x20], 1
je 0x4ad011
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_encryption_type.
push ecx
call fcn.0048e940
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x24]
add esp, 8
lea edx, [esp + 0x18]
push edx
call ecx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push esi
push edi
call fcn.0048eec0
add esp, 0x14
test eax, eax
jne 0x4ad2de
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x20]
jne 0x4ad2de
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4ad011
push eax
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
call ecx
lea edx, [esp + 0x24]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.004a1ac0
add esp, 0x14
test eax, eax
jne 0x4ad2c7
cmp dword [esp + 0x24], 4
jne 0x4ad2c7
mov al, byte [esp + 0x11]
cmp al, 0xff
jne 0x4ad064
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0xff
push ecx
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push edx
call fcn.0048e940
add esp, 0x10
jmp 0x4ad3c6
cmp al, 2
je 0x4ad089
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
movzx eax, al
push eax
push ecx
push str.Invalid_SSPI_encryption_response_type___u__u_.
push edx
call fcn.0048e940
add esp, 0x10
jmp 0x4ad3c6
mov eax, dword [esp + 0x12]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x40], edi
call dword [0x4d2020]
xor ebx, ebx
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
jne 0x4ad0cc
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
lea eax, [ebx + 0x1b]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
mov eax, esi
mov esi, dword [ebp + 0xc]
push eax
push esi
call fcn.004a1ac0
add esp, 0x14
test eax, eax
jne 0x4ad2a4
cmp dword [esp + 0x24], edi
jne 0x4ad2a4
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x6dc], ebx
jne 0x4ad215
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [0x4d4cf0]
push ebx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x90], 2
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x58], 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov edx, dword [ecx + 0x68]
push eax
call edx
push str.DecryptMessage
call fcn.004ac6b0
add esp, 4
test eax, eax
je 0x4ad1ae
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x4ad170
push eax
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4ad184
mov edx, dword [0x4d4cf0]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
push str.Failed_to_query_security_context_attributes.
push edi
call fcn.0048e940
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x48]
cmp eax, 1
je 0x4ad1f4
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.0048e940
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ebx
je 0x4ad1da
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4acbaf
push eax
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
jmp 0x4acbad
mov edx, dword [esp + 0x50]
mov al, byte [edx]
mov ecx, dword [esp + 0x44]
mov edx, dword [0x4d4cf0]
mov byte [esp + 0x10], al
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x50]
push ecx
jmp 0x4ad264
mov eax, dword [esp + 0x3c]
cmp eax, 1
je 0x4ad259
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.0048e940
mov ecx, dword [esp + 0x50]
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x40]
add esp, 0xc
push ecx
call eax
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x44]
mov cl, byte [eax]
mov byte [esp + 0x10], cl
push eax
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x40]
call eax
mov al, byte [esp + 0x10]
test al, al
jne 0x4ad27e
mov eax, str.out_GSS_API_data
jmp 0x4ad28c
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x4ad28c
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push edi
call fcn.0048e8b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_encryption_type.
push ecx
call fcn.0048e940
mov eax, dword [0x4d4cf0]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 0x40]
add esp, 8
jmp 0x4acbac
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_encryption_response.
push edx
call fcn.0048e940
add esp, 8
jmp 0x4ad3c6
push str.Failed_to_send_SSPI_encryption_type.
mov eax, dword [esp + 0x10]
push eax
call fcn.0048e940
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, ebx
je 0x4ad3c6
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x40]
jmp 0x4ad3c3
push str.Failed_to_send_SSPI_encryption_request.
jmp 0x4ad2e3
movzx eax, byte [esp + 0x10]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048e940
push ebx
call dword [0x4d2024]
add esp, 0x14
jmp 0x4acba0
movzx edx, al
movzx eax, byte [esp + 0x10]
push edx
push eax
push str.Invalid_SSPI_authentication_response_type___u__u_.
jmp 0x4ad321
push ebx
call dword [0x4d2024]
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x10]
add esp, 4
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x18]
push edx
call ecx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_authentication_token.
push edx
call fcn.0048e940
push ebx
call dword [0x4d2024]
add esp, 0xc
jmp 0x4acb8d
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_authentication_response.
push edx
call fcn.0048e940
push ebx
call dword [0x4d2024]
add esp, 0xc
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret