Function at 0x593990
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 0x5939ce
mov ebx, eax
mov dword [esp + 0x64], eax
jmp 0x5939d7
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 0x5939e0
sub eax, edx
mov esi, eax
push 0x2f
push ebx
mov dword [esp + 0x84], esi
call fcn.005513b0
add esp, 8
test eax, eax
je 0x593a1d
push ebx
call dword [0x60e610]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x593a79
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 0x593a26
sub eax, edx
lea eax, [eax + esi + 2]
push eax
call dword [0x60e604]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x593a11
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 0x593a50
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.0056f280
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 [0x614fa8]
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.00593950
add esp, 4
test eax, eax
je 0x593b67
mov edx, dword [esp + 0xc]
push str.Failed_to_acquire_credentials.
push edx
call fcn.0056a940
push ebx
call dword [0x60e608]
mov ecx, dword [0x614fa8]
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 0x593b70
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 [0x614fa8]
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 0x593bcc
mov edx, dword [0x614fa8]
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.00593950
add esp, 4
test eax, eax
jne 0x593da4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x593ca7
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.0056ae90
add esp, 0x14
test eax, eax
jne 0x593e00
cmp dword [esp + 0x20], 4
jne 0x593e00
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.0056ae90
add esp, 0x14
test eax, eax
jne 0x593c5d
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x20]
je 0x593cab
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_authentication_token.
push ecx
call fcn.0056a940
push ebx
call dword [0x60e608]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x593c8a
mov edx, dword [0x614fa8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x594656
mov ecx, dword [0x614fa8]
mov edx, dword [ecx + 0x40]
push eax
call edx
jmp 0x594656
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x593cc7
mov ecx, dword [0x614fa8]
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 0x593cea
push eax
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x40]
call ecx
mov dword [esp + 0x70], 0
cmp dword [esp + 0x64], 0x90312
mov dword [esp + 0x68], 0
jne 0x593e6a
lea edx, [esp + 0x24]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.00588580
add esp, 0x14
test eax, eax
jne 0x59463d
cmp dword [esp + 0x24], 4
jne 0x59463d
mov al, byte [esp + 0x11]
cmp al, 0xff
je 0x5945b1
cmp al, 1
jne 0x5945da
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 [0x60e604]
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
je 0x5945eb
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.00588580
add esp, 0x14
test eax, eax
jne 0x59461f
cmp dword [esp + 0x24], edi
jne 0x59461f
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x18]
xor esi, esi
jmp 0x593b70
push ebx
call dword [0x60e608]
mov edx, dword [0x614fa8]
mov eax, dword [edx + 0x10]
add esp, 4
lea ecx, [esp + 0x34]
push ecx
call eax
mov edx, dword [0x614fa8]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x593de2
mov ecx, dword [0x614fa8]
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.0056a940
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.0056a940
push ebx
call dword [0x60e608]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x593e2d
mov ecx, dword [0x614fa8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x593e40
push eax
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x614fa8]
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 [0x60e608]
mov ecx, dword [0x614fa8]
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 [0x614fa8]
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.00593950
add esp, 4
test eax, eax
je 0x593ef0
mov ecx, dword [0x614fa8]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, dword [esp + 0x74]
mov ecx, dword [0x614fa8]
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.0056a940
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.0056a8b0
mov edx, dword [esp + 0x80]
mov eax, dword [0x614fa8]
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 0x593f40
test eax, 0x10000
jne 0x593f39
mov eax, 0x5e2be8
jmp 0x593f45
mov eax, str.integrity
jmp 0x593f45
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push esi
call fcn.0056a8b0
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 0x50c], ebx
je 0x593f65
push 1
jmp 0x5941de
mov ecx, dword [0x614fa8]
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.00593950
add esp, 4
test eax, eax
je 0x593fbf
mov ecx, dword [0x614fa8]
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.0056a940
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 [0x60e604]
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
je 0x59400f
push 1
mov dword [esp + 0x4c], 1
call dword [0x60e604]
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
jne 0x59402b
mov ecx, dword [esp + 0x44]
mov edx, dword [0x614fa8]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov edx, dword [0x614fa8]
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 [0x60e604]
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, ebx
jne 0x594069
mov ecx, dword [esp + 0x44]
mov edx, dword [0x614fa8]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x50]
jmp 0x594003
mov eax, dword [0x614fa8]
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.00593950
add esp, 4
test eax, eax
je 0x5940f3
mov edx, dword [esp + 0x44]
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x50]
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x614fa8]
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.0056a940
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 [0x60e604]
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x594146
mov edx, dword [esp + 0x44]
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x50]
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x614fa8]
mov edx, dword [esp + 0x5c]
mov ecx, dword [eax + 0x40]
jmp 0x594601
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
push edx
push ecx
push eax
call fcn.005456c0
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.005456c0
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.005456c0
mov ecx, dword [esp + 0x68]
mov edx, dword [0x614fa8]
mov eax, dword [edx + 0x40]
add esp, 0x24
push ecx
call eax
mov ecx, dword [esp + 0x50]
mov edx, dword [0x614fa8]
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 [0x614fa8]
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.0056ae90
add esp, 0x14
test eax, eax
jne 0x5945aa
cmp dword [esp + 0x20], 4
jne 0x5945aa
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
cmp dword [ecx + 0x50c], ebx
je 0x594274
mov byte [esp + 0x14], al
push 1
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.0056ae90
add esp, 0x14
test eax, eax
jne 0x594247
cmp dword [esp + 0x20], 1
je 0x5942b1
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_encryption_type.
push ecx
call fcn.0056a940
mov eax, dword [0x614fa8]
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.0056ae90
add esp, 0x14
test eax, eax
jne 0x59457e
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x20]
jne 0x59457e
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5942b1
push eax
mov eax, dword [0x614fa8]
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.00588580
add esp, 0x14
test eax, eax
jne 0x594567
cmp dword [esp + 0x24], 4
jne 0x594567
mov al, byte [esp + 0x11]
cmp al, 0xff
jne 0x594304
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.0056a940
add esp, 0x10
jmp 0x594666
cmp al, 2
je 0x594329
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.0056a940
add esp, 0x10
jmp 0x594666
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 [0x60e604]
xor ebx, ebx
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
jne 0x59436c
mov edx, dword [0x614fa8]
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.00588580
add esp, 0x14
test eax, eax
jne 0x594544
cmp dword [esp + 0x24], edi
jne 0x594544
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x50c], ebx
jne 0x5944b5
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [0x614fa8]
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.00593950
add esp, 4
test eax, eax
je 0x59444e
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x594410
push eax
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x594424
mov edx, dword [0x614fa8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0x614fa8]
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.0056a940
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 0x594494
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.0056a940
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ebx
je 0x59447a
mov ecx, dword [0x614fa8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x593e4f
push eax
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x40]
jmp 0x593e4d
mov edx, dword [esp + 0x50]
mov al, byte [edx]
mov ecx, dword [esp + 0x44]
mov edx, dword [0x614fa8]
mov byte [esp + 0x10], al
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x50]
push ecx
jmp 0x594504
mov eax, dword [esp + 0x3c]
cmp eax, 1
je 0x5944f9
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.0056a940
mov ecx, dword [esp + 0x50]
mov edx, dword [0x614fa8]
mov eax, dword [edx + 0x40]
add esp, 0xc
push ecx
call eax
mov edx, dword [0x614fa8]
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 [0x614fa8]
mov eax, dword [edx + 0x40]
call eax
mov al, byte [esp + 0x10]
test al, al
jne 0x59451e
mov eax, str.out_GSS_API_data
jmp 0x59452c
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x59452c
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push edi
call fcn.0056a8b0
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.0056a940
mov eax, dword [0x614fa8]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 0x40]
add esp, 8
jmp 0x593e4c
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_encryption_response.
push edx
call fcn.0056a940
add esp, 8
jmp 0x594666
push str.Failed_to_send_SSPI_encryption_type.
mov eax, dword [esp + 0x10]
push eax
call fcn.0056a940
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, ebx
je 0x594666
mov ecx, dword [0x614fa8]
mov edx, dword [ecx + 0x40]
jmp 0x594663
push str.Failed_to_send_SSPI_encryption_request.
jmp 0x594583
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.0056a940
push ebx
call dword [0x60e608]
add esp, 0x14
jmp 0x593e40
movzx edx, al
movzx eax, byte [esp + 0x10]
push edx
push eax
push str.Invalid_SSPI_authentication_response_type___u__u_.
jmp 0x5945c1
push ebx
call dword [0x60e608]
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x10]
add esp, 4
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x614fa8]
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.0056a940
push ebx
call dword [0x60e608]
add esp, 0xc
jmp 0x593e2d
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_authentication_response.
push edx
call fcn.0056a940
push ebx
call dword [0x60e608]
add esp, 0xc
mov ecx, dword [0x614fa8]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [0x614fa8]
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