Function at 0x4b5030
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 0x4b506e
mov ebx, eax
mov dword [esp + 0x64], eax
jmp 0x4b5077
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 0x4b5080
sub eax, edx
mov esi, eax
push 0x2f
push ebx
mov dword [esp + 0x84], esi
call fcn.0045de00
add esp, 8
test eax, eax
je 0x4b50bd
push ebx
call dword [0x4db014]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4b5119
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 0x4b50c6
sub eax, edx
lea eax, [eax + esi + 2]
push eax
call dword [0x4db008]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b50b1
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 0x4b50f0
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.0049ec50
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 [0x4ddef8]
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.004b4ff0
add esp, 4
test eax, eax
je 0x4b5207
mov edx, dword [esp + 0xc]
push str.Failed_to_acquire_credentials.
push edx
call fcn.00497270
push ebx
call dword [0x4db00c]
mov ecx, dword [0x4ddef8]
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 0x4b5210
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 [0x4ddef8]
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 0x4b526c
mov edx, dword [0x4ddef8]
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.004b4ff0
add esp, 4
test eax, eax
jne 0x4b5444
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b5347
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.004977f0
add esp, 0x14
test eax, eax
jne 0x4b54a0
cmp dword [esp + 0x20], 4
jne 0x4b54a0
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.004977f0
add esp, 0x14
test eax, eax
jne 0x4b52fd
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x20]
je 0x4b534b
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_authentication_token.
push ecx
call fcn.00497270
push ebx
call dword [0x4db00c]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x4b532a
mov edx, dword [0x4ddef8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4b5cf6
mov ecx, dword [0x4ddef8]
mov edx, dword [ecx + 0x40]
push eax
call edx
jmp 0x4b5cf6
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b5367
mov ecx, dword [0x4ddef8]
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 0x4b538a
push eax
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
call ecx
mov dword [esp + 0x70], 0
cmp dword [esp + 0x64], 0x90312
mov dword [esp + 0x68], 0
jne 0x4b550a
lea edx, [esp + 0x24]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.004aa3f0
add esp, 0x14
test eax, eax
jne 0x4b5cdd
cmp dword [esp + 0x24], 4
jne 0x4b5cdd
mov al, byte [esp + 0x11]
cmp al, 0xff
je 0x4b5c51
cmp al, 1
jne 0x4b5c7a
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 [0x4db008]
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
je 0x4b5c8b
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.004aa3f0
add esp, 0x14
test eax, eax
jne 0x4b5cbf
cmp dword [esp + 0x24], edi
jne 0x4b5cbf
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x18]
xor esi, esi
jmp 0x4b5210
push ebx
call dword [0x4db00c]
mov edx, dword [0x4ddef8]
mov eax, dword [edx + 0x10]
add esp, 4
lea ecx, [esp + 0x34]
push ecx
call eax
mov edx, dword [0x4ddef8]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4b5482
mov ecx, dword [0x4ddef8]
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.00497270
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.00497270
push ebx
call dword [0x4db00c]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x4b54cd
mov ecx, dword [0x4ddef8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4b54e0
push eax
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x4ddef8]
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 [0x4db00c]
mov ecx, dword [0x4ddef8]
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 [0x4ddef8]
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.004b4ff0
add esp, 4
test eax, eax
je 0x4b5590
mov ecx, dword [0x4ddef8]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, dword [esp + 0x74]
mov ecx, dword [0x4ddef8]
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.00497270
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.004971e0
mov edx, dword [esp + 0x80]
mov eax, dword [0x4ddef8]
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 0x4b55e0
test eax, 0x10000
jne 0x4b55d9
mov eax, 0x4ccb14
jmp 0x4b55e5
mov eax, str.integrity
jmp 0x4b55e5
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push esi
call fcn.004971e0
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 0x6dc], ebx
je 0x4b5605
push 1
jmp 0x4b587e
mov ecx, dword [0x4ddef8]
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.004b4ff0
add esp, 4
test eax, eax
je 0x4b565f
mov ecx, dword [0x4ddef8]
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.00497270
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 [0x4db008]
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
je 0x4b56af
push 1
mov dword [esp + 0x4c], 1
call dword [0x4db008]
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
jne 0x4b56cb
mov ecx, dword [esp + 0x44]
mov edx, dword [0x4ddef8]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov edx, dword [0x4ddef8]
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 [0x4db008]
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, ebx
jne 0x4b5709
mov ecx, dword [esp + 0x44]
mov edx, dword [0x4ddef8]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x50]
jmp 0x4b56a3
mov eax, dword [0x4ddef8]
push ebx
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [eax + 0x64]
push bind
lea edx, [esp + 0x24]
push edx
call ecx
push str.EncryptMessage
mov esi, edi
call fcn.004b4ff0
add esp, 4
test eax, eax
je 0x4b5793
mov edx, dword [esp + 0x44]
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x50]
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x4ddef8]
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.00497270
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 [0x4db008]
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x4b57e6
mov edx, dword [esp + 0x44]
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x50]
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x4ddef8]
mov edx, dword [esp + 0x5c]
mov ecx, dword [eax + 0x40]
jmp 0x4b5ca1
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
push edx
push ecx
push eax
call fcn.00459470
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.00459470
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.00459470
mov ecx, dword [esp + 0x68]
mov edx, dword [0x4ddef8]
mov eax, dword [edx + 0x40]
add esp, 0x24
push ecx
call eax
mov ecx, dword [esp + 0x50]
mov edx, dword [0x4ddef8]
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 [0x4ddef8]
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.004977f0
add esp, 0x14
test eax, eax
jne 0x4b5c4a
cmp dword [esp + 0x20], 4
jne 0x4b5c4a
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
cmp dword [ecx + 0x6dc], ebx
je 0x4b5914
mov byte [esp + 0x14], al
push 1
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.004977f0
add esp, 0x14
test eax, eax
jne 0x4b58e7
cmp dword [esp + 0x20], 1
je 0x4b5951
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_encryption_type.
push ecx
call fcn.00497270
mov eax, dword [0x4ddef8]
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.004977f0
add esp, 0x14
test eax, eax
jne 0x4b5c1e
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x20]
jne 0x4b5c1e
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4b5951
push eax
mov eax, dword [0x4ddef8]
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.004aa3f0
add esp, 0x14
test eax, eax
jne 0x4b5c07
cmp dword [esp + 0x24], 4
jne 0x4b5c07
mov al, byte [esp + 0x11]
cmp al, 0xff
jne 0x4b59a4
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.00497270
add esp, 0x10
jmp 0x4b5d06
cmp al, 2
je 0x4b59c9
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.00497270
add esp, 0x10
jmp 0x4b5d06
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 [0x4db008]
xor ebx, ebx
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
jne 0x4b5a0c
mov edx, dword [0x4ddef8]
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.004aa3f0
add esp, 0x14
test eax, eax
jne 0x4b5be4
cmp dword [esp + 0x24], edi
jne 0x4b5be4
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x6dc], ebx
jne 0x4b5b55
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [0x4ddef8]
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.004b4ff0
add esp, 4
test eax, eax
je 0x4b5aee
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x4b5ab0
push eax
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4b5ac4
mov edx, dword [0x4ddef8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0x4ddef8]
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.00497270
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 0x4b5b34
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.00497270
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ebx
je 0x4b5b1a
mov ecx, dword [0x4ddef8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4b54ef
push eax
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
jmp 0x4b54ed
mov edx, dword [esp + 0x50]
mov al, byte [edx]
mov ecx, dword [esp + 0x44]
mov edx, dword [0x4ddef8]
mov byte [esp + 0x10], al
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x50]
push ecx
jmp 0x4b5ba4
mov eax, dword [esp + 0x3c]
cmp eax, 1
je 0x4b5b99
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.00497270
mov ecx, dword [esp + 0x50]
mov edx, dword [0x4ddef8]
mov eax, dword [edx + 0x40]
add esp, 0xc
push ecx
call eax
mov edx, dword [0x4ddef8]
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 [0x4ddef8]
mov eax, dword [edx + 0x40]
call eax
mov al, byte [esp + 0x10]
test al, al
jne 0x4b5bbe
mov eax, str.out_GSS_API_data
jmp 0x4b5bcc
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x4b5bcc
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push edi
call fcn.004971e0
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.00497270
mov eax, dword [0x4ddef8]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 0x40]
add esp, 8
jmp 0x4b54ec
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_encryption_response.
push edx
call fcn.00497270
add esp, 8
jmp 0x4b5d06
push str.Failed_to_send_SSPI_encryption_type.
mov eax, dword [esp + 0x10]
push eax
call fcn.00497270
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, ebx
je 0x4b5d06
mov ecx, dword [0x4ddef8]
mov edx, dword [ecx + 0x40]
jmp 0x4b5d03
push str.Failed_to_send_SSPI_encryption_request.
jmp 0x4b5c23
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.00497270
push ebx
call dword [0x4db00c]
add esp, 0x14
jmp 0x4b54e0
movzx edx, al
movzx eax, byte [esp + 0x10]
push edx
push eax
push str.Invalid_SSPI_authentication_response_type___u__u_.
jmp 0x4b5c61
push ebx
call dword [0x4db00c]
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x10]
add esp, 4
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x4ddef8]
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.00497270
push ebx
call dword [0x4db00c]
add esp, 0xc
jmp 0x4b54cd
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_authentication_response.
push edx
call fcn.00497270
push ebx
call dword [0x4db00c]
add esp, 0xc
mov ecx, dword [0x4ddef8]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [0x4ddef8]
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