Function at 0x1004c0a0
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 + 0x154]
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0x7c], ecx
mov esi, dword [eax + 0x428]
push 0x2f
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x88], esi
call fcn.10056430
add esp, 8
test eax, eax
mov eax, esi
lea edx, [eax + 1]
je 0x1004c130
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004c0f1
sub eax, edx
push eax
call dword [0x1008cb38]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1004cd5e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004c113
sub eax, edx
push eax
push esi
push ebx
call fcn.10052190
add esp, 0xc
jmp 0x1004c1b8
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004c130
sub eax, edx
mov edx, eax
mov eax, dword [edi + 0xa8]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004c144
sub eax, edi
lea eax, [eax + edx + 2]
push eax
call dword [0x1008cb38]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1004cd5e
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004c170
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xa8]
sub eax, edx
mov edi, eax
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1004c190
mov edx, dword [esp + 0x80]
push ecx
push edx
sub eax, esi
push str._s__s
lea eax, [eax + edi + 2]
push eax
push ebx
call fcn.1002a570
mov edi, dword [ebp + 0xc]
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 + 0x40]
mov dword [esp + 0x8c], edx
lea edx, [esp + 0xa8]
push edx
lea edx, [esp + 0x3c]
push edx
push eax
push eax
push eax
lea ecx, [esp + 0x80]
push eax
mov dword [esp + 0xbc], ecx
mov ecx, 2
push ecx
push str.Kerberos
mov dword [esp + 0xbc], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push eax
mov eax, dword [0x1008e724]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0xac], 3
mov ecx, dword [eax + 0xc]
call ecx
push str.AcquireCredentialsHandle
mov esi, edi
call fcn.1004c060
add esp, 4
test eax, eax
je 0x1004c2a9
mov edx, dword [esp + 0x10]
push str.Failed_to_acquire_credentials.
push edx
call fcn.10026500
push ebx
call dword [0x1008cb3c]
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x10]
add esp, 0xc
lea eax, [esp + 0x38]
push eax
call edx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x98]
push edx
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x28]
push eax
xor esi, esi
push esi
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [0x1008e724]
push 0x10
push esi
push 0x116
push ebx
push edx
mov edx, dword [ecx + 0x18]
lea eax, [esp + 0x64]
push eax
call edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
cmp eax, esi
je 0x1004c30e
push eax
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x40]
call ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x64]
push str.InitializeSecurityContext
mov esi, edi
call fcn.1004c060
add esp, 4
test eax, eax
jne 0x1004c509
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1004c409
push eax
mov byte [esp + 0x18], 1
mov byte [esp + 0x19], 1
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x68]
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x1a], ax
push 4
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call fcn.10026710
add esp, 0x14
test eax, eax
jne 0x1004c564
cmp dword [esp + 0x24], 4
jne 0x1004c564
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
push esi
push edi
call fcn.10026710
add esp, 0x14
test eax, eax
jne 0x1004c39f
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x24]
je 0x1004c40d
mov eax, dword [esp + 0x10]
push str.Failed_to_send_SSPI_authentication_token.
push eax
call fcn.10026500
push ebx
call dword [0x1008cb3c]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x1004c3cc
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1004c3df
push eax
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x38]
push edx
call ecx
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
call ecx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1004c429
mov edx, dword [0x1008e724]
push eax
mov eax, dword [edx + 0x40]
call eax
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x28], 0
test eax, eax
je 0x1004c44d
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov dword [esp + 0x74], 0
cmp dword [esp + 0x64], 0x90312
mov dword [esp + 0x6c], 0
jne 0x1004c5d0
lea eax, [esp + 0x34]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
push edi
call fcn.10043250
add esp, 0x14
test eax, eax
jne 0x1004cd88
cmp dword [esp + 0x34], 4
jne 0x1004cd88
mov al, byte [esp + 0x15]
cmp al, 0xff
je 0x1004ccfc
cmp al, 1
jne 0x1004cd25
mov edx, dword [esp + 0x16]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x70], edi
call dword [0x1008cb38]
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
je 0x1004cd36
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x74]
push eax
push ecx
call fcn.10043250
add esp, 0x14
test eax, eax
jne 0x1004cd6a
cmp dword [esp + 0x34], edi
jne 0x1004cd6a
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x64], edx
jmp 0x1004c2a9
push ebx
call dword [0x1008cb3c]
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x10]
add esp, 4
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1004c546
push eax
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x40]
call ecx
mov edx, dword [esp + 0x10]
push str.Failed_to_initialise_security_context.
push edx
call fcn.10026500
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
push str.Failed_to_send_SSPI_authentication_request.
push edx
call fcn.10026500
push ebx
call dword [0x1008cb3c]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x1004c590
push eax
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1004c5a4
mov edx, dword [0x1008e724]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x10]
lea ecx, [esp + 0x38]
push ecx
call eax
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x1c]
push ecx
call eax
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x1008cb3c]
mov eax, dword [0x1008e724]
add esp, 4
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [eax + 8]
push 1
lea edx, [esp + 0x40]
push edx
call ecx
mov esi, eax
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x38]
push edx
call ecx
mov eax, esi
push str.QueryCredentialAttributes
mov esi, edi
call fcn.1004c060
add esp, 4
test eax, eax
je 0x1004c652
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
call ecx
mov edx, dword [esp + 0x78]
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x10]
push str.Failed_to_determine_user_name.
push edx
call fcn.10026500
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x10]
push eax
push str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
push esi
call fcn.10026470
mov ecx, dword [esp + 0x84]
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x40]
add esp, 0xc
push ecx
call eax
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x14], 1
mov byte [esp + 0x15], 2
test al, 0x10
jne 0x1004c6a3
test eax, 0x10000
jne 0x1004c69c
mov eax, 0x10081050
jmp 0x1004c6a8
mov eax, str.integrity
jmp 0x1004c6a8
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push esi
call fcn.10026470
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 0x454], ebx
je 0x1004c6c8
push 1
jmp 0x1004c95e
mov eax, dword [0x1008e724]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, dword [eax + 0x2c]
push ebx
lea edx, [esp + 0x24]
push edx
call ecx
push str.QueryContextAttributes
mov esi, edi
call fcn.1004c060
add esp, 4
test eax, eax
je 0x1004c720
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
call ecx
mov edx, dword [esp + 0x10]
push str.Failed_to_query_security_context_attributes.
push edx
call fcn.10026500
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 + 0x44], eax
mov dword [esp + 0x48], 2
call dword [0x1008cb38]
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
je 0x1004c770
push 1
mov dword [esp + 0x50], 1
call dword [0x1008cb38]
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, ebx
jne 0x1004c78c
mov eax, dword [esp + 0x48]
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x1c]
push eax
call edx
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 + 0x60], 9
mov dword [esp + 0x5c], eax
call dword [0x1008cb38]
add esp, 4
mov dword [esp + 0x60], eax
cmp eax, ebx
jne 0x1004c7ca
mov eax, dword [esp + 0x48]
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x54]
jmp 0x1004c764
mov edx, dword [0x1008e724]
push ebx
lea eax, [esp + 0x88]
push eax
mov eax, dword [edx + 0x64]
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x28]
push ecx
call eax
push str.EncryptMessage
mov esi, edi
call fcn.1004c060
add esp, 4
test eax, eax
je 0x1004c859
mov ecx, dword [esp + 0x48]
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x54]
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x60]
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x1c]
push ecx
call eax
mov ecx, dword [esp + 0x10]
push str.Failed_to_query_security_context_attributes.
push ecx
call fcn.10026500
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
add eax, edx
add eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x2c], eax
call dword [0x1008cb38]
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x1004c8c9
mov ecx, dword [esp + 0x48]
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x54]
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x60]
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x1c]
push ecx
call eax
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
push ecx
push edx
push eax
call fcn.10052190
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x50]
push ecx
add eax, edx
push eax
call fcn.10052190
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x68]
add ecx, eax
add ecx, dword [esp + 0x4c]
push edx
push ecx
call fcn.10052190
mov edx, dword [esp + 0x6c]
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x40]
add esp, 0x24
push edx
call ecx
mov edx, dword [esp + 0x54]
mov eax, dword [0x1008e724]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x60]
mov eax, dword [0x1008e724]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ebx
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x68]
mov word [esp + 0x16], ax
lea eax, [esp + 0x24]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
push edi
call fcn.10026710
add esp, 0x14
test eax, eax
jne 0x1004ccf5
cmp dword [esp + 0x24], 4
jne 0x1004ccf5
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
cmp dword [edx + 0x454], ebx
je 0x1004c9df
push 1
lea ecx, [esp + 0x1c]
push ecx
push esi
push edi
mov byte [esp + 0x28], 0
call fcn.10026710
add esp, 0x14
test eax, eax
jne 0x1004c9c8
cmp dword [esp + 0x24], 1
je 0x1004ca1d
mov edx, dword [esp + 0x10]
push str.Failed_to_send_SSPI_encryption_type.
push edx
call fcn.10026500
add esp, 8
jmp 0x1004cdb1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push ecx
push edx
push esi
push edi
call fcn.10026710
add esp, 0x14
test eax, eax
jne 0x1004ccc9
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x24]
jne 0x1004ccc9
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1004ca1d
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x40]
push eax
call edx
lea eax, [esp + 0x34]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
push edi
call fcn.10043250
add esp, 0x14
test eax, eax
jne 0x1004ccb2
cmp dword [esp + 0x34], 4
jne 0x1004ccb2
mov al, byte [esp + 0x15]
cmp al, 0xff
jne 0x1004ca87
movzx edx, byte [esp + 0x14]
push 0xff
push edx
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
mov eax, dword [esp + 0x1c]
push eax
call fcn.10026500
mov edx, dword [0x1008e724]
mov eax, dword [edx + 0x24]
add esp, 0x10
lea ecx, [esp + 0x1c]
push ecx
call eax
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 2
je 0x1004ca9c
movzx edx, byte [esp + 0x14]
movzx ecx, al
push ecx
push edx
push str.Invalid_SSPI_encryption_response_type___u__u_.
jmp 0x1004ca5e
mov ecx, dword [esp + 0x16]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x44], edi
call dword [0x1008cb38]
xor ebx, ebx
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
je 0x1004cd4f
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x34]
push edx
push ecx
push eax
mov edx, esi
mov esi, dword [ebp + 0xc]
push edx
push esi
call fcn.10043250
add esp, 0x14
test eax, eax
jne 0x1004cc8f
cmp dword [esp + 0x34], edi
jne 0x1004cc8f
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x454], ebx
jne 0x1004cc1d
lea eax, [esp + 0xb4]
push eax
mov eax, dword [0x1008e724]
push ebx
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x94], 2
mov dword [esp + 0x50], 0xa
mov dword [esp + 0x5c], 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov ecx, dword [eax + 0x68]
push edx
call ecx
push str.DecryptMessage
call fcn.1004c060
add esp, 4
test eax, eax
je 0x1004cbab
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x1004cb6d
mov edx, dword [0x1008e724]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x1004cb81
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x1c]
push eax
call edx
push str.Failed_to_query_security_context_attributes.
push edi
call fcn.10026500
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x4c]
cmp eax, 1
je 0x1004cbf1
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.10026500
mov eax, dword [esp + 0x54]
add esp, 0xc
cmp eax, ebx
je 0x1004cbd6
push eax
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x1004c5b4
mov edx, dword [0x1008e724]
push eax
mov eax, dword [edx + 0x40]
jmp 0x1004c5b2
mov ecx, dword [esp + 0x54]
mov dl, byte [ecx]
mov eax, dword [esp + 0x48]
mov ecx, dword [0x1008e724]
mov byte [esp + 0x14], dl
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x54]
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x40]
push eax
call edx
jmp 0x1004cc5a
mov eax, dword [esp + 0x40]
cmp eax, 1
je 0x1004cc44
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.10026500
mov ecx, dword [0x1008e724]
mov eax, dword [esp + 0x54]
mov edx, dword [ecx + 0x40]
jmp 0x1004cdab
mov eax, dword [esp + 0x48]
mov cl, byte [eax]
mov edx, dword [0x1008e724]
mov byte [esp + 0x14], cl
push eax
mov eax, dword [edx + 0x40]
call eax
mov al, byte [esp + 0x14]
test al, al
jne 0x1004cc69
mov eax, str.out_GSS_API_data
jmp 0x1004cc77
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x1004cc77
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push edi
call fcn.10026470
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
push str.Failed_to_receive_SSPI_encryption_type.
push ecx
call fcn.10026500
mov eax, dword [0x1008e724]
mov edx, dword [esp + 0x50]
mov ecx, dword [eax + 0x40]
add esp, 8
jmp 0x1004c3eb
mov edx, dword [esp + 0x10]
push str.Failed_to_receive_SSPI_encryption_response.
push edx
call fcn.10026500
add esp, 8
jmp 0x1004cdb1
push str.Failed_to_send_SSPI_encryption_type.
mov eax, dword [esp + 0x14]
push eax
call fcn.10026500
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, ebx
je 0x1004cdb1
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x40]
jmp 0x1004cdae
push str.Failed_to_send_SSPI_encryption_request.
jmp 0x1004ccce
movzx eax, byte [esp + 0x14]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10026500
push ebx
call dword [0x1008cb3c]
add esp, 0x14
jmp 0x1004c3df
movzx edx, al
movzx eax, byte [esp + 0x14]
push edx
push eax
push str.Invalid_SSPI_authentication_response_type___u__u_.
jmp 0x1004cd0c
push ebx
call dword [0x1008cb3c]
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x10]
add esp, 4
lea edx, [esp + 0x38]
push edx
call ecx
mov eax, dword [0x1008e724]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
call ecx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
push str.Failed_to_receive_SSPI_authentication_token.
push edx
call fcn.10026500
push ebx
call dword [0x1008cb3c]
add esp, 0xc
jmp 0x1004c3cc
mov edx, dword [esp + 0x10]
push str.Failed_to_receive_SSPI_authentication_response.
push edx
call fcn.10026500
push ebx
call dword [0x1008cb3c]
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x44]
add esp, 0xc
push eax
call edx
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x1c]
push eax
call edx
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret