Function at 0x1800083f0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rdi
push r13
push r14
sub rsp, 0xe8
mov rdi, rcx
lea rcx, str.iphlpapi
xor r14d, r14d
mov r13, rdx
mov dword [rsp + 0x128], r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.GetAdaptersAddresses
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x18000845d
lea rcx, str._INTERFACE__No_GetAdaptersAddresses._Falling_back_on_get_interfaces_mib
call fcn.1800080c0
mov rdx, r13
mov rcx, rdi
call fcn.1800081f0
add rsp, 0xe8
pop r14
pop r13
pop rdi
pop rbx
ret
xor r9d, r9d
lea rax, [rsp + 0x128]
xor r8d, r8d
lea edx, [r9 + 0x1e]
xor ecx, ecx
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0x20], rax
call rbx
mov ecx, dword [rsp + 0x128]
call fcn.18002ce68
mov r12, rax
test rax, rax
jne 0x18000849e
lea eax, [r12 + 8]
jmp 0x18000876d
xor r8d, r8d
lea rax, [rsp + 0x128]
mov r9, r12
lea edx, [r8 + 0x1e]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call rbx
test eax, eax
je 0x1800084cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
jmp 0x180008762
mov edx, dword [r12]
lea rcx, str._INTERFACE__pAdapters__Length___d
call fcn.1800080c0
cmp dword [r12], 0x48
ja 0x180008501
lea rcx, str._INTERFACE__PIP_ADAPTER_PREFIX_is_missing
call fcn.1800080c0
mov rdx, r13
mov rcx, rdi
call fcn.1800081f0
mov r14d, eax
jmp 0x180008762
mov qword [rsp + 0x110], rbp
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x9c
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xd0], r15
call fcn.18002d6f0
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov r15, r12
mov rax, qword [0x180061460]
mov rbp, qword [r15 + 0xb0]
call qword [rax + 0xd8]
mov edx, dword [r15 + 4]
lea rcx, str._INTERFACE__Adding_index:__u
mov rsi, rax
call fcn.1800080c0
mov r9, qword [0x180061460]
mov r8d, dword [r15 + 4]
mov edx, 0x2057c
mov rcx, rsi
call qword [r9 + 0x58]
lea rcx, str._INTERFACE__Adding_MAC
call fcn.1800080c0
mov rax, qword [0x180061460]
mov r9d, dword [r15 + 0x58]
lea r8, [r15 + 0x50]
mov edx, 0x40597
mov rcx, rsi
call qword [rax + 0x48]
lea rcx, str._INTERFACE__Adding_Description
call fcn.1800080c0
mov rax, qword [0x180061460]
mov r8, qword [r15 + 0x40]
mov edx, 0x10598
mov rcx, rsi
call qword [rax + 0x60]
mov edx, dword [r15 + 0x60]
lea rcx, str._INTERFACE__Adding_MTU:__u
call fcn.1800080c0
mov rax, qword [0x180061460]
mov r8d, dword [r15 + 0x60]
mov edx, 0x2057a
mov rcx, rsi
call qword [rax + 0x58]
mov rbx, qword [r15 + 0x18]
test rbx, rbx
je 0x180008728
mov ecx, 2
lea r13d, [rcx + 0x15]
mov rdi, qword [rbx + 0x10]
movzx eax, word [rdi]
cmp cx, ax
je 0x180008619
cmp r13w, ax
jne 0x180008713
cmp dword [rsp + 0x34], 6
mov dword [rsp + 0x120], r14d
jb 0x18000863e
movzx edx, byte [rbx + 0x38]
lea rcx, [0x180045320]
call fcn.1800080c0
movzx ecx, byte [rbx + 0x38]
jmp 0x180008655
test rbp, rbp
je 0x180008696
mov edx, dword [rbp + 0x20]
lea rcx, str._INTERFACES____Vista__using_prefix:__x
call fcn.1800080c0
mov ecx, dword [rbp + 0x20]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x120], eax
test eax, eax
je 0x1800086aa
lea rcx, str._INTERFACE__Adding_Prefix:__x
mov edx, eax
call fcn.1800080c0
mov rax, qword [0x180061460]
lea r8, [rsp + 0x120]
mov r9d, 4
mov edx, 0x20590
mov rcx, rsi
call qword [rax + 0x48]
jmp 0x1800086aa
lea rcx, str._INTERFACES____Vista__no_prefix
call fcn.1800080c0
mov dword [rsp + 0x120], r14d
cmp word [rdi], 2
jne 0x1800086ca
mov edx, dword [rdi + 4]
lea rcx, str._INTERFACE__Adding_IPv4_Address:__x
call fcn.1800080c0
lea r8, [rdi + 4]
mov edx, 0x40596
jmp 0x1800086fb
lea rcx, str._INTERFACE__Adding_IPv6_Address
call fcn.1800080c0
mov rax, qword [0x180061460]
lea r8, [rdi + 8]
mov edx, 0x40596
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rsi
call qword [rax + 0x48]
lea r8, [rdi + 0x18]
mov edx, 0x4059a
mov rax, qword [0x180061460]
mov r9d, 4
mov rcx, rsi
call qword [rax + 0x48]
mov ecx, 2
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180008603
mov r13, qword [rsp + 0x118]
mov rax, qword [0x180061460]
mov r8, rsi
mov edx, 0x40000599
mov rcx, r13
call qword [rax + 0x20]
mov r15, qword [r15 + 8]
test r15, r15
jne 0x180008541
mov r15, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0x110]
mov rcx, r12
call fcn.18002ce28
mov eax, r14d
mov r12, qword [rsp + 0xd8]
add rsp, 0xe8
pop r14
pop r13
pop rdi
pop rbx
ret