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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x198]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edi
mov eax, dword [ecx + 0x504]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x88], edi
cmp eax, edi
je 0x10050e75
mov ebx, eax
mov dword [esp + 0x78], eax
jmp 0x10050e7e
mov ebx, str.rcmd
mov dword [esp + 0x78], ebx
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10050e83
sub eax, edx
push 0x2f
push ebx
mov esi, eax
call fcn.10059b00
add esp, 8
test eax, eax
je 0x10050eb9
push ebx
call dword [0x10088c2c]
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x10050f14
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10050ec5
sub eax, edx
lea edx, [eax + esi + 2]
push edx
call dword [0x10088c20]
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x10050ead
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc4]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10050ef0
mov ecx, dword [esp + 0x78]
push edx
push ecx
sub eax, edi
push str._s__s
lea edx, [eax + esi + 2]
push edx
push ebx
call fcn.1002d800
add esp, 0x14
xor edi, edi
mov ecx, 1
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x94], ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x84], edx
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x38]
push edx
push edi
push edi
push edi
lea eax, [esp + 0x74]
mov dword [esp + 0xb4], eax
mov eax, 2
push edi
push eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x44], eax
mov eax, dword [0x1008bfe4]
push str.Kerberos
mov dword [esp + 0xb8], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0xa0], 3
mov dword [esp + 0x9c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov ecx, dword [eax + 0xc]
push edi
call ecx
cmp eax, edi
je 0x10051023
cmp eax, 0x90314
je 0x10051023
cmp eax, 0x90313
je 0x10051023
cmp eax, 0x90312
je 0x10051023
mov esi, dword [ebp + 0xc]
push eax
push esi
call fcn.1001ec50
mov edx, dword [esi]
push eax
push str.AcquireCredentialsHandle
push str.SSPI_error:__s_failed:__s
push edx
call fcn.10029650
mov eax, dword [esp + 0x24]
push str.Failed_to_acquire_credentials.
push eax
call fcn.10029650
push ebx
call dword [0x10088c24]
mov edx, dword [0x1008bfe4]
mov eax, dword [edx + 0x10]
add esp, 0x24
lea ecx, [esp + 0x34]
push ecx
call eax
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x88]
lea ecx, [ecx]
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
lea ecx, [esp + 0xac]
push ecx
push 0x10
push 0
push 0x116
push ebx
push eax
mov eax, dword [0x1008bfe4]
mov ecx, dword [eax + 0x18]
lea edx, [esp + 0x60]
push edx
call ecx
mov edi, eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1005108e
mov edx, dword [0x1008bfe4]
push eax
mov eax, dword [edx + 0x40]
call eax
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], eax
test edi, edi
je 0x100510ae
cmp edi, 0x90314
je 0x100510ae
cmp edi, 0x90313
je 0x100510ae
cmp edi, 0x90312
jne 0x10051223
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10051130
push ecx
mov byte [esp + 0x14], 1
mov byte [esp + 0x15], 1
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [esp + 0x20]
push ecx
push 4
lea edx, [esp + 0x18]
mov word [esp + 0x1a], ax
mov eax, dword [esp + 0x74]
push edx
push eax
push esi
call fcn.10029b80
add esp, 0x14
test eax, eax
jne 0x10051306
cmp dword [esp + 0x20], 4
jne 0x10051306
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
push esi
call fcn.10029b80
add esp, 0x14
test eax, eax
jne 0x10051299
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x20]
jne 0x10051299
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1005114f
mov eax, dword [0x1008bfe4]
push ecx
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
test eax, eax
je 0x1005116f
mov edx, dword [0x1008bfe4]
push eax
mov eax, dword [edx + 0x40]
call eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], 0
cmp edi, 0x90312
jne 0x10051370
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x30]
push ecx
push 4
lea edx, [esp + 0x18]
push edx
push eax
push esi
call fcn.10048a70
add esp, 0x14
test eax, eax
jne 0x10051b13
cmp dword [esp + 0x30], 4
jne 0x10051b13
mov al, byte [esp + 0x11]
cmp al, 0xff
je 0x10051a85
cmp al, 1
jne 0x10051aae
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 + 0x64], edi
call dword [0x10088c20]
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
je 0x10051abf
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x70]
push ecx
push eax
push edx
push esi
call fcn.10048a70
add esp, 0x14
test eax, eax
jne 0x10051af5
cmp dword [esp + 0x30], edi
jne 0x10051af5
lea eax, [esp + 0x18]
jmp 0x10051030
push edi
push esi
call fcn.1001ec50
push eax
mov eax, dword [esi]
push str.InitializeSecurityContext
push str.SSPI_error:__s_failed:__s
push eax
call fcn.10029650
push ebx
call dword [0x10088c24]
mov edx, dword [0x1008bfe4]
mov eax, dword [edx + 0x10]
add esp, 0x1c
lea ecx, [esp + 0x34]
push ecx
call eax
mov edx, dword [0x1008bfe4]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1005127b
mov ecx, dword [0x1008bfe4]
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.10029650
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_authentication_token.
push ecx
call fcn.10029650
push ebx
call dword [0x10088c24]
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x100512c6
mov edx, dword [0x1008bfe4]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x100512da
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
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.10029650
push ebx
call dword [0x10088c24]
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x10051333
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x10051346
push eax
mov eax, dword [0x1008bfe4]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [0x1008bfe4]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x1008bfe4]
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 [0x10088c24]
mov ecx, dword [0x1008bfe4]
add esp, 4
lea edx, [esp + 0x70]
push edx
mov edx, dword [ecx + 8]
push 1
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x10]
mov edi, eax
lea eax, [esp + 0x34]
push eax
call edx
push str.QueryCredentialAttributes
mov eax, edi
call fcn.10050df0
add esp, 4
test eax, eax
je 0x100513f4
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, dword [esp + 0x70]
mov ecx, dword [0x1008bfe4]
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.10029650
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0xc]
push ecx
push str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
push ebx
call fcn.100295c0
mov edx, dword [esp + 0x7c]
mov eax, dword [0x1008bfe4]
mov ecx, dword [eax + 0x40]
add esp, 0xc
push edx
call ecx
mov eax, dword [esp + 0x74]
mov byte [esp + 0x10], 1
mov byte [esp + 0x11], 2
test al, 0x10
jne 0x10051441
test eax, 0x10000
jne 0x1005143a
mov eax, 0x100805b8
jmp 0x10051446
mov eax, str.integrity
jmp 0x10051446
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push ebx
call fcn.100295c0
xor edi, edi
add esp, 0xc
cmp dword [ebx + 0x52c], edi
je 0x10051466
push 1
jmp 0x100516cf
mov ecx, dword [0x1008bfe4]
lea edx, [esp + 0xb0]
push edx
mov edx, dword [ecx + 0x2c]
push edi
lea eax, [esp + 0x20]
push eax
call edx
push str.QueryContextAttributes
call fcn.10050df0
add esp, 4
test eax, eax
je 0x100514ba
mov ecx, dword [0x1008bfe4]
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.10029650
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xbc]
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 2
call dword [0x10088c20]
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, edi
je 0x10051ad9
push 1
mov dword [esp + 0x4c], 1
call dword [0x10088c20]
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, edi
jne 0x10051510
mov ecx, dword [0x1008bfe4]
mov eax, dword [esp + 0x44]
mov edx, dword [ecx + 0x40]
jmp 0x10051ad6
mov byte [eax], 0
mov eax, dword [esp + 0xb8]
push eax
mov dword [esp + 0x5c], 9
mov dword [esp + 0x58], eax
call dword [0x10088c20]
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, edi
jne 0x1005155a
mov eax, dword [esp + 0x44]
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1008bfe4]
mov eax, dword [esp + 0x50]
mov edx, dword [ecx + 0x40]
jmp 0x10051ad6
mov edx, dword [0x1008bfe4]
push edi
lea eax, [esp + 0x80]
push eax
mov eax, dword [edx + 0x64]
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x24]
push ecx
call eax
push str.EncryptMessage
call fcn.10050df0
add esp, 4
test eax, eax
je 0x100515e3
mov ecx, dword [esp + 0x44]
mov edx, dword [0x1008bfe4]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x50]
mov edx, dword [0x1008bfe4]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [0x1008bfe4]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov edx, dword [0x1008bfe4]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
push str.Failed_to_query_security_context_attributes.
push ebx
call fcn.10029650
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
lea eax, [edx + ecx]
add eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], eax
call dword [0x10088c20]
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
jne 0x1005163a
mov eax, dword [esp + 0x44]
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x50]
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1008bfe4]
mov eax, dword [esp + 0x5c]
mov edx, dword [ecx + 0x40]
jmp 0x10051ad6
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
push ecx
push edx
push eax
call fcn.10054410
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x4c]
push ecx
add eax, edx
push eax
call fcn.10054410
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x64]
add ecx, eax
add ecx, dword [esp + 0x48]
push edx
push ecx
call fcn.10054410
mov edx, dword [esp + 0x68]
mov eax, dword [0x1008bfe4]
mov ecx, dword [eax + 0x40]
add esp, 0x24
push edx
call ecx
mov edx, dword [esp + 0x50]
mov eax, dword [0x1008bfe4]
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], edi
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [0x1008bfe4]
mov dword [esp + 0x50], edi
mov dword [esp + 0x48], edi
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x54], edi
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov ebx, dword [esp + 0x6c]
mov word [esp + 0x12], ax
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push ebx
push esi
call fcn.10029b80
add esp, 0x14
test eax, eax
jne 0x10051a7e
cmp dword [esp + 0x20], 4
jne 0x10051a7e
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
cmp dword [edx + 0x52c], edi
je 0x10051767
push 1
lea ecx, [esp + 0x18]
push ecx
push ebx
push esi
mov byte [esp + 0x24], 0
call fcn.10029b80
add esp, 0x14
test eax, eax
jne 0x10051739
cmp dword [esp + 0x20], 1
je 0x100517a5
mov edx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_encryption_type.
push edx
call fcn.10029650
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x24]
add esp, 8
lea eax, [esp + 0x18]
push eax
call edx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push ecx
push edx
push ebx
push esi
call fcn.10029b80
add esp, 0x14
test eax, eax
jne 0x10051a51
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x20]
jne 0x10051a51
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x100517a5
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x40]
push eax
call edx
lea eax, [esp + 0x30]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push ebx
push esi
call fcn.10048a70
add esp, 0x14
test eax, eax
jne 0x10051a3a
cmp dword [esp + 0x30], 4
jne 0x10051a3a
mov al, byte [esp + 0x11]
cmp al, 0xff
jne 0x100517f8
movzx edx, byte [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0xff
push edx
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push eax
call fcn.10029650
add esp, 0x10
jmp 0x10051b3c
cmp al, 2
je 0x1005181d
movzx edx, byte [esp + 0x10]
movzx ecx, al
mov eax, dword [esp + 0xc]
push ecx
push edx
push str.Invalid_SSPI_encryption_response_type___u__u_.
push eax
call fcn.10029650
add esp, 0x10
jmp 0x10051b3c
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 + 0x40], edi
call dword [0x10088c20]
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
jne 0x1005185f
mov eax, dword [0x1008bfe4]
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 ecx, dword [esp + 0x3c]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
push ebx
push esi
call fcn.10048a70
add esp, 0x14
test eax, eax
jne 0x10051a16
cmp dword [esp + 0x30], edi
jne 0x10051a16
mov ebx, dword [esp + 0xc]
xor edi, edi
cmp dword [ebx + 0x52c], edi
jne 0x100519a3
lea edx, [esp + 0xa4]
push edx
mov edx, dword [0x1008bfe4]
push edi
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x8c], 2
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x58], 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], edi
mov eax, dword [edx + 0x68]
push ecx
call eax
push str.DecryptMessage
call fcn.10050df0
add esp, 4
test eax, eax
je 0x1005193d
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x10051901
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x10051914
push eax
mov eax, dword [0x1008bfe4]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [0x1008bfe4]
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.10029650
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 0x10051983
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push ebx
call fcn.10029650
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, edi
je 0x10051969
mov edx, dword [0x1008bfe4]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x100512ea
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x40]
jmp 0x100512e7
mov eax, dword [esp + 0x50]
mov cl, byte [eax]
mov edx, dword [esp + 0x44]
mov eax, dword [0x1008bfe4]
mov byte [esp + 0x10], cl
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x50]
push edx
jmp 0x100519d7
mov eax, dword [esp + 0x3c]
cmp eax, 1
je 0x100519cc
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push ebx
call fcn.10029650
mov eax, dword [0x1008bfe4]
mov edx, dword [esp + 0x50]
mov ecx, dword [eax + 0x40]
add esp, 0xc
jmp 0x10051352
mov eax, dword [esp + 0x44]
mov dl, byte [eax]
mov byte [esp + 0x10], dl
push eax
mov eax, dword [0x1008bfe4]
mov ecx, dword [eax + 0x40]
call ecx
mov al, byte [esp + 0x10]
test al, al
jne 0x100519f0
mov eax, str.out_GSS_API_data
jmp 0x100519fe
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x100519fe
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push ebx
call fcn.100295c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_encryption_type.
push edx
call fcn.10029650
mov ecx, dword [0x1008bfe4]
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx + 0x40]
add esp, 8
jmp 0x100512e7
mov eax, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_encryption_response.
push eax
call fcn.10029650
add esp, 8
jmp 0x10051b3c
push str.Failed_to_send_SSPI_encryption_type.
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10029650
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, edi
je 0x10051b3c
mov edx, dword [0x1008bfe4]
push eax
mov eax, dword [edx + 0x40]
jmp 0x10051b3a
push str.Failed_to_send_SSPI_encryption_request.
jmp 0x10051a56
movzx ecx, byte [esp + 0x10]
push 0xff
push ecx
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
mov edx, dword [esp + 0x18]
push edx
call fcn.10029650
push ebx
call dword [0x10088c24]
add esp, 0x14
jmp 0x100512da
movzx ecx, byte [esp + 0x10]
movzx eax, al
push eax
push ecx
push str.Invalid_SSPI_authentication_response_type___u__u_.
jmp 0x10051a95
push ebx
call dword [0x10088c24]
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x10]
add esp, 4
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [0x1008bfe4]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_authentication_token.
push eax
call fcn.10029650
push ebx
call dword [0x10088c24]
add esp, 0xc
jmp 0x100512c6
mov eax, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_authentication_response.
push eax
call fcn.10029650
push ebx
call dword [0x10088c24]
mov edx, dword [0x1008bfe4]
mov eax, dword [edx + 0x10]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
call eax
mov edx, dword [0x1008bfe4]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x18]
push ecx
call eax
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret