Function at 0x45c040
Capabilities:
Check os version
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9cb7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x50e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 0x1a9], 0
mov dword [ebp - 0x1c4], edi
call fcn.0045d7d0
mov ebx, dword [sym.imp.MSVCR100.dll_malloc]
push 0x3a98
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1c4], 0x3a98
call ebx
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c0], esi
cmp esi, edi
je 0x45c964
push 0x3a98
push edi
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1c4]
push ecx
push esi
push edi
push 0x90
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
call edi
test eax, eax
je 0x45c140
cmp eax, 0x6f
jne 0x45c954
mov edx, esi
push edx
call dword [sym.imp.MSVCR100.dll_free]
mov esi, dword [ebp - 0x1c4]
push esi
call ebx
add esp, 8
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x45c964
push esi
mov esi, eax
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c4]
push eax
push esi
push 0
push 0x90
push 0
call edi
test eax, eax
jne 0x45c954
mov dword [ebp - 0x1b4], esi
mov edi, esi
mov ecx, dword [ebp - 0x1d0]
cmp ecx, dword [edi + 4]
jne 0x45c93d
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov byte [ebp - 0x1a9], 1
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x45c166
mov ebx, dword [ebp - 0x1bc]
sub eax, esi
push eax
push ecx
mov ecx, ebx
call fcn.00405360
mov ecx, dword [edi + 0x24]
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], dx
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x45c1a0
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.00411070
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.brbase.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_base::SysWideToNativeMB_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
mov edi, eax
lea esi, [ebx + 0x1c]
cmp esi, edi
je 0x45c233
cmp dword [esi + 0x14], 0x10
jb 0x45c1ec
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [edi + 0x14], 0x10
jae 0x45c215
mov eax, dword [edi + 0x10]
inc eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x45c21f
mov edx, dword [edi]
mov dword [esi], edx
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
xor eax, eax
mov dword [esi + 0x14], ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
cmp dword [ebp - 0x40], 0x10
jb 0x45c246
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 8
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
jb 0x45c272
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [ecx + 0x28]
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x45c294
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.00411070
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 4], 2
call dword [sym.imp.brbase.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_base::SysWideToNativeMB_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
mov edi, eax
lea esi, [ebx + 0x38]
cmp esi, edi
je 0x45c327
cmp dword [esi + 0x14], 0x10
jb 0x45c2e0
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [edi + 0x14], 0x10
jae 0x45c309
mov eax, dword [edi + 0x10]
inc eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x45c313
mov edx, dword [edi]
mov dword [esi], edx
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
xor eax, eax
mov dword [esi + 0x14], ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
cmp dword [ebp - 0x40], 0x10
jb 0x45c33a
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x24], 8
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
jb 0x45c35f
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x1b4]
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x38]
cmp eax, 6
je 0x45c3a0
cmp eax, 0x47
je 0x45c397
push 5
push str.Other
jmp 0x45c3a7
push 8
push str.Wireless
jmp 0x45c3a7
push 8
push str.Ethernet
call fcn.00405360
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebx + 0xb8]
call fcn.004059c0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 0x10
jb 0x45c3d9
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x1b4]
mov esi, dword [ecx + 0x1c]
test esi, esi
je 0x45c48f
lea ebx, [ebx]
mov eax, dword [esi + 0xc]
movzx ecx, word [eax]
cmp ecx, 2
jne 0x45c42a
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.00461180
lea edi, [ebx + 0x70]
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.00435820
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0x10
jb 0x45c484
mov edx, dword [ebp - 0x54]
push edx
jmp 0x45c47b
cmp ecx, 0x17
jne 0x45c484
mov edx, dword [eax + 8]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x54]
call fcn.004611a0
add esp, 0x10
lea edi, [ebx + 0xf0]
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.00435820
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0x10
jb 0x45c484
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi + 8]
test esi, esi
jne 0x45c3f0
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1b8], eax
test eax, eax
je 0x45c69a
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax + 0xc]
movzx ecx, word [eax]
cmp ecx, 2
jne 0x45c4fe
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.00461180
mov dword [ebp - 4], 7
cmp dword [ebp - 0x44], 0
je 0x45c4e5
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x54
call fcn.004059c0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0x10
jb 0x45c683
mov edx, dword [ebp - 0x54]
jmp 0x45c679
cmp ecx, 0x17
jne 0x45c683
mov edx, dword [eax + 8]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x38]
call fcn.004611a0
add esp, 0x10
mov dword [ebp - 4], 8
cmp dword [ebp - 0x28], 0
je 0x45c5e0
mov ebx, dword [sym.imp.MSVCP100.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
call ebx
mov edi, dword [sym.imp.MSVCP100.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Getgloballocale_void_]
mov esi, eax
mov dword [ebp - 0x1cc], esi
call edi
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::locale::facet::_Incref_void_]
push ecx
mov byte [ebp - 4], 9
or dword [ebp - 0x1b0], 1
mov eax, esp
mov ecx, esi
mov dword [ebp - 0x1d4], esp
mov dword [eax], esi
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::locale::facet::_Incref_void_]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, str.fe80
call fcn.00403fc0
add esp, 8
test al, al
jne 0x45c5e0
call ebx
mov esi, eax
mov dword [ebp - 0x1c8], esi
call edi
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::locale::facet::_Incref_void_]
push ecx
mov dword [ebp - 4], 0xa
or dword [ebp - 0x1b0], 2
mov eax, esp
mov ecx, esi
mov dword [ebp - 0x1d4], esp
mov dword [eax], esi
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::locale::facet::_Incref_void_]
lea edx, [ebp - 0x38]
push edx
mov ecx, str.fec0
call fcn.00403fc0
add esp, 8
test al, al
jne 0x45c5e0
mov bl, 1
jmp 0x45c5e2
xor bl, bl
mov dword [ebp - 4], 9
test byte [ebp - 0x1b0], 2
je 0x45c617
mov ecx, dword [ebp - 0x1c8]
and dword [ebp - 0x1b0], 0xfffffffd
test ecx, ecx
je 0x45c617
call dword [sym.imp.MSVCP100.dll_public:_class_std::locale::facet____thiscall_std::locale::facet::_Decref_void_]
test eax, eax
je 0x45c617
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
mov dword [ebp - 4], 8
test byte [ebp - 0x1b0], 1
je 0x45c64c
mov ecx, dword [ebp - 0x1cc]
and dword [ebp - 0x1b0], 0xfffffffe
test ecx, ecx
je 0x45c64c
call dword [sym.imp.MSVCP100.dll_public:_class_std::locale::facet____thiscall_std::locale::facet::_Decref_void_]
test eax, eax
je 0x45c64c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
test bl, bl
je 0x45c669
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x1bc]
add ecx, 0xd4
call fcn.004059c0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 0x10
jb 0x45c683
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1b8], eax
test eax, eax
jne 0x45c4a6
xor esi, esi
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x70], 0
mov edi, dword [ebp - 0x1b4]
mov dword [ebp - 4], 0xb
mov eax, dword [edi + 0x34]
cmp eax, esi
jbe 0x45c721
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
xor ecx, ecx
dec eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov byte [ebp - 0x13], cl
cmp esi, eax
jne 0x45c6e9
movzx ecx, byte [edi + esi + 0x2c]
push ecx
push str._.2x
lea edx, [ebp - 0x1c]
push edx
jmp 0x45c6f8
movzx eax, byte [edi + esi + 0x2c]
push eax
push str._.2x_
lea ecx, [ebp - 0x1c]
push ecx
call ebx
lea eax, [ebp - 0x1c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45c703
sub eax, edx
push eax
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x70]
call fcn.0040e4c0
mov eax, dword [edi + 0x34]
inc esi
cmp esi, eax
jb 0x45c6c4
mov ecx, dword [ebp - 0x1bc]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x70]
push eax
add ecx, 0x9c
call fcn.004059c0
push 0x11c
lea ecx, [ebp - 0x1a8]
push 0
push ecx
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea edx, [ebp - 0x1a8]
push edx
mov dword [ebp - 0x1a8], 0x11c
call esi
test eax, eax
jne 0x45c788
lea eax, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x1a8], 0x114
call esi
test eax, eax
je 0x45c923
cmp dword [ebp - 0x1a4], 6
jb 0x45c923
mov edi, dword [edi + 0xa4]
mov dword [ebp - 0x1b8], edi
test edi, edi
je 0x45c923
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ecx + 0xc]
movzx ecx, word [eax]
cmp ecx, 2
jne 0x45c848
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.00461180
mov edi, eax
mov esi, dword [ebp - 0x1bc]
sub esi, 0xffffff80
cmp esi, edi
je 0x45c828
cmp dword [esi + 0x14], 0x10
jb 0x45c7ea
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [edi + 0x14], 0x10
jae 0x45c810
mov eax, dword [edi + 0x10]
inc eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x45c816
mov edx, dword [edi]
mov dword [esi], edx
mov dword [edi], ebx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x40], 0x10
jb 0x45c90c
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x45c90c
cmp ecx, 0x17
jne 0x45c90c
mov edx, dword [eax + 8]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x8c]
call fcn.004611a0
add esp, 0x10
mov edi, eax
mov esi, dword [ebp - 0x1bc]
add esi, 0x100
cmp esi, edi
je 0x45c8df
cmp dword [esi + 0x14], 0x10
jb 0x45c89f
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [edi + 0x14], 0x10
jae 0x45c8c5
mov eax, dword [edi + 0x10]
inc eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x45c8cb
mov ecx, dword [edi]
mov dword [esi], ecx
mov dword [edi], ebx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
jmp 0x45c8e1
xor ebx, ebx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x78], 0x10
jb 0x45c8fb
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], 0
mov edx, dword [ebp - 0x1b8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x1b8], eax
test eax, eax
jne 0x45c7a9
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x5c], 0x10
jb 0x45c93d
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x1b4]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x1b4], edi
test edi, edi
jne 0x45c148
mov edx, dword [ebp - 0x1c0]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov al, byte [ebp - 0x1a9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a665a
mov esp, ebp
pop ebp
ret