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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
mov eax, dword [esi + eax*4 + 0x154]
push edi
xor edi, edi
mov dword [esp + 0x5c], edi
mov ebx, dword [ecx + 0x41c]
push 0x2f
push ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], edi
call fcn.00530640
add esp, 8
test eax, eax
mov eax, ebx
lea edx, [eax + 1]
je 0x50d350
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x50d310
sub eax, edx
push eax
call dword [0x5ba01c]
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, edi
je 0x50dfdd
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x50d336
sub eax, edx
push eax
push ebx
push esi
call fcn.00530190
add esp, 0xc
jmp 0x50d3d8
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x50d350
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 0x50d364
sub eax, esi
lea ecx, [eax + edx + 2]
push ecx
call dword [0x5ba01c]
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
je 0x50dfdd
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x50d390
sub eax, edx
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0xa8]
mov edi, eax
mov eax, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x50d3b0
push ecx
mov ecx, dword [esp + 0x24]
push ebx
sub eax, esi
push str._s__s
lea eax, [eax + edi + 2]
push eax
push ecx
call fcn.004e8550
mov esi, dword [esp + 0x34]
add esp, 0x14
xor edi, edi
mov ecx, 1
mov dword [esp + 0x80], ecx
mov dword [esp + 0x74], ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x84], edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], ecx
lea edx, [esp + 0xa8]
mov dword [esp + 0x6c], edx
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x44]
push edx
push edi
push edi
push edi
mov eax, 2
push edi
push eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], eax
mov eax, dword [0x5c27a0]
push str.Kerberos
mov dword [esp + 0x9c], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x88], 3
mov dword [esp + 0x84], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov ecx, dword [eax + 0xc]
push edi
call ecx
cmp eax, edi
je 0x50d4d2
cmp eax, 0x90314
je 0x50d4d2
cmp eax, 0x90313
je 0x50d4d2
cmp eax, 0x90312
je 0x50d4d2
mov edi, dword [esp + 0x2c]
push eax
push edi
call fcn.004e9b80
mov edx, dword [edi]
push eax
push str.AcquireCredentialsHandle
push str.SSPI_error:__s_failed:__s
push edx
call fcn.004e4210
mov eax, dword [esp + 0x3c]
push str.Failed_to_acquire_credentials.
push eax
call fcn.004e4210
push esi
call dword [0x5ba020]
mov edx, dword [0x5c27a0]
mov eax, dword [edx + 0x10]
add esp, 0x24
lea ecx, [esp + 0x40]
push ecx
call eax
jmp 0x50e054
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x2c]
xor esi, esi
lea esp, [esp]
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
push esi
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [0x5c27a0]
push 0x10
push esi
push 0x116
push edx
mov edx, dword [ecx + 0x18]
push eax
lea eax, [esp + 0x6c]
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x50d53d
push eax
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x40]
call ecx
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], esi
cmp edi, esi
je 0x50d55d
cmp edi, 0x90314
je 0x50d55d
cmp edi, 0x90313
je 0x50d55d
cmp edi, 0x90312
jne 0x50d6bc
mov ecx, dword [esp + 0x30]
cmp ecx, esi
je 0x50d5dc
push ecx
mov word [esp + 0x14], 0x101
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x28]
push edx
mov word [esp + 0x16], ax
push 4
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
call fcn.004e4580
add esp, 0x14
test eax, eax
jne 0x50d798
cmp dword [esp + 0x28], 4
jne 0x50d798
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
push ebx
call fcn.004e4580
add esp, 0x14
test eax, eax
jne 0x50d72e
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x28]
jne 0x50d72e
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
cmp ecx, esi
je 0x50d5f8
push ecx
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x40]
call edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
cmp eax, esi
je 0x50d60f
push eax
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x40]
call ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], esi
cmp edi, 0x90312
jne 0x50d79f
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x3c]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
call fcn.005036f0
add esp, 0x14
test eax, eax
jne 0x50e019
cmp dword [esp + 0x3c], 4
jne 0x50e019
mov al, byte [esp + 0x11]
cmp al, 0xff
je 0x50df4a
cmp al, 1
jne 0x50df77
mov edx, dword [esp + 0x12]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
push edi
mov dword [esp + 0x50], edi
call dword [0x5ba01c]
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, esi
je 0x50dfb1
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x54]
push eax
push ebx
call fcn.005036f0
add esp, 0x14
test eax, eax
jne 0x50dff7
cmp dword [esp + 0x3c], edi
jne 0x50dff7
lea eax, [esp + 0x18]
jmp 0x50d4e0
push edi
push ebx
call fcn.004e9b80
mov ecx, dword [ebx]
push eax
push str.InitializeSecurityContext
push str.SSPI_error:__s_failed:__s
push ecx
call fcn.004e4210
mov edx, dword [esp + 0x38]
push edx
call dword [0x5ba020]
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x10]
add esp, 0x1c
lea eax, [esp + 0x40]
push eax
call edx
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x50d717
push eax
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x40]
call ecx
mov edx, dword [esp + 0x24]
push str.Failed_to_initialise_security_context.
push edx
call fcn.004e4210
add esp, 8
jmp 0x50e054
push str.Failed_to_send_SSPI_authentication_token.
mov eax, dword [esp + 0x28]
push eax
call fcn.004e4210
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x5ba020]
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, esi
je 0x50d75f
mov edx, dword [0x5c27a0]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x50d773
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x40]
push eax
call edx
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
jmp 0x50e054
push str.Failed_to_send_SSPI_authentication_request.
jmp 0x50d733
mov eax, dword [esp + 0x20]
push eax
call dword [0x5ba020]
mov eax, dword [0x5c27a0]
add esp, 4
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [eax + 8]
push 1
lea edx, [esp + 0x48]
push edx
call ecx
mov esi, eax
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x40]
push edx
call ecx
mov eax, esi
push str.QueryCredentialAttributes
mov esi, ebx
call fcn.0050d240
add esp, 4
test eax, eax
je 0x50d81e
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x18]
push edx
call ecx
mov edx, dword [esp + 0x58]
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x24]
push str.Failed_to_determine_user_name.
push edx
call fcn.004e4210
add esp, 8
jmp 0x50e054
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x24]
push eax
push str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
push ebx
call fcn.004e4180
mov ecx, dword [esp + 0x64]
mov edx, dword [0x5c27a0]
mov eax, dword [edx + 0x40]
add esp, 0xc
push ecx
call eax
mov eax, dword [esp + 0x5c]
mov word [esp + 0x10], 0x201
test al, 0x10
jne 0x50d869
test eax, 0x10000
jne 0x50d862
mov eax, 0x5858fc
jmp 0x50d86e
mov eax, str.integrity
jmp 0x50d86e
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push ebx
call fcn.004e4180
add esp, 0xc
cmp dword [ebx + 0x438], 0
je 0x50d895
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov edi, esi
jmp 0x50db41
mov eax, dword [0x5c27a0]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [eax + 0x2c]
push 0
lea edx, [esp + 0x20]
push edx
call ecx
push str.QueryContextAttributes
mov edi, esi
call fcn.0050d240
add esp, 4
test eax, eax
jne 0x50dda4
mov eax, dword [esp + 0xa4]
push eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 2
call dword [0x5ba01c]
add esp, 4
mov dword [esp + 0xb0], eax
test eax, eax
je 0x50dfce
push 1
mov dword [esp + 0xb8], 1
call dword [0x5ba01c]
add esp, 4
mov dword [esp + 0xbc], eax
test eax, eax
jne 0x50d92c
mov eax, dword [0x5c27a0]
mov edx, dword [esp + 0xb0]
mov ecx, dword [eax + 0x40]
jmp 0x50dfcb
mov byte [eax], 0
mov eax, dword [esp + 0xa0]
push eax
mov dword [esp + 0xc8], 9
mov dword [esp + 0xc4], eax
call dword [0x5ba01c]
add esp, 4
mov dword [esp + 0xc8], eax
test eax, eax
jne 0x50d983
mov edx, dword [esp + 0xb0]
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x5c27a0]
mov edx, dword [esp + 0xbc]
mov ecx, dword [eax + 0x40]
jmp 0x50dfcb
mov ecx, dword [0x5c27a0]
push 0
lea edx, [esp + 0x68]
push edx
mov edx, dword [ecx + 0x64]
push reloc.WS2_32.dll_accept
lea eax, [esp + 0x24]
push eax
call edx
push str.EncryptMessage
call fcn.0050d240
add esp, 4
test eax, eax
je 0x50da0c
mov eax, dword [esp + 0xb0]
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0xbc]
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0xc8]
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
push str.Failed_to_query_security_context_attributes.
push ebx
call fcn.004e4210
add esp, 8
jmp 0x50e054
mov eax, dword [esp + 0xb4]
add eax, dword [esp + 0xc0]
add eax, dword [esp + 0xa8]
push eax
mov dword [esp + 0x34], eax
call dword [0x5ba01c]
xor esi, esi
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, esi
jne 0x50da71
mov edx, dword [esp + 0xb0]
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0xbc]
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x5c27a0]
mov edx, dword [esp + 0xc8]
mov ecx, dword [eax + 0x40]
jmp 0x50dfcb
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb0]
push edx
push ecx
push eax
call fcn.00530190
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xb8]
add edx, dword [esp + 0x48]
push eax
push edx
call fcn.00530190
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xe0]
push eax
mov eax, dword [esp + 0xd0]
add eax, dword [esp + 0xc4]
push ecx
add eax, dword [esp + 0x58]
push eax
call fcn.00530190
mov ecx, dword [esp + 0xd4]
mov edx, dword [0x5c27a0]
mov eax, dword [edx + 0x40]
add esp, 0x24
push ecx
call eax
mov ecx, dword [esp + 0xbc]
mov edx, dword [0x5c27a0]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xa8], esi
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0xc8]
mov edx, dword [0x5c27a0]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb4], esi
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x30]
push ecx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc4], esi
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x48]
lea edx, [esp + 0x28]
push edx
mov word [esp + 0x16], ax
push 4
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.004e4580
add esp, 0x14
test eax, eax
jne 0x50df31
cmp dword [esp + 0x28], 4
jne 0x50df31
cmp dword [ebx + 0x438], eax
je 0x50dbc3
lea ecx, [esp + 0x28]
push ecx
push 1
lea edx, [esp + 0x18]
push edx
push esi
push edi
mov byte [esp + 0x24], al
call fcn.004e4580
add esp, 0x14
test eax, eax
jne 0x50dba0
cmp dword [esp + 0x28], 1
je 0x50dc06
push str.Failed_to_send_SSPI_encryption_type.
push ebx
call fcn.004e4210
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x24]
add esp, 8
lea eax, [esp + 0x18]
push eax
call edx
jmp 0x50e054
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x28]
push eax
push ecx
push edx
push esi
push edi
call fcn.004e4580
add esp, 0x14
test eax, eax
jne 0x50defa
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x28]
jne 0x50defa
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50dc06
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x40]
push eax
call edx
lea eax, [esp + 0x3c]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
call fcn.005036f0
add esp, 0x14
test eax, eax
jne 0x50dee7
cmp dword [esp + 0x3c], 4
jne 0x50dee7
mov al, byte [esp + 0x11]
cmp al, 0xff
jne 0x50dc65
movzx edx, byte [esp + 0x10]
push 0xff
push edx
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push ebx
call fcn.004e4210
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x24]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call edx
jmp 0x50e054
cmp al, 2
je 0x50dc86
movzx ecx, byte [esp + 0x10]
movzx eax, al
push eax
push ecx
push str.Invalid_SSPI_encryption_response_type___u__u_.
push ebx
call fcn.004e4210
add esp, 0x10
jmp 0x50e045
mov edx, dword [esp + 0x12]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
push edi
mov dword [esp + 0xac], edi
call dword [0x5ba01c]
add esp, 4
mov dword [esp + 0xb0], eax
test eax, eax
jne 0x50dcda
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xa8]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
mov eax, esi
push eax
push ecx
call fcn.005036f0
add esp, 0x14
test eax, eax
jne 0x50dec5
cmp dword [esp + 0x3c], edi
jne 0x50dec5
cmp dword [ebx + 0x438], eax
jne 0x50de3e
lea edx, [esp + 0x94]
push edx
mov edx, dword [0x5c27a0]
xor edi, edi
push edi
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], 2
mov dword [esp + 0xb8], 0xa
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc8], edi
mov eax, dword [edx + 0x68]
push ecx
call eax
mov esi, dword [esp + 0x2c]
push str.DecryptMessage
call fcn.0050d240
add esp, 4
test eax, eax
je 0x50ddc6
mov eax, dword [esp + 0xb0]
cmp eax, edi
je 0x50dd8e
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0xbc]
cmp eax, edi
je 0x50dda4
push eax
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x18]
push edx
call ecx
push str.Failed_to_query_security_context_attributes.
push ebx
call fcn.004e4210
add esp, 8
jmp 0x50e054
mov eax, dword [esp + 0xb4]
cmp eax, 1
je 0x50de15
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push ebx
call fcn.004e4210
mov eax, dword [esp + 0xbc]
add esp, 0xc
cmp eax, edi
je 0x50ddf8
mov edx, dword [0x5c27a0]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0xbc]
cmp eax, edi
je 0x50d783
mov ecx, dword [0x5c27a0]
mov edx, dword [ecx + 0x40]
jmp 0x50d780
mov eax, dword [esp + 0xbc]
mov cl, byte [eax]
mov edx, dword [esp + 0xb0]
mov eax, dword [0x5c27a0]
mov byte [esp + 0x10], cl
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0xbc]
push edx
jmp 0x50de78
mov eax, dword [esp + 0xa8]
cmp eax, 1
je 0x50de6a
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push ebx
call fcn.004e4210
mov eax, dword [0x5c27a0]
mov edx, dword [esp + 0xbc]
mov ecx, dword [eax + 0x40]
jmp 0x50e03f
mov eax, dword [esp + 0xb0]
mov dl, byte [eax]
mov byte [esp + 0x10], dl
push eax
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x40]
call ecx
mov al, byte [esp + 0x10]
test al, al
jne 0x50de91
mov eax, str.out_GSS_API_data
jmp 0x50de9f
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x50de9f
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push ebx
call fcn.004e4180
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
push str.Failed_to_receive_SSPI_encryption_type.
push ebx
call fcn.004e4210
mov eax, dword [0x5c27a0]
mov edx, dword [esp + 0xb8]
mov ecx, dword [eax + 0x40]
add esp, 8
jmp 0x50e042
push str.Failed_to_receive_SSPI_encryption_response.
push ebx
call fcn.004e4210
add esp, 8
jmp 0x50e045
push str.Failed_to_send_SSPI_encryption_type.
push ebx
call fcn.004e4210
mov eax, dword [esp + 0x40]
add esp, 8
test eax, eax
je 0x50df1c
mov edx, dword [0x5c27a0]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0x5c27a0]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
jmp 0x50e054
push str.Failed_to_send_SSPI_encryption_request.
push ebx
call fcn.004e4210
mov eax, dword [esp + 0x40]
add esp, 8
test eax, eax
jmp 0x50de01
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x24]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push ecx
call fcn.004e4210
mov edx, dword [esp + 0x30]
push edx
call dword [0x5ba020]
add esp, 0x14
jmp 0x50d773
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0x24]
movzx eax, al
push eax
push ecx
push str.Invalid_SSPI_authentication_response_type___u__u_.
push edx
call fcn.004e4210
mov eax, dword [esp + 0x30]
push eax
call dword [0x5ba020]
mov edx, dword [0x5c27a0]
mov eax, dword [edx + 0x10]
add esp, 0x14
lea ecx, [esp + 0x40]
push ecx
jmp 0x50df1a
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x5ba020]
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x10]
add esp, 4
lea edx, [esp + 0x40]
push edx
call ecx
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x18]
push edx
call ecx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x24]
push str.Failed_to_receive_SSPI_authentication_token.
push edx
call fcn.004e4210
mov eax, dword [esp + 0x28]
push eax
call dword [0x5ba020]
add esp, 0xc
jmp 0x50d75f
mov eax, dword [esp + 0x24]
push str.Failed_to_receive_SSPI_authentication_response.
push eax
call fcn.004e4210
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x5ba020]
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x4c]
add esp, 0xc
push edx
call ecx
mov eax, dword [0x5c27a0]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x18]
push edx
call ecx
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 7
call fcn.0052b755
mov esp, ebp
pop ebp
ret