Function at 0x1401d64f9
Capabilities:
Convert ip address from string

Disassembly:
jmp 0x1404d1290
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 [0x140812ac0]
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.1401d81eb
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 7
jb 0x1404d137b
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx - 6]
lea rdx, str..onion
mov rcx, rax
call fcn.1401dd47a
test eax, eax
jne 0x1404d135d
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx - 7]
lea rdx, str..onion.
mov rcx, rax
call fcn.1401dd47a
test eax, eax
je 0x1404d137b
lea rdx, str.Not_resolving_.onion_address__RFC_7686_
mov rcx, qword [rsp + 0x100]
call fcn.1401de294
mov eax, 0xffffffff
jmp 0x1404d17d6
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 0x1404d13c1
mov r8d, 2
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d6ef4
nop
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1404d31b0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1404d1421
mov r8, qword [rsp + 0x108]
lea rdx, str.Hostname__s_was_found_in_DNS_cache
mov rcx, qword [rsp + 0x100]
call fcn.1401dc87c
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 0x1404d1446
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d5f27
nop
cmp qword [rsp + 0x38], 0
jne 0x1404d17c2
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 0x1404d14e4
mov dl, 1
mov rcx, qword [rsp + 0x100]
call fcn.1401dba2b
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.1401dba2b
cmp dword [rsp + 0xa8], 0
je 0x1404d14e4
mov eax, 0xffffffff
jmp 0x1404d17d6
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 0x1404d153e
mov r9d, dword [rsp + 0x110]
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0x94]
mov ecx, 2
call fcn.1401d6bcf
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1404d153c
mov eax, 0xffffffff
jmp 0x1404d17d6
jmp 0x1404d1596
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 0x1404d1596
mov r9d, dword [rsp + 0x110]
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0xb8]
mov ecx, reloc.WS2_32.dll_socket
call fcn.1401d6bcf
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1404d1596
mov eax, 0xffffffff
jmp 0x1404d17d6
cmp qword [rsp + 0x60], 0
jne 0x1404d16c0
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x7df]
cmp eax, 2
jne 0x1404d15d1
mov rcx, qword [rsp + 0x100]
call fcn.1401d9136
movzx eax, al
test eax, eax
jne 0x1404d15d1
mov eax, 0xffffffff
jmp 0x1404d17d6
lea rdx, [0x1407eeba8]
mov rcx, qword [rsp + 0x108]
call fcn.1401dd47a
test eax, eax
jne 0x1404d1604
lea rdx, str..localhost
mov rcx, qword [rsp + 0x108]
call fcn.1404d3b80
movzx eax, al
test eax, eax
je 0x1404d1622
mov rdx, qword [rsp + 0x108]
mov ecx, dword [rsp + 0x110]
call fcn.1404d3970
mov qword [rsp + 0x60], rax
jmp 0x1404d16c0
movzx eax, byte [rsp + 0x118]
test eax, eax
je 0x1404d1676
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0xa73]
test eax, eax
je 0x1404d1676
movzx eax, byte [rsp + 0xa4]
test eax, eax
jne 0x1404d1676
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1401d8ba5
mov qword [rsp + 0x60], rax
jmp 0x1404d16c0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x100]
call fcn.1401dd0a1
movzx eax, al
test eax, eax
jne 0x1404d1699
mov eax, 0xffffffff
jmp 0x1404d17d6
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1401dd5b0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1404d1715
cmp dword [rsp + 0x74], 0
je 0x1404d1710
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.1401d6477
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1404d16f6
mov eax, 0xffffffff
jmp 0x1404d17d6
cmp qword [rsp + 0x38], 0
je 0x1404d1708
mov dword [rsp + 0x48], 0
jmp 0x1404d1710
mov dword [rsp + 0x48], 1
jmp 0x1404d17c2
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0xe8], 0
je 0x1404d1740
mov r8d, 2
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d6ef4
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.1401d84de
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0xe8], 0
je 0x1404d1792
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d5f27
nop
cmp qword [rsp + 0x38], 0
jne 0x1404d17a7
mov rcx, qword [rsp + 0x60]
call fcn.1401da455
nop
jmp 0x1404d17c2
mov dword [rsp + 0x48], 0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.1404d2be0
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.1401dbb48
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401d8740
add rsp, 0xf0
pop rdi
ret