Function at 0x140018820
Capabilities:
Get local ipv4 addresses

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x108
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x70], xmm8
movdqa xmmword [rbp + 0x60], xmm7
movdqa xmmword [rbp + 0x50], xmm6
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov qword [rbp + 8], rcx
mov dword [rbp + 0x3c], 0x3c00
mov dword [rbp + 0x38], 0
xor ebx, ebx
lea rsi, [rbp + 0x3c]
xor edi, edi
nop dword [rax]
mov edx, dword [rbp + 0x3c]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov r14, rax
test rax, rax
je 0x14001892e
mov qword [rsp + 0x20], rsi
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, r14
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rbp + 0x38], eax
test eax, eax
je 0x140018994
cmp edi, 1
ja 0x1400188b8
inc edi
mov rbx, r14
cmp eax, 0x6f
je 0x140018870
lea rax, [rbp + 0x38]
mov qword [rbp - 8], rax
lea rax, [0x14003f920]
mov qword [rbp], rax
lea rax, [0x14004a010]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x30], 0
lea rax, [rbp - 8]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x18], r14
lea rcx, [rbp + 0x10]
lea rdx, [rbp - 0x50]
mov qword [rbp + 0x40], r14
call fcn.14003a840
mov rbx, qword [rbp + 0x10]
mov rdi, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
test rbx, rbx
jne 0x1400189ad
jmp 0x140018b67
movzx eax, byte [0x14005f181]
mov ecx, 0x32
mov edx, 1
call fcn.140008400
test rax, rax
je 0x140018b88
mov rdi, rax
movups xmm0, xmmword [0x140049fd0]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x140049fc0]
movups xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [str.failed_to_allocate_memory_for_IP_ADAPTER_ADDRESSESGetAdaptersAddresses___failed_with_code]
movdqu xmmword [rax], xmm0
mov word [rax + 0x30], 0x5345
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov esi, 0x32
mov ebx, 0x32
test rbx, rbx
jne 0x1400189ad
jmp 0x140018b67
movabs rbx, 0x8000000000000000
mov rsi, r14
mov rdi, r14
test rbx, rbx
je 0x140018b67
movabs rax, 0x8000000000000000
cmp rbx, rax
jne 0x140018b4b
mov qword [rbp - 8], rdi
mov qword [rbp], rsi
mov rax, qword [rbp + 8]
add rax, 0x20
mov qword [rbp - 0x20], rax
pcmpeqd xmm6, xmm6
nop dword [rax + rax]
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 8]
call fcn.1400186c0
movabs rax, 0x8000000000000000
cmp qword [rbp - 0x50], rax
je 0x140018b5e
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x20], rax
movdqu xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x10], xmm0
mov rax, qword [rbp + 8]
cmp qword [rax + 0x18], 0
je 0x140018b2a
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x10]
call fcn.14000bc40
mov rcx, qword [rbp + 8]
mov rdx, qword [rcx]
mov rbx, qword [rcx + 8]
mov r15, rbx
and r15, rax
shr rax, 0x39
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm7, xmm0, 0
mov qword [rbp - 0x10], rdx
lea rdi, [rdx - 0x88]
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x40], rax
mov r13, qword [rbp + 0x20]
xor eax, eax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp - 0x10]
movdqu xmm8, xmmword [rax + r15]
movdqa xmm0, xmm8
pcmpeqb xmm0, xmm7
pmovmskb r14d, xmm0
test r14d, r14d
jne 0x140018acd
pcmpeqb xmm8, xmm6
pmovmskb eax, xmm8
test eax, eax
jne 0x140018b2a
mov rax, qword [rbp + 0x30]
add r15, rax
add r15, 0x10
add rax, 0x10
mov qword [rbp + 0x30], rax
and r15, rbx
jmp 0x140018a73
lea eax, [r14 - 1]
and ax, r14w
mov r14d, eax
je 0x140018a90
tzcnt ecx, r14d
add rcx, r15
and rcx, rbx
mov r12, rcx
neg r12
shl rcx, 3
mov rsi, r12
shl rsi, 7
mov rax, rsi
sub rax, rcx
cmp r13, qword [rdi + rax + 0x10]
jne 0x140018ac0
add rax, rdi
mov rdx, qword [rax + 8]
mov rcx, qword [rbp + 0x40]
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140018ac0
lea rax, [rsi + r12*8]
lea rdx, [rbp - 0x38]
movzx ecx, word [rdx + 4]
mov r8, qword [rbp - 0x10]
mov word [r8 + rax - 4], cx
mov ecx, dword [rdx]
mov dword [r8 + rax - 8], ecx
mov rdx, qword [rbp + 0x10]
test rdx, rdx
je 0x1400189e0
mov rcx, qword [rbp + 0x18]
mov r8d, 1
call fcn.140008410
jmp 0x1400189e0
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140008410
jmp 0x140018b67
mov rcx, qword [rbp - 8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
movaps xmm6, xmmword [rbp + 0x50]
movaps xmm7, xmmword [rbp + 0x60]
movaps xmm8, xmmword [rbp + 0x70]
add rsp, 0x108
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x40], r14
mov ecx, 1
mov edx, 0x32
call fcn.140046480
ud2