Function at 0x45c290
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x68f326
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x4b0]
mov dword fs:[0], eax
mov ebp, ecx
push 0xc
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x1c]
push str.Iphlpapi.dll
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00409260
mov dword [esp + 0x4b8], 0
mov eax, dword [0x74fd44]
test al, 1
jne 0x45c34c
or eax, 1
mov dword [0x74fd44], eax
mov byte [esp + 0x4b8], 1
mov dword [0x74fd40], 0
call fcn.004375a0
push 0x6b5140
call fcn.00547b44
add esp, 4
mov byte [esp + 0x4b8], 0
lea eax, [esp + 0x18]
mov ecx, 0x74fd40
push eax
call fcn.00437760
mov ebx, eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x4b8], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x45c382
push dword [esp + 0x18]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
test ebx, ebx
je 0x45c3f3
push str.GetAdaptersInfo
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x45c3f3
lea eax, [esp + 0xac]
mov dword [esp + 0xac], 0
push eax
push 0
call edi
push dword [esp + 0xac]
call fcn.004ca65e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x45c3f3
lea eax, [esp + 0xac]
push eax
push ebx
call edi
test eax, eax
je 0x45c3fa
push ebx
call fcn.005472b4
add esp, 4
xor al, al
jmp 0x45c7c7
mov eax, dword [esp + 0xac]
mov esi, ebx
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xb0]
push eax
push ebx
call edi
test eax, eax
jne 0x45c646
lea ecx, [ecx]
push dword [esi + 0x19c]
lea ecx, [esp + 0xb8]
call fcn.0044eba0
mov dword [esp + 0x4b8], 2
lea edx, [esi + 8]
lea ecx, [esp + 0x30]
call fcn.004280e0
mov byte [esp + 0x4b8], 3
lea ecx, [esp + 0xb4]
push eax
call fcn.00408c80
mov byte [esp + 0x4b8], 2
cmp dword [esp + 0x44], 8
jb 0x45c479
push dword [esp + 0x30]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
lea edx, [esi + 0x10c]
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x48]
mov word [esp + 0x30], ax
call fcn.004280e0
mov byte [esp + 0x4b8], 4
lea ecx, [esp + 0xcc]
push eax
call fcn.00408c80
mov byte [esp + 0x4b8], 2
cmp dword [esp + 0x5c], 8
jb 0x45c4cf
push dword [esp + 0x48]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
lea ecx, [esp + 0xb4]
lea eax, [esi + 0x194]
mov dword [esp + 0x58], 0
push eax
call fcn.0044eed0
lea edx, [esi + 0x1b0]
lea ecx, [esp + 0x60]
call fcn.004280e0
mov byte [esp + 0x4b8], 5
lea ecx, [esp + 0xe4]
push eax
call fcn.00408c80
mov byte [esp + 0x4b8], 2
cmp dword [esp + 0x74], 8
jb 0x45c538
push dword [esp + 0x60]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 7
lea edx, [esi + 0x1d8]
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x90]
mov word [esp + 0x60], ax
call fcn.004280e0
mov byte [esp + 0x4b8], 6
lea ecx, [esp + 0x114]
push eax
call fcn.00408c80
mov byte [esp + 0x4b8], 2
cmp dword [esp + 0xa4], 8
jb 0x45c597
push dword [esp + 0x90]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
lea edx, [esi + 0x1c0]
mov dword [esp + 0xa0], 0
lea ecx, [esp + 0x78]
mov word [esp + 0x90], ax
call fcn.004280e0
mov byte [esp + 0x4b8], 7
lea ecx, [esp + 0xfc]
push eax
call fcn.00408c80
mov byte [esp + 0x4b8], 2
cmp dword [esp + 0x8c], 8
jb 0x45c5f9
push dword [esp + 0x78]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], 7
mov word [esp + 0x78], ax
mov ecx, ebp
lea eax, [esp + 0xb4]
mov dword [esp + 0x88], 0
push eax
call fcn.0045e490
mov dword [esp + 0x4b8], 0xffffffff
lea ecx, [esp + 0xb4]
call fcn.0044ed80
mov esi, dword [esi]
test esi, esi
jne 0x45c420
push ebx
call fcn.005472b4
add esp, 4
push str.GetIfTable
push dword [esp + 0xac]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x45c778
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x360
push 0
mov dword [esp + 0xb0], 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x45c778
push 0
lea eax, [esp + 0xac]
mov dword [esp + 0xac], 0x360
push eax
push edi
call esi
cmp eax, 0x7a
jne 0x45c6d3
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0xa8]
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x45c778
push 0
lea eax, [esp + 0xac]
push eax
push edi
call esi
test eax, eax
jne 0x45c76c
xor ebx, ebx
cmp dword [edi], ebx
jbe 0x45c766
lea esi, [edi + 0x218]
lea esp, [esp]
lea eax, [esi - 0x214]
test eax, eax
je 0x45c75b
cmp dword [esi - 4], 6
jne 0x45c75b
lea ecx, [esp + 0xb4]
call fcn.0044eab0
mov dword [esp + 0x4b8], 8
lea ecx, [esp + 0xb4]
push esi
call fcn.0044eed0
lea eax, [esp + 0x12c]
push eax
lea ecx, [ebp + 0x24]
call fcn.00410bd0
mov dword [esp + 0x4b8], 0xffffffff
lea ecx, [esp + 0xb4]
call fcn.0044ed80
inc ebx
add esi, 0x35c
cmp ebx, dword [edi]
jb 0x45c700
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0x24]
cmp eax, dword [ebp + 0x28]
je 0x45c7c5
push dword [ebp + 0x28]
push eax
call fcn.0044b490
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
mov byte [esp + 0xb0], 0
push dword [esp + 0xb0]
call fcn.0044bd00
mov edx, eax
lea ecx, [ebp + 0x24]
sub edx, dword [ebp + 0x24]
mov eax, 0x2aaaaaab
imul edx
add esp, 0xc
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.0044afb0
mov al, 1
mov ecx, dword [esp + 0x4b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.005472b9
add esp, 0x4a8
ret