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

Disassembly:
push 0xffffffffffffffff
push 0x101a78d3
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x3f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x408]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x42c]
mov eax, dword [esp + 0x41c]
mov edx, dword [esp + 0x430]
mov esi, dword [esp + 0x438]
mov ebx, dword [esp + 0x428]
mov ebp, dword [esp + 0x418]
mov edi, dword [esp + 0x434]
push str.socks5Connect
mov dword [esp + 0x48], ecx
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x7c], edx
call fcn.10061630
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x410], 0
mov dword [eax], 0
call fcn.10010600
mov ecx, ebx
call fcn.1004ae20
lea ecx, [esp + 0x1f4]
mov dword [esp + 0x34], eax
call fcn.10010fb0
lea ecx, [esp + 0x1f4]
push ecx
mov ecx, ebx
mov byte [esp + 0x414], 1
call fcn.1004adc0
lea ecx, [esp + 0x98]
call fcn.10010fb0
lea edx, [esp + 0x98]
push edx
mov ecx, ebx
mov byte [esp + 0x414], 2
call fcn.1004ade0
lea ecx, [esp + 0x180]
call fcn.10010fb0
lea eax, [esp + 0x180]
push eax
mov ecx, ebx
mov byte [esp + 0x414], 3
call fcn.1004ae00
cmp dword [esp + 0x34], 0
mov ebx, dword [edi + 4]
je 0x1014bc23
lea ecx, [esp + 0x1f4]
call fcn.1000f630
test eax, eax
je 0x1014bc23
test ebx, ebx
je 0x1014b18a
lea ecx, [esp + 0x268]
call fcn.10010fb0
lea ecx, [esp + 0x1f4]
push ecx
lea ecx, [esp + 0x26c]
mov byte [esp + 0x414], 4
call fcn.10012ae0
push 0x3a
lea ecx, [esp + 0x26c]
call fcn.100139f0
mov edx, dword [esp + 0x420]
push edx
lea ecx, [esp + 0x26c]
call fcn.10014210
lea ecx, [esp + 0x268]
call fcn.1008be90
push eax
push str.Socks5Connect
mov ecx, ebx
call fcn.1007a7e0
lea ecx, [esp + 0x268]
mov byte [esp + 0x410], 3
call fcn.10011070
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push 1
push str.SOCKS5
mov ecx, esi
call edx
lea eax, [esp + 0x1f4]
push eax
push str.socksHostname
mov ecx, esi
call fcn.10060fd0
mov ecx, dword [esp + 0x34]
push ecx
push str.socksPort
mov ecx, esi
call fcn.100612a0
lea edx, [esp + 0x98]
push edx
push str.socksUsername
mov ecx, esi
call fcn.10060fd0
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x40]
call fcn.1008be90
push eax
lea ecx, [esp + 0x110]
call fcn.10010ff0
push 0x2e
lea ecx, [esp + 0x110]
mov byte [esp + 0x414], 5
call fcn.100132d0
test eax, eax
mov ebx, dword [esp + 0x424]
jne 0x1014b2a2
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Dest_hostname_has_no_dot_chars._Perhaps_it_is_a_name_ffrom_the_hosts_file_on_this_machine.
mov ecx, esi
call edx
lea ecx, [esp + 0x2dc]
call fcn.1000a870
lea eax, [esp + 0x2dc]
push eax
push esi
push edi
lea ecx, [esp + 0x118]
push ebx
push ecx
mov byte [esp + 0x424], 6
call fcn.10110c40
add esp, 0x14
test al, al
je 0x1014b28e
lea ecx, [esp + 0x2dc]
call fcn.1000e030
push eax
lea ecx, [esp + 0x110]
call fcn.10012d20
cmp byte [esi + 0x125], 0
je 0x1014b28e
lea edx, [esp + 0x10c]
push edx
push str.usingIpAddress
mov ecx, esi
call fcn.10060fd0
lea ecx, [esp + 0x2dc]
mov byte [esp + 0x410], 5
call fcn.1000a910
lea ecx, [esp + 0x10c]
call fcn.1000f7d0
lea ecx, [esp + 0x10c]
call fcn.1000f630
test eax, eax
jne 0x1014b2e5
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.No_target_hostname_for_SOCKS5_connection.
mov ecx, esi
call edx
lea ecx, [esp + 0x10c]
mov byte [esp + 0x410], 3
call fcn.10011070
jmp 0x1014bc31
lea ecx, [esp + 0x10c]
call fcn.1008be90
lea ecx, [esp + 0x10c]
mov dword [esp + 0x1c], eax
call fcn.1000f630
xor edx, edx
test eax, eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x17], 0
jle 0x1014b32d
mov ecx, dword [esp + 0x1c]
mov cl, byte [edx + ecx]
cmp cl, 0x2e
je 0x1014b326
cmp cl, 0x30
jl 0x1014b392
cmp cl, 0x39
jg 0x1014b392
add edx, 1
cmp edx, eax
jl 0x1014b310
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x7c]
push edx
push str._d._d._d._d
push eax
call fcn.1002b4a0
add esp, 0x18
cmp eax, 4
je 0x1014b397
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Invalid_SOCKS5_destination_IP_address
mov ecx, esi
call eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
push str.ipAddress3
mov ecx, esi
call edx
lea ecx, [esp + 0x10c]
mov byte [esp + 0x410], 3
call fcn.10011070
jmp 0x1014bc31
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
push esi
push edi
push eax
push ecx
lea edx, [esp + 0x204]
push edx
mov ecx, ebp
call fcn.10113f20
test al, al
jne 0x1014b40b
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_connect_to_SOCKS5_server.
mov ecx, esi
call edx
mov edi, dword [esi]
lea ecx, [esp + 0x1f4]
add edi, 0x2c
call fcn.1008be90
push eax
mov eax, dword [edi]
push str.socksHostname
mov ecx, esi
call eax
mov ecx, dword [esp + 0x34]
push ecx
push str.socksPort
mov ecx, esi
call fcn.100612a0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x410], 3
call fcn.10011070
jmp 0x1014bc31
lea ecx, [esp + 0x98]
mov byte [esp + 0x30], 5
mov byte [esp + 0x31], 2
mov byte [esp + 0x32], 0
mov byte [esp + 0x33], 2
mov dword [esp + 0x3c], 0
call fcn.1000f630
test eax, eax
je 0x1014b461
lea ecx, [esp + 0x180]
call fcn.1000f630
test eax, eax
je 0x1014b461
push edi
push esi
lea edx, [esp + 0x44]
push edx
push ebx
push 0
push 0
push 0x800
push 4
lea eax, [esp + 0x50]
push eax
jmp 0x1014b48c
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.No_SOCKS5_username_and_or_password__requesting_No_Authentication...
mov ecx, esi
call eax
push edi
push esi
lea ecx, [esp + 0x44]
push ecx
push ebx
push 0
push 0
push 0x800
push 3
lea edx, [esp + 0x50]
mov byte [esp + 0x51], 1
push edx
mov ecx, ebp
call fcn.10112fc0
test al, al
jne 0x1014b4cd
push str.Failed_to_send_version_identifier_to_SOCKS5_server.
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
mov eax, dword [edi + 4]
push esi
push eax
push ebx
push 0
mov ecx, ebp
call fcn.10112d90
lea ecx, [esp + 0x10c]
mov byte [esp + 0x410], 3
call fcn.10011070
jmp 0x1014bc31
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
push 2
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0x38], 0
call fcn.10113ec0
test al, al
jne 0x1014b4f6
push str.Failed_to_receive_method_select_reply_from_SOCKS5_server.
jmp 0x1014b49c
mov ax, word [esp + 0x38]
test ah, ah
jne 0x1014b51e
cmp byte [esi + 0x125], ah
je 0x1014b719
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.SOCKS5_server_is_allowing_no_authentication.
mov ecx, esi
call eax
jmp 0x1014b719
cmp ah, 2
jne 0x1014bbf9
cmp byte [esi + 0x125], 0
je 0x1014b53e
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.SOCKS5_server_selected_username_password_authentication.
mov ecx, esi
call eax
lea ecx, [esp + 0x7c]
call fcn.100182e0
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x414], 7
call fcn.10018f60
lea ecx, [esp + 0x98]
call fcn.1000f630
test eax, eax
jne 0x1014b5b4
push str.SOCKS5_username_is_empty.
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
push esi
push ecx
push ebx
push 0
mov ecx, ebp
call fcn.10112d90
lea ecx, [esp + 0x7c]
mov byte [esp + 0x410], 5
call fcn.10018a90
lea ecx, [esp + 0x10c]
mov byte [esp + 0x410], 3
call fcn.10011070
jmp 0x1014bc31
lea ecx, [esp + 0x180]
call fcn.1000f630
test eax, eax
jne 0x1014b5cb
push str.SOCKS5_password_is_empty.
jmp 0x1014b572
lea ecx, [esp + 0x98]
call fcn.1000f630
push eax
lea ecx, [esp + 0x80]
call fcn.10018f60
lea ecx, [esp + 0x98]
call fcn.1000f630
push eax
lea ecx, [esp + 0x9c]
call fcn.1008be90
push eax
lea ecx, [esp + 0x84]
call fcn.10019380
lea ecx, [esp + 0x180]
call fcn.1000f630
push eax
lea ecx, [esp + 0x80]
call fcn.10018f60
lea ecx, [esp + 0x180]
call fcn.1000f630
push eax
lea ecx, [esp + 0x184]
call fcn.1008be90
push eax
lea ecx, [esp + 0x84]
call fcn.10019380
push edi
push esi
lea edx, [esp + 0x44]
push edx
push ebx
push 0
push 0
push 0x800
lea ecx, [esp + 0x98]
call fcn.100f6330
push eax
lea ecx, [esp + 0x9c]
call fcn.1008bea0
push eax
mov ecx, ebp
call fcn.10112fc0
test al, al
jne 0x1014b697
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_send_username_password_to_SOCKS5_server.
mov ecx, esi
call edx
mov eax, dword [edi + 4]
push esi
push eax
jmp 0x1014b580
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
push 2
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
call fcn.10113ec0
test al, al
jne 0x1014b6c9
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_receive_username_password_reply_from_SOCKS5_server.
mov ecx, esi
call edx
mov eax, dword [edi + 4]
push esi
push eax
jmp 0x1014b580
cmp byte [esp + 0x35], 0
je 0x1014b708
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.SOCKS5_server_rejected_username_password
mov ecx, esi
call eax
mov eax, dword [esi]
add eax, 0x2c
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], eax
call fcn.1008be90
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [edx]
push str.username
mov ecx, esi
call eax
jmp 0x1014b57b
lea ecx, [esp + 0x7c]
mov byte [esp + 0x410], 5
call fcn.10018a90
lea ecx, [esp + 0x4c]
call fcn.100182e0
push 5
lea ecx, [esp + 0x50]
mov byte [esp + 0x414], 8
call fcn.10018f60
push 1
lea ecx, [esp + 0x50]
call fcn.10018f60
push 0
lea ecx, [esp + 0x50]
call fcn.10018f60
cmp byte [esp + 0x17], 0
lea ecx, [esp + 0x4c]
je 0x1014b7b1
push 3
call fcn.10018f60
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x50]
call fcn.10018f60
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.10019380
cmp byte [esi + 0x125], 0
je 0x1014b84b
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Sending_the_following_dest_hostname__i.e._domain__to_SOCKS_server...
mov ecx, esi
call eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
push str.destHostname
mov ecx, esi
call edx
jmp 0x1014b84b
push 1
call fcn.10018f60
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x50]
call fcn.10018f60
mov ecx, dword [esp + 0x6c]
push ecx
lea ecx, [esp + 0x50]
call fcn.10018f60
mov edx, dword [esp + 0x68]
push edx
lea ecx, [esp + 0x50]
call fcn.10018f60
mov eax, dword [esp + 0x78]
push eax
lea ecx, [esp + 0x50]
call fcn.10018f60
cmp byte [esi + 0x125], 0
je 0x1014b84b
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Sending_the_following_IP_address_to_the_SOCKS_server...
mov ecx, esi
call eax
mov ecx, dword [esp + 0x70]
push ecx
push 0x1022bf1c
mov ecx, esi
call fcn.10061310
mov edx, dword [esp + 0x6c]
push edx
push 0x1022bf18
mov ecx, esi
call fcn.10061310
mov eax, dword [esp + 0x68]
push eax
push 0x1022bf14
mov ecx, esi
call fcn.10061310
mov ecx, dword [esp + 0x78]
push ecx
push 0x1022bf10
mov ecx, esi
call fcn.10061310
mov edx, dword [esp + 0x421]
push edx
lea ecx, [esp + 0x50]
call fcn.10018f60
mov eax, dword [esp + 0x420]
push eax
lea ecx, [esp + 0x50]
call fcn.10018f60
push edi
push esi
lea ecx, [esp + 0x44]
push ecx
push ebx
push 0
push 0
push 0x800
lea ecx, [esp + 0x68]
call fcn.100f6330
push eax
lea ecx, [esp + 0x6c]
call fcn.1008bea0
push eax
mov ecx, ebp
call fcn.10112fc0
test al, al
jne 0x1014b8c3
push str.Failed_to_send_connection_request_to_SOCKS5_server.
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
push esi
push ecx
push ebx
push 0
mov ecx, ebp
call fcn.10112d90
lea ecx, [esp + 0x4c]
jmp 0x1014b58e
lea edx, [esp + 0x20]
push edx
push esi
push edi
push ebx
push 4
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.10113ec0
test al, al
jne 0x1014b8e4
push str.Failed_to_receive_response_from_SOCKS5_server..
jmp 0x1014b8a2
cmp byte [esp + 0x19], 0
je 0x1014b923
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.SOCKS5_server_rejected_connection_request
mov ecx, esi
call eax
movzx ecx, byte [esp + 0x19]
push ecx
push str.status
mov ecx, esi
call fcn.100612a0
mov edx, dword [edi + 4]
push esi
push edx
push ebx
push 0
mov ecx, ebp
call fcn.10112d90
lea ecx, [esp + 0x4c]
jmp 0x1014b58e
cmp byte [esi + 0x125], 0
je 0x1014b93e
movzx eax, byte [esp + 0x1b]
push eax
push str.responseAddressType
mov ecx, esi
call fcn.100612a0
mov al, byte [esp + 0x1b]
cmp al, 3
jne 0x1014ba6a
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
push 1
lea edx, [esp + 0x2c]
push edx
mov ecx, ebp
call fcn.10113ec0
test al, al
je 0x1014ba60
cmp byte [esi + 0x125], 0
movzx eax, byte [esp + 0x18]
mov dword [esp + 0x1c], eax
je 0x1014b98b
push eax
push str.domainNameLen
mov ecx, esi
call fcn.100612a0
mov eax, dword [esp + 0x1c]
cmp eax, 0xff
jbe 0x1014b99e
mov dword [esp + 0x1c], 0xff
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
push eax
lea edx, [esp + 0x2f0]
push edx
mov ecx, ebp
call fcn.10113ec0
test al, al
jne 0x1014b9e0
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_receive_domain_name_from_SOCKS5_server.
mov ecx, esi
call edx
mov eax, dword [edi + 4]
push esi
push eax
push ebx
push 0
mov ecx, ebp
call fcn.10112d90
lea ecx, [esp + 0x4c]
jmp 0x1014b58e
cmp byte [esi + 0x125], 0
je 0x1014ba02
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x2e0]
push edx
push str.domainName
mov ecx, esi
call fcn.10060b00
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x2e0]
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.10010df0
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
push 2
lea edx, [esp + 0x2c]
push edx
mov ecx, ebp
call fcn.10113ec0
test al, al
mov byte [esp + 0x17], al
jne 0x1014bb45
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_receive_port_reply_from_SOCKS5_server.
mov ecx, esi
call edx
mov eax, dword [edi + 4]
push esi
push eax
push ebx
push 0
mov ecx, ebp
call fcn.10112d90
lea ecx, [esp + 0x4c]
jmp 0x1014b58e
push str.Failed_to_receive_domain_name_length_from_SOCKS5_server.
jmp 0x1014b8a2
cmp al, 1
jne 0x1014baf6
lea edx, [esp + 0x20]
push edx
push esi
push edi
push ebx
push 4
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.10113ec0
test al, al
jne 0x1014ba96
push str.Failed_to_receive_IPv4_address_from_SOCKS5_server.
jmp 0x1014b8a2
lea edx, [esp + 0x1b]
push edx
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x21]
push ecx
lea edx, [esp + 0x24]
push edx
push str._b._b._b._b
lea eax, [esp + 0x27c]
push 0x64
push eax
call fcn.1002b580
add esp, 0x1c
cmp byte [esi + 0x125], 0
je 0x1014bae0
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x268]
push eax
push str.responseIpv4Addr
mov ecx, esi
call edx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x268]
push eax
call fcn.10010b90
jmp 0x1014ba18
cmp al, 4
jne 0x1014bbef
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
push 0x10
lea edx, [esp + 0x408]
push edx
mov ecx, ebp
call fcn.10113ec0
test al, al
jne 0x1014ba18
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_receive_IPv6_address_from_SOCKS5_server.
mov ecx, esi
call edx
mov eax, dword [edi + 4]
push esi
push eax
push ebx
push 0
mov ecx, ebp
call fcn.10112d90
lea ecx, [esp + 0x4c]
jmp 0x1014b58e
mov eax, dword [esp + 0x18]
movzx ecx, al
shl ecx, 8
movzx edx, ah
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x74]
mov dword [ecx], eax
cmp byte [esi + 0x125], 0
je 0x1014bb71
push eax
push str.responsePort
mov ecx, esi
call fcn.100612a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x410], 5
call fcn.10018a90
lea ecx, [esp + 0x10c]
mov byte [esp + 0x410], 3
call fcn.10011070
lea ecx, [esp + 0x180]
mov byte [esp + 0x410], 2
call fcn.10011070
lea ecx, [esp + 0x98]
mov byte [esp + 0x410], 1
call fcn.10011070
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x410], 0
call fcn.10011070
lea ecx, [esp + 0x24]
mov dword [esp + 0x410], 0xffffffff
call fcn.100616a0
mov al, byte [esp + 0x17]
jmp 0x1014bc83
push str.Invalid_response_from_SOCKS5_server
jmp 0x1014b8a2
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.No_acceptable_SOCKS5_methods
mov ecx, esi
call eax
movzx ecx, byte [esp + 0x39]
push ecx
push str.method
mov ecx, esi
call fcn.100612a0
mov edx, dword [edi + 4]
push esi
push edx
jmp 0x1014b4aa
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.No_SOCKS5_hostname_and_or_port
mov ecx, esi
call edx
lea ecx, [esp + 0x180]
mov byte [esp + 0x410], 2
call fcn.10011070
lea ecx, [esp + 0x98]
mov byte [esp + 0x410], 1
call fcn.10011070
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x410], 0
call fcn.10011070
lea ecx, [esp + 0x24]
mov dword [esp + 0x410], 0xffffffff
call fcn.100616a0
xor al, al
mov ecx, dword [esp + 0x408]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3f0]
xor ecx, esp
call fcn.1018f87e
add esp, 0x400
ret