Function at 0x1400aa56e
Capabilities:
Convert ip address from string

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov r15d, r9d
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, qword [rcx + 0x20]
mov rcx, rdx
call fcn.1401812d0
cmp rax, 7
jb 0x1400aa5fc
mov r12, rax
lea rcx, [rax + rdi]
add rcx, 0xfffffffffffffffa
lea rdx, str..onion
call fcn.140047890
test eax, eax
jne 0x1400aa5e3
lea rcx, [r12 + rdi]
add rcx, 0xfffffffffffffff9
lea rdx, str..onion.
call fcn.140047890
test eax, eax
je 0x1400aa5fc
lea rdx, str.Not_resolving_.onion_address__RFC_7686_
mov rcx, rsi
call fcn.140031630
mov ebp, 0xffffffff
jmp 0x1400aa98d
mov r12, qword [rsp + 0xe0]
mov qword [r12], 0
mov byte [r14 + 0x2de], 0
cmp qword [rsi + 0xe8], 0
je 0x1400aa631
mov rcx, rsi
mov edx, 3
mov r8d, 2
call fcn.1400477f8
mov rcx, rsi
mov rdx, rdi
mov r8d, ebx
call fcn.1400a9fdf
mov r13, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400aa674
test rsi, rsi
je 0x1400aa66c
cmp byte [rsi + 0xa37], 0
je 0x1400aa66c
lea rdx, str.Hostname__s_was_found_in_DNS_cache
mov rcx, rsi
mov r8, rdi
call fcn.14003171b
inc dword [r13 + 0x10]
xor ebp, ebp
jmp 0x1400aa679
mov ebp, 0xffffffff
cmp qword [rsi + 0xe8], 0
je 0x1400aa690
mov rcx, rsi
mov edx, 3
call fcn.140047836
test r13, r13
jne 0x1400aa989
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0xaaaaaaaa
cmp qword [rsi + 0x9e0], 0
je 0x1400aa6f0
mov rcx, rsi
mov dl, 1
call fcn.14003ced1
mov rax, qword [rsi + 0x9e0]
mov r8, qword [rsi + 0x9e8]
mov rcx, qword [rsi + 0xdc0]
xor edx, edx
call qword [case.0x140031f00.0]
mov r12d, eax
mov rcx, rsi
xor edx, edx
call fcn.14003ced1
test r12d, r12d
jne 0x1400aa5f2
lea r8, [rsp + 0x28]
mov ecx, 2
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400aa728
lea rdx, [rsp + 0x28]
mov ecx, 2
mov r8, rdi
mov r9d, ebx
call fcn.1400ab8b5
mov r12, rax
test rax, rax
jne 0x1400aa91f
movaps xmm6, xmmword [section..rdata]
lea r8, [rsp + 0x40]
movaps xmmword [r8], xmm6
mov ecx, reloc.WS2_32.dll_socket
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400aa76b
lea rdx, [rsp + 0x40]
mov ecx, reloc.WS2_32.dll_socket
mov r8, rdi
mov r9d, ebx
call fcn.1400ab8b5
mov r12, rax
test rax, rax
jne 0x1400aa91f
cmp byte [r14 + 0x3a8], 2
jne 0x1400aa785
mov rcx, rsi
call fcn.1400aa484
test al, al
je 0x1400aa5f2
lea rdx, str.localhost
mov rcx, rdi
call fcn.140047890
test eax, eax
jne 0x1400aa7a8
mov rcx, rdi
call fcn.1400aaa38
test al, al
je 0x1400aa9dd
mov rcx, rdi
call fcn.1401812d0
mov r15, rax
lea r12, [rsp + 0x3c]
mov dword [r12], 0xaaaaaaaa
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_htons]
mov r14d, eax
lea rdx, str.127.0.0.1
mov ecx, 2
mov r8, r12
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400aa913
mov r13d, dword [rsp + 0x3c]
mov rax, qword [fcn.14017af20]
add r15, 0x41
mov edx, 1
mov rcx, r15
call qword [case.0x140031f00.0]
test rax, rax
je 0x1400aa913
mov r12, rax
movaps xmm0, xmmword [0x1401aae20]
movups xmmword [rax], xmm0
mov dword [rax + reloc.WS2_32.dll_recv], 0x10
add rax, 0x30
mov qword [r12 + 0x20], rax
mov word [r12 + 0x30], 2
mov word [r12 + 0x32], r14w
mov dword [r12 + 0x34], r13d
mov rcx, r12
add rcx, 0x40
mov qword [r12 + 0x38], 0
mov qword [r12 + 0x18], rcx
mov rdx, rdi
call fcn.140180c20
mov rcx, rdi
call fcn.1401812d0
movaps xmmword [rsp + 0x40], xmm6
mov r8, qword [fcn.14017af20]
lea rcx, [rax + 0x4d]
mov edx, 1
mov rax, r8
call qword [case.0x140031f00.0]
test rax, rax
je 0x1400aa916
mov r14, rax
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_htons]
mov r15d, eax
lea rdx, [0x1401ab02c]
lea r8, [rsp + 0x40]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400aa916
mov dword [r14 + 0x10], 0x1c
mov qword [r14 + 0x28], 0
lea rax, [r14 + 0x30]
mov qword [r14 + 0x20], rax
mov word [r14 + 0x30], reloc.WS2_32.dll_socket
mov word [r14 + 0x32], r15w
xor eax, eax
mov dword [r14 + 0x34], eax
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [0x1401aae30]
movups xmmword [r14], xmm1
movups xmmword [r14 + 0x38], xmm0
mov dword [r14 + 0x48], eax
mov rcx, r14
add rcx, 0x4c
mov qword [r14 + 0x18], rcx
mov rdx, rdi
call fcn.140180c20
mov qword [r14 + 0x28], r12
mov r12, r14
jmp 0x1400aa916
xor r12d, r12d
test r12, r12
je 0x1400aa9b2
cmp qword [rsi + 0xe8], 0
je 0x1400aa93c
mov rcx, rsi
mov edx, 3
mov r8d, 2
call fcn.1400477f8
mov dword [rsp + 0x20], ebx
xor ebx, ebx
mov rcx, rsi
mov rdx, r12
mov r8, rdi
xor r9d, r9d
call fcn.1400aa19a
mov r13, rax
cmp qword [rsi + 0xe8], 0
je 0x1400aa96d
mov rcx, rsi
mov edx, 3
call fcn.140047836
test r13, r13
jne 0x1400aa97f
mov rcx, r12
call fcn.1400ab560
xor r13d, r13d
mov ebx, ebp
mov ebp, ebx
mov r12, qword [rsp + 0xe0]
mov qword [r12], r13
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14015c2e0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [rsp + 0x2c], 0
je 0x1400aaa00
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400aaa74
test eax, eax
jne 0x1400aa5f2
mov r13, qword [rsp + 0x30]
xor ebx, ebx
test r13, r13
sete bl
jmp 0x1400aa97f
test r15b, r15b
je 0x1400aaa0a
cmp byte [rsi + 0xa4c], 0
je 0x1400aaa0a
lea r9, [rsp + 0x2c]
mov rcx, rsi
mov rdx, rdi
mov r8d, ebx
call fcn.1400eb9a8
jmp 0x1400aaa30
mov r13, qword [rsp + 0x30]
jmp 0x1400aa97d
mov rcx, rsi
mov rdx, r14
call fcn.1400ecfdc
test al, al
je 0x1400aa5f2
lea r9, [rsp + 0x2c]
mov rcx, rsi
mov rdx, rdi
mov r8d, ebx
call fcn.1400a9e30
mov r12, rax
jmp 0x1400aa916