Function at 0x180044b40
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rax, qword [0x1800c5480]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rax, qword [rbp + 0x7f]
xor ebx, ebx
mov r14, qword [rcx + 0x18]
movzx r13d, r9b
mov qword [rbp - 0x39], rax
mov r15d, r8d
mov rsi, rdx
mov rdi, rcx
mov qword [rax], rbx
mov r12d, 0xffffffff
mov byte [r14 + 0x3ea], bl
lea eax, [rbx + 2]
cmp qword [rcx + 0xe0], rbx
je 0x180044bac
mov r8d, eax
lea edx, [rbx + 3]
call fcn.1800423c0
mov r8d, r15d
mov rdx, rsi
mov rcx, rdi
call fcn.1800450c0
mov qword [rbp - 0x51], rax
test rax, rax
je 0x180044bdf
mov r8, rsi
lea rdx, str.Hostname__s_was_found_in_DNS_cache
mov rcx, rdi
call fcn.18003c810
mov rax, qword [rbp - 0x51]
mov r12d, ebx
inc dword [rax + 0x10]
cmp qword [rdi + 0xe0], rbx
je 0x180044bf5
mov edx, 3
mov rcx, rdi
call fcn.180042400
cmp qword [rbp - 0x51], rbx
jne 0x180044eff
mov dword [rbp - 0x49], ebx
cmp qword [rdi + 0xad8], rbx
je 0x180044c3f
mov dl, 1
mov rcx, rdi
call fcn.180031110
mov r8, qword [rdi + 0xae0]
xor edx, edx
mov rcx, qword [rdi + 0xe88]
call qword [rdi + 0xad8]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.180031110
test ebx, ebx
jne 0x180044f9a
mov ebx, 2
lea r8, [rbp - 0x45]
mov ecx, ebx
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x180044c74
mov r9d, r15d
lea rdx, [rbp - 0x45]
mov r8, rsi
mov ecx, ebx
call fcn.18004f340
mov rbx, rax
test rax, rax
jne 0x180044f34
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rbp - 0x11]
mov ecx, ebx
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x180044ca9
mov r9d, r15d
lea rdx, [rbp - 0x11]
mov r8, rsi
mov ecx, ebx
call fcn.18004f340
mov rbx, rax
test rax, rax
jne 0x180044f34
cmp byte [r14 + 0x18c], 2
jne 0x180044cc7
mov rax, qword [rdi + 0xd0]
cmp byte [rax + 0x183], 0
je 0x180044f9a
lea rdx, str.localhost
mov rcx, rsi
call fcn.180041240
test eax, eax
je 0x180044e73
xor r13d, r13d
mov r14d, 2
movzx ecx, r15w
mov qword [rbp + 7], r13
mov word [rbp - 1], r14w
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rbp - 0x41]
mov ecx, r14d
lea rdx, str.127.0.0.1
mov word [rbp + 1], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jl 0x180044ec5
mov eax, dword [rbp - 0x41]
lea edx, [r13 + 1]
lea ecx, [rdx + 0x49]
mov dword [rbp + 3], eax
lea r9, str.C:Dev_vcpkg_buildtreescurl_srcurl_7_81_0_459d17a9d2.cleanlibhostip.c
mov r8d, 0x207
call fcn.180040880
mov rbx, rax
test rax, rax
je 0x180044ec5
movups xmm0, xmmword [rbp - 1]
mov dword [rax], r13d
lea edx, [r13 + 1]
mov dword [rax + 4], r14d
lea r9, str.C:Dev_vcpkg_buildtreescurl_srcurl_7_81_0_459d17a9d2.cleanlibhostip.c
mov dword [rax + 8], 1
mov r8d, 0x1d9
mov dword [rax + 0xc], 6
mov dword [rax + reloc.WS2_32.dll_recv], 0x10
add rax, 0x30
lea rcx, [rax + 0x10]
mov qword [rbx + 0x20], rax
movups xmmword [rax], xmm0
mov qword [rbx + 0x18], rcx
movsd xmm0, qword [str.localhost]
movsd qword [rcx], xmm0
movzx eax, word [reloc.WS2_32.dll_WSACleanup]
mov word [rcx + 8], ax
lea ecx, [rdx + 0x55]
call fcn.180040880
mov r14, rax
test rax, rax
jne 0x180044dbd
mov r14d, r13d
mov qword [rbx + 0x28], r13
jmp 0x180044f37
mov eax, reloc.WS2_32.dll_socket
movzx ecx, r15w
mov word [rbp - 0x31], ax
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rbp - 1]
mov dword [rbp - 0x2d], r13d
lea rdx, [0x18008719c]
mov word [rbp - 0x2f], ax
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jge 0x180044dff
mov r14, r13
mov qword [rbx + 0x28], r13
jmp 0x180044f37
movups xmm1, xmmword [rbp - 1]
mov dword [r14], r13d
lea rcx, [r14 + 0x30]
mov qword [r14 + 0x20], rcx
mov eax, reloc.WS2_32.dll_socket
mov dword [r14 + 4], eax
mov dword [r14 + 8], 1
mov dword [r14 + 0xc], 6
mov dword [r14 + 0x10], 0x1c
mov qword [r14 + 0x28], r13
movups xmmword [rbp - 0x29], xmm1
movups xmm0, xmmword [rbp - 0x31]
unpckhpd xmm1, xmm1
movups xmmword [rcx], xmm0
movsd qword [rcx + 0x10], xmm1
mov dword [rcx + 0x18], r13d
add rcx, 0x1c
mov qword [r14 + 0x18], rcx
movsd xmm0, qword [str.localhost]
movsd qword [rcx], xmm0
movzx eax, word [reloc.WS2_32.dll_WSACleanup]
mov word [rcx + 8], ax
mov qword [rbx + 0x28], r14
jmp 0x180044f37
test r13b, r13b
je 0x180044e95
cmp byte [rdi + 0xb50], 0
je 0x180044e95
lea r9, [rbp - 0x49]
mov r8d, r15d
mov rdx, rsi
mov rcx, rdi
call fcn.18006ad10
jmp 0x180044eba
mov rdx, r14
mov rcx, rdi
call fcn.18006ad00
test al, al
je 0x180044f9a
lea r9, [rbp - 0x49]
mov r8d, r15d
mov rdx, rsi
mov rcx, rdi
call fcn.18004f680
xor r13d, r13d
mov rbx, rax
test rax, rax
jne 0x180044f37
cmp dword [rbp - 0x49], 0
je 0x180044eff
mov rax, qword [rdi + 0x18]
lea rdx, [rbp - 0x51]
mov rcx, rdi
cmp byte [rax + 0x3ea], 0
je 0x180044ee6
call fcn.18006aea0
jmp 0x180044eeb
call fcn.180034ec0
test eax, eax
jne 0x180044f9a
cmp qword [rbp - 0x51], 0
mov r12d, r13d
sete r12b
mov rax, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x51]
mov qword [rax], rcx
mov eax, r12d
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.18007fcc0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r13d, r13d
cmp qword [rdi + 0xe0], 0
je 0x180044f52
mov edx, 3
mov rcx, rdi
lea r8d, [rdx - 1]
call fcn.1800423c0
mov r9d, r15d
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.180044550
cmp qword [rdi + 0xe0], 0
mov qword [rbp - 0x51], rax
je 0x180044f7e
mov edx, 3
mov rcx, rdi
call fcn.180042400
cmp qword [rbp - 0x51], 0
jne 0x180044f92
mov rcx, rbx
call fcn.18004f0c0
jmp 0x180044eff
mov r12d, r13d
jmp 0x180044eff
mov eax, 0xffffffff
jmp 0x180044f0d