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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [esi + ecx*4 + 0x154]
push edi
xor edi, edi
mov dword [esp + 0x78], edi
mov ebx, dword [eax + 0x42c]
push 0x2f
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x84], edi
call fcn.1004cf60
add esp, 8
test eax, eax
mov eax, ebx
lea edx, [eax + 1]
je 0x100412f0
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100412b0
sub eax, edx
push eax
call dword [0x100711f0]
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
je 0x10041eef
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100412d6
sub eax, edx
push eax
push ebx
push esi
call fcn.100495d0
add esp, 0xc
jmp 0x10041378
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100412f0
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0xa8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10041304
sub eax, esi
lea eax, [eax + edx + 2]
push eax
call dword [0x100711f0]
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x10041eef
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10041330
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 0x10041350
push ecx
sub eax, esi
push ebx
lea edx, [eax + edi + 2]
mov eax, dword [esp + 0x24]
push str._s__s
push edx
push eax
call fcn.1001f170
mov esi, dword [esp + 0x30]
add esp, 0x14
xor edi, edi
mov ecx, 1
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x90], ecx
lea edx, [esp + 0x68]
mov dword [esp + 0xa0], edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x94], ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x88], edx
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x3c]
push edx
push edi
push edi
push edi
mov eax, 2
push edi
push eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x4c], eax
mov eax, dword [0x10072ca4]
push str.Kerberos
mov dword [esp + 0xb8], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0xa4], 3
mov dword [esp + 0xa0], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov ecx, dword [eax + 0xc]
push edi
call ecx
cmp eax, edi
je 0x10041487
cmp eax, 0x90314
je 0x10041487
cmp eax, 0x90313
je 0x10041487
cmp eax, 0x90312
je 0x10041487
mov edi, dword [ebp + 0xc]
push eax
push edi
call fcn.10020790
mov edx, dword [edi]
push eax
push str.AcquireCredentialsHandle
push str.SSPI_error:__s_failed:__s
push edx
call fcn.1001b410
mov eax, dword [esp + 0x38]
push str.Failed_to_acquire_credentials.
push eax
call fcn.1001b410
push esi
call dword [0x100711f4]
mov edx, dword [0x10072ca4]
mov eax, dword [edx + 0x10]
add esp, 0x24
lea ecx, [esp + 0x38]
push ecx
call eax
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x7c]
xor esi, esi
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push esi
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [0x10072ca4]
push 0x10
push esi
push 0x116
push edx
mov edx, dword [ecx + 0x18]
push eax
lea eax, [esp + 0x64]
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x100414f0
push eax
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x40]
call ecx
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], esi
cmp edi, esi
je 0x10041510
cmp edi, 0x90314
je 0x10041510
cmp edi, 0x90313
je 0x10041510
cmp edi, 0x90312
jne 0x10041675
mov ecx, dword [esp + 0x2c]
cmp ecx, esi
je 0x10041592
push ecx
mov byte [esp + 0x10], 1
mov byte [esp + 0x11], 1
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x12], ax
push 4
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
call fcn.1001b620
add esp, 0x14
test eax, eax
jne 0x1004175f
cmp dword [esp + 0x24], 4
jne 0x1004175f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push ebx
call fcn.1001b620
add esp, 0x14
test eax, eax
jne 0x100416ee
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x24]
jne 0x100416ee
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x34]
cmp ecx, esi
je 0x100415ae
push ecx
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x40]
call edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], esi
cmp eax, esi
je 0x100415c5
push eax
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x40]
call ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x68], esi
cmp edi, 0x90312
jne 0x10041766
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
push 4
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
call fcn.10038160
add esp, 0x14
test eax, eax
jne 0x10041f1d
cmp dword [esp + 0x28], 4
jne 0x10041f1d
mov al, byte [esp + 0xd]
cmp al, 0xff
je 0x10041e5c
cmp al, 1
jne 0x10041e89
mov edx, dword [esp + 0xe]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x6c], edi
call dword [0x100711f0]
add esp, 4
mov dword [esp + 0x70], eax
cmp eax, esi
je 0x10041ec3
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
mov eax, dword [esp + 0x4c]
push eax
push ebx
call fcn.10038160
add esp, 0x14
test eax, eax
jne 0x10041efb
cmp dword [esp + 0x28], edi
jne 0x10041efb
lea eax, [esp + 0x14]
jmp 0x10041490
push edi
push ebx
call fcn.10020790
mov ecx, dword [ebx]
push eax
push str.InitializeSecurityContext
push str.SSPI_error:__s_failed:__s
push ecx
call fcn.1001b410
mov edx, dword [esp + 0x34]
push edx
call dword [0x100711f4]
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x10]
add esp, 0x1c
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x14]
push eax
call edx
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x100416d0
push eax
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x40]
call ecx
mov edx, dword [esp + 0x20]
push str.Failed_to_initialise_security_context.
push edx
call fcn.1001b410
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Failed_to_send_SSPI_authentication_token.
mov eax, dword [esp + 0x24]
push eax
call fcn.1001b410
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x100711f4]
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp eax, esi
je 0x1004171f
mov edx, dword [0x10072ca4]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x10041733
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x14]
push eax
call edx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Failed_to_send_SSPI_authentication_request.
jmp 0x100416f3
mov eax, dword [esp + 0x1c]
push eax
call dword [0x100711f4]
mov eax, dword [0x10072ca4]
add esp, 4
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [eax + 8]
push 1
lea edx, [esp + 0x40]
push edx
call ecx
mov esi, eax
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x38]
push edx
call ecx
mov eax, esi
push str.QueryCredentialAttributes
mov esi, ebx
call fcn.10041220
add esp, 4
test eax, eax
je 0x100417ec
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x14]
push edx
call ecx
mov edx, dword [esp + 0x74]
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x20]
push str.Failed_to_determine_user_name.
push edx
call fcn.1001b410
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x20]
push eax
push str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
push ebx
call fcn.1001b380
mov ecx, dword [esp + 0x80]
mov edx, dword [0x10072ca4]
mov eax, dword [edx + 0x40]
add esp, 0xc
push ecx
call eax
mov eax, dword [esp + 0x78]
mov byte [esp + 0xc], 1
mov byte [esp + 0xd], 2
test al, 0x10
jne 0x1004183d
test eax, 0x10000
jne 0x10041836
mov eax, 0x1006ac38
jmp 0x10041842
mov eax, str.integrity
jmp 0x10041842
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection._n
push ebx
call fcn.1001b380
add esp, 0xc
cmp dword [ebx + 0x458], 0
je 0x10041869
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov edi, esi
jmp 0x10041ab3
mov eax, dword [0x10072ca4]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [eax + 0x2c]
push 0
lea edx, [esp + 0x1c]
push edx
call ecx
push str.QueryContextAttributes
mov edi, esi
call fcn.10041220
add esp, 4
test eax, eax
jne 0x10041cd4
mov eax, dword [esp + 0xbc]
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 2
call dword [0x100711f0]
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
je 0x10041ee0
push 1
mov dword [esp + 0x54], 1
call dword [0x100711f0]
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
jne 0x100418ee
mov eax, dword [0x10072ca4]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 0x40]
jmp 0x10041edd
mov byte [eax], 0
mov eax, dword [esp + 0xb8]
push eax
mov dword [esp + 0x64], 9
mov dword [esp + 0x60], eax
call dword [0x100711f0]
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
jne 0x10041936
mov edx, dword [esp + 0x4c]
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x10072ca4]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + 0x40]
jmp 0x10041edd
mov ecx, dword [0x10072ca4]
push 0
lea edx, [esp + 0x84]
push edx
mov edx, dword [ecx + 0x64]
push reloc.WS2_32.dll_accept
lea eax, [esp + 0x20]
push eax
call edx
push str.EncryptMessage
call fcn.10041220
add esp, 4
test eax, eax
je 0x100419c0
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x58]
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x64]
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x14]
push eax
call edx
push str.Failed_to_query_security_context_attributes.
push ebx
call fcn.1001b410
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
add eax, ecx
add eax, dword [esp + 0x44]
push eax
mov dword [esp + 0x30], eax
call dword [0x100711f0]
xor esi, esi
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, esi
jne 0x10041a15
mov edx, dword [esp + 0x4c]
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x58]
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x10072ca4]
mov edx, dword [esp + 0x64]
mov ecx, dword [eax + 0x40]
jmp 0x10041edd
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
push edx
push ecx
push eax
call fcn.100495d0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x54]
push eax
add edx, ecx
push edx
call fcn.100495d0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x6c]
add eax, edx
add eax, dword [esp + 0x50]
push ecx
push eax
call fcn.100495d0
mov ecx, dword [esp + 0x70]
mov edx, dword [0x10072ca4]
mov eax, dword [edx + 0x40]
add esp, 0x24
push ecx
call eax
mov ecx, dword [esp + 0x58]
mov edx, dword [0x10072ca4]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x64]
mov edx, dword [0x10072ca4]
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], esi
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], esi
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x12], ax
push 4
lea eax, [esp + 0x14]
push eax
push esi
push edi
call fcn.1001b620
add esp, 0x14
test eax, eax
jne 0x10041e43
cmp dword [esp + 0x24], 4
jne 0x10041e43
cmp dword [ebx + 0x458], eax
je 0x10041b25
lea ecx, [esp + 0x24]
push ecx
push 1
lea edx, [esp + 0x14]
push edx
push esi
push edi
mov byte [esp + 0x20], al
call fcn.1001b620
add esp, 0x14
test eax, eax
jne 0x10041b12
cmp dword [esp + 0x24], 1
je 0x10041b68
push str.Failed_to_send_SSPI_encryption_type.
push ebx
call fcn.1001b410
add esp, 8
jmp 0x10041743
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push esi
push edi
call fcn.1001b620
add esp, 0x14
test eax, eax
jne 0x10041e05
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x24]
jne 0x10041e05
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10041b68
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x40]
push eax
call edx
lea eax, [esp + 0x28]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
call fcn.10038160
add esp, 0x14
test eax, eax
jne 0x10041df2
cmp dword [esp + 0x28], 4
jne 0x10041df2
mov al, byte [esp + 0xd]
cmp al, 0xff
jne 0x10041bb7
movzx edx, byte [esp + 0xc]
push 0xff
push edx
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push ebx
call fcn.1001b410
add esp, 0x10
jmp 0x10041743
cmp al, 2
je 0x10041bd8
movzx ecx, byte [esp + 0xc]
movzx eax, al
push eax
push ecx
push str.Invalid_SSPI_encryption_response_type___u__u_.
push ebx
call fcn.1001b410
add esp, 0x10
jmp 0x10041f49
mov edx, dword [esp + 0xe]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x48], edi
call dword [0x100711f0]
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x10041c1b
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x14]
push eax
call edx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
mov eax, esi
push eax
push ecx
call fcn.10038160
add esp, 0x14
test eax, eax
jne 0x10041dd3
cmp dword [esp + 0x28], edi
jne 0x10041dd3
cmp dword [ebx + 0x458], eax
jne 0x10041d63
lea edx, [esp + 0xa4]
push edx
mov edx, dword [0x10072ca4]
xor edi, edi
push edi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x90], 2
mov dword [esp + 0x54], 0xa
mov dword [esp + 0x60], 1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edi
mov eax, dword [edx + 0x68]
push ecx
call eax
mov esi, dword [ebp + 0xc]
push str.DecryptMessage
call fcn.10041220
add esp, 4
test eax, eax
je 0x10041cfd
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x10041cc1
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0x10041cd4
push eax
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x14]
push edx
call ecx
push str.Failed_to_query_security_context_attributes.
push ebx
call fcn.1001b410
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
cmp eax, 1
je 0x10041d43
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push ebx
call fcn.1001b410
mov eax, dword [esp + 0x58]
add esp, 0xc
cmp eax, edi
je 0x10041d29
mov edx, dword [0x10072ca4]
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0x10041743
mov ecx, dword [0x10072ca4]
mov edx, dword [ecx + 0x40]
jmp 0x10041740
mov eax, dword [esp + 0x58]
mov cl, byte [eax]
mov edx, dword [esp + 0x4c]
mov eax, dword [0x10072ca4]
mov byte [esp + 0xc], cl
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x58]
push edx
jmp 0x10041d94
mov eax, dword [esp + 0x44]
cmp eax, 1
je 0x10041d89
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push ebx
call fcn.1001b410
mov eax, dword [0x10072ca4]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + 0x40]
jmp 0x10041f43
mov eax, dword [esp + 0x4c]
mov dl, byte [eax]
mov byte [esp + 0xc], dl
push eax
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x40]
call ecx
mov al, byte [esp + 0xc]
test al, al
jne 0x10041dad
mov eax, str.out_GSS_API_data
jmp 0x10041dbb
cmp al, 1
mov eax, str._GSS_API_integrity
je 0x10041dbb
mov eax, str._GSS_API_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push ebx
call fcn.1001b380
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Failed_to_receive_SSPI_encryption_type.
push ebx
call fcn.1001b410
mov eax, dword [0x10072ca4]
mov edx, dword [esp + 0x54]
mov ecx, dword [eax + 0x40]
add esp, 8
jmp 0x10041f46
push str.Failed_to_receive_SSPI_encryption_response.
push ebx
call fcn.1001b410
add esp, 8
jmp 0x10041f49
push str.Failed_to_send_SSPI_encryption_type.
push ebx
call fcn.1001b410
mov eax, dword [esp + 0x3c]
add esp, 8
test eax, eax
je 0x10041e27
mov edx, dword [0x10072ca4]
push eax
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [0x10072ca4]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x14]
push ecx
call eax
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Failed_to_send_SSPI_encryption_request.
push ebx
call fcn.1001b410
mov eax, dword [esp + 0x3c]
add esp, 8
test eax, eax
jmp 0x10041d2f
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x20]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push ecx
call fcn.1001b410
mov edx, dword [esp + 0x2c]
push edx
call dword [0x100711f4]
add esp, 0x14
jmp 0x10041733
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x20]
movzx eax, al
push eax
push ecx
push str.Invalid_SSPI_authentication_response_type___u__u_.
push edx
call fcn.1001b410
mov eax, dword [esp + 0x2c]
push eax
call dword [0x100711f4]
mov edx, dword [0x10072ca4]
mov eax, dword [edx + 0x10]
add esp, 0x14
lea ecx, [esp + 0x38]
push ecx
jmp 0x10041e25
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x100711f4]
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x10]
add esp, 4
lea edx, [esp + 0x38]
push edx
call ecx
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x14]
push edx
call ecx
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
push str.Failed_to_receive_SSPI_authentication_token.
push edx
call fcn.1001b410
mov eax, dword [esp + 0x24]
push eax
call dword [0x100711f4]
add esp, 0xc
jmp 0x1004171f
mov eax, dword [esp + 0x20]
push str.Failed_to_receive_SSPI_authentication_response.
push eax
call fcn.1001b410
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x100711f4]
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x44]
add esp, 0xc
push edx
call ecx
mov eax, dword [0x10072ca4]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x14]
push edx
call ecx
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret