Function at 0x10045ae0
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 + 0x1a8]
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x80], ecx
mov eax, dword [eax + 0xa00]
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], ecx
cmp eax, ecx
je 0x10045b25
mov ebx, eax
mov dword [esp + 0x40], ebx
jmp 0x10045b31
mov dword [esp + 0x40], str.rcmd
mov ebx, dword [esp + 0x40]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10045b36
sub eax, edx
push 0x2f
push ebx
mov esi, eax
call fcn.10050540
add esp, 8
test eax, eax
je 0x10045b6c
push ebx
call dword [0x1007b00c]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10045bc2
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10045b75
sub eax, edx
lea eax, [eax + esi + 2]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10045b60
mov edx, dword [edi + 0xc4]
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10045ba0
mov ecx, dword [esp + 0x40]
push edx
push ecx
sub eax, edi
push str._s__s
lea edx, [eax + esi + 2]
push edx
push ebx
call fcn.10034d70
add esp, 0x14
mov edx, 1
mov dword [esp + 0xa0], edx
mov dword [esp + 0x94], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x98], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x8c], edx
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x6c]
mov dword [esp + 0xa8], eax
xor eax, eax
lea edx, [esp + 0x3c]
push edx
push eax
push eax
push eax
push eax
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 + 0xa4], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push eax
mov eax, dword [0x1007cbb8]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0xac], 3
mov ecx, dword [eax + 0xc]
call ecx
mov esi, dword [ebp + 0xc]
push eax
mov edi, str.AcquireCredentialsHandle
call fcn.10045a30
add esp, 4
test eax, eax
je 0x10045cc0
mov edx, dword [esp + 0x10]
push str.Failed_to_acquire_credentials.
push edx
call fcn.100149a0
push ebx
call dword [0x1007b004]
mov ecx, dword [0x1007cbb8]
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 + 0x84]
push ecx
lea edx, [esp + 0x98]
push edx
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x28]
push eax
xor esi, esi
push esi
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [0x1007cbb8]
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 + 0x40], eax
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x10045d28
push eax
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
call ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x68], esi
mov edx, dword [esp + 0x40]
mov esi, dword [ebp + 0xc]
push edx
mov edi, str.InitializeSecurityContext
call fcn.10045a30
add esp, 4
test eax, eax
jne 0x10045f23
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10045e27
push eax
mov byte [esp + 0x18], 1
mov byte [esp + 0x19], 1
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [esp + 0x74]
mov word [esp + 0x16], ax
lea eax, [esp + 0x24]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push edi
push esi
call fcn.10015050
add esp, 0x14
test eax, eax
jne 0x10045f7d
cmp dword [esp + 0x24], 4
jne 0x10045f7d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
push edi
push esi
call fcn.10015050
add esp, 0x14
test eax, eax
jne 0x10045dbb
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x24]
je 0x10045e2b
mov edx, dword [esp + 0x10]
push str.Failed_to_send_SSPI_authentication_token.
push edx
call fcn.100149a0
push ebx
call dword [0x1007b004]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x10045de7
push eax
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x10045dfb
mov edx, dword [0x1007cbb8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0x1007cbb8]
mov eax, dword [edx + 0x10]
lea ecx, [esp + 0x38]
push ecx
call eax
mov edx, dword [0x1007cbb8]
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
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10045e46
push eax
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
call ecx
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], 0
test eax, eax
je 0x10045e6a
mov edx, dword [0x1007cbb8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov dword [esp + 0x70], 0
cmp dword [esp + 0x40], 0x90312
mov dword [esp + 0x68], 0
jne 0x10045fea
lea ecx, [esp + 0x34]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push edi
push esi
call fcn.100327c0
add esp, 0x14
test eax, eax
jne 0x10046807
cmp dword [esp + 0x34], 4
jne 0x10046807
mov al, byte [esp + 0x15]
cmp al, 0xff
je 0x10046779
cmp al, 1
jne 0x100467a2
mov eax, dword [esp + 0x16]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x6c], edi
call dword [section..data]
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
je 0x100467b3
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
mov eax, dword [esp + 0x80]
push eax
push esi
call fcn.100327c0
add esp, 0x14
test eax, eax
jne 0x100467e9
cmp dword [esp + 0x34], edi
jne 0x100467e9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7c], ecx
jmp 0x10045cc0
push ebx
call dword [0x1007b004]
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x10]
add esp, 4
lea edx, [esp + 0x38]
push edx
call ecx
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
call ecx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x10045f5f
mov edx, dword [0x1007cbb8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esp + 0x10]
push str.Failed_to_initialise_security_context.
push ecx
call fcn.100149a0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
push str.Failed_to_send_SSPI_authentication_request.
push ecx
call fcn.100149a0
push ebx
call dword [0x1007b004]
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x10045faa
mov edx, dword [0x1007cbb8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x10045fbe
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x1007b004]
mov edx, dword [0x1007cbb8]
add esp, 4
lea eax, [esp + 0x78]
push eax
mov eax, dword [edx + 8]
push 1
lea ecx, [esp + 0x40]
push ecx
call eax
mov edx, dword [0x1007cbb8]
lea ecx, [esp + 0x38]
mov edi, eax
mov eax, dword [edx + 0x10]
push ecx
call eax
push edi
mov edi, str.QueryCredentialAttributes
call fcn.10045a30
add esp, 4
test eax, eax
je 0x1004606d
mov edx, dword [0x1007cbb8]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x1c]
push ecx
call eax
mov ecx, dword [esp + 0x78]
mov edx, dword [0x1007cbb8]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x10]
push str.Failed_to_determine_user_name.
push ecx
call fcn.100149a0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x10]
push edx
push str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
push esi
call fcn.100148c0
mov eax, dword [esp + 0x84]
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x40]
add esp, 0xc
push eax
call edx
mov eax, dword [esp + 0x80]
mov byte [esp + 0x14], 1
mov byte [esp + 0x15], 2
test al, 0x10
jne 0x100460c1
test eax, 0x10000
jne 0x100460ba
mov eax, 0x100737a0
jmp 0x100460c6
mov eax, str.integrity
jmp 0x100460c6
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push esi
call fcn.100148c0
add esp, 0xc
test dword [esi + 0xa90], 0x400
je 0x100460f1
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [ebp + 0xc]
jmp 0x100463b2
mov edx, dword [0x1007cbb8]
lea eax, [esp + 0xb8]
push eax
mov eax, dword [edx + 0x2c]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
call eax
mov esi, dword [ebp + 0xc]
push eax
mov edi, str.QueryContextAttributes
call fcn.10045a30
add esp, 4
test eax, eax
je 0x1004614d
mov edx, dword [0x1007cbb8]
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.100149a0
add esp, 8
lea eax, [ebx + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc4]
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 2
call dword [section..data]
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, ebx
je 0x1004619c
push 1
mov dword [esp + 0x54], 1
call dword [section..data]
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, ebx
jne 0x100461b7
mov edx, dword [esp + 0x4c]
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x1007cbb8]
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 byte [eax], 0
mov eax, dword [esp + 0xc0]
push eax
mov dword [esp + 0x64], 9
mov dword [esp + 0x60], eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x64], eax
cmp eax, ebx
jne 0x10046218
mov edx, dword [esp + 0x4c]
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x58]
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x1007cbb8]
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 ecx, dword [0x1007cbb8]
push ebx
lea edx, [esp + 0x88]
push edx
mov edx, dword [ecx + 0x64]
push reloc.WS2_32.dll_accept
lea eax, [esp + 0x28]
push eax
call edx
push eax
mov edi, str.EncryptMessage
call fcn.10045a30
add esp, 4
test eax, eax
je 0x100462a6
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x58]
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x64]
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [esp + 0x10]
push str.Failed_to_query_security_context_attributes.
push eax
call fcn.100149a0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
lea eax, [edx + ecx]
add eax, dword [esp + 0x44]
push eax
mov dword [esp + 0x2c], eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x10046317
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x58]
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x64]
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x1007cbb8]
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 ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
push ecx
push edx
push eax
call fcn.1004b910
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x54]
push ecx
add eax, edx
push eax
call fcn.1004b910
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x6c]
add ecx, eax
add ecx, dword [esp + 0x4c]
push edx
push ecx
call fcn.1004b910
mov edx, dword [esp + 0x70]
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
add esp, 0x24
push edx
call ecx
mov edx, dword [esp + 0x58]
mov eax, dword [0x1007cbb8]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x64]
mov eax, dword [0x1007cbb8]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ebx
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
call dword [sym.imp.WS2_32.dll_htons]
mov ebx, dword [esp + 0x74]
mov word [esp + 0x16], ax
lea eax, [esp + 0x24]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push ebx
push esi
call fcn.10015050
add esp, 0x14
test eax, eax
jne 0x1004674d
cmp dword [esp + 0x24], 4
jne 0x1004674d
mov edi, dword [esp + 0x10]
test dword [edi + 0xa90], 0x400
je 0x10046443
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x18], al
push 1
lea eax, [esp + 0x1c]
push eax
push ebx
push esi
call fcn.10015050
add esp, 0x14
test eax, eax
jne 0x10046419
cmp dword [esp + 0x24], 1
je 0x10046486
push str.Failed_to_send_SSPI_encryption_type.
push edi
call fcn.100149a0
mov edx, dword [0x1007cbb8]
mov eax, dword [edx + 0x24]
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
call eax
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
push ebx
push esi
call fcn.10015050
add esp, 0x14
test eax, eax
jne 0x10046725
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x24]
jne 0x10046725
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10046486
mov edx, dword [0x1007cbb8]
push eax
mov eax, dword [edx + 0x40]
call eax
lea ecx, [esp + 0x34]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push ebx
push esi
call fcn.100327c0
add esp, 0x14
test eax, eax
jne 0x10046712
cmp dword [esp + 0x34], 4
jne 0x10046712
mov al, byte [esp + 0x15]
cmp al, 0xff
jne 0x100464ec
movzx eax, byte [esp + 0x14]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push edi
call fcn.100149a0
mov edx, dword [0x1007cbb8]
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 0x10046524
movzx edx, byte [esp + 0x14]
movzx ecx, al
push ecx
push edx
push str.Invalid_SSPI_encryption_response_type___u__u_.
push edi
call fcn.100149a0
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x24]
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x16]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x48], edi
call dword [section..data]
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
je 0x100467cd
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
push ebx
push esi
call fcn.100327c0
add esp, 0x14
test eax, eax
jne 0x100466ee
cmp dword [esp + 0x34], edi
jne 0x100466ee
mov edi, dword [esp + 0x10]
test dword [edi + 0xa90], 0x400
jne 0x1004667e
lea eax, [esp + 0xb4]
push eax
mov eax, dword [0x1007cbb8]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x94], 2
mov dword [esp + 0x54], 0xa
mov dword [esp + 0x60], 1
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov ecx, dword [eax + 0x68]
push edx
call ecx
push eax
mov edi, str.DecryptMessage
call fcn.10045a30
add esp, 4
test eax, eax
je 0x10046606
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x100465f5
mov edx, dword [0x1007cbb8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x10046278
jmp 0x1004626c
mov eax, dword [esp + 0x50]
cmp eax, 1
je 0x10046650
mov ecx, dword [esp + 0x10]
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push ecx
call fcn.100149a0
mov eax, dword [esp + 0x58]
add esp, 0xc
cmp eax, ebx
je 0x10046636
mov edx, dword [0x1007cbb8]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x10045fce
mov ecx, dword [0x1007cbb8]
mov edx, dword [ecx + 0x40]
jmp 0x10045fcb
mov eax, dword [esp + 0x58]
mov cl, byte [eax]
mov edx, dword [esp + 0x4c]
mov eax, dword [0x1007cbb8]
mov byte [esp + 0x14], cl
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x58]
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edi, dword [esp + 0x10]
jmp 0x100466b9
mov eax, dword [esp + 0x44]
cmp eax, 1
je 0x100466a4
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.100149a0
mov eax, dword [0x1007cbb8]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + 0x40]
jmp 0x10046829
mov eax, dword [esp + 0x4c]
mov dl, byte [eax]
push eax
mov eax, dword [0x1007cbb8]
mov byte [esp + 0x18], dl
mov ecx, dword [eax + 0x40]
call ecx
mov al, byte [esp + 0x14]
test al, al
jne 0x100466c8
mov eax, str.out_GSS_API_data
jmp 0x100466d6
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x100466d6
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push edi
call fcn.100148c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
push str.Failed_to_receive_SSPI_encryption_type.
push edx
call fcn.100149a0
mov ecx, dword [0x1007cbb8]
mov eax, dword [esp + 0x54]
mov edx, dword [ecx + 0x40]
add esp, 8
jmp 0x10045fcb
push str.Failed_to_receive_SSPI_encryption_response.
push edi
call fcn.100149a0
add esp, 8
jmp 0x10045fce
push str.Failed_to_send_SSPI_encryption_type.
push edi
call fcn.100149a0
mov eax, dword [esp + 0x38]
add esp, 8
test eax, eax
je 0x1004682f
push eax
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
jmp 0x1004682d
mov edx, dword [esp + 0x10]
push str.Failed_to_send_SSPI_encryption_request.
push edx
call fcn.100149a0
mov eax, dword [esp + 0x38]
add esp, 8
test eax, eax
je 0x1004682f
push eax
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
jmp 0x1004682d
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.100149a0
push ebx
call dword [0x1007b004]
add esp, 0x14
jmp 0x10045dfb
movzx edx, byte [esp + 0x14]
movzx ecx, al
push ecx
push edx
push str.Invalid_SSPI_authentication_response_type___u__u_.
jmp 0x10046789
push ebx
call dword [0x1007b004]
mov edx, dword [0x1007cbb8]
mov eax, dword [edx + 0x10]
add esp, 4
lea ecx, [esp + 0x38]
push ecx
call eax
mov edx, dword [0x1007cbb8]
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 + 0x10]
push str.Failed_to_receive_SSPI_authentication_token.
push ecx
call fcn.100149a0
push ebx
call dword [0x1007b004]
add esp, 0xc
jmp 0x10045de7
mov ecx, dword [esp + 0x10]
push str.Failed_to_receive_SSPI_authentication_response.
push ecx
call fcn.100149a0
push ebx
call dword [0x1007b004]
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x44]
add esp, 0xc
push edx
call ecx
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
call ecx
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret