Function at 0x4d1f40
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
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [ebx + ecx*4 + 0x130]
push esi
push edi
xor edi, edi
mov dword [esp + 0x74], edi
mov esi, dword [eax + 0x418]
push 0x2f
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x90], edi
mov dword [esp + 0x80], esi
call fcn.00441850
add esp, 8
test eax, eax
mov eax, esi
lea edx, [eax + 1]
je 0x4d1fd0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d1f94
sub eax, edx
push eax
call dword [0x5effe8]
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x4d2ba7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d1fb6
sub eax, edx
push eax
push esi
push ebx
call fcn.0043dec0
add esp, 0xc
jmp 0x4d2054
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d1fd0
sub eax, edx
mov edx, eax
mov eax, dword [ebx + 0x90]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d1fe4
sub eax, esi
lea eax, [eax + edx + 2]
push eax
call dword [0x5effe8]
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x4d2ba7
mov eax, dword [esp + 0x78]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d2010
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x90]
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 0x4d2030
mov edx, dword [esp + 0x78]
push ecx
push edx
sub eax, esi
push str._s__s
lea eax, [eax + edi + 2]
push eax
push ebx
call fcn.0048a610
add esp, 0x14
xor edi, edi
mov ecx, 1
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x90], ecx
lea edx, [esp + 0x64]
mov dword [esp + 0xa0], edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x94], ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x84], edx
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x38]
push edx
push edi
push edi
push edi
mov eax, 2
push edi
push eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x44], eax
mov eax, dword [0x5fab5c]
push str.Kerberos
mov dword [esp + 0xb8], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x8c], 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 0x4d2163
cmp eax, 0x90314
je 0x4d2163
cmp eax, 0x90313
je 0x4d2163
cmp eax, 0x90312
je 0x4d2163
mov esi, dword [ebp + 0xc]
push eax
push esi
call fcn.0048c2c0
mov edx, dword [esi]
push eax
push str.AcquireCredentialsHandle
push str.SSPI_error:__s_failed:__s
push edx
call fcn.004873e0
mov eax, dword [esp + 0x24]
push str.Failed_to_acquire_credentials.
push eax
call fcn.004873e0
push ebx
call dword [0x5effec]
mov edx, dword [0x5fab5c]
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 [0x5fab5c]
mov ecx, dword [eax + 0x18]
lea edx, [esp + 0x60]
push edx
call ecx
mov edi, eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4d21ce
mov edx, dword [0x5fab5c]
push eax
mov eax, dword [edx + 0x40]
call eax
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
test edi, edi
je 0x4d21ee
cmp edi, 0x90314
je 0x4d21ee
cmp edi, 0x90313
je 0x4d21ee
cmp edi, 0x90312
jne 0x4d234c
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4d226c
push eax
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 + 0x44]
push edx
push eax
push esi
call fcn.004875f0
add esp, 0x14
test eax, eax
jne 0x4d23f9
cmp dword [esp + 0x20], 4
jne 0x4d23f9
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
push esi
call fcn.004875f0
add esp, 0x14
test eax, eax
jne 0x4d23bb
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x20]
jne 0x4d23bb
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x5fab5c]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [ecx + 0x40]
push eax
call edx
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
cmp edi, 0x90312
jne 0x4d245a
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x30]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.004a89c0
add esp, 0x14
test eax, eax
jne 0x4d2bee
cmp dword [esp + 0x30], 4
jne 0x4d2bee
mov al, byte [esp + 0x11]
cmp al, 0xff
je 0x4d2b45
cmp al, 1
jne 0x4d2b6e
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 + 0x68], edi
call dword [0x5effe8]
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4d2b7f
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
push esi
call fcn.004a89c0
add esp, 0x14
test eax, eax
jne 0x4d2bb3
cmp dword [esp + 0x30], edi
jne 0x4d2bb3
lea eax, [esp + 0x18]
jmp 0x4d2170
push edi
push esi
call fcn.0048c2c0
mov ecx, dword [esi]
push eax
push str.InitializeSecurityContext
push str.SSPI_error:__s_failed:__s
push ecx
call fcn.004873e0
push ebx
call dword [0x5effec]
mov eax, dword [0x5fab5c]
mov ecx, dword [eax + 0x10]
add esp, 0x1c
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x5fab5c]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x18]
push edx
call ecx
mov edx, dword [esp + 0x6c]
mov eax, dword [0x5fab5c]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0xc]
push str.Failed_to_initialise_security_context.
push edx
call fcn.004873e0
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_token.
push eax
call fcn.004873e0
push ebx
call dword [0x5effec]
mov ecx, dword [esp + 0x38]
mov edx, dword [0x5fab5c]
mov eax, dword [edx + 0x40]
add esp, 0xc
push ecx
call eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [0x5fab5c]
mov eax, dword [edx + 0x40]
push ecx
call eax
jmp 0x4d2c07
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_authentication_request.
push ecx
call fcn.004873e0
push ebx
call dword [0x5effec]
mov edx, dword [esp + 0x38]
mov eax, dword [0x5fab5c]
mov ecx, dword [eax + 0x40]
add esp, 0xc
push edx
call ecx
mov edx, dword [esp + 0x6c]
mov eax, dword [0x5fab5c]
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov eax, dword [0x5fab5c]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x5fab5c]
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 [0x5effec]
mov ecx, dword [0x5fab5c]
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 [0x5fab5c]
mov edx, dword [ecx + 0x10]
mov esi, eax
lea eax, [esp + 0x34]
push eax
call edx
mov eax, esi
mov esi, dword [ebp + 0xc]
push str.QueryCredentialAttributes
call fcn.004d1f00
add esp, 4
test eax, eax
je 0x4d24e1
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, dword [esp + 0x70]
mov ecx, dword [0x5fab5c]
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.004873e0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0xc]
push ecx
push str.SOCKS5_server_authencticated_user__s_with_gssapi._n
push edi
call fcn.00487350
mov edx, dword [esp + 0x7c]
mov eax, dword [0x5fab5c]
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 0x4d252e
test eax, 0x10000
jne 0x4d2527
mov eax, 0x5a1ed0
jmp 0x4d2533
mov eax, str.integrity
jmp 0x4d2533
mov eax, str.confidentiality
push eax
push str.SOCKS5_server_supports_gssapi__s_data_protection._n
push edi
call fcn.00487350
xor ebx, ebx
add esp, 0xc
cmp dword [edi + 0x430], ebx
je 0x4d2553
push 1
jmp 0x4d2797
mov ecx, dword [0x5fab5c]
lea edx, [esp + 0xb0]
push edx
mov edx, dword [ecx + 0x2c]
push ebx
lea eax, [esp + 0x20]
push eax
call edx
push str.QueryContextAttributes
call fcn.004d1f00
add esp, 4
test eax, eax
jne 0x4d29c4
mov eax, dword [esp + 0xbc]
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 2
call dword [0x5effe8]
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
je 0x4d25d1
push 1
mov dword [esp + 0x50], 1
call dword [0x5effe8]
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, ebx
jne 0x4d25ed
mov eax, dword [esp + 0x48]
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x5fab5c]
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 byte [eax], 0
mov eax, dword [esp + 0xb8]
push eax
mov dword [esp + 0x60], 9
mov dword [esp + 0x5c], eax
call dword [0x5effe8]
add esp, 4
mov dword [esp + 0x60], eax
cmp eax, ebx
jne 0x4d262b
mov eax, dword [esp + 0x48]
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x54]
jmp 0x4d25c5
mov edx, dword [0x5fab5c]
push ebx
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.004d1f00
add esp, 4
test eax, eax
je 0x4d26b4
mov ecx, dword [esp + 0x48]
mov edx, dword [0x5fab5c]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x54]
mov edx, dword [0x5fab5c]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x60]
mov edx, dword [0x5fab5c]
mov eax, dword [edx + 0x40]
push ecx
call eax
mov edx, dword [0x5fab5c]
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.004873e0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
lea eax, [edx + ecx]
add eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x28], eax
call dword [0x5effe8]
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x4d2702
mov eax, dword [esp + 0x48]
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x54]
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x60]
jmp 0x4d25c5
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
push ecx
push edx
push eax
call fcn.0043dec0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x50]
push ecx
add eax, edx
push eax
call fcn.0043dec0
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 + 0x48]
push edx
push ecx
call fcn.0043dec0
mov edx, dword [esp + 0x6c]
mov eax, dword [0x5fab5c]
mov ecx, dword [eax + 0x40]
add esp, 0x24
push edx
call ecx
mov edx, dword [esp + 0x54]
mov eax, dword [0x5fab5c]
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 [0x5fab5c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ebx
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [esp + 0x3c]
mov word [esp + 0x12], ax
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push edi
push esi
call fcn.004875f0
add esp, 0x14
test eax, eax
jne 0x4d2b2a
cmp dword [esp + 0x20], 4
jne 0x4d2b2a
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
cmp dword [edx + 0x430], ebx
je 0x4d282f
push 1
lea ecx, [esp + 0x18]
push ecx
push edi
push esi
mov byte [esp + 0x24], 0
call fcn.004875f0
add esp, 0x14
test eax, eax
jne 0x4d2801
cmp dword [esp + 0x20], 1
je 0x4d2869
mov edx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_encryption_type.
push edx
call fcn.004873e0
mov ecx, dword [0x5fab5c]
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 edi
push esi
call fcn.004875f0
add esp, 0x14
test eax, eax
jne 0x4d2b07
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x20]
jne 0x4d2b07
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x5fab5c]
mov eax, dword [edx + 0x40]
push ecx
call eax
lea ecx, [esp + 0x30]
push ecx
push 4
lea edx, [esp + 0x18]
push edx
push edi
push esi
call fcn.004a89c0
add esp, 0x14
test eax, eax
jne 0x4d2af0
cmp dword [esp + 0x30], 4
jne 0x4d2af0
mov al, byte [esp + 0x11]
cmp al, 0xff
jne 0x4d28d2
movzx eax, byte [esp + 0x10]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___d__d_.
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004873e0
mov eax, dword [0x5fab5c]
mov ecx, dword [eax + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call ecx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 2
je 0x4d28e7
movzx edx, al
movzx eax, byte [esp + 0x10]
push edx
push eax
push str.Invalid_SSPI_encryption_response_type___d__d_.
jmp 0x4d28aa
mov edx, dword [esp + 0x12]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx edi, ax
push edi
mov dword [esp + 0x44], edi
call dword [0x5effe8]
xor ebx, ebx
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
je 0x4d25d1
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
push esi
call fcn.004a89c0
add esp, 0x14
test eax, eax
jne 0x4d2ad5
cmp dword [esp + 0x30], edi
jne 0x4d2ad5
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x430], ebx
jne 0x4d2a62
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [0x5fab5c]
push ebx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x8c], 2
mov dword [esp + 0x50], 0xa
mov dword [esp + 0x5c], 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov edx, dword [ecx + 0x68]
push eax
call edx
push str.DecryptMessage
call fcn.004d1f00
add esp, 4
test eax, eax
je 0x4d29ee
mov eax, dword [esp + 0x48]
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov eax, dword [esp + 0x54]
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x18]
push eax
call edx
push str.Failed_to_query_security_context_attributes.
push edi
call fcn.004873e0
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 0x4d2a42
push eax
push str.Invalid_SSPI_encryption_response_length___d_.
push edi
call fcn.004873e0
mov eax, dword [esp + 0x54]
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x40]
add esp, 0xc
push eax
call edx
mov eax, dword [esp + 0x54]
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov ecx, dword [0x5fab5c]
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 + 0x54]
mov cl, byte [eax]
mov edx, dword [esp + 0x48]
mov eax, dword [0x5fab5c]
mov byte [esp + 0x10], cl
mov ecx, dword [eax + 0x40]
push edx
call ecx
mov edx, dword [esp + 0x54]
push edx
jmp 0x4d2a96
mov eax, dword [esp + 0x40]
cmp eax, 1
je 0x4d2a8b
push eax
push str.Invalid_SSPI_encryption_response_length___d_.
push edi
call fcn.004873e0
mov eax, dword [0x5fab5c]
mov edx, dword [esp + 0x54]
mov ecx, dword [eax + 0x40]
add esp, 0xc
jmp 0x4d243c
mov eax, dword [esp + 0x48]
mov dl, byte [eax]
mov byte [esp + 0x10], dl
push eax
mov eax, dword [0x5fab5c]
mov ecx, dword [eax + 0x40]
call ecx
mov al, byte [esp + 0x10]
test al, al
jne 0x4d2aaf
mov eax, str.out_gssapi_data
jmp 0x4d2abd
cmp al, 1
mov eax, str._gssapi_integrity
je 0x4d2abd
mov eax, str._gssapi_confidentiality
push eax
push str.SOCKS5_access_with_s_protection_granted._n
push edi
call fcn.00487350
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.004873e0
mov eax, dword [esp + 0x50]
add esp, 8
jmp 0x4d2a1a
mov eax, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_encryption_response.
push eax
call fcn.004873e0
add esp, 8
jmp 0x4d2c17
mov ecx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_encryption_type.
push ecx
call fcn.004873e0
mov eax, dword [0x5fab5c]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax + 0x40]
add esp, 8
jmp 0x4d243c
mov edx, dword [esp + 0xc]
push str.Failed_to_send_SSPI_encryption_request.
push edx
call fcn.004873e0
mov eax, dword [esp + 0x34]
add esp, 8
jmp 0x4d2a1a
movzx eax, byte [esp + 0x10]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___d__d_.
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004873e0
push ebx
call dword [0x5effec]
add esp, 0x14
jmp 0x4d2430
movzx edx, al
movzx eax, byte [esp + 0x10]
push edx
push eax
push str.Invalid_SSPI_authentication_response_type___d__d_.
jmp 0x4d2b55
push ebx
call dword [0x5effec]
mov eax, dword [0x5fab5c]
mov ecx, dword [eax + 0x10]
add esp, 4
lea edx, [esp + 0x34]
push edx
call ecx
mov eax, dword [0x5fab5c]
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.004873e0
push ebx
call dword [0x5effec]
mov eax, dword [esp + 0x78]
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x40]
add esp, 0xc
push eax
call edx
mov ecx, dword [0x5fab5c]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x34]
jmp 0x4d2a23
mov eax, dword [esp + 0xc]
push str.Failed_to_receive_SSPI_authentication_response.
push eax
call fcn.004873e0
push ebx
call dword [0x5effec]
add esp, 0xc
mov edx, dword [0x5fab5c]
mov eax, dword [edx + 0x10]
lea ecx, [esp + 0x34]
push ecx
call eax
mov edx, dword [0x5fab5c]
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