Function at 0x140159520
Capabilities:
Get local ipv4 addresses
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5a8]
sub rsp, 0x680
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403fad18]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov r13, rcx
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x58], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x60], r14
mov byte [rbp - 0x70], r14b
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp + 0x20], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x18], r14
mov byte [rbp + 8], r14b
mov qword [rbp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], r14b
mov ebx, r14d
mov rcx, qword [rcx + 0x40]
xor edx, edx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x48], pe_nt_image_headers64
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x40], 0x400
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
lea r8, [rbp + 0x70]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
mov edi, eax
je 0x140159881
cmp eax, 0xea
je 0x14015978c
test eax, eax
jne 0x140159799
cmp dword [rsp + 0x50], 1
jne 0x14015978c
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x140159649
lea ecx, [rdx - 1]
cmp byte [rbp + rcx + 0x170], al
cmove edx, ecx
mov dword [rsp + 0x40], edx
lea rdx, [rbp + 0x70]
lea rcx, str.Domain
call qword [sym.imp.BstkRT.dll_RTStrICmp]
test eax, eax
jne 0x1401596a1
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 8]
call fcn.14004db70
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015978c
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rcx, qword [rbp + 8]
lea r9, str.HostDnsServiceWin:_Domain__s__n
jmp 0x140159776
lea rdx, [rbp + 0x70]
lea rcx, str.DhcpDomain
call qword [sym.imp.BstkRT.dll_RTStrICmp]
test eax, eax
jne 0x140159727
mov r8d, dword [rsp + 0x40]
mov qword [rbp - 8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x10], r14
mov byte [rbp - 0x20], al
lea rdx, [rbp + 0x170]
lea rcx, [rbp - 0x20]
call fcn.14004db70
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x140159715
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rcx, qword [rbp - 0x20]
mov qword [rsp + 0x20], rcx
lea r9, str.HostDnsServiceWin:_DhcpDomain__s__n
mov edx, 0x20
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
cmp qword [rbp - 8], 0x10
jb 0x14015978c
mov rcx, qword [rbp - 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x14015978c
lea rdx, [rbp + 0x70]
lea rcx, str.SearchList
call qword [sym.imp.BstkRT.dll_RTStrICmp]
test eax, eax
jne 0x14015978c
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x30]
call fcn.14004db70
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015978c
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
lea r9, str.HostDnsServiceWin:_SearchList__s__n
mov edx, 0x20
mov qword [rsp + 0x20], rcx
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
inc ebx
mov rcx, qword [r13 + 0x40]
mov edx, ebx
jmp 0x1401595b9
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x1401597c6
mov dword [rsp + 0x20], edi
lea r9, str.HostDnsServiceWin:_RegEnumValue_error__d_n
mov edx, 0x20
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
nop
cmp qword [rbp + 0x48], 0x10
jb 0x1401597d6
mov rcx, qword [rbp + 0x30]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], 0
cmp qword [rbp + 0x20], 0x10
jb 0x1401597f6
mov rcx, qword [rbp + 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x20], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x18], r14
mov byte [rbp + 8], 0
lea rcx, [rbp - 0x48]
call fcn.140059f50
cmp qword [rbp - 0x58], 0x10
jb 0x14015981f
mov rcx, qword [rbp - 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x58], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x60], r14
mov byte [rbp - 0x70], 0
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x140159877
mov rbx, qword [rsp + 0x78]
cmp rdi, rbx
je 0x14015986f
cmp qword [rdi + 0x18], 0x10
jb 0x140159852
mov rcx, qword [rdi]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rdi + 0x10], r14
mov byte [rdi], 0
add rdi, 0x28
cmp rdi, rbx
jne 0x140159843
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, 0x80004005
jmp 0x14015a387
or rsi, 0xffffffffffffffff
movabs rbx, 0x666666666666665
movabs r12, 0x6666666666666667
movabs r15, 0x666666666666666
mov rdi, qword [rbp + 0x18]
test rdi, rdi
je 0x140159b47
cmp rdi, rsi
cmova rdi, rsi
cmp rdi, 0xfffffffffffffffe
jbe 0x1401598cb
lea rcx, str.string_too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov r8, qword [rbp - 0x58]
cmp r8, rdi
jae 0x1401598e6
mov r8, qword [rbp - 0x60]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.14004d1f0
jmp 0x1401598ff
test rdi, rdi
jne 0x140159906
mov qword [rbp - 0x60], r14
lea rax, [rbp - 0x70]
cmp r8, 0x10
cmovae rax, qword [rbp - 0x70]
mov byte [rax], dil
mov r8, qword [rbp - 0x58]
test rdi, rdi
setne al
test al, al
je 0x140159946
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rdx, qword [rbp + 8]
lea rcx, [rbp - 0x70]
cmp r8, 0x10
cmovae rcx, qword [rbp - 0x70]
mov r8, rdi
call sub.MSVCR100.dll_memcpy
mov qword [rbp - 0x60], rdi
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rax, qword [rbp - 0x70]
mov byte [rax + rdi], 0
lea rax, [rbp + 8]
mov r8, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
cmp rax, rdi
jae 0x140159a73
lea rax, [rbp + 8]
cmp r8, rax
ja 0x140159a73
lea rcx, [rbp + 8]
sub rcx, r8
mov rax, r12
imul rcx
mov rbx, rdx
sar rbx, 4
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov r9, qword [rbp - 0x38]
cmp rdi, r9
jne 0x140159a1d
mov rcx, rdi
sub rcx, r8
mov rax, r12
imul rcx
mov rcx, rdx
sar rcx, 4
mov rax, rcx
shr rax, 0x3f
add rcx, rax
movabs rax, 0x666666666666665
cmp rcx, rax
jbe 0x1401599cd
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rcx
sub r9, r8
mov rax, r12
imul r9
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rcx, rdx
jbe 0x140159a1d
mov rdi, rdx
shr rdi, 1
mov rax, r15
sub rax, rdi
cmp rax, rdx
jae 0x140159a02
mov rdx, r14
jmp 0x140159a05
add rdx, rdi
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rbp - 0x48]
call fcn.140158ff0
mov rdi, qword [rbp - 0x40]
mov r8, qword [rbp - 0x48]
lea rax, [rbx + rbx*4]
lea rdx, [r8 + rax*8]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
test rdi, rdi
je 0x140159a64
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rdi + 0x10], r14
cmp qword [rdi + 0x18], 0x10
jb 0x140159a4c
mov rax, qword [rdi]
jmp 0x140159a4f
mov rax, rdi
mov byte [rax], 0
mov r9, rsi
xor r8d, r8d
mov rcx, rdi
call fcn.14004d6d0
mov rdi, qword [rbp - 0x40]
movabs rbx, 0x666666666666665
jmp 0x140159b3f
mov r9, qword [rbp - 0x38]
cmp rdi, r9
jne 0x140159afc
mov rcx, rdi
sub rcx, r8
mov rax, r12
imul rcx
mov rcx, rdx
sar rcx, 4
mov rax, rcx
shr rax, 0x3f
add rcx, rax
cmp rcx, rbx
jbe 0x140159ab0
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rcx
sub r9, r8
mov rax, r12
imul r9
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rcx, rdx
jbe 0x140159afc
mov rdi, rdx
shr rdi, 1
mov rax, r15
sub rax, rdi
cmp rax, rdx
jae 0x140159ae5
mov rdx, r14
jmp 0x140159ae8
add rdx, rdi
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rbp - 0x48]
call fcn.140158ff0
mov rdi, qword [rbp - 0x40]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
test rdi, rdi
je 0x140159b3f
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rdi + 0x10], r14
cmp qword [rdi + 0x18], 0x10
jb 0x140159b23
mov rax, qword [rdi]
jmp 0x140159b26
mov rax, rdi
mov byte [rax], 0
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp + 8]
mov rcx, rdi
call fcn.14004d6d0
mov rdi, qword [rbp - 0x40]
add rdi, 0x28
mov qword [rbp - 0x40], rdi
cmp qword [rbp + 0x40], 0
je 0x140159b5e
mov r8b, 0x2c
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.1401592c0
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x5c], 8
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea ecx, [rdx + 5]
call sub.DNSAPI.dll_DnsQueryConfig
test eax, eax
jne 0x140159ea5
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140159ea5
mov esi, r14d
cmp dword [rcx], r14d
jbe 0x140159e9f
mov r12, r14
nop word [rax + rax]
mov byte [rbp + 0x58], 0
xor eax, eax
mov qword [rbp + 0x59], rax
mov dword [rbp + 0x61], eax
mov word [rbp + 0x65], ax
mov byte [rbp + 0x67], al
mov r9d, dword [r12 + rcx + 4]
lea r8, str._RTnaipv4
lea edx, [rax + 0x10]
lea rcx, [rbp + 0x58]
call qword [sym.imp.BstkRT.dll_RTStrPrintf]
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x140159c25
lea ecx, [rsi + 1]
lea rdx, [rbp + 0x58]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], ecx
lea r9, str.HostDnsServiceWin:_server__d:__s_n
mov edx, 0x20
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
mov qword [rbp - 8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x10], r14
mov byte [rbp - 0x20], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x58]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x20]
call fcn.14004db70
nop
lea rax, [rbp - 0x20]
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
cmp rax, rdi
jae 0x140159d80
lea rax, [rbp - 0x20]
cmp r8, rax
ja 0x140159d80
lea rcx, [rbp - 0x20]
sub rcx, r8
movabs r11, 0x6666666666666667
mov rax, r11
imul rcx
mov rbx, rdx
sar rbx, 4
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov r10, qword [rbp - 0x80]
cmp rdi, r10
jne 0x140159d32
mov rcx, rdi
sub rcx, r8
mov rax, r11
imul rcx
mov r9, rdx
sar r9, 4
mov rax, r9
shr rax, 0x3f
add r9, rax
movabs rax, 0x666666666666665
cmp r9, rax
ja 0x140159e83
inc r9
sub r10, r8
mov rax, r11
imul r10
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jbe 0x140159d32
mov rcx, rdx
shr rcx, 1
mov rax, r15
sub rax, rcx
cmp rax, rdx
jae 0x140159d14
mov rdx, r14
jmp 0x140159d17
add rdx, rcx
cmp rdx, r9
cmovb rdx, r9
lea rcx, [rsp + 0x70]
call fcn.140158ff0
mov rdi, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rax, [rbx + rbx*4]
lea rdx, [r8 + rax*8]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
test rdi, rdi
je 0x140159d7b
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rdi + 0x10], r14
cmp qword [rdi + 0x18], 0x10
jb 0x140159d61
mov rax, qword [rdi]
jmp 0x140159d64
mov rax, rdi
mov byte [rax], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.14004d6d0
mov rdi, qword [rsp + 0x78]
jmp 0x140159e4c
mov r10, qword [rbp - 0x80]
cmp rdi, r10
jne 0x140159e07
mov rcx, rdi
sub rcx, r8
movabs r11, 0x6666666666666667
mov rax, r11
imul rcx
mov r9, rdx
sar r9, 4
mov rax, r9
shr rax, 0x3f
add r9, rax
cmp r9, rbx
ja 0x140159e91
inc r9
sub r10, r8
mov rax, r11
imul r10
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jbe 0x140159e07
mov rcx, rdx
shr rcx, 1
mov rax, r15
sub rax, rcx
cmp rax, rdx
jae 0x140159dee
mov rdx, r14
jmp 0x140159df1
add rdx, rcx
cmp rdx, r9
cmovb rdx, r9
lea rcx, [rsp + 0x70]
call fcn.140158ff0
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
test rdi, rdi
je 0x140159e4c
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rdi + 0x10], r14
cmp qword [rdi + 0x18], 0x10
jb 0x140159e2e
mov rax, qword [rdi]
jmp 0x140159e31
mov rax, rdi
mov byte [rax], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14004d6d0
mov rdi, qword [rsp + 0x78]
add rdi, 0x28
mov qword [rsp + 0x78], rdi
cmp qword [rbp - 8], 0x10
jb 0x140159e65
mov rcx, qword [rbp - 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
inc esi
add r12, 4
mov rcx, qword [rsp + 0x60]
cmp esi, dword [rcx]
jae 0x140159e9f
movabs rbx, 0x666666666666665
jmp 0x140159bc0
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, 0x2000
mov dword [rsp + 0x40], ebx
xor r12b, r12b
mov ecx, ebx
call qword [sym.imp.MSVCR100.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x140159f00
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015a1b8
mov ecx, dword [rsp + 0x40]
mov qword [rsp + 0x20], rcx
lea r9, str.HostDnsServiceWin:_failed_to_allocate__zu_bytes_of_GetAdaptersAddresses_buffer_n
mov edx, 0x20
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
jmp 0x14015a1b8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, rsi
xor r8d, r8d
lea edx, [r8 + 6]
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov edi, eax
test eax, eax
je 0x14015a013
mov ecx, 0x200020
cmp eax, 0x6f
jne 0x140159ff7
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x140159f66
mov ecx, dword [rsp + 0x40]
mov edx, ebx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea r9, str.HostDnsServiceWin:_provided_GetAdaptersAddresses_with__zu_but_asked_again_for__zu_bytes_n
mov edx, 0x20
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
test r12b, r12b
jne 0x140159fc6
mov edx, dword [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll_realloc]
test rax, rax
je 0x140159f8c
mov rsi, rax
mov r12b, 1
mov ebx, dword [rsp + 0x40]
jmp 0x140159f00
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015a1af
mov ecx, dword [rsp + 0x40]
mov qword [rsp + 0x20], rcx
lea r9, str.HostDnsServiceWin:_failed_to_reallocate__zu_bytes_n
mov edx, 0x20
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
jmp 0x14015a1af
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015a1af
lea r9, str.HostDnsServiceWin:_..._not_going_to_realloc_again_n
mov edx, 0x20
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
jmp 0x14015a1af
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015a1af
mov dword [rsp + 0x20], edi
lea r9, str.HostDnsServiceWin:_GetAdaptersAddresses_error__d_n
jmp 0x140159fb0
test rsi, rsi
je 0x14015a1b8
mov rbx, rsi
lea r12, str.C:_virtualbox_srcVBoxMain_src_serverwinHostDnsServiceWin.cpp
nop word [rax + rax]
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015a076
mov rcx, qword [rbx + 0x48]
lea rdx, str._null_
test rcx, rcx
cmovne rdx, rcx
mov ecx, dword [rbx + 0x68]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
lea r9, str.HostDnsServiceWin:__ls__status__u__..._n
mov edx, 0x20
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
cmp dword [rbx + 0x68], 1
jne 0x14015a1a2
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14015a1a2
cmp word [rcx], 0
je 0x14015a1a2
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rsp + 0x48]
or rdx, 0xffffffffffffffff
call qword [sym.imp.BstkRT.dll_RTUtf16ToUtf8ExTag]
mov edi, eax
test eax, eax
jns 0x14015a0fc
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015a1a2
mov dword [rsp + 0x28], edi
mov rcx, qword [rbx + 0x38]
mov qword [rsp + 0x20], rcx
lea r9, str.HostDnsServiceWin:_failed_to_convert_DNS_suffix___ls_:__Rrc_n
mov edx, 0x20
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
jmp 0x14015a1a2
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14015a1a2
cmp byte [rax], 0
je 0x14015a1a2
mov ecx, 0x200020
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015a145
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, str.HostDnsServiceWin:_..._suffix____s__n
mov edx, 0x20
mov r8d, edx
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
mov qword [rbp - 8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x10], r14
mov byte [rbp - 0x20], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x48]
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x20]
call fcn.14004db70
nop
mov r8b, 0x20
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.1401592c0
nop
cmp qword [rbp - 8], 0x10
jb 0x14015a197
mov rcx, qword [rbp - 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.BstkRT.dll_RTStrFree]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14015a030
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll_free]
mov rdi, qword [rbp - 0x48]
mov r10, qword [rbp - 0x40]
cmp qword [rbp - 0x60], 0
jne 0x14015a1e7
cmp rdi, r10
je 0x14015a1e7
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.14004d6d0
mov r10, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x48]
mov rcx, r10
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jne 0x14015a261
cmp rdi, r10
je 0x14015a261
movzx r9d, byte [rsp + 0x58]
mov r8, rdi
mov rdx, r10
mov rcx, r10
call fcn.140059db0
mov rsi, rax
mov rbx, qword [rbp - 0x40]
mov rdi, rax
cmp rax, rbx
je 0x14015a25d
cmp qword [rdi + 0x18], 0x10
jb 0x14015a245
mov rcx, qword [rdi]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rdi + 0x10], r14
mov byte [rdi], 0
add rdi, 0x28
cmp rdi, rbx
jne 0x14015a236
mov qword [rbp - 0x40], rsi
lea rdx, [rsp + 0x70]
mov rcx, r13
call fcn.14005af50
nop
cmp qword [rbp + 0x48], 0x10
jb 0x14015a27f
mov rcx, qword [rbp + 0x30]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], 0
cmp qword [rbp + 0x20], 0x10
jb 0x14015a29f
mov rcx, qword [rbp + 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x20], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x18], r14
mov byte [rbp + 8], 0
cmp qword [rbp - 0x48], 0
je 0x14015a303
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x48]
cmp rdi, rbx
je 0x14015a2fb
nop dword [rax]
cmp qword [rdi + 0x18], 0x10
jb 0x14015a2df
mov rcx, qword [rdi]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rdi + 0x10], r14
mov byte [rdi], 0
add rdi, 0x28
cmp rdi, rbx
jne 0x14015a2d0
mov rdi, qword [rbp - 0x48]
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
cmp qword [rbp - 0x58], 0x10
jb 0x14015a31f
mov rcx, qword [rbp - 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x58], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x60], r14
mov byte [rbp - 0x70], 0
cmp qword [rsp + 0x70], 0
je 0x14015a385
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
cmp rdi, rbx
je 0x14015a37d
cmp qword [rdi + 0x18], 0x10
jb 0x14015a360
mov rcx, qword [rdi]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rdi + 0x10], r14
mov byte [rdi], 0
add rdi, 0x28
cmp rdi, rbx
jne 0x14015a351
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14015fe00
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret