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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov ebx, dword [esp + 0x104]
mov dword [esp + 0x48], 0
mov eax, dword [ebx]
mov edx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x100]
mov ebp, dword [edx + 0xa00]
mov edi, dword [ebx + eax*4 + 0x408]
test ebp, ebp
je 0x476771
mov dword [esp], ebp
call sym._strlen
mov dword [esp + 4], 0x2f
mov dword [esp], ebp
mov dword [esp + 0x38], eax
call sym._strchr
test eax, eax
je 0x47677e
mov dword [esp], ebp
call dword [0x5bcc24]
test eax, eax
mov esi, eax
je 0x476761
lea eax, [esp + 0x7c]
mov dword [esp + 0x8c], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], 2
mov dword [esp + 0x7c], 0
mov dword [esp + 0x90], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x84], 0
mov dword [esp + 0x98], 1
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x74], 2
mov dword [esp + 0x70], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x58]
mov dword [esp + 0xa4], 3
mov dword [esp + 0xa0], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x64], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x743284]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x5d70b3
mov dword [esp], 0
call dword [eax + 0xc]
mov ecx, str.AcquireCredentialsHandle
sub esp, 0x24
mov edx, eax
mov eax, ebx
call sym._check_sspi_err.isra.0
test eax, eax
je 0x476413
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Failed_to_acquire_credentials.
mov dword [esp], eax
call sym._Curl_failf
mov dword [esp], esi
call dword [0x5bcc2c]
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x10]
mov eax, 7
sub esp, 4
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0
mov dword [esp], edi
call sym._curlx_nonblock
xor eax, eax
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x60]
lea edx, [esp + 0x48]
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x94]
mov dword [esp], eax
mov eax, dword [0x743284]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x88]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x116
mov dword [esp + 8], ecx
call dword [eax + 0x18]
sub esp, 0x30
mov ebp, eax
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4764c3
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
sub esp, 4
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov ecx, str.InitializeSecurityContext
mov edx, ebp
mov eax, ebx
call sym._check_sspi_err.isra.0
test eax, eax
jne 0x476810
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x476660
mov eax, dword [esp + 0x78]
test eax, eax
je 0x476503
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
sub esp, 4
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], 0
test eax, eax
je 0x47652f
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
sub esp, 4
mov dword [esp + 0x84], 0
cmp ebp, 0x90312
mov dword [esp + 0x7c], 0
jne 0x476880
lea eax, [esp + 0x54]
lea ebp, [esp + 0x40]
mov dword [esp + 0xc], 4
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 8], eax
call sym._Curl_blockread_all
test eax, eax
jne 0x4767e2
cmp dword [esp + 0x40], 4
jne 0x4767e2
movzx eax, byte [esp + 0x55]
cmp al, 0xff
je 0x476920
cmp al, 1
jne 0x476950
movzx eax, word [esp + 0x56]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohs]
sub esp, 4
movzx esi, ax
mov dword [esp + 0x7c], esi
mov dword [esp], esi
call dword [0x5bcc30]
test eax, eax
mov dword [esp + 0x84], eax
je 0x476730
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0xc], ecx
call sym._Curl_blockread_all
test eax, eax
jne 0x4765ed
cmp esi, dword [esp + 0x40]
lea eax, [esp + 0x68]
je 0x476429
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_receive_SSPI_authentication_token.
mov dword [esp], eax
call sym._Curl_failf
mov dword [esp], esi
call dword [0x5bcc2c]
mov eax, dword [esp + 0x84]
test eax, eax
je 0x476627
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
sub esp, 4
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x10]
sub esp, 4
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x24]
sub esp, 4
mov eax, 7
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, ax
mov byte [esp + 0x54], 1
mov byte [esp + 0x55], 1
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_htons]
sub esp, 4
mov word [esp + 0x56], ax
lea eax, [esp + 0x44]
mov dword [esp + 0xc], 4
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call sym._Curl_write_plain
test eax, eax
jne 0x476970
cmp dword [esp + 0x44], 4
jne 0x476970
lea eax, [esp + 0x44]
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call sym._Curl_write_plain
test eax, eax
jne 0x4766eb
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x70], eax
je 0x4764e5
mov esi, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_send_SSPI_authentication_token.
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym._Curl_failf
mov dword [esp], esi
call dword [0x5bcc2c]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x47660e
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
sub esp, 4
jmp 0x47660e
mov esi, dword [esp + 0x38]
mov dword [esp], esi
call dword [0x5bcc2c]
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x10]
sub esp, 4
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x24]
sub esp, 4
add esp, 0xec
mov eax, 0x1b
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x38], 4
mov ebp, str.rcmd
mov eax, dword [ebx + 0x32c]
mov dword [esp], eax
call sym._strlen
mov esi, dword [esp + 0x38]
lea eax, [esi + eax + 2]
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov esi, eax
je 0x476761
mov ecx, dword [ebx + 0x32c]
mov dword [esp], ecx
mov dword [esp + 0x3c], ecx
call sym._strlen
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x5d70ad
mov dword [esp], esi
lea eax, [edx + eax + 2]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
call sym._curl_msnprintf
jmp 0x4762c4
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Failed_to_receive_SSPI_authentication_response.
mov esi, dword [esp + 0x38]
mov dword [esp], eax
call sym._Curl_failf
mov dword [esp], esi
call dword [0x5bcc2c]
jmp 0x476627
mov esi, dword [esp + 0x38]
mov dword [esp], esi
call dword [0x5bcc2c]
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x10]
sub esp, 4
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x24]
sub esp, 4
mov eax, dword [esp + 0x84]
test eax, eax
je 0x47685a
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Failed_to_initialise_security_context.
mov dword [esp], eax
call sym._Curl_failf
mov eax, 7
jmp 0x476408
mov esi, dword [esp + 0x38]
mov dword [esp], esi
call dword [0x5bcc2c]
lea eax, [esp + 0x4c]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 8]
sub esp, 0xc
mov esi, eax
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x10]
mov ecx, str.QueryCredentialAttributes
sub esp, 4
mov edx, esi
mov eax, ebx
call sym._check_sspi_err.isra.0
test eax, eax
je 0x476981
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x24]
sub esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Failed_to_determine_user_name.
mov dword [esp], eax
call sym._Curl_failf
mov eax, 7
jmp 0x476408
movzx eax, byte [esp + 0x54]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0xff
mov dword [esp + 4], str.User_was_rejected_by_the_SOCKS5_server___u__u_.
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x4767fa
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x54]
mov esi, dword [esp + 0x38]
mov dword [esp + 4], str.Invalid_SSPI_authentication_response_type___u__u_.
mov dword [esp + 8], eax
jmp 0x47693d
mov esi, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_send_SSPI_authentication_request.
jmp 0x4766f7
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], str.SOCKS5_server_authencticated_user__s_with_GSS_API._n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym._Curl_infof
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
sub esp, 4
mov eax, str.confidentiality
mov edx, dword [esp + 0x48]
mov byte [esp + 0x54], 1
mov byte [esp + 0x55], 2
test dl, 0x10
jne 0x4769da
and edx, 0x10000
mov eax, 0x5d705d
mov edx, str.integrity
cmovne eax, edx
mov esi, dword [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.SOCKS5_server_supports_GSS_API__s_data_protection._n
mov dword [esp], esi
call sym._Curl_infof
test byte [esi + 0xac1], 2
je 0x476a73
mov dword [esp], 1
call dword [sym.imp.WS2_32.dll_htons]
sub esp, 4
mov word [esp + 0x56], ax
lea ebp, [esp + 0x44]
lea esi, [esp + 0x54]
mov dword [esp + 0xc], 4
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 8], esi
call sym._Curl_write_plain
test eax, eax
jne 0x476a43
cmp dword [esp + 0x44], 4
je 0x476be7
mov dword [esp + 4], str.Failed_to_send_SSPI_encryption_request.
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym._Curl_failf
mov eax, dword [esp + 0x78]
test eax, eax
je 0x476639
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
jmp 0x476636
lea eax, [esp + 0xac]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x2c]
mov ecx, str.QueryContextAttributes
sub esp, 0xc
mov edx, eax
mov eax, ebx
call sym._check_sspi_err.isra.0
test eax, eax
je 0x476ada
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x24]
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Failed_to_query_security_context_attributes.
mov dword [esp], eax
call sym._Curl_failf
mov eax, 7
jmp 0x476408
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc0], 2
mov dword [esp + 0xbc], eax
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov dword [esp + 0xc4], eax
je 0x47674f
mov dword [esp + 0xc8], 1
mov dword [esp], 1
call dword [0x5bcc30]
test eax, eax
mov dword [esp + 0xd0], eax
je 0x476c3d
mov byte [eax], 0
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xd8], 9
mov dword [esp + 0xd4], eax
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov dword [esp + 0xdc], eax
je 0x476dcc
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x80000001
mov dword [esp + 8], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x64]
mov ecx, str.EncryptMessage
sub esp, 0x10
mov edx, eax
mov eax, ebx
call sym._check_sspi_err.isra.0
test eax, eax
je 0x476c93
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push esi
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push edi
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push esi
jmp 0x476aaa
mov eax, dword [esp + 0x34]
test byte [eax + 0xac1], 2
je 0x476c54
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 1
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
mov byte [esp + 0x54], 0
call sym._Curl_write_plain
test eax, eax
jne 0x476c24
cmp dword [esp + 0x44], 1
je 0x476e0a
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Failed_to_send_SSPI_encryption_type.
mov dword [esp], eax
call sym._Curl_failf
jmp 0x476639
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
jmp 0x47674c
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], ebp
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call sym._Curl_write_plain
test eax, eax
jne 0x476c86
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x70], eax
je 0x476df6
mov dword [esp + 4], str.Failed_to_send_SSPI_encryption_type.
jmp 0x476a4b
mov eax, dword [esp + 0xc8]
add eax, dword [esp + 0xbc]
add eax, dword [esp + 0xd4]
mov dword [esp + 0x70], eax
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov dword [esp + 0x78], eax
je 0x476e85
mov edx, dword [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 8], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 4], edx
call sym._memcpy
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xbc]
add eax, dword [esp + 0x78]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._memcpy
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xc8]
add eax, dword [esp + 0xbc]
add eax, dword [esp + 0x78]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._memcpy
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push esi
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xbc], 0
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push ebp
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xd0], 0
mov dword [esp + 0xc8], 0
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push eax
movzx eax, word [esp + 0x70]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd4], 0
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_htons]
push edx
mov word [esp + 0x56], ax
jmp 0x476a10
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push ebp
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
jmp 0x47674c
mov eax, dword [esp + 0x78]
test eax, eax
je 0x476e0a
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push ecx
lea ebp, [esp + 0x40]
mov dword [esp + 0xc], 4
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x10], ebp
call sym._Curl_blockread_all
test eax, eax
jne 0x476e35
cmp dword [esp + 0x40], 4
je 0x476e4e
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Failed_to_receive_SSPI_encryption_response.
mov dword [esp], eax
call sym._Curl_failf
jmp 0x476639
movzx eax, byte [esp + 0x55]
cmp al, 0xff
je 0x476f3c
cmp al, 2
je 0x476ec2
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x54]
mov dword [esp + 4], str.Invalid_SSPI_encryption_response_type___u__u_.
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x476639
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push ecx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push ebx
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
jmp 0x47674c
movzx eax, word [esp + 0x56]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohs]
push edx
movzx esi, ax
mov dword [esp + 0xbc], esi
mov dword [esp], esi
call dword [0x5bcc30]
test eax, eax
mov dword [esp + 0xc4], eax
je 0x47674f
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x10], ebp
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0xc], edx
call sym._Curl_blockread_all
test eax, eax
jne 0x476f1c
cmp esi, dword [esp + 0x40]
je 0x476f66
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Failed_to_receive_SSPI_encryption_type.
mov dword [esp], eax
call sym._Curl_failf
mov eax, dword [esp + 0xc4]
jmp 0x476a63
movzx eax, byte [esp + 0x54]
mov dword [esp + 0xc], 0xff
mov dword [esp + 4], str.User_was_rejected_by_the_SOCKS5_server___u__u_.
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x476639
mov eax, dword [esp + 0x34]
test byte [eax + 0xac1], 2
je 0x476fa7
mov eax, dword [esp + 0xbc]
cmp eax, 1
je 0x477118
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Invalid_SSPI_encryption_response_length___lu_.
mov dword [esp], eax
call sym._Curl_failf
mov eax, dword [esp + 0xc4]
jmp 0x476a63
lea eax, [esp + 0x50]
mov dword [esp + 0xa4], 2
mov dword [esp + 0xc0], 0xa
mov dword [esp + 0xcc], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xd0], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x68]
mov ecx, str.DecryptMessage
sub esp, 0x10
mov edx, eax
mov eax, ebx
call sym._check_sspi_err.isra.0
test eax, eax
je 0x477048
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x477034
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push edi
mov eax, dword [esp + 0xd0]
test eax, eax
jne 0x476bd6
jmp 0x476aaa
mov eax, dword [esp + 0xc8]
cmp eax, 1
je 0x477097
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Invalid_SSPI_encryption_response_length___lu_.
mov dword [esp], eax
call sym._Curl_failf
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x477083
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push ebx
mov eax, dword [esp + 0xd0]
test eax, eax
jne 0x476a63
jmp 0x476639
mov eax, dword [esp + 0xd0]
movzx eax, byte [eax]
mov byte [esp + 0x54], al
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push edx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
push ecx
mov dword [esp + 4], 1
mov dword [esp], edi
call sym._curlx_nonblock
movzx edx, byte [esp + 0x54]
mov eax, str.out_GSS_API_data
test dl, dl
je 0x4770f9
sub dl, 1
mov eax, str._GSS_API_integrity
mov edx, str._GSS_API_confidentiality
cmovne eax, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.SOCKS5_access_with_s_protection_granted._n
mov dword [esp], eax
call sym._Curl_infof
xor eax, eax
jmp 0x476408
mov eax, dword [esp + 0xc4]
movzx edx, byte [eax]
mov dword [esp], eax
mov eax, dword [0x743284]
mov byte [esp + 0x54], dl
call dword [eax + 0x40]
push eax
jmp 0x4770cb