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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x31c
mov ebx, dword [esp + 0x344]
mov eax, dword [esp + 0x340]
mov edi, dword [ebx + eax*4 + 0x194]
mov eax, dword [esp + 0x338]
mov ebp, dword [ebx]
mov esi, dword [ebx + 0xcc]
mov dword [esp], eax
call sym._strlen
cmp byte [ebx + 0x25e], 0
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x15c]
mov dword [esp + 0x50], eax
jne 0x432e70
cmp esi, 5
setne dl
cmp dword [esp + 0x54], 0xff
seta al
and dl, al
mov byte [esp + 0x5b], dl
jne 0x432e48
cmp esi, 5
sete byte [esp + 0x5b]
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], ebp
call sym._Curl_timeleft
mov esi, eax
test eax, eax
js 0x432ea0
mov dword [esp + 4], 1
mov dword [esp], edi
call sym._curlx_nonblock
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0xffffffff
call sym._Curl_socket_check
cmp eax, 0xffffffff
je 0x432f08
test eax, eax
je 0x432ec0
test al, 4
jne 0x432ed8
test dword [esp + 0x50], 0xfffffffa
jne 0x432df8
test byte [esp + 0x50], 1
mov byte [esp + 0xb8], 5
mov byte [esp + 0xba], 0
je 0x432f20
mov eax, dword [esp + 0x330]
test eax, eax
je 0x432f20
mov byte [esp + 0xbb], 2
mov eax, 2
mov dword [esp + 4], 0
mov dword [esp], edi
mov byte [esp + 0xb9], al
call sym._curlx_nonblock
mov eax, dword [esp + 0x33c]
mov dword [esp + 4], str.SOCKS5_communication_to__s:_d_n
mov dword [esp], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x338]
mov dword [esp + 8], eax
call sym._Curl_infof
lea eax, [esp + 0x70]
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0xb9]
mov dword [esp], ebx
add eax, 2
mov dword [esp + 0xc], eax
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
call sym._Curl_write_plain
test eax, eax
jne 0x432e20
movzx eax, byte [esp + 0xb9]
add eax, 2
cmp eax, dword [esp + 0x70]
jne 0x432e20
mov dword [esp + 4], 1
mov dword [esp], edi
call sym._curlx_nonblock
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call sym._Curl_socket_check
cmp eax, 0xffffffff
je 0x433228
test eax, eax
je 0x4330b0
test al, 4
jne 0x432f38
mov dword [esp + 4], 0
mov dword [esp], edi
call sym._curlx_nonblock
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._Curl_blockread_all
mov esi, eax
test eax, eax
jne 0x432ef0
cmp dword [esp + 0x6c], 2
jne 0x432ef0
cmp byte [esp + 0xb8], 5
jne 0x4331b8
movzx eax, byte [esp + 0xb9]
test al, al
je 0x432f58
cmp al, 2
jne 0x4331d0
mov ecx, dword [esp + 0x330]
test ecx, ecx
je 0x433255
mov edx, dword [esp + 0x334]
test edx, edx
je 0x433255
mov eax, dword [esp + 0x330]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x334]
mov dword [esp], eax
call sym._strlen
mov ecx, dword [esp + 0x50]
mov byte [esp + 0xb8], 1
mov edx, eax
mov byte [esp + 0xb9], cl
test ecx, ecx
je 0x432d04
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x330]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xba]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memcpy
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
lea eax, [ecx + 3]
mov byte [esp + ecx + 0xba], dl
mov dword [esp + 0x50], eax
test edx, edx
je 0x432d42
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xb8]
mov dword [esp + 8], edx
mov dword [esp + 0x5c], edx
add eax, ecx
mov ecx, dword [esp + 0x334]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._memcpy
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
add eax, edx
mov dword [esp + 0x50], eax
mov edx, eax
lea eax, [esp + 0x70]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._Curl_write_plain
test eax, eax
jne 0x433240
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x70], eax
jne 0x433240
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._Curl_blockread_all
test eax, eax
jne 0x433357
cmp dword [esp + 0x6c], 2
jne 0x433357
movzx eax, byte [esp + 0xb9]
test al, al
je 0x432f58
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0xb8]
mov dword [esp + 4], str.User_was_rejected_by_the_SOCKS5_server___d__d_.
mov dword [esp + 8], eax
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
mov eax, dword [esp + 0x50]
mov dword [esp + 4], str.warning:_unsupported_value_passed_to_CURLOPT_SOCKS5_AUTH:__lu_n
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_infof
jmp 0x432b0b
mov dword [esp + 4], str.Unable_to_send_initial_SOCKS5_request.
mov dword [esp], ebp
call sym._Curl_failf
mov edx, 7
add esp, 0x31c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x54]
mov dword [esp + 4], str.SOCKS5:_server_resolving_disabled_for_hostnames_of_length___255__actual_len_zu__n
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_infof
jmp 0x432a96
mov eax, dword [esp + 0x33c]
mov dword [esp + 4], str.SOCKS5:_connecting_to_HTTP_proxy__s_port__d_n
mov dword [esp], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x338]
mov dword [esp + 8], eax
call sym._Curl_infof
jmp 0x432a71
mov dword [esp + 4], str.Connection_time_out
mov dword [esp], ebp
call sym._Curl_failf
mov edx, 0x1c
jmp 0x432e35
mov dword [esp + 4], str.SOCKS5:_connection_timeout
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432eb0
mov dword [esp + 4], str.SOCKS5:_error_occurred_during_connection
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432e30
mov dword [esp + 4], str.Unable_to_receive_initial_SOCKS5_response.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
mov dword [esp + 4], str.SOCKS5:_no_connection_here
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432e30
mov dword [esp + 0x330], 0
mov eax, 1
jmp 0x432b42
mov dword [esp + 4], str.SOCKS5_read_error_occurred
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
mov edx, 0x38
jmp 0x432e35
movzx eax, word [0x463f4a]
cmp byte [esp + 0x5b], 0
mov byte [esp + 0xba], 0
mov word [esp + 0xb8], ax
jne 0x4330d0
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x338]
mov byte [esp + 0xbb], 3
mov eax, esi
mov dword [esp + 8], esi
mov byte [esp + 0xbc], al
lea eax, [esp + 0xbd]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memcpy
lea eax, [esi + 5]
mov ecx, dword [esp + 0x33c]
lea esi, [eax + 2]
mov byte [esp + eax + 0xb8], ch
movzx ecx, byte [esp + 0x33c]
mov byte [esp + eax + 0xb9], cl
lea eax, [esp + 0x70]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._Curl_write_plain
test eax, eax
jne 0x433210
cmp dword [esp + 0x70], esi
jne 0x433210
mov dword [esp + 0x50], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._Curl_blockread_all
test eax, eax
jne 0x4332de
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x50]
cmp esi, 0xa
jne 0x4332de
cmp byte [esp + 0xb8], 5
jne 0x43346a
movzx eax, byte [esp + 0xbb]
cmp al, 3
je 0x4333fb
cmp al, 4
je 0x433293
movzx eax, byte [esp + 0xb9]
test al, al
jne 0x43347f
mov dword [esp + 4], str.SOCKS5_request_granted._n
mov dword [esp], ebp
mov dword [esp + 0x50], edx
call sym._Curl_infof
mov dword [esp + 4], 1
mov dword [esp], edi
call sym._curlx_nonblock
mov edx, dword [esp + 0x50]
jmp 0x432e35
mov dword [esp + 4], str.SOCKS5_read_timeout
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432eb0
mov eax, dword [esp + 0x33c]
lea edx, [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x338]
mov dword [esp + 4], eax
call sym._Curl_resolv
cmp eax, 0xffffffff
je 0x433332
cmp eax, 1
lea edx, [esp + 0x74]
je 0x43333c
mov eax, dword [esp + 0x74]
test eax, eax
je 0x433317
mov edx, dword [eax]
test edx, edx
je 0x433317
lea ecx, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x40
mov dword [esp + 0x50], edx
call sym._Curl_printable_address
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x78]
mov eax, dword [edx + 4]
cmp eax, 2
je 0x43336c
cmp eax, 0x17
jne 0x4332f3
mov byte [esp + 0xbb], 4
mov eax, dword [edx + 0x18]
lea esi, cs:[esi]
nop
movzx edx, byte [eax + esi + 8]
mov byte [esp + esi + 0xbc], dl
add esi, 1
cmp esi, 0x10
jne 0x433170
mov dword [esp + 8], ecx
mov dword [esp + 4], str.SOCKS5_connect_to_IPv6__s__locally_resolved__n
mov dword [esp], ebp
call sym._Curl_infof
mov eax, dword [esp + 0x74]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym._Curl_resolv_unlock
mov eax, 0x14
jmp 0x432fb0
mov dword [esp + 4], str.Received_invalid_version_in_initial_SOCKS5_response.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
cmp al, 1
je 0x4333e6
cmp al, 0xff
jne 0x43327e
mov eax, dword [esp + 0x330]
test eax, eax
je 0x4331fb
mov eax, dword [esp + 0x330]
cmp byte [eax], 0
jne 0x4333d1
mov dword [esp + 4], str.No_authentication_method_was_acceptable.__It_is_quite_likely_that_the_SOCKS5_server_wanted_a_username_password__since_none_was_supplied_to_the_server_on_this_connection._
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
mov dword [esp + 4], str.Failed_to_send_SOCKS5_connect_request.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
mov dword [esp + 4], str.SOCKS5_nothing_to_read
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432e30
mov dword [esp + 4], str.Failed_to_send_SOCKS5_sub_negotiation_request.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
movzx eax, word [0x463f48]
mov byte [esp + 0xba], 0
mov edx, 3
mov dword [esp + 0x50], 3
mov word [esp + 0xb8], ax
jmp 0x432d4e
mov dword [esp + 4], str.Undocumented_SOCKS5_mode_attempted_to_be_used_by_server.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
mov ecx, 0xc
mov esi, 0x16
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc2]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
call sym._Curl_blockread_all
test eax, eax
jne 0x4332de
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x54]
je 0x43306f
mov dword [esp + 4], str.Failed_to_receive_SOCKS5_connect_request_ack.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
mov dword [esp + 8], ecx
mov dword [esp + 4], str.SOCKS5_connection_to__s_not_supported_n
mov dword [esp], ebp
call sym._Curl_failf
mov eax, dword [esp + 0x74]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym._Curl_resolv_unlock
mov eax, dword [esp + 0x338]
mov dword [esp + 4], str.Failed_to_resolve___s__for_SOCKS5_connect.
mov dword [esp], ebp
mov dword [esp + 8], eax
call sym._Curl_failf
mov edx, 6
jmp 0x432e35
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym._Curl_resolver_wait_resolv
mov edx, eax
test eax, eax
je 0x43310c
jmp 0x432e35
mov dword [esp + 4], str.Unable_to_receive_SOCKS5_sub_negotiation_response.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
mov eax, dword [edx + 0x18]
mov byte [esp + 0xbb], 1
movzx edx, byte [eax + 4]
mov byte [esp + 0xbc], dl
movzx edx, byte [eax + 5]
mov byte [esp + 0xbd], dl
movzx edx, byte [eax + 6]
movzx eax, byte [eax + 7]
mov dword [esp + 8], ecx
mov dword [esp + 4], str.SOCKS5_connect_to_IPv4__s__locally_resolved__n
mov dword [esp], ebp
mov byte [esp + 0xbe], dl
mov byte [esp + 0xbf], al
call sym._Curl_infof
mov eax, dword [esp + 0x74]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym._Curl_resolv_unlock
mov eax, 8
jmp 0x432fb0
mov dword [esp + 4], str.No_authentication_method_was_acceptable.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
mov dword [esp + 4], str.SOCKS5_GSSAPI_per_message_authentication_is_not_supported.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
movzx eax, byte [esp + 0xbc]
lea esi, [eax + 7]
lea ecx, [eax - 3]
cmp esi, 0xa
jg 0x43329d
movzx eax, byte [esp + 0xb9]
test al, al
je 0x43307f
movzx edx, byte [esp + esi + 0xb6]
mov byte [esp + esi + 0xb6], 0
mov dword [esp + 0x10], eax
movzx ecx, byte [esp + esi + 0xb7]
movzx eax, dl
mov dword [esp + 4], str.Cant_complete_SOCKS5_connection_to__s:_d.___d_
shl eax, 8
mov dword [esp], ebp
or eax, ecx
mov dword [esp + 0xc], eax
lea eax, [esp + 0xbd]
mov dword [esp + 8], eax
call sym._Curl_failf
jmp 0x432e30
mov dword [esp + 4], str.SOCKS5_reply_has_wrong_version__version_should_be_5.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
movzx edx, byte [esp + 0xbb]
cmp dl, 1
je 0x43358a
cmp dl, 3
je 0x433422
cmp dl, 4
jne 0x432e30
mov dword [esp + 0x4c], eax
movzx eax, word [esp + 0xcc]
rol ax, 8
movzx eax, ax
mov dword [esp + 0x48], eax
movzx eax, byte [esp + 0xcb]
mov dword [esp + 0x44], eax
movzx eax, byte [esp + 0xca]
mov dword [esp + 0x40], eax
movzx eax, byte [esp + 0xc9]
mov dword [esp + 0x3c], eax
movzx eax, byte [esp + 0xc8]
mov dword [esp + 0x38], eax
movzx eax, byte [esp + 0xc7]
mov dword [esp + 0x34], eax
movzx eax, byte [esp + 0xc6]
mov dword [esp + 0x30], eax
movzx eax, byte [esp + 0xc5]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0xc4]
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0xc3]
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0xc2]
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0xc1]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0xc0]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0xbf]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0xbe]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0xbd]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0xbc]
mov dword [esp + 4], str.Cant_complete_SOCKS5_connection_to__02x_02x:_02x_02x:_02x_02x:_02x_02x:_02x_02x:_02x_02x:_02x_02x:_02x_02x:_d.___d_
mov dword [esp + 8], eax
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432e30
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0xc0]
mov dword [esp + 4], str.Cant_complete_SOCKS5_connection_to__d._d._d._d:_d.___d_
rol ax, 8
mov dword [esp], ebp
movzx eax, ax
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0xbf]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0xbe]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0xbd]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0xbc]
mov dword [esp + 8], eax
call sym._Curl_failf
jmp 0x432e30