Function at 0x140009770
Capabilities:
Get local ipv4 addresses

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rsp + 0x110], rbx
mov rax, qword [0x14008c088]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r12, rdx
mov rsi, rcx
mov qword [rbp - 0x49], rcx
mov dword [rbp - 0x69], 0x3a98
xor eax, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8d, 0x3a98
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x140009803
call fcn.1400024a0
mov rcx, rax
lea r9, str.__Memory_allocation_failed_for_IP_ADAPTER_ADDRESSES_struct
lea r8, str.NLMUtils::PrintAdapterInfo
lea edx, [r14 + 5]
call fcn.140014300
lea ecx, [r14 + 1]
call fcn.140042870
int3
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
lea edx, [r8 + 0x10]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ebx, eax
test eax, eax
je 0x140009969
call fcn.1400024a0
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r9, str.__Found_an_Error_code_:__d
lea r8, str.NLMUtils::PrintAdapterInfo
mov edx, 3
call fcn.140014300
cmp ebx, 0x6f
jne 0x140009957
call fcn.1400024a0
mov rcx, rax
mov eax, dword [rbp - 0x69]
mov dword [rsp + 0x20], eax
lea r9, str.__The_buffer_size_is_not_enough_trying_to_allocate_more_memory...Required_Memory_is__d_Bytes
lea r8, str.NLMUtils::PrintAdapterInfo
mov edx, 3
call fcn.140014300
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x14000992c
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
lea edx, [r8 + 0x10]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ebx, eax
cmp eax, 0x6f
jne 0x1400098de
mov eax, edi
inc edi
cmp eax, 3
jl 0x140009855
cmp edi, 3
jl 0x140009925
call fcn.1400024a0
lea r9, str.__Memory_allocation_retry_limit_exceeded
mov rcx, rax
lea r8, str.NLMUtils::PrintAdapterInfo
mov edx, 5
call fcn.140014300
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rcx, rsi
call fcn.140005110
jmp 0x140009c81
cmp ebx, 0x6f
je 0x140009969
jmp 0x140009957
call fcn.1400024a0
mov rcx, rax
lea r9, str.__Memory_allocation_failed_for_IP_ADAPTER_ADDRESSES_struct
lea r8, str.NLMUtils::PrintAdapterInfo
mov edx, 5
call fcn.140014300
mov ecx, 1
call fcn.140042870
int3
test ebx, ebx
je 0x140009969
call fcn.1400024a0
lea r9, str.__ERROR_with_GetAdaptersAddresses
jmp 0x1400098ef
call fcn.1400024a0
mov rcx, rax
lea r9, str.__Memory_allocation_success_for_IP_ADAPTER_ADDRESSES_struct
lea r8, str.NLMUtils::PrintAdapterInfo
mov edx, 3
call fcn.140014300
xor r15b, r15b
mov rdi, r14
lea r13, [0x14008ecb0]
nop word [rax + rax]
mov rdx, qword [rdi + 0x10]
mov qword [rbp - 0x29], SafeArrayLock
xor eax, eax
mov qword [rbp - 0x31], rax
mov byte [rbp - 0x41], al
cmp byte [rdx], al
jne 0x1400099be
mov r8d, eax
jmp 0x1400099cb
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], al
jne 0x1400099c2
lea rcx, [rbp - 0x41]
call fcn.140007620
nop
mov cl, 1
call fcn.140019a74
mov rbx, rax
mov qword [rbp - 0x51], rax
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x21]
call fcn.140009450
nop
test rbx, rbx
je 0x140009a17
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test rax, rax
je 0x140009a17
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rax, qword [rbp - 0x29]
cmp rax, 0x10
jb 0x140009a65
inc rax
mov rcx, qword [rbp - 0x41]
cmp rax, 0x1000
jb 0x140009a60
test cl, 0x1f
jne 0x140009c0e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140009c08
sub rcx, rax
cmp rcx, 8
jb 0x140009c02
cmp rcx, 0x27
ja 0x140009bfc
mov rcx, rax
call fcn.14001c73c
mov qword [rbp - 0x29], SafeArrayLock
mov qword [rbp - 0x31], 0
mov byte [rbp - 0x41], 0
lea r8, [rbp - 0x21]
mov rbx, qword [rbp - 9]
cmp rbx, 8
cmovae r8, qword [rbp - 0x21]
cmp qword [rsi + 0x18], 8
jb 0x140009a96
mov rcx, qword [rsi]
jmp 0x140009a99
mov rcx, rsi
mov r9, qword [rbp - 0x11]
mov rdx, qword [rsi + 0x10]
call fcn.140005fd0
test eax, eax
jne 0x140009bd7
mov r15b, 1
call fcn.1400024a0
mov rcx, rax
mov rax, qword [rdi + 0x40]
mov qword [rsp + 0x20], rax
lea r9, str.______Description:__s
lea r8, str.NLMUtils::PrintAdapterInfo
mov edx, 3
call fcn.140014300
call fcn.1400024a0
mov rcx, rax
mov rax, qword [rdi + 0x48]
mov qword [rsp + 0x20], rax
lea r9, str.______Friendly_Name:__s
lea r8, str.NLMUtils::PrintAdapterInfo
mov edx, 3
call fcn.140014300
cmp dword [rdi + 0x58], 0
je 0x140009b6f
lea rdx, str.____Physical_address:
mov rcx, r13
call fcn.14000e0c0
xor ebx, ebx
cmp dword [rdi + 0x58], ebx
jbe 0x140009b6f
nop
mov rax, qword [0x14008ecb0]
movsxd rcx, dword [rax + 4]
add rcx, r13
and dword [rcx + 0x18], 0xfffff9ff
or dword [rcx + 0x18], 0x800
movzx edx, byte [rbx + rdi + 0x50]
mov rcx, r13
call fcn.14000b100
mov eax, dword [rdi + 0x58]
dec eax
mov rcx, r13
cmp ebx, eax
jne 0x140009b5c
call fcn.14000e630
jmp 0x140009b68
lea rdx, [0x140077260]
call fcn.14000e3d0
inc ebx
cmp ebx, dword [rdi + 0x58]
jb 0x140009b20
mov edx, dword [rdi + 0x64]
lea rcx, [rbp - 1]
call fcn.140009680
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x140009b88
mov rbx, qword [rax]
call fcn.1400024a0
mov rcx, rax
mov qword [rsp + 0x20], rbx
lea r9, str.______Interface_type:__s
lea r8, str.NLMUtils::PrintAdapterInfo
mov edx, 3
call fcn.140014300
nop
mov r8, qword [rbp + 0x17]
cmp r8, 8
jb 0x140009bc8
inc r8
mov rdx, qword [rbp - 1]
lea rcx, [rbp - 1]
call fcn.1400054b0
mov rbx, qword [rbp - 9]
cmp dword [rdi + 0x64], 6
jne 0x140009bd7
mov byte [r12], 1
mov rdi, qword [rdi + 8]
cmp rbx, 8
jb 0x140009bf2
lea r8, [rbx + 1]
mov rdx, qword [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.1400054b0
test rdi, rdi
je 0x140009c14
jmp 0x1400099a0
call fcn.140042550
int3
call fcn.140042550
int3
call fcn.140042550
int3
call fcn.140042550
nop
test r15b, r15b
jne 0x140009c39
call fcn.1400024a0
mov rcx, rax
lea r9, str.Could_not_find_matching_adapter
lea r8, str.NLMUtils::PrintAdapterInfo
mov edx, 4
call fcn.140014300
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x140009c66
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.1400054b0
mov qword [rsi + 0x18], 7
xor eax, eax
mov qword [rsi + 0x10], rax
cmp qword [rsi + 0x18], 8
jb 0x140009c7e
mov rsi, qword [rsi]
mov word [rsi], ax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14001c760
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret