Function at 0x432910
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 0x432d60
cmp esi, 5
setne dl
cmp dword [esp + 0x54], 0xff
seta al
and dl, al
mov byte [esp + 0x5b], dl
jne 0x432d38
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 0x432d90
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 0x432df8
test eax, eax
je 0x432db0
test al, 4
jne 0x432dc8
test dword [esp + 0x50], 0xfffffffa
jne 0x432ce8
test byte [esp + 0x50], 1
mov byte [esp + 0xb8], 5
mov byte [esp + 0xba], 0
je 0x432cd0
mov eax, dword [esp + 0x330]
test eax, eax
je 0x432f80
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 0x432d10
movzx eax, byte [esp + 0xb9]
add eax, 2
cmp eax, dword [esp + 0x70]
jne 0x432d10
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 0x4330f8
test eax, eax
je 0x432f90
test al, 4
jne 0x432e10
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
test eax, eax
jne 0x432de0
cmp dword [esp + 0x6c], 2
jne 0x432de0
cmp byte [esp + 0xb8], 5
jne 0x433080
movzx eax, byte [esp + 0xb9]
test al, al
je 0x432e30
cmp al, 2
jne 0x433098
mov eax, dword [esp + 0x330]
test eax, eax
je 0x433125
mov esi, dword [esp + 0x334]
test esi, esi
je 0x433125
mov eax, dword [esp + 0x330]
mov dword [esp], eax
call sym._strlen
mov esi, eax
mov eax, dword [esp + 0x334]
mov dword [esp], eax
call sym._strlen
mov byte [esp + 0xb8], 1
mov ecx, eax
mov eax, esi
mov byte [esp + 0xb9], al
test esi, esi
je 0x432bea
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x330]
lea eax, [esp + 0xba]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memcpy
mov ecx, dword [esp + 0x50]
mov byte [esp + esi + 0xba], cl
lea edx, [esi + 3]
test ecx, ecx
je 0x432c28
mov dword [esp + 8], ecx
lea eax, [esp + 0xb8]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x334]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x5c], edx
call sym._memcpy
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
add edx, ecx
mov esi, edx
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 0x433110
cmp dword [esp + 0x70], esi
jne 0x433110
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 0x43321d
cmp dword [esp + 0x6c], 2
jne 0x43321d
movzx eax, byte [esp + 0xb9]
test al, al
je 0x432e30
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 0x432d20
mov dword [esp + 0x330], 0
mov eax, 1
jmp 0x432a32
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 0x4329fb
mov dword [esp + 4], str.Unable_to_send_initial_SOCKS5_request.
mov dword [esp], ebp
call sym._Curl_failf
mov esi, 7
add esp, 0x31c
mov eax, esi
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 0x432986
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 0x432961
mov dword [esp + 4], str.Connection_time_out
mov dword [esp], ebp
call sym._Curl_failf
mov esi, 0x1c
jmp 0x432d25
mov dword [esp + 4], str.SOCKS5:_connection_timeout
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432da0
mov dword [esp + 4], str.SOCKS5:_error_occurred_during_connection
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432d20
mov dword [esp + 4], str.Unable_to_receive_initial_SOCKS5_response.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432d20
mov dword [esp + 4], str.SOCKS5:_no_connection_here
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432d20
mov dword [esp + 4], str.SOCKS5_read_error_occurred
mov eax, dword [ebx]
mov esi, 0x38
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432d25
mov eax, 0x105
cmp byte [esp + 0x5b], 0
mov byte [esp + 0xba], 0
mov word [esp + 0xb8], ax
jne 0x432fb0
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x338]
mov byte [esp + 0xbb], 3
mov eax, esi
mov dword [esp + 8], esi
add esi, 5
mov byte [esp + 0xbc], al
lea eax, [esp + 0xbd]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memcpy
mov eax, dword [esp + 0x33c]
lea edx, [esi + 2]
mov dword [esp + 0x50], edx
mov byte [esp + esi + 0xb8], ah
movzx eax, byte [esp + 0x33c]
mov byte [esp + esi + 0xb9], al
lea eax, [esp + 0x70]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._Curl_write_plain
mov esi, eax
test eax, eax
jne 0x4330e0
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x70], edx
jne 0x4330e0
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], 0xa
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 0x4331a4
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
cmp eax, 0xa
jne 0x4331a4
cmp byte [esp + 0xb8], 5
jne 0x433338
movzx eax, byte [esp + 0xbb]
cmp al, 3
je 0x4332c1
cmp al, 4
je 0x43315e
movzx eax, byte [esp + 0xb9]
test al, al
jne 0x43334d
mov dword [esp + 4], str.SOCKS5_request_granted._n
mov dword [esp], ebp
call sym._Curl_infof
mov dword [esp + 4], 1
mov dword [esp], edi
call sym._curlx_nonblock
jmp 0x432d25
mov eax, 1
jmp 0x432a32
mov dword [esp + 4], str.SOCKS5_read_timeout
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432da0
mov eax, dword [esp + 0x33c]
lea esi, [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x338]
mov dword [esp + 4], eax
call sym._Curl_resolv
cmp eax, 0xffffffff
je 0x4331f8
cmp eax, 1
je 0x433202
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4331dd
mov esi, dword [eax]
test esi, esi
je 0x4331dd
lea edx, [esp + 0x78]
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], esi
call sym._Curl_printable_address
mov eax, dword [esi + 4]
lea edx, [esp + 0x78]
cmp eax, 2
je 0x433232
cmp eax, 0x17
jne 0x4331b9
mov byte [esp + 0xbb], 4
mov eax, dword [esi + 0x18]
mov esi, 4
nop
add esi, 1
movzx ecx, byte [eax + esi + 3]
mov byte [esp + esi + 0xb7], cl
cmp esi, 0x14
jne 0x433040
mov dword [esp + 8], edx
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
jmp 0x432e86
mov dword [esp + 4], str.Received_invalid_version_in_initial_SOCKS5_response.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432d20
cmp al, 1
je 0x4332ac
cmp al, 0xff
jne 0x433149
mov edx, dword [esp + 0x330]
test edx, edx
je 0x4330c3
mov eax, dword [esp + 0x330]
cmp byte [eax], 0
jne 0x433297
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 0x432d20
mov dword [esp + 4], str.Failed_to_send_SOCKS5_connect_request.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432d20
mov dword [esp + 4], str.SOCKS5_nothing_to_read
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x432d20
mov dword [esp + 4], str.Failed_to_send_SOCKS5_sub_negotiation_request.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432d20
mov ecx, 1
mov esi, 3
mov edx, 3
mov byte [esp + 0xba], 0
mov word [esp + 0xb8], cx
jmp 0x432c2c
mov dword [esp + 4], str.Undocumented_SOCKS5_mode_attempted_to_be_used_by_server.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432d20
mov dword [esp + 0x50], 0x16
mov edx, 0xc
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], edx
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
call sym._Curl_blockread_all
test eax, eax
jne 0x4331a4
mov edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x6c]
je 0x432f4b
mov dword [esp + 4], str.Failed_to_receive_SOCKS5_connect_request_ack.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432d20
mov dword [esp + 8], edx
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 esi, 6
jmp 0x432d25
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._Curl_resolver_wait_resolv
mov esi, eax
test eax, eax
je 0x432fe8
jmp 0x432d25
mov dword [esp + 4], str.Unable_to_receive_SOCKS5_sub_negotiation_response.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432d20
mov eax, dword [esi + 0x18]
mov byte [esp + 0xbb], 1
mov esi, 8
movzx ecx, byte [eax + 4]
mov byte [esp + 0xbc], cl
movzx ecx, byte [eax + 5]
mov byte [esp + 0xbd], cl
movzx ecx, byte [eax + 6]
movzx eax, byte [eax + 7]
mov dword [esp + 8], edx
mov dword [esp + 4], str.SOCKS5_connect_to_IPv4__s__locally_resolved__n
mov dword [esp], ebp
mov byte [esp + 0xbe], cl
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
jmp 0x432e86
mov dword [esp + 4], str.No_authentication_method_was_acceptable.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432d20
mov dword [esp + 4], str.SOCKS5_GSSAPI_per_message_authentication_is_not_supported.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432d20
movzx edx, byte [esp + 0xbc]
lea eax, [edx + 7]
sub edx, 3
mov dword [esp + 0x50], eax
cmp eax, 0xa
jg 0x43316b
movzx eax, byte [esp + 0xb9]
test al, al
je 0x432f5b
mov edi, dword [esp + 0x50]
movzx edx, byte [esp + edi + 0xb6]
mov byte [esp + edi + 0xb6], 0
mov dword [esp + 0x10], eax
movzx ecx, byte [esp + edi + 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 0x432d20
mov dword [esp + 4], str.SOCKS5_reply_has_wrong_version__version_should_be_5.
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x432d20
movzx edx, byte [esp + 0xbb]
cmp dl, 1
je 0x433458
cmp dl, 3
je 0x4332ec
cmp dl, 4
jne 0x432d20
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 0x432d20
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 0x432d20