Function at 0x4b4fd0
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 0x4b500e
mov ebx, eax
mov dword [esp + 0x64], eax
jmp 0x4b5017
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 0x4b5020
sub eax, edx
mov esi, eax
push 0x2f
push ebx
mov dword [esp + 0x84], esi
call fcn.0045ddb0
add esp, 8
test eax, eax
je 0x4b505d
push ebx
call dword [0x4db014]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4b50b9
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 0x4b5066
sub eax, edx
lea eax, [eax + esi + 2]
push eax
call dword [0x4db008]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b5051
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 0x4b5090
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.0049ec00
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.004b4f80
add esp, 4
test eax, eax
je 0x4b51a7
mov edx, dword [esp + 0xc]
push str.Failed_to_acquire_credentials.
push edx
call fcn.00497210
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 0x4b51b0
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 0x4b520c
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.004b4f80
add esp, 4
test eax, eax
jne 0x4b53e4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b52e7
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.00497790
add esp, 0x14
test eax, eax
jne 0x4b5440
cmp dword [esp + 0x20], 4
jne 0x4b5440
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.00497790
add esp, 0x14
test eax, eax
jne 0x4b529d
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x20]
je 0x4b52eb
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_authentication_token.
push ecx
call fcn.00497210
push ebx
call dword [0x4db00c]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x4b52ca
mov edx, dword [0x4ddef8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4b5c96
mov ecx, dword [0x4ddef8]
mov edx, dword [ecx + 0x40]
push eax
call edx
jmp 0x4b5c96
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b5307
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 0x4b532a
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 0x4b54aa
lea edx, [esp + 0x24]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.004aa390
add esp, 0x14
test eax, eax
jne 0x4b5c7d
cmp dword [esp + 0x24], 4
jne 0x4b5c7d
mov al, byte [esp + 0x11]
cmp al, 0xff
je 0x4b5bf1
cmp al, 1
jne 0x4b5c1a
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 0x4b5c2b
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.004aa390
add esp, 0x14
test eax, eax
jne 0x4b5c5f
cmp dword [esp + 0x24], edi
jne 0x4b5c5f
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x18]
xor esi, esi
jmp 0x4b51b0
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 0x4b5422
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.00497210
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.00497210
push ebx
call dword [0x4db00c]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x4b546d
mov ecx, dword [0x4ddef8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4b5480
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.004b4f80
add esp, 4
test eax, eax
je 0x4b5530
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.00497210
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.00497180
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 0x4b5580
test eax, 0x10000
jne 0x4b5579
mov eax, 0x4ccaf4
jmp 0x4b5585
mov eax, str.integrity
jmp 0x4b5585
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push esi
call fcn.00497180
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 0x6dc], ebx
je 0x4b55a5
push 1
jmp 0x4b581e
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.004b4f80
add esp, 4
test eax, eax
je 0x4b55ff
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.00497210
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 0x4b564f
push 1
mov dword [esp + 0x4c], 1
call dword [0x4db008]
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
jne 0x4b566b
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 0x4b56a9
mov ecx, dword [esp + 0x44]
mov edx, dword [0x4ddef8]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x50]
jmp 0x4b5643
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.004b4f80
add esp, 4
test eax, eax
je 0x4b5733
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.00497210
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 0x4b5786
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 0x4b5c41
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
push edx
push ecx
push eax
call fcn.00459420
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.00459420
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.00459420
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.00497790
add esp, 0x14
test eax, eax
jne 0x4b5bea
cmp dword [esp + 0x20], 4
jne 0x4b5bea
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
cmp dword [ecx + 0x6dc], ebx
je 0x4b58b4
mov byte [esp + 0x14], al
push 1
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.00497790
add esp, 0x14
test eax, eax
jne 0x4b5887
cmp dword [esp + 0x20], 1
je 0x4b58f1
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_encryption_type.
push ecx
call fcn.00497210
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.00497790
add esp, 0x14
test eax, eax
jne 0x4b5bbe
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x20]
jne 0x4b5bbe
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4b58f1
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.004aa390
add esp, 0x14
test eax, eax
jne 0x4b5ba7
cmp dword [esp + 0x24], 4
jne 0x4b5ba7
mov al, byte [esp + 0x11]
cmp al, 0xff
jne 0x4b5944
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.00497210
add esp, 0x10
jmp 0x4b5ca6
cmp al, 2
je 0x4b5969
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.00497210
add esp, 0x10
jmp 0x4b5ca6
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 0x4b59ac
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.004aa390
add esp, 0x14
test eax, eax
jne 0x4b5b84
cmp dword [esp + 0x24], edi
jne 0x4b5b84
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x6dc], ebx
jne 0x4b5af5
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.004b4f80
add esp, 4
test eax, eax
je 0x4b5a8e
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x4b5a50
push eax
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4b5a64
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.00497210
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 0x4b5ad4
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.00497210
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ebx
je 0x4b5aba
mov ecx, dword [0x4ddef8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4b548f
push eax
mov eax, dword [0x4ddef8]
mov ecx, dword [eax + 0x40]
jmp 0x4b548d
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 0x4b5b44
mov eax, dword [esp + 0x3c]
cmp eax, 1
je 0x4b5b39
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.00497210
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 0x4b5b5e
mov eax, str.out_GSS_API_data
jmp 0x4b5b6c
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x4b5b6c
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push edi
call fcn.00497180
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.00497210
mov eax, dword [0x4ddef8]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 0x40]
add esp, 8
jmp 0x4b548c
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_encryption_response.
push edx
call fcn.00497210
add esp, 8
jmp 0x4b5ca6
push str.Failed_to_send_SSPI_encryption_type.
mov eax, dword [esp + 0x10]
push eax
call fcn.00497210
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, ebx
je 0x4b5ca6
mov ecx, dword [0x4ddef8]
mov edx, dword [ecx + 0x40]
jmp 0x4b5ca3
push str.Failed_to_send_SSPI_encryption_request.
jmp 0x4b5bc3
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.00497210
push ebx
call dword [0x4db00c]
add esp, 0x14
jmp 0x4b5480
movzx edx, al
movzx eax, byte [esp + 0x10]
push edx
push eax
push str.Invalid_SSPI_authentication_response_type___u__u_.
jmp 0x4b5c01
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.00497210
push ebx
call dword [0x4db00c]
add esp, 0xc
jmp 0x4b546d
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_authentication_response.
push edx
call fcn.00497210
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