Function at 0x559270
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 + 0x190]
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 0x4e4]
mov dword [esp + 0x60], edx
cmp eax, ecx
je 0x5592ae
mov ebx, eax
mov dword [esp + 0x64], eax
jmp 0x5592b7
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 0x5592c0
sub eax, edx
mov esi, eax
push 0x2f
push ebx
mov dword [esp + 0x84], esi
call fcn.00515550
add esp, 8
test eax, eax
je 0x5592fd
push ebx
call dword [0x5c22a0]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x559359
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xbc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x559306
sub eax, edx
lea eax, [eax + esi + 2]
push eax
call dword [0x5c2294]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5592f1
mov edx, dword [edi + 0xbc]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x559330
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.00534b90
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 [0x5c8af0]
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.00559230
add esp, 4
test eax, eax
je 0x559447
mov edx, dword [esp + 0xc]
push str.Failed_to_acquire_credentials.
push edx
call fcn.00530250
push ebx
call dword [0x5c2298]
mov ecx, dword [0x5c8af0]
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 0x559450
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 [0x5c8af0]
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 0x5594ac
mov edx, dword [0x5c8af0]
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.00559230
add esp, 4
test eax, eax
jne 0x559684
mov eax, dword [esp + 0x28]
test eax, eax
je 0x559587
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.005307a0
add esp, 0x14
test eax, eax
jne 0x5596e0
cmp dword [esp + 0x20], 4
jne 0x5596e0
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.005307a0
add esp, 0x14
test eax, eax
jne 0x55953d
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x20]
je 0x55958b
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_authentication_token.
push ecx
call fcn.00530250
push ebx
call dword [0x5c2298]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x55956a
mov edx, dword [0x5c8af0]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x559f36
mov ecx, dword [0x5c8af0]
mov edx, dword [ecx + 0x40]
push eax
call edx
jmp 0x559f36
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5595a7
mov ecx, dword [0x5c8af0]
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 0x5595ca
push eax
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x40]
call ecx
mov dword [esp + 0x70], 0
cmp dword [esp + 0x64], 0x90312
mov dword [esp + 0x68], 0
jne 0x55974a
lea edx, [esp + 0x24]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.0054de70
add esp, 0x14
test eax, eax
jne 0x559f1d
cmp dword [esp + 0x24], 4
jne 0x559f1d
mov al, byte [esp + 0x11]
cmp al, 0xff
je 0x559e91
cmp al, 1
jne 0x559eba
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 [0x5c2294]
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
je 0x559ecb
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.0054de70
add esp, 0x14
test eax, eax
jne 0x559eff
cmp dword [esp + 0x24], edi
jne 0x559eff
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x18]
xor esi, esi
jmp 0x559450
push ebx
call dword [0x5c2298]
mov edx, dword [0x5c8af0]
mov eax, dword [edx + 0x10]
add esp, 4
lea ecx, [esp + 0x34]
push ecx
call eax
mov edx, dword [0x5c8af0]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5596c2
mov ecx, dword [0x5c8af0]
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.00530250
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.00530250
push ebx
call dword [0x5c2298]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x55970d
mov ecx, dword [0x5c8af0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x559720
push eax
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x5c8af0]
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 [0x5c2298]
mov ecx, dword [0x5c8af0]
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 [0x5c8af0]
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.00559230
add esp, 4
test eax, eax
je 0x5597d0
mov ecx, dword [0x5c8af0]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, dword [esp + 0x74]
mov ecx, dword [0x5c8af0]
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.00530250
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.005301c0
mov edx, dword [esp + 0x80]
mov eax, dword [0x5c8af0]
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 0x559820
test eax, 0x10000
jne 0x559819
mov eax, 0x59fbe8
jmp 0x559825
mov eax, str.integrity
jmp 0x559825
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push esi
call fcn.005301c0
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 0x50c], ebx
je 0x559845
push 1
jmp 0x559abe
mov ecx, dword [0x5c8af0]
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.00559230
add esp, 4
test eax, eax
je 0x55989f
mov ecx, dword [0x5c8af0]
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.00530250
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 [0x5c2294]
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
je 0x5598ef
push 1
mov dword [esp + 0x4c], 1
call dword [0x5c2294]
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
jne 0x55990b
mov ecx, dword [esp + 0x44]
mov edx, dword [0x5c8af0]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov edx, dword [0x5c8af0]
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 [0x5c2294]
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, ebx
jne 0x559949
mov ecx, dword [esp + 0x44]
mov edx, dword [0x5c8af0]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x50]
jmp 0x5598e3
mov eax, dword [0x5c8af0]
push ebx
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [eax + 0x64]
push reloc.WS2_32.dll_accept
lea edx, [esp + 0x24]
push edx
call ecx
push str.EncryptMessage
mov esi, edi
call fcn.00559230
add esp, 4
test eax, eax
je 0x5599d3
mov edx, dword [esp + 0x44]
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x50]
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x5c8af0]
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.00530250
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 [0x5c2294]
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x559a26
mov edx, dword [esp + 0x44]
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x50]
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x5c8af0]
mov edx, dword [esp + 0x5c]
mov ecx, dword [eax + 0x40]
jmp 0x559ee1
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
push edx
push ecx
push eax
call fcn.00509060
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.00509060
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.00509060
mov ecx, dword [esp + 0x68]
mov edx, dword [0x5c8af0]
mov eax, dword [edx + 0x40]
add esp, 0x24
push ecx
call eax
mov ecx, dword [esp + 0x50]
mov edx, dword [0x5c8af0]
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 [0x5c8af0]
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.005307a0
add esp, 0x14
test eax, eax
jne 0x559e8a
cmp dword [esp + 0x20], 4
jne 0x559e8a
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
cmp dword [ecx + 0x50c], ebx
je 0x559b54
mov byte [esp + 0x14], al
push 1
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.005307a0
add esp, 0x14
test eax, eax
jne 0x559b27
cmp dword [esp + 0x20], 1
je 0x559b91
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_encryption_type.
push ecx
call fcn.00530250
mov eax, dword [0x5c8af0]
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.005307a0
add esp, 0x14
test eax, eax
jne 0x559e5e
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x20]
jne 0x559e5e
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x559b91
push eax
mov eax, dword [0x5c8af0]
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.0054de70
add esp, 0x14
test eax, eax
jne 0x559e47
cmp dword [esp + 0x24], 4
jne 0x559e47
mov al, byte [esp + 0x11]
cmp al, 0xff
jne 0x559be4
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.00530250
add esp, 0x10
jmp 0x559f46
cmp al, 2
je 0x559c09
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.00530250
add esp, 0x10
jmp 0x559f46
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 [0x5c2294]
xor ebx, ebx
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
jne 0x559c4c
mov edx, dword [0x5c8af0]
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.0054de70
add esp, 0x14
test eax, eax
jne 0x559e24
cmp dword [esp + 0x24], edi
jne 0x559e24
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x50c], ebx
jne 0x559d95
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [0x5c8af0]
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.00559230
add esp, 4
test eax, eax
je 0x559d2e
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x559cf0
push eax
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x559d04
mov edx, dword [0x5c8af0]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0x5c8af0]
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.00530250
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 0x559d74
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.00530250
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ebx
je 0x559d5a
mov ecx, dword [0x5c8af0]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x55972f
push eax
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x40]
jmp 0x55972d
mov edx, dword [esp + 0x50]
mov al, byte [edx]
mov ecx, dword [esp + 0x44]
mov edx, dword [0x5c8af0]
mov byte [esp + 0x10], al
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x50]
push ecx
jmp 0x559de4
mov eax, dword [esp + 0x3c]
cmp eax, 1
je 0x559dd9
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.00530250
mov ecx, dword [esp + 0x50]
mov edx, dword [0x5c8af0]
mov eax, dword [edx + 0x40]
add esp, 0xc
push ecx
call eax
mov edx, dword [0x5c8af0]
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 [0x5c8af0]
mov eax, dword [edx + 0x40]
call eax
mov al, byte [esp + 0x10]
test al, al
jne 0x559dfe
mov eax, str.out_GSS_API_data
jmp 0x559e0c
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x559e0c
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push edi
call fcn.005301c0
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.00530250
mov eax, dword [0x5c8af0]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 0x40]
add esp, 8
jmp 0x55972c
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_encryption_response.
push edx
call fcn.00530250
add esp, 8
jmp 0x559f46
push str.Failed_to_send_SSPI_encryption_type.
mov eax, dword [esp + 0x10]
push eax
call fcn.00530250
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, ebx
je 0x559f46
mov ecx, dword [0x5c8af0]
mov edx, dword [ecx + 0x40]
jmp 0x559f43
push str.Failed_to_send_SSPI_encryption_request.
jmp 0x559e63
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.00530250
push ebx
call dword [0x5c2298]
add esp, 0x14
jmp 0x559720
movzx edx, al
movzx eax, byte [esp + 0x10]
push edx
push eax
push str.Invalid_SSPI_authentication_response_type___u__u_.
jmp 0x559ea1
push ebx
call dword [0x5c2298]
mov eax, dword [0x5c8af0]
mov ecx, dword [eax + 0x10]
add esp, 4
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x5c8af0]
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.00530250
push ebx
call dword [0x5c2298]
add esp, 0xc
jmp 0x55970d
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_authentication_response.
push edx
call fcn.00530250
push ebx
call dword [0x5c2298]
add esp, 0xc
mov ecx, dword [0x5c8af0]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [0x5c8af0]
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