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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x16c
mov esi, dword [esp + 0x184]
mov eax, dword [esp + 0x180]
mov dword [esp + 0x48], 0
mov edx, dword [esi]
mov edi, dword [esi + eax*4 + 0x1a0]
mov ebp, dword [edx + 0x9e0]
mov dword [esp + 0x38], edx
test ebp, ebp
je 0x4706e0
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
mov dword [esp + 4], 0x2f
mov dword [esp], ebp
mov ebx, eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x4706ea
mov dword [esp], ebp
call dword [0x536384]
test eax, eax
mov dword [esp + 0x34], eax
je 0x470781
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 [0x62f460]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], str.Kerberos
mov dword [esp], 0
call dword [eax + 0xc]
sub esp, 0x24
test eax, eax
je 0x470311
lea edx, [eax - 0x90312]
cmp edx, 2
jbe 0x470311
lea edx, [esp + 0xe0]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp], eax
mov ebp, 7
mov dword [esp + 4], edx
call fcn.0043ec30
mov dword [esp + 8], str.AcquireCredentialsHandle
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.SSPI_error:__s_failed:__s
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_acquire_credentials.
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [0x53638c]
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x10]
sub esp, 4
add esp, 0x16c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
lea ecx, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x60]
lea edx, [esp + 0x94]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], eax
mov eax, dword [0x62f460]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x88]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], 0x116
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call dword [eax + 0x18]
sub esp, 0x30
mov ebx, eax
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4703ad
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
sub esp, 4
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
test ebx, ebx
je 0x470465
lea eax, [ebx - 0x90312]
cmp eax, 2
jbe 0x470465
lea eax, [esp + 0xe0]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0043ec30
mov dword [esp + 8], str.InitializeSecurityContext
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.SSPI_error:__s_failed:__s
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [0x53638c]
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x10]
sub esp, 4
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x24]
sub esp, 4
mov eax, dword [esp + 0x84]
test eax, eax
je 0x470447
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
sub esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_initialise_security_context.
mov ebp, 7
mov dword [esp], eax
call fcn.00460000
jmp 0x470304
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4705f0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x47048f
mov dword [esp], eax
mov eax, dword [0x62f460]
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 0x4704bb
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
sub esp, 4
mov dword [esp + 0x84], 0
cmp ebx, 0x90312
mov dword [esp + 0x7c], 0
jne 0x4707c0
lea eax, [esp + 0x54]
lea ebp, [esp + 0x40]
mov dword [esp + 0xc], 4
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 8], eax
call fcn.0046e820
test eax, eax
jne 0x470793
cmp dword [esp + 0x40], 4
jne 0x470793
movzx eax, byte [esp + 0x55]
cmp al, 0xff
je 0x470940
cmp al, 1
jne 0x470970
movzx eax, word [esp + 0x56]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohs]
sub esp, 4
movzx ebx, ax
mov dword [esp + 0x7c], ebx
mov dword [esp], ebx
call dword [0x536390]
test eax, eax
mov dword [esp + 0x84], eax
je 0x470750
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], edx
call fcn.0046e820
test eax, eax
jne 0x470579
cmp ebx, dword [esp + 0x40]
lea eax, [esp + 0x68]
je 0x470313
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_receive_SSPI_authentication_token.
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4705b3
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
sub esp, 4
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x10]
sub esp, 4
lea eax, [esp + 0x68]
mov ebp, 7
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x24]
sub esp, 4
mov eax, ebp
add esp, 0x16c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0x101
movzx eax, ax
mov word [esp + 0x54], dx
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], esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.004606d0
test eax, eax
jne 0x470a02
cmp dword [esp + 0x44], 4
jne 0x470a02
lea eax, [esp + 0x44]
mov dword [esp + 4], edi
mov dword [esp], esi
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 fcn.004606d0
test eax, eax
jne 0x47067b
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x70], eax
je 0x470471
mov dword [esp + 4], str.Failed_to_send_SSPI_authentication_token.
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4706b2
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
sub esp, 4
mov edx, dword [esp + 0x84]
mov eax, dword [0x62f460]
test edx, edx
je 0x4706d0
mov dword [esp], edx
call dword [eax + 0x40]
mov eax, dword [0x62f460]
sub esp, 4
lea edi, [esp + 0x60]
mov dword [esp], edi
call dword [eax + 0x10]
jmp 0x4705c2
mov ebx, 4
mov ebp, str.rcmd
mov eax, dword [esi + 0xc4]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea eax, [ebx + eax + 2]
mov dword [esp], eax
call dword [0x536390]
test eax, eax
mov dword [esp + 0x34], eax
je 0x470781
mov edx, dword [esi + 0xc4]
mov dword [esp], edx
mov dword [esp + 0x3c], edx
call sub.msvcrt.dll_strlen
lea eax, [ebx + eax + 2]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x5ea707
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov dword [esp], eax
call fcn.004672f0
jmp 0x470182
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [0x53638c]
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x10]
sub esp, 4
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x24]
sub esp, 4
add esp, 0x16c
mov ebp, 0x1b
pop ebx
mov eax, ebp
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_receive_SSPI_authentication_response.
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [0x53638c]
jmp 0x4705b3
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [0x53638c]
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 [0x62f460]
call dword [eax + 8]
sub esp, 0xc
mov ebx, eax
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x10]
sub esp, 4
test ebx, ebx
je 0x470816
lea eax, [ebx - 0x90312]
cmp eax, 2
ja 0x470987
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 + 0x38]
mov dword [esp], eax
call fcn.0045fe80
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
sub esp, 4
mov eax, 0x201
mov edx, dword [esp + 0x48]
mov word [esp + 0x54], ax
mov eax, str.confidentiality
test dl, 0x10
jne 0x47086f
and edx, 0x10000
mov eax, str.integrity
mov edx, 0x5ea6bd
cmove eax, edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], str.SOCKS5_server_supports_GSS_API__s_data_protection._n
mov dword [esp], ebx
call fcn.0045fe80
test byte [ebx + 0xa71], 2
jne 0x470f7c
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 [0x62f460]
call dword [eax + 0x2c]
sub esp, 0xc
test eax, eax
je 0x470a0f
lea edx, [eax - 0x90312]
cmp edx, 2
jbe 0x470a0f
lea edx, [esp + 0xe0]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0043ec30
mov dword [esp + 8], str.QueryContextAttributes
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.SSPI_error:__s_failed:__s
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00460000
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x24]
sub esp, 4
mov ebp, 7
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_query_security_context_attributes.
mov dword [esp], eax
call fcn.00460000
jmp 0x470304
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 + 0x38]
mov dword [esp], eax
call fcn.00460000
jmp 0x4707a7
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x54]
mov dword [esp + 4], str.Invalid_SSPI_authentication_response_type___u__u_.
mov dword [esp + 8], eax
jmp 0x470959
lea eax, [esp + 0xe0]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp], ebx
mov ebp, 7
mov dword [esp + 4], eax
call fcn.0043ec30
mov dword [esp + 8], str.QueryCredentialAttributes
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.SSPI_error:__s_failed:__s
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00460000
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x24]
sub esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
sub esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_determine_user_name.
mov dword [esp], eax
call fcn.00460000
jmp 0x470304
mov dword [esp + 4], str.Failed_to_send_SSPI_authentication_request.
jmp 0x470683
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc0], 2
mov dword [esp + 0xbc], eax
mov dword [esp], eax
call dword [0x536390]
test eax, eax
mov dword [esp + 0xc4], eax
je 0x47076f
mov dword [esp + 0xc8], 1
mov dword [esp], 1
call dword [0x536390]
test eax, eax
mov dword [esp + 0xd0], eax
je 0x470f65
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 [0x536390]
test eax, eax
mov dword [esp + 0xdc], eax
je 0x470bcd
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 [0x62f460]
call dword [eax + 0x64]
sub esp, 0x10
test eax, eax
je 0x470b62
lea edx, [eax - 0x90312]
cmp edx, 2
jbe 0x470b62
lea edx, [esp + 0xe0]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0043ec30
mov dword [esp + 8], str.EncryptMessage
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.SSPI_error:__s_failed:__s
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
push ecx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
push ebx
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
push esi
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [0x62f460]
jmp 0x470915
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 [0x536390]
test eax, eax
mov dword [esp + 0x78], eax
jne 0x470bf7
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
sub esp, 4
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
sub esp, 4
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
jmp 0x47076c
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
push edi
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
jmp 0x47076c
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 sub.msvcrt.dll_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 sub.msvcrt.dll_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 sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
push ebx
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xbc], 0
mov dword [esp], eax
mov eax, dword [0x62f460]
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 [0x62f460]
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
lea edx, [esp + 0x44]
lea ebx, [esp + 0x54]
mov dword [esp + 0xc], 4
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebx
mov dword [esp + 0x34], edx
call fcn.004606d0
test eax, eax
mov ebp, eax
jne 0x470f35
cmp dword [esp + 0x44], 4
mov edx, dword [esp + 0x34]
jne 0x470f35
mov eax, dword [esp + 0x38]
test byte [eax + 0xa71], 2
je 0x470f94
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
mov byte [esp + 0x54], 0
call fcn.004606d0
test eax, eax
jne 0x470fdf
cmp dword [esp + 0x44], 1
jne 0x470fdf
lea eax, [esp + 0x40]
mov dword [esp + 0xc], 4
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x10], eax
call fcn.0046e820
test eax, eax
jne 0x4710e5
cmp dword [esp + 0x40], 4
jne 0x4710e5
movzx eax, byte [esp + 0x55]
cmp al, 0xff
je 0x471184
cmp al, 2
jne 0x47115e
movzx eax, word [esp + 0x56]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohs]
push edx
movzx ebx, ax
mov dword [esp + 0xbc], ebx
mov dword [esp], ebx
call dword [0x536390]
test eax, eax
mov dword [esp + 0xc4], eax
je 0x47076f
lea ecx, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xc], ecx
call fcn.0046e820
test eax, eax
jne 0x47108a
cmp ebx, dword [esp + 0x40]
jne 0x47108a
mov eax, dword [esp + 0x38]
test byte [eax + 0xa71], 2
jne 0x471005
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 [0x62f460]
call dword [eax + 0x68]
sub esp, 0x10
test eax, eax
je 0x4710a0
lea ecx, [eax - 0x90312]
cmp ecx, 2
jbe 0x4710a0
lea edx, [esp + 0xe0]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0043ec30
mov dword [esp + 8], str.DecryptMessage
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.SSPI_error:__s_failed:__s
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x470f0d
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
push eax
mov edx, dword [esp + 0xd0]
mov eax, dword [0x62f460]
test edx, edx
je 0x470f29
mov dword [esp], edx
call dword [eax + 0x40]
mov eax, dword [0x62f460]
push ebp
lea edi, [esp + 0x68]
mov dword [esp], edi
jmp 0x470915
mov dword [esp + 4], str.Failed_to_send_SSPI_encryption_request.
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4705c5
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
jmp 0x4705c2
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
jmp 0x47076c
mov dword [esp], 1
call dword [sym.imp.WS2_32.dll_htons]
push ebp
mov word [esp + 0x56], ax
jmp 0x470cfd
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], edx
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call fcn.004606d0
test eax, eax
jne 0x470ff8
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x70], eax
jne 0x470ff8
mov eax, dword [esp + 0x78]
test eax, eax
je 0x470d83
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
push ecx
jmp 0x470d83
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_send_SSPI_encryption_type.
mov dword [esp], eax
call fcn.00460000
jmp 0x4705c5
mov dword [esp + 4], str.Failed_to_send_SSPI_encryption_type.
jmp 0x470f3d
mov eax, dword [esp + 0xbc]
cmp eax, 1
jne 0x471066
mov eax, dword [esp + 0xc4]
movzx ecx, byte [eax]
mov dword [esp], eax
mov eax, dword [0x62f460]
mov byte [esp + 0x54], cl
call dword [eax + 0x40]
push eax
movzx ecx, byte [esp + 0x54]
mov eax, str.out_GSS_API_data
test cl, cl
je 0x471049
sub cl, 1
mov eax, str._GSS_API_confidentiality
mov ecx, str._GSS_API_integrity
cmove eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.SOCKS5_access_with_s_protection_granted._n
mov dword [esp], eax
call fcn.0045fe80
jmp 0x470304
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Invalid_SSPI_encryption_response_length___lu_.
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0xc4]
jmp 0x470f55
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_receive_SSPI_encryption_type.
mov dword [esp], eax
call fcn.00460000
jmp 0x47107e
mov eax, dword [esp + 0xc8]
cmp eax, 1
jne 0x4710fe
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 [0x62f460]
call dword [eax + 0x40]
push edx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
push ecx
jmp 0x47102b
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Failed_to_receive_SSPI_encryption_response.
mov dword [esp], eax
call fcn.00460000
jmp 0x4705c5
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], str.Invalid_SSPI_encryption_response_length___lu_.
mov dword [esp], eax
call fcn.00460000
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x47112d
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
push edi
mov edx, dword [esp + 0xd0]
mov eax, dword [0x62f460]
test edx, edx
je 0x471149
mov dword [esp], edx
call dword [eax + 0x40]
mov eax, dword [0x62f460]
push esi
lea edi, [esp + 0x68]
mov ebp, 7
mov dword [esp], edi
call dword [eax + 0x24]
push ebx
jmp 0x470304
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 + 0x38]
mov dword [esp], eax
call fcn.00460000
jmp 0x4705c5
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 + 0x38]
mov dword [esp], eax
call fcn.00460000
jmp 0x4705c5