Function at 0x1401d84ea
Capabilities:
Convert ip address from string

Disassembly:
jmp 0x1404d6310
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 [0x140818ac0]
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.1401da209
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 7
jb 0x1404d63fb
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx - 6]
lea rdx, str..onion
mov rcx, rax
call fcn.1401df4c0
test eax, eax
jne 0x1404d63dd
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx - 7]
lea rdx, str..onion.
mov rcx, rax
call fcn.1401df4c0
test eax, eax
je 0x1404d63fb
lea rdx, str.Not_resolving_.onion_address__RFC_7686_
mov rcx, qword [rsp + 0x100]
call fcn.1401e02e4
mov eax, 0xffffffff
jmp 0x1404d6856
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 0x1404d6441
mov r8d, 2
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d8ef4
nop
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1404d8230
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1404d64a1
mov r8, qword [rsp + 0x108]
lea rdx, str.Hostname__s_was_found_in_DNS_cache
mov rcx, qword [rsp + 0x100]
call fcn.1401de8c2
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 0x1404d64c6
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d7f54
nop
cmp qword [rsp + 0x38], 0
jne 0x1404d6842
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 0x1404d6564
mov dl, 1
mov rcx, qword [rsp + 0x100]
call fcn.1401dda58
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.1401dda58
cmp dword [rsp + 0xa8], 0
je 0x1404d6564
mov eax, 0xffffffff
jmp 0x1404d6856
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 0x1404d65be
mov r9d, dword [rsp + 0x110]
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0x94]
mov ecx, 2
call fcn.1401d8bac
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1404d65bc
mov eax, 0xffffffff
jmp 0x1404d6856
jmp 0x1404d6616
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 0x1404d6616
mov r9d, dword [rsp + 0x110]
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0xb8]
mov ecx, reloc.WS2_32.dll_socket
call fcn.1401d8bac
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1404d6616
mov eax, 0xffffffff
jmp 0x1404d6856
cmp qword [rsp + 0x60], 0
jne 0x1404d6740
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x7df]
cmp eax, 2
jne 0x1404d6651
mov rcx, qword [rsp + 0x100]
call fcn.1401db17c
movzx eax, al
test eax, eax
jne 0x1404d6651
mov eax, 0xffffffff
jmp 0x1404d6856
lea rdx, [0x1407f4ba8]
mov rcx, qword [rsp + 0x108]
call fcn.1401df4c0
test eax, eax
jne 0x1404d6684
lea rdx, str..localhost
mov rcx, qword [rsp + 0x108]
call fcn.1404d8c00
movzx eax, al
test eax, eax
je 0x1404d66a2
mov rdx, qword [rsp + 0x108]
mov ecx, dword [rsp + 0x110]
call fcn.1404d89f0
mov qword [rsp + 0x60], rax
jmp 0x1404d6740
movzx eax, byte [rsp + 0x118]
test eax, eax
je 0x1404d66f6
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0xa73]
test eax, eax
je 0x1404d66f6
movzx eax, byte [rsp + 0xa4]
test eax, eax
jne 0x1404d66f6
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1401dabe1
mov qword [rsp + 0x60], rax
jmp 0x1404d6740
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x100]
call fcn.1401df0e7
movzx eax, al
test eax, eax
jne 0x1404d6719
mov eax, 0xffffffff
jmp 0x1404d6856
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1401df5ec
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1404d6795
cmp dword [rsp + 0x74], 0
je 0x1404d6790
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.1401d8472
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1404d6776
mov eax, 0xffffffff
jmp 0x1404d6856
cmp qword [rsp + 0x38], 0
je 0x1404d6788
mov dword [rsp + 0x48], 0
jmp 0x1404d6790
mov dword [rsp + 0x48], 1
jmp 0x1404d6842
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0xe8], 0
je 0x1404d67c0
mov r8d, 2
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d8ef4
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.1401da4e8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0xe8], 0
je 0x1404d6812
mov edx, 3
mov rcx, qword [rsp + 0x100]
call fcn.1401d7f54
nop
cmp qword [rsp + 0x38], 0
jne 0x1404d6827
mov rcx, qword [rsp + 0x60]
call fcn.1401dc4c8
nop
jmp 0x1404d6842
mov dword [rsp + 0x48], 0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.1404d7c60
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.1401ddb7f
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401da763
add rsp, 0xf0
pop rdi
ret