Function at 0x447003
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x46f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push esi
push edi
mov edi, str.rcmd
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [eax + ecx*4 + 0x150]
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x61c]
test eax, eax
cmovne edi, eax
mov esi, edi
mov dword [ebp - 0x4c], edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44704e
sub esi, ecx
push 0x2f
push edi
mov dword [ebp - 0x50], esi
call fcn.00451a20
pop ecx
pop ecx
test eax, eax
je 0x447092
mov esi, dword [sub.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov ecx, esi
push edi
call dword [0x4553fc]
call esi
mov edi, eax
pop ecx
test edi, edi
jne 0x4470f6
push 0x1b
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450ca6
leave
ret
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x8c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44709e
sub ecx, edx
lea eax, [esi + 2]
mov esi, dword [0x46f048]
add eax, ecx
push eax
mov ecx, esi
call dword [0x4553fc]
call esi
mov edi, eax
pop ecx
test edi, edi
je 0x447080
mov eax, dword [ebp - 0x54]
mov edx, dword [eax + 0x8c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4470d2
mov eax, dword [ebp - 0x50]
sub ecx, esi
push edx
push dword [ebp - 0x4c]
add eax, 2
push 0x457120
add eax, ecx
push eax
push edi
call fcn.0041201d
add esp, 0x14
push 2
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x68], 2
mov dword [ebp - 0xa0], eax
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0xa8], ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x94], eax
inc edx
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x98], edx
pop edx
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x64], ecx
push eax
mov eax, dword [0x46f554]
push ecx
push ecx
push ecx
push ecx
push edx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
push str.Kerberos
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x8c], 3
mov esi, dword [eax + 0xc]
push ecx
mov ecx, esi
call dword [0x4553fc]
call esi
push str.AcquireCredentialsHandle
mov edx, eax
mov ecx, ebx
call fcn.00446f9a
pop ecx
test eax, eax
je 0x4471d4
push str.Failed_to_acquire_credentials.
push ebx
call fcn.0041d6ad
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
pop ecx
push edi
mov ecx, esi
call dword [0x4553fc]
call esi
lea eax, [ebp - 0x74]
pop ecx
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x4553fc]
call esi
push 7
jmp 0x447082
lea eax, [ebp - 0x4c]
xor ecx, ecx
push eax
push 0x8004667e
push dword [ebp - 0x78]
mov dword [ebp - 0x4c], ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
jmp 0x4473e0
lea ecx, [ebp - 0xb8]
xor edx, edx
push ecx
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push edx
lea ecx, [ebp - 0xa8]
push ecx
push 0x10
push edx
push 0x116
push eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x4553fc]
call esi
push dword [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [ebp - 0x64], 0
pop ecx
je 0x447266
mov ecx, dword [0x46f554]
push dword [ebp - 0x64]
mov esi, dword [ecx + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x7c]
mov ecx, ebx
push str.InitializeSecurityContext
call fcn.00446f9a
pop ecx
test eax, eax
jne 0x447bd1
cmp dword [ebp - 0x60], eax
je 0x4472ec
push dword [ebp - 0x60]
inc eax
mov byte [ebp - 0x40], al
mov byte [ebp - 0x3f], al
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [ebp - 0x78]
mov ecx, ebx
mov word [ebp - 0x3e], ax
mov edx, esi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push 4
push eax
call fcn.0041d87f
add esp, 0xc
test eax, eax
jne 0x447473
cmp dword [ebp - 0x50], 4
jne 0x447473
lea eax, [ebp - 0x50]
mov edx, esi
push eax
push dword [ebp - 0x60]
mov ecx, ebx
push dword [ebp - 0x58]
call fcn.0041d87f
add esp, 0xc
test eax, eax
jne 0x4473f7
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jne 0x4473f7
cmp dword [ebp - 0x58], 0
je 0x44730e
mov eax, dword [0x46f554]
push dword [ebp - 0x58]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
xor eax, eax
mov dword [ebp - 0x58], eax
jmp 0x447310
xor eax, eax
cmp dword [ebp - 0x64], 0
mov dword [ebp - 0x60], eax
je 0x447333
mov eax, dword [0x46f554]
push dword [ebp - 0x64]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
xor eax, eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x7c], 0x90312
mov dword [ebp - 0x6c], eax
jne 0x44752c
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x40]
mov ecx, ebx
push 4
push eax
call fcn.0042d1c1
add esp, 0xc
test eax, eax
jne 0x44751d
cmp dword [ebp - 0x54], 4
jne 0x44751d
mov al, byte [ebp - 0x3f]
cmp al, 0xff
je 0x44750c
xor ecx, ecx
inc ecx
cmp al, cl
jne 0x4474de
push dword [ebp - 0x3e]
call dword [sym.imp.WS2_32.dll_ntohs]
mov esi, dword [0x46f048]
mov ecx, esi
movzx eax, ax
push eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x6c], eax
call dword [0x4553fc]
call esi
mov dword [ebp - 0x64], eax
pop ecx
test eax, eax
je 0x44749b
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0x54]
push ecx
push dword [ebp - 0x6c]
mov ecx, ebx
push eax
call fcn.0042d1c1
add esp, 0xc
test eax, eax
jne 0x44747a
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x54], eax
jne 0x44747a
lea eax, [ebp - 0x48]
mov dword [ebp - 0x7c], eax
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebp - 0x4c], eax
pop ecx
test eax, eax
jne 0x4471f0
jmp 0x447080
push str.Failed_to_send_SSPI_authentication_token.
push ebx
call fcn.0041d6ad
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
pop ecx
push edi
mov ecx, esi
call dword [0x4553fc]
call esi
cmp dword [ebp - 0x58], 0
pop ecx
je 0x447431
mov eax, dword [0x46f554]
push dword [ebp - 0x58]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
cmp dword [ebp - 0x64], 0
je 0x44744c
mov eax, dword [0x46f554]
push dword [ebp - 0x64]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
lea eax, [ebp - 0x74]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x4553fc]
call esi
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x24]
jmp 0x4471c3
push str.Failed_to_send_SSPI_authentication_request.
jmp 0x4473fc
push str.Failed_to_receive_SSPI_authentication_token.
push ebx
call fcn.0041d6ad
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
pop ecx
push edi
mov ecx, esi
call dword [0x4553fc]
call esi
pop ecx
jmp 0x447431
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, esi
push edi
call dword [0x4553fc]
call esi
lea eax, [ebp - 0x74]
pop ecx
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x4553fc]
call esi
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4553fc]
call esi
jmp 0x447080
movzx eax, al
push eax
movzx eax, byte [ebp - 0x40]
push eax
push str.Invalid_SSPI_authentication_response_type___u__u_.
push ebx
call fcn.0041d6ad
add esp, 0x10
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, esi
push edi
call dword [0x4553fc]
call esi
pop ecx
jmp 0x44744c
movzx eax, byte [ebp - 0x40]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
jmp 0x4474ec
push str.Failed_to_receive_SSPI_authentication_response.
push ebx
call fcn.0041d6ad
pop ecx
pop ecx
jmp 0x4474f5
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, esi
push edi
call dword [0x4553fc]
call esi
pop ecx
lea eax, [ebp - 0x80]
push eax
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4553fc]
call esi
mov ecx, dword [0x46f554]
mov edi, eax
lea eax, [ebp - 0x74]
push eax
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x4553fc]
call esi
push str.QueryCredentialAttributes
mov edx, edi
mov ecx, ebx
call fcn.00446f9a
pop ecx
test eax, eax
je 0x4475c5
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4553fc]
call esi
mov eax, dword [0x46f554]
push dword [ebp - 0x80]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
push str.Failed_to_determine_user_name.
push ebx
call fcn.0041d6ad
pop ecx
pop ecx
jmp 0x4471cd
push dword [ebp - 0x80]
push str.SOCKS5_server_authenticated_user__s_with_GSS_API.
push ebx
call fcn.0041d632
mov eax, dword [0x46f554]
add esp, 0xc
mov esi, dword [eax + 0x40]
mov ecx, esi
push dword [ebp - 0x80]
call dword [0x4553fc]
call esi
xor ecx, ecx
mov byte [ebp - 0x3f], 2
inc ecx
test byte [ebp - 0x84], 0x10
mov byte [ebp - 0x40], cl
je 0x447602
mov dl, 2
jmp 0x447615
test dword [ebp - 0x84], 0x10000
push 0
pop eax
movzx edx, al
cmovne edx, ecx
cmp dl, 1
mov eax, str.confidentiality
mov ecx, str.integrity
cmovne ecx, eax
test dl, dl
mov eax, 0x458a08
cmovne eax, ecx
push eax
push str.SOCKS5_server_supports_GSS_API__s_data_protection.
push ebx
call fcn.0041d632
add esp, 0xc
cmp byte [ebx + 0x72d], 0
je 0x447650
xor eax, eax
inc eax
push eax
jmp 0x4478a6
lea eax, [ebp - 0x38]
push eax
xor eax, eax
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x4553fc]
call esi
push str.QueryContextAttributes
mov edx, eax
mov ecx, ebx
call fcn.00446f9a
pop ecx
test eax, eax
je 0x4476a0
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4553fc]
call esi
push str.Failed_to_query_security_context_attributes.
jmp 0x4475b8
mov eax, dword [ebp - 0x2c]
mov esi, dword [0x46f048]
mov ecx, esi
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 2
call dword [0x4553fc]
call esi
mov dword [ebp - 0x20], eax
pop ecx
test eax, eax
je 0x4474c3
mov esi, dword [0x46f048]
xor eax, eax
inc eax
mov ecx, esi
push eax
mov dword [ebp - 0x1c], eax
call dword [0x4553fc]
call esi
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
jne 0x4476f9
push dword [ebp - 0x20]
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x40]
jmp 0x4474b9
mov esi, dword [0x46f048]
xor ecx, ecx
mov byte [eax], cl
mov ecx, esi
mov eax, dword [ebp - 0x30]
push eax
mov dword [ebp - 0xc], 9
mov dword [ebp - 0x10], eax
call dword [0x4553fc]
call esi
mov dword [ebp - 8], eax
pop ecx
test eax, eax
jne 0x44773d
mov eax, dword [0x46f554]
push dword [ebp - 0x20]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
push dword [ebp - 0x14]
jmp 0x4476ec
xor eax, eax
push eax
lea eax, [ebp - 0x90]
push eax
push reloc.WS2_32.dll_accept
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x64]
mov ecx, esi
call dword [0x4553fc]
call esi
push str.EncryptMessage
mov edx, eax
mov ecx, ebx
call fcn.00446f9a
pop ecx
test eax, eax
je 0x4477b9
mov eax, dword [0x46f554]
push dword [ebp - 0x20]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
mov eax, dword [0x46f554]
push dword [ebp - 0x14]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
push dword [ebp - 8]
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
jmp 0x447680
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
mov esi, dword [0x46f048]
mov ecx, esi
push eax
mov dword [ebp - 0x60], eax
call dword [0x4553fc]
call esi
mov dword [ebp - 0x58], eax
pop ecx
test eax, eax
jne 0x447810
mov eax, dword [0x46f554]
push dword [ebp - 0x20]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
mov eax, dword [0x46f554]
push dword [ebp - 0x14]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
push dword [ebp - 8]
jmp 0x4476ec
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push eax
call fcn.00452780
mov eax, dword [ebp - 0x28]
add esp, 0xc
add eax, dword [ebp - 0x58]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push eax
call fcn.00452780
mov eax, dword [ebp - 0x1c]
add esp, 0xc
add eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x58]
push dword [ebp - 0x10]
push dword [ebp - 8]
push eax
call fcn.00452780
mov eax, dword [0x46f554]
add esp, 0xc
mov esi, dword [eax + 0x40]
mov ecx, esi
push dword [ebp - 0x20]
call dword [0x4553fc]
call esi
push dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
push dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
push dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [ebp - 0x78]
mov ecx, ebx
mov word [ebp - 0x3e], ax
mov edx, edi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push 4
push eax
call fcn.0041d87f
add esp, 0xc
test eax, eax
jne 0x447bca
cmp dword [ebp - 0x50], 4
jne 0x447bca
mov edx, edi
mov ecx, ebx
cmp byte [ebx + 0x72d], al
je 0x44791a
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x50]
push eax
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041d87f
add esp, 0xc
test eax, eax
jne 0x447908
inc eax
cmp dword [ebp - 0x50], eax
je 0x44795b
push str.Failed_to_send_SSPI_encryption_type.
push ebx
call fcn.0041d6ad
pop ecx
pop ecx
jmp 0x447462
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x60]
push dword [ebp - 0x58]
call fcn.0041d87f
add esp, 0xc
test eax, eax
jne 0x447bab
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jne 0x447bab
cmp dword [ebp - 0x58], 0
je 0x44795b
mov eax, dword [0x46f554]
push dword [ebp - 0x58]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
lea eax, [ebp - 0x54]
mov edx, edi
push eax
lea eax, [ebp - 0x40]
mov ecx, ebx
push 4
push eax
call fcn.0042d1c1
add esp, 0xc
test eax, eax
jne 0x447ba1
cmp dword [ebp - 0x54], 4
jne 0x447ba1
mov al, byte [ebp - 0x3f]
cmp al, 0xff
jne 0x4479a7
movzx eax, byte [ebp - 0x40]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push ebx
call fcn.0041d6ad
add esp, 0x10
jmp 0x447462
cmp al, 2
je 0x4479bb
movzx eax, al
push eax
movzx eax, byte [ebp - 0x40]
push eax
push str.Invalid_SSPI_encryption_response_type___u__u_.
jmp 0x447999
push dword [ebp - 0x3e]
call dword [sym.imp.WS2_32.dll_ntohs]
mov esi, dword [0x46f048]
mov ecx, esi
movzx eax, ax
push eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x28], eax
call dword [0x4553fc]
call esi
mov dword [ebp - 0x20], eax
pop ecx
test eax, eax
je 0x4474c3
lea ecx, [ebp - 0x54]
mov edx, edi
push ecx
push dword [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0042d1c1
add esp, 0xc
test eax, eax
jne 0x447b92
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x54], eax
jne 0x447b92
xor eax, eax
inc eax
cmp byte [ebx + 0x72d], 0
jne 0x447b13
mov dword [ebp - 0x18], eax
xor ecx, ecx
lea eax, [ebp - 0xac]
mov dword [ebp - 0x1c], ecx
push eax
push ecx
lea eax, [ebp - 0x90]
mov dword [ebp - 0x14], ecx
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x8c], 2
push eax
mov eax, dword [0x46f554]
mov dword [ebp - 0x24], 0xa
mov esi, dword [eax + 0x68]
mov ecx, esi
call dword [0x4553fc]
call esi
push str.DecryptMessage
mov edx, eax
mov ecx, ebx
call fcn.00446f9a
pop ecx
test eax, eax
je 0x447aa3
cmp dword [ebp - 0x20], 0
je 0x447a91
mov eax, dword [0x46f554]
push dword [ebp - 0x20]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
cmp dword [ebp - 0x14], 0
je 0x447680
push dword [ebp - 0x14]
jmp 0x4477a2
xor eax, eax
inc eax
cmp dword [ebp - 0x1c], eax
je 0x447af1
push dword [ebp - 0x1c]
push str.Invalid_SSPI_encryption_response_length___lu_.
push ebx
call fcn.0041d6ad
add esp, 0xc
cmp dword [ebp - 0x20], 0
je 0x447ad7
mov eax, dword [0x46f554]
push dword [ebp - 0x20]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
cmp dword [ebp - 0x14], 0
je 0x447462
push dword [ebp - 0x14]
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x40]
jmp 0x447458
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x20]
mov al, byte [eax]
mov byte [ebp - 0x40], al
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
push dword [ebp - 0x14]
jmp 0x447b37
cmp dword [ebp - 0x28], eax
je 0x447b2e
push dword [ebp - 0x28]
push str.Invalid_SSPI_encryption_response_length___lu_.
push ebx
call fcn.0041d6ad
add esp, 0xc
push dword [ebp - 0x20]
jmp 0x447ae4
mov ecx, dword [ebp - 0x20]
push ecx
mov al, byte [ecx]
mov byte [ebp - 0x40], al
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
xor eax, eax
inc eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov al, byte [ebp - 0x40]
test al, al
jne 0x447b6d
mov ecx, str.out_GSS_API_data
jmp 0x447b7c
cmp al, 1
mov ecx, str._GSS_API_integrity
mov edx, str._GSS_API_confidentiality
cmovne ecx, edx
push ecx
push str.SOCKS5_access_with_s_protection_granted.
push ebx
call fcn.0041d632
add esp, 0xc
xor eax, eax
jmp 0x447083
push str.Failed_to_receive_SSPI_encryption_type.
push ebx
call fcn.0041d6ad
pop ecx
pop ecx
jmp 0x447b29
push str.Failed_to_receive_SSPI_encryption_response.
jmp 0x44790d
push str.Failed_to_send_SSPI_encryption_type.
push ebx
call fcn.0041d6ad
cmp dword [ebp - 0x58], 0
pop ecx
pop ecx
je 0x447462
push dword [ebp - 0x58]
jmp 0x447ae4
push str.Failed_to_send_SSPI_encryption_request.
jmp 0x447bb0
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, esi
push edi
call dword [0x4553fc]
call esi
pop ecx
lea eax, [ebp - 0x74]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x4553fc]
call esi
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x46f554]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4553fc]
call esi
cmp dword [ebp - 0x64], 0
je 0x447c2a
mov eax, dword [0x46f554]
push dword [ebp - 0x64]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x4553fc]
call esi
push str.Failed_to_initialise_security_context.
jmp 0x4475b8