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

Disassembly:
push 0xffffffffffffffff
push 0x49220d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x268]
push edi
mov ecx, esi
call fcn.0040b7da
mov edi, eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x18], edi
call fcn.0041d9e0
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
mov dword [esp + 0x240], 0
call fcn.0040b795
lea ecx, [esp + 0x4c]
call fcn.0041d9e0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x23c], 1
push ecx
mov ecx, esi
call fcn.0040b7ad
lea ecx, [esp + 0x78]
call fcn.0041d9e0
lea edx, [esp + 0x78]
mov ecx, esi
push edx
mov byte [esp + 0x240], 2
call fcn.0040b7c2
test edi, edi
je 0x46851d
lea ecx, [esp + 0xa0]
call fcn.0041c950
test eax, eax
je 0x46851d
mov ebx, dword [esp + 0x264]
test ebx, ebx
je 0x467c61
lea ecx, [esp + 0x10c]
call fcn.0041d9e0
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x10c]
push eax
mov byte [esp + 0x240], 3
call fcn.0041ead0
push 0x3a
lea ecx, [esp + 0x110]
call fcn.0041cd20
mov ecx, dword [esp + 0x24c]
push ecx
lea ecx, [esp + 0x110]
call fcn.0041d190
lea ecx, [esp + 0x10c]
call fcn.0041c940
push eax
push str.Socks5Connect
mov ecx, ebx
call fcn.004308d0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x23c], 2
call fcn.0041dcd0
mov esi, dword [esp + 0x25c]
push 1
push str.SOCKS5
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x20]
mov ebp, dword [esi]
lea ecx, [esp + 0xa0]
call fcn.0041c940
push eax
push str.socksHostname
mov ecx, esi
call dword [ebp + 0x28]
mov eax, dword [esi]
push edi
push str.socksPort
mov ecx, esi
call dword [eax + 0x2c]
mov edi, dword [esi]
lea ecx, [esp + 0x4c]
call fcn.0041c940
push eax
push str.socksUsername
mov ecx, esi
call dword [edi + 0x28]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esp + 0x248]
lea ecx, [esp + 0xc8]
push eax
call fcn.0041d8e0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x23c], 4
call fcn.0041ca30
lea ecx, [esp + 0xc8]
call fcn.0041c950
test eax, eax
jne 0x467d02
mov edx, dword [esi]
push str.No_target_hostname_for_SOCKS5_connection.
mov ecx, esi
call dword [edx + 0x10]
jmp 0x468507
lea ecx, [esp + 0xc8]
call fcn.0041c940
mov edi, eax
lea ecx, [esp + 0xc8]
mov dword [esp + 0x100], edi
call fcn.0041c950
xor edx, edx
mov dword [esp + 0x74], eax
test eax, eax
mov byte [esp + 0x17], 0
jle 0x467d49
mov cl, byte [edx + edi]
cmp cl, 0x2e
je 0x467d44
cmp cl, 0x30
jl 0x467d9a
cmp cl, 0x39
jg 0x467d9a
inc edx
cmp edx, eax
jl 0x467d32
lea eax, [esp + 0x104]
lea ecx, [esp + 0x108]
push eax
lea edx, [esp + 0xfc]
push ecx
lea eax, [esp + 0x104]
push edx
push eax
push str._d._d._d._d
push edi
call fcn.0047e11c
add esp, 0x18
cmp eax, 4
je 0x467d9f
mov edx, dword [esi]
push str.Invalid_SOCKS5_destination_IP_address
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi]
push edi
push str.ipAddress
mov ecx, esi
call dword [eax + 0x28]
jmp 0x468507
mov byte [esp + 0x17], 1
mov edi, dword [esp + 0x244]
lea ebp, [edi + 0x100]
mov ecx, ebp
call fcn.0041ccb0
mov eax, dword [esp + 0x250]
test eax, eax
je 0x467dc6
push eax
mov ecx, ebp
call fcn.0041eb70
mov ecx, dword [esp + 0x258]
push ecx
mov ecx, edi
call fcn.00462f30
mov edx, dword [esp + 0x260]
mov ebp, dword [esp + 0x254]
mov eax, dword [esp + 0x18]
push ebx
push edx
push esi
push ebp
push 0
push eax
lea ecx, [esp + 0xb8]
call fcn.0041c940
push eax
mov ecx, edi
call fcn.004617a0
mov edx, dword [esp + 0x268]
mov ecx, dword [edi + 0xf8]
test al, al
mov dword [edx], ecx
jne 0x467e50
mov eax, dword [esi]
push str.Failed_to_connect_to_SOCKS5_server.
mov ecx, esi
call dword [eax + 0x10]
mov edi, dword [esi]
lea ecx, [esp + 0xa0]
call fcn.0041c940
push eax
push str.socksHostname
mov ecx, esi
call dword [edi + 0x28]
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
push eax
push str.socksPort
mov ecx, esi
call dword [edx + 0x2c]
jmp 0x468507
mov ecx, dword [esp + 0x258]
mov byte [esp + 0x20], 5
push ecx
mov ecx, edi
mov byte [esp + 0x25], 2
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 2
call fcn.00462f10
lea ecx, [esp + 0x4c]
call fcn.0041c950
test eax, eax
je 0x467e9e
lea ecx, [esp + 0x78]
call fcn.0041c950
test eax, eax
je 0x467e9e
push ebx
push esi
push ebp
push 0x800
lea edx, [esp + 0x30]
push 4
push edx
jmp 0x467ebe
mov eax, dword [esi]
push str.No_SOCKS5_username_and_or_password__requesting_No_Authentication...
mov ecx, esi
call dword [eax + 0x14]
push ebx
push esi
push ebp
push 0x800
lea ecx, [esp + 0x30]
push 3
mov byte [esp + 0x35], 1
push ecx
mov ecx, edi
call fcn.00463480
test al, al
jne 0x467ee0
mov edx, dword [esi]
push str.Failed_to_send_version_identifier_to_SOCKS5_server.
mov ecx, esi
call dword [edx + 0x10]
push esi
push 0x1d3
jmp 0x468500
lea eax, [esp + 0x16]
lea ecx, [esp + 0x15]
push eax
lea edx, [esp + 0x17]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push ebx
push esi
push ebp
lea edx, [esp + 0x110]
push 2
push edx
mov ecx, edi
call fcn.00463ed0
test al, al
jne 0x467f28
mov eax, dword [esi]
push str.Failed_to_receive_method_select_reply_from_SOCKS5_server.
mov ecx, esi
call dword [eax + 0x10]
push esi
push 0x1d4
jmp 0x468500
mov al, byte [esp + 0xf1]
test al, al
jne 0x467f44
mov edx, dword [esi]
push str.SOCKS5_server_is_allowing_no_authentication.
mov ecx, esi
call dword [edx + 0x14]
jmp 0x46812e
cmp al, 2
jne 0x4684d4
mov eax, dword [esi]
push str.SOCKS5_server_selected_username_password_authentication.
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0x10c]
call fcn.00426ea0
push 1
lea ecx, [esp + 0x110]
mov byte [esp + 0x240], 5
call fcn.00427930
lea ecx, [esp + 0x4c]
call fcn.0041c950
test eax, eax
jne 0x467fb9
mov edx, dword [esi]
push str.SOCKS5_username_is_empty.
mov ecx, esi
call dword [edx + 0x10]
push esi
push 0x1d5
mov ecx, edi
call fcn.00462f70
lea ecx, [esp + 0x10c]
mov byte [esp + 0x23c], 4
call fcn.00427600
jmp 0x468507
lea ecx, [esp + 0x78]
call fcn.0041c950
test eax, eax
jne 0x467fda
mov eax, dword [esi]
push str.SOCKS5_password_is_empty.
mov ecx, esi
call dword [eax + 0x10]
push esi
push 0x1d6
jmp 0x467f99
lea ecx, [esp + 0x4c]
call fcn.0041c950
push eax
lea ecx, [esp + 0x110]
call fcn.00427930
lea ecx, [esp + 0x4c]
call fcn.0041c950
push eax
lea ecx, [esp + 0x50]
call fcn.0041c940
push eax
lea ecx, [esp + 0x114]
call fcn.00428150
lea ecx, [esp + 0x78]
call fcn.0041c950
push eax
lea ecx, [esp + 0x110]
call fcn.00427930
lea ecx, [esp + 0x78]
call fcn.0041c950
push eax
lea ecx, [esp + 0x7c]
call fcn.0041c940
push eax
lea ecx, [esp + 0x114]
call fcn.00428150
push ebx
push esi
push ebp
push 0x800
lea ecx, [esp + 0x11c]
call fcn.00426b30
push eax
lea ecx, [esp + 0x120]
call fcn.0041c940
push eax
mov ecx, edi
call fcn.00463480
test al, al
jne 0x46808a
mov edx, dword [esi]
push str.Failed_to_send_username_password_to_SOCKS5_server.
mov ecx, esi
call dword [edx + 0x10]
push esi
push 0x1d7
jmp 0x467f99
lea eax, [esp + 0x16]
lea ecx, [esp + 0x15]
push eax
lea edx, [esp + 0x17]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push ebx
push esi
push ebp
lea edx, [esp + 0x38]
push 2
push edx
mov ecx, edi
call fcn.00463ed0
test al, al
jne 0x4680cf
mov eax, dword [esi]
push str.Failed_to_receive_username_password_reply_from_SOCKS5_server.
mov ecx, esi
call dword [eax + 0x10]
push esi
push 0x1d8
jmp 0x467f99
mov al, byte [esp + 0x19]
test al, al
je 0x46811a
mov edx, dword [esi]
push str.SOCKS5_server_rejected_username_password
mov ecx, esi
call dword [edx + 0x10]
mov ebx, dword [esi]
lea ecx, [esp + 0x4c]
call fcn.0041c940
push eax
push str.username
mov ecx, esi
call dword [ebx + 0x28]
mov ebx, dword [esi]
lea ecx, [esp + 0x78]
call fcn.0041c940
push eax
push str.password
mov ecx, esi
call dword [ebx + 0x28]
push esi
push 0x1d9
jmp 0x467f99
lea ecx, [esp + 0x10c]
mov byte [esp + 0x23c], 4
call fcn.00427600
lea ecx, [esp + 0x2c]
call fcn.00426ea0
push 5
lea ecx, [esp + 0x30]
mov byte [esp + 0x240], 6
call fcn.00427930
push 1
lea ecx, [esp + 0x30]
call fcn.00427930
push 0
lea ecx, [esp + 0x30]
call fcn.00427930
mov al, byte [esp + 0x17]
test al, al
je 0x468199
push 3
lea ecx, [esp + 0x30]
call fcn.00427930
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x2c]
push eax
call fcn.00427930
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x100]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00428150
jmp 0x4681e8
push 1
lea ecx, [esp + 0x30]
call fcn.00427930
mov eax, dword [esp + 0xfc]
lea ecx, [esp + 0x2c]
push eax
call fcn.00427930
mov ecx, dword [esp + 0xf8]
push ecx
lea ecx, [esp + 0x30]
call fcn.00427930
mov edx, dword [esp + 0x108]
lea ecx, [esp + 0x2c]
push edx
call fcn.00427930
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x2c]
push eax
call fcn.00427930
mov ecx, dword [esp + 0x24d]
push ecx
lea ecx, [esp + 0x30]
call fcn.00427930
mov edx, dword [esp + 0x24c]
lea ecx, [esp + 0x2c]
push edx
call fcn.00427930
push ebx
push esi
push ebp
push 0x800
lea ecx, [esp + 0x3c]
call fcn.00426b30
push eax
lea ecx, [esp + 0x40]
call fcn.0041c940
push eax
mov ecx, edi
call fcn.00463480
test al, al
jne 0x468248
mov eax, dword [esi]
push str.Failed_to_send_connection_request_to_SOCKS5_server.
mov ecx, esi
call dword [eax + 0x10]
push esi
push 0x1db
jmp 0x4684a6
lea ecx, [esp + 0x16]
lea edx, [esp + 0x15]
push ecx
lea eax, [esp + 0x17]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push ebx
push esi
push ebp
lea eax, [esp + 0x44]
push 4
push eax
mov ecx, edi
call fcn.00463ed0
test al, al
jne 0x46828d
mov edx, dword [esi]
push str.Failed_to_receive_response_from_SOCKS5_server..
mov ecx, esi
call dword [edx + 0x10]
push esi
push 0x1dc
jmp 0x4684a6
mov al, byte [esp + 0x25]
test al, al
je 0x4682c2
mov eax, dword [esi]
push str.SOCKS5_server_rejected_connection_request
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [esp + 0x25]
mov edx, dword [esi]
and eax, 0xff
mov ecx, esi
push eax
push str.status
call dword [edx + 0x2c]
push esi
push 0x1dd
jmp 0x4684a6
mov al, byte [esp + 0x27]
cmp al, 3
jne 0x468389
lea ecx, [esp + 0x16]
lea edx, [esp + 0x15]
push ecx
lea eax, [esp + 0x17]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push ebx
push esi
push ebp
lea eax, [esp + 0x44]
push 1
push eax
mov ecx, edi
call fcn.00463ed0
test al, al
je 0x468372
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
and eax, 0xff
mov ecx, esi
push eax
push str.domainNameLen
mov dword [esp + 0x20], eax
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x18]
mov eax, 0xff
cmp ecx, eax
jbe 0x468327
mov dword [esp + 0x18], eax
lea eax, [esp + 0x16]
lea ecx, [esp + 0x15]
push eax
lea edx, [esp + 0x17]
push ecx
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
push ecx
push ebx
push esi
push ebp
lea eax, [esp + 0x154]
push edx
push eax
mov ecx, edi
call fcn.00463ed0
test al, al
jne 0x4683d6
mov edx, dword [esi]
push str.Failed_to_receive_domain_name_from_SOCKS5_server.
mov ecx, esi
call dword [edx + 0x10]
push esi
push 0x1df
jmp 0x4684a6
mov eax, dword [esi]
push str.Failed_to_receive_domain_name_length_from_SOCKS5_server.
mov ecx, esi
call dword [eax + 0x10]
push esi
push 0x1e0
jmp 0x4684a6
cmp al, 1
jne 0x468482
lea ecx, [esp + 0x16]
lea edx, [esp + 0x15]
push ecx
lea eax, [esp + 0x17]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push ebx
push esi
push ebp
lea eax, [esp + 0x44]
push 4
push eax
mov ecx, edi
call fcn.00463ed0
test al, al
jne 0x4683d6
mov edx, dword [esi]
push str.Failed_to_receive_IPv4_address_from_SOCKS5_server.
mov ecx, esi
call dword [edx + 0x10]
push esi
push 0x1de
jmp 0x4684a6
lea eax, [esp + 0x16]
lea ecx, [esp + 0x15]
push eax
lea edx, [esp + 0x17]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push ebx
push esi
push ebp
lea edx, [esp + 0x44]
push 2
push edx
mov ecx, edi
call fcn.00463ed0
mov bl, al
test bl, bl
jne 0x46841d
mov eax, dword [esi]
push str.Failed_to_receive_port_reply_from_SOCKS5_server.
mov ecx, esi
call dword [eax + 0x10]
push esi
push 0x1dc
jmp 0x4684a6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x23c], 4
call fcn.00427600
lea ecx, [esp + 0xc8]
mov byte [esp + 0x23c], 2
call fcn.0041dcd0
lea ecx, [esp + 0x78]
mov byte [esp + 0x23c], 1
call fcn.0041dcd0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x23c], 0
call fcn.0041dcd0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x23c], 0xffffffff
call fcn.0041dcd0
mov al, bl
jmp 0x468569
cmp al, 4
jne 0x468494
mov edx, dword [esi]
push str.IPv6_addresses_not_yet_supported.
mov ecx, esi
call dword [edx + 0x10]
jmp 0x4684a0
mov eax, dword [esi]
push str.Invalid_response_from_SOCKS5_server
mov ecx, esi
call dword [eax + 0x10]
push esi
push 0x1e2
mov ecx, edi
call fcn.00462f70
lea ecx, [esp + 0x2c]
mov byte [esp + 0x23c], 4
call fcn.00427600
lea ecx, [esp + 0xc8]
mov byte [esp + 0x23c], 2
call fcn.0041dcd0
jmp 0x46852e
mov edx, dword [esi]
push str.No_acceptable_SOCKS5_methods
mov ecx, esi
call dword [edx + 0x10]
mov ecx, dword [esp + 0xf1]
mov eax, dword [esi]
and ecx, 0xff
push ecx
push str.method
mov ecx, esi
call dword [eax + 0x2c]
push esi
push 0x1da
mov ecx, edi
call fcn.00462f70
lea ecx, [esp + 0xc8]
mov byte [esp + 0x23c], 2
call fcn.0041dcd0
jmp 0x46852e
mov ecx, dword [esp + 0x25c]
push str.No_SOCKS5_hostname_and_or_port
mov edx, dword [ecx]
call dword [edx + 0x10]
lea ecx, [esp + 0x78]
mov byte [esp + 0x23c], 1
call fcn.0041dcd0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x23c], 0
call fcn.0041dcd0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x23c], 0xffffffff
call fcn.0041dcd0
xor al, al
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret