Function at 0x1401d74d6
Capabilities:
Convert ip address from string

Disassembly:
jmp 0x1404d2c90
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
lea rdi, [rsp + 0x30]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x100]
mov rax, qword [0x140814ac0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 0xffffffff
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x108]
call fcn.1401d91f0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 7
jb 0x1404d2d7b
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx - 6]
lea rdx, str..onion
mov rcx, rax
call fcn.1401de45c
test eax, eax
jne 0x1404d2d5d
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx - 7]
lea rdx, str..onion.
mov rcx, rax
call fcn.1401de45c
test eax, eax
je 0x1404d2d7b
lea rdx, str.Not_resolving_.onion_address__RFC_7686_
mov rcx, qword [rsp + 0x100]
call fcn.1401df2ad
mov eax, 0xffffffff
jmp 0x1404d31d6
mov rax, qword [rsp + 0x120]
mov qword [rax], 0
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x3b9], 0
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0xe8], 0
je 0x1404d2dc1
mov r8d, 2
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d7ee0
nop
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1404d4bb0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1404d2e21
mov r8, qword [rsp + 0x108]
lea rdx, str.Hostname__s_was_found_in_DNS_cache
mov rcx, qword [rsp + 0x100]
call fcn.1401dd854
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
inc eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x10], eax
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0xe8], 0
je 0x1404d2e46
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d6f2c
nop
cmp qword [rsp + 0x38], 0
jne 0x1404d31c2
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x74], 0
mov byte [rsp + 0xa4], 0
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x9e8], 0
je 0x1404d2ee4
mov dl, 1
mov rcx, qword [rsp + 0x100]
call fcn.1401dca1c
mov rax, qword [rsp + 0x100]
mov r8, qword [rax + 0x9f0]
xor edx, edx
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0xd48]
mov rax, qword [rsp + 0x100]
call qword [rax + 0x9e8]
mov dword [rsp + 0xa8], eax
xor edx, edx
mov rcx, qword [rsp + 0x100]
call fcn.1401dca1c
cmp dword [rsp + 0xa8], 0
je 0x1404d2ee4
mov eax, 0xffffffff
jmp 0x1404d31d6
lea r8, [rsp + 0x94]
mov rdx, qword [rsp + 0x108]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1404d2f3e
mov r9d, dword [rsp + 0x110]
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0x94]
mov ecx, 2
call fcn.1401d7ba2
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1404d2f3c
mov eax, 0xffffffff
jmp 0x1404d31d6
jmp 0x1404d2f96
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0x108]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1404d2f96
mov r9d, dword [rsp + 0x110]
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0xb8]
mov ecx, reloc.WS2_32.dll_socket
call fcn.1401d7ba2
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1404d2f96
mov eax, 0xffffffff
jmp 0x1404d31d6
cmp qword [rsp + 0x60], 0
jne 0x1404d30c0
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x7df]
cmp eax, 2
jne 0x1404d2fd1
mov rcx, qword [rsp + 0x100]
call fcn.1401da11d
movzx eax, al
test eax, eax
jne 0x1404d2fd1
mov eax, 0xffffffff
jmp 0x1404d31d6
lea rdx, [0x1407f0ba8]
mov rcx, qword [rsp + 0x108]
call fcn.1401de45c
test eax, eax
jne 0x1404d3004
lea rdx, str..localhost
mov rcx, qword [rsp + 0x108]
call fcn.1404d5580
movzx eax, al
test eax, eax
je 0x1404d3022
mov rdx, qword [rsp + 0x108]
mov ecx, dword [rsp + 0x110]
call fcn.1404d5370
mov qword [rsp + 0x60], rax
jmp 0x1404d30c0
movzx eax, byte [rsp + 0x118]
test eax, eax
je 0x1404d3076
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0xa73]
test eax, eax
je 0x1404d3076
movzx eax, byte [rsp + 0xa4]
test eax, eax
jne 0x1404d3076
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1401d9b8c
mov qword [rsp + 0x60], rax
jmp 0x1404d30c0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x100]
call fcn.1401de06f
movzx eax, al
test eax, eax
jne 0x1404d3099
mov eax, 0xffffffff
jmp 0x1404d31d6
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1401de597
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1404d3115
cmp dword [rsp + 0x74], 0
je 0x1404d3110
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.1401d7459
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1404d30f6
mov eax, 0xffffffff
jmp 0x1404d31d6
cmp qword [rsp + 0x38], 0
je 0x1404d3108
mov dword [rsp + 0x48], 0
jmp 0x1404d3110
mov dword [rsp + 0x48], 1
jmp 0x1404d31c2
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0xe8], 0
je 0x1404d3140
mov r8d, 2
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d7ee0
nop
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x100]
call fcn.1401d94d4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0xe8], 0
je 0x1404d3192
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d6f2c
nop
cmp qword [rsp + 0x38], 0
jne 0x1404d31a7
mov rcx, qword [rsp + 0x60]
call fcn.1401db450
nop
jmp 0x1404d31c2
mov dword [rsp + 0x48], 0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.1404d45e0
nop
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [rsp + 0x48]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.1401dcb34
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401d9736
add rsp, 0xf0
pop rdi
ret