Function at 0x1401ee720
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
mov r15d, r9d
mov rsi, rcx
mov r12, qword [rsp + 0xe0]
mov r14, qword [rcx + 0x18]
mov qword [r12], 0
and byte [r14 + 0x2cb], 0xfb
mov ebp, r8d
mov rbx, rdx
cmp qword [rcx + 0xe0], 0
je 0x1401ee775
mov rcx, rsi
mov edx, 3
mov r8d, 2
call fcn.1401adf20
mov rcx, rsi
mov rdx, rbx
mov r8d, ebp
call fcn.1401ee110
mov r13, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401ee81a
lea rdx, str.Hostname__s_was_found_in_DNS_cache
mov rcx, rsi
mov r8, rbx
call fcn.1401955d0
inc dword [r13 + 0x10]
xor edi, edi
cmp qword [rsi + 0xe0], 0
je 0x1401ee7c3
mov rcx, rsi
mov edx, 3
call fcn.1401adf60
test r13, r13
jne 0x1401eeb71
mov dword [rsp + 0x34], 0
cmp qword [rsi + 0xa30], 0
je 0x1401ee82b
mov rcx, rsi
mov dl, 1
call fcn.1401a1910
mov rcx, qword [rsi + 0xdd0]
mov r8, qword [rsi + 0xa38]
xor edx, edx
call qword [rsi + 0xa30]
mov r12d, eax
mov rcx, rsi
xor edx, edx
call fcn.1401a1910
test r12d, r12d
je 0x1401ee82b
mov edi, 0xffffffff
jmp 0x1401eeb75
mov edi, 0xffffffff
cmp qword [rsi + 0xe0], 0
jne 0x1401ee7b6
jmp 0x1401ee7c3
lea r8, [rsp + 0x38]
mov ecx, 2
mov rdx, rbx
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1401ee863
lea rdx, [rsp + 0x38]
mov ecx, 2
mov r8, rbx
mov r9d, ebp
call fcn.1401edc40
mov r12, rax
test rax, rax
jne 0x1401eeb04
lea r8, [rsp + 0x50]
mov ecx, 0x17
mov rdx, rbx
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1401ee89b
lea rdx, [rsp + 0x50]
mov ecx, 0x17
mov r8, rbx
mov r9d, ebp
call fcn.1401edc40
mov r12, rax
test rax, rax
jne 0x1401eeb04
cmp byte [r14 + 0x6f6], 2
jne 0x1401ee8f4
mov rax, qword [rsi + 0xd0]
movzx eax, byte [rax + 0x188]
test al, al
jne 0x1401ee8ec
mov ecx, 0x17
mov edx, 2
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x1401ee8dd
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
mov al, 2
jmp 0x1401ee8df
mov al, 1
mov rcx, qword [rsi + 0xd0]
mov byte [rcx + 0x188], al
cmp al, 2
jne 0x1401ee810
lea rdx, [0x140277fe3]
mov rcx, rbx
call fcn.1401aa720
test eax, eax
je 0x1401eea75
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov r15, rax
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_htons]
mov r14d, eax
lea rdx, [0x14027818e]
lea r8, [rsp + 0x4c]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1401eea6d
mov r13d, dword [rsp + 0x4c]
mov rax, qword [0x14026c258]
add r15, 0x41
mov edx, 1
mov rcx, r15
mov r15, rax
call qword [rax]
test rax, rax
je 0x1401eea6d
mov r12, rax
movaps xmm0, xmmword [0x140277fa0]
movups xmmword [rax], xmm0
mov dword [rax + 0x10], 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 qword [r12 + 0x38], 0
mov rcx, r12
add rcx, 0x40
mov qword [r12 + 0x18], rcx
mov rdx, rbx
call sub.msvcrt.dll_strcpy
mov rcx, rbx
call sub.msvcrt.dll_strlen
lea rcx, [rax + 0x4d]
mov edx, 1
call qword [r15]
test rax, rax
je 0x1401eeadb
mov r14, rax
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_htons]
mov r15d, eax
lea rdx, [0x140278198]
lea r8, [rsp + 0x60]
mov ecx, 0x17
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1401eeadb
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [0x140277fb0]
movups xmmword [r14], xmm0
mov dword [r14 + 0x10], 0x1c
mov qword [r14 + 0x28], 0
lea rax, [r14 + 0x30]
mov qword [r14 + 0x20], rax
mov word [r14 + 0x30], 0x17
mov word [r14 + 0x32], r15w
mov dword [r14 + 0x34], 0
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [r14 + 0x38], xmm0
mov dword [r14 + 0x48], 0
mov rcx, r14
add rcx, 0x4c
mov qword [r14 + 0x18], rcx
mov rdx, rbx
call sub.msvcrt.dll_strcpy
mov qword [r12 + 0x28], r14
jmp 0x1401eeafb
xor r12d, r12d
jmp 0x1401eeafb
mov rcx, rbx
call sub.msvcrt.dll_strlen
cmp rax, 0xa
jb 0x1401eeaa5
lea rdx, [rax + rbx]
add rdx, 0xfffffffffffffff6
lea rcx, str..localhost
mov r8d, 0xa
call fcn.1401aa790
test eax, eax
jne 0x1401ee90b
test r15b, r15b
je 0x1401eeab3
test byte [rsi + 0xa8e], 8
jne 0x1401eeae5
mov rcx, rsi
mov rdx, r14
call fcn.140245f70
test al, al
je 0x1401ee810
lea r9, [rsp + 0x34]
mov rcx, rsi
mov rdx, rbx
mov r8d, ebp
call fcn.1401edfb0
jmp 0x1401eeaf8
xor r14d, r14d
mov qword [r12 + 0x28], r14
jmp 0x1401eeafb
lea r9, [rsp + 0x34]
mov rcx, rsi
mov rdx, rbx
mov r8d, ebp
call fcn.140245f90
mov r12, rax
test r12, r12
je 0x1401eeb88
cmp qword [rsi + 0xe0], 0
je 0x1401eeb21
mov rcx, rsi
mov edx, 3
mov r8d, 2
call fcn.1401adf20
mov dword [rsp + 0x20], ebp
xor r14d, r14d
mov rcx, rsi
mov rdx, r12
mov r8, rbx
xor r9d, r9d
call fcn.1401ee2d0
mov r13, rax
cmp qword [rsi + 0xe0], 0
je 0x1401eeb53
mov rcx, rsi
mov edx, 3
call fcn.1401adf60
test r13, r13
jne 0x1401eeb66
mov rcx, r12
call fcn.1401ed8e0
xor r13d, r13d
mov r14d, edi
mov edi, r14d
mov r12, qword [rsp + 0xe0]
mov qword [r12], r13
mov eax, edi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [rsp + 0x34], 0
je 0x1401eeb60
mov rax, qword [rsi + 0x18]
test byte [rax + 0x2cb], 4
jne 0x1401eebab
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1401983a0
jmp 0x1401eebb8
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1402467d0
test eax, eax
jne 0x1401ee810
mov r13, qword [rsp + 0x40]
xor r14d, r14d
test r13, r13
sete r14b
jmp 0x1401eeb66