Function at 0x1000a277
Capabilities:
Check os version
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c0
and byte [ebp - 0x30a], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
lea eax, [ebp - 0x3f4]
mov edi, 0x9c
push eax
mov byte [ebp - 0x3f8], 0x66
mov dword [ebp - 0x3f4], edi
call esi
lea eax, [ebp - 0x5c0]
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call fcn.1000a0d8
push 0x10
lea eax, [ebp - 0x34]
pop ebx
push ebx
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0xa8]
call dword [sym.imp.WS2_32.dll_getsockname]
lea eax, [ebp - 0x30]
push 4
push eax
lea eax, [ebp - 0x340]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x5c0]
push 0x32
push eax
lea eax, [ebp - 0x33c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
call fcn.10009711
mov dword [ebp - 0x358], eax
call fcn.100097d1
mov byte [ebp - 0x30a], al
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x134], edi
call esi
cmp dword [ebp - 0x130], 5
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x100171dc
jne 0x1000a371
cmp dword [ebp - 0x12c], 0
jne 0x1000a371
lea eax, [ebp - 0x354]
push 0x10016ae8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1000a3a0
push str.GetSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
lea ecx, [ebp - 0x98]
push ecx
call eax
push dword [ebp - 0x84]
lea eax, [ebp - 0x354]
push edi
push eax
call esi
add esp, 0xc
call fcn.100097d1
mov byte [ebp - 0x30a], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov ecx, 0x5265c00
cdq
idiv ecx
push eax
lea eax, [ebp - 0x45c]
push edi
push eax
call esi
mov eax, dword [ebp - 4]
mov ecx, 0x5265c00
cdq
idiv ecx
mov ecx, 0x36ee80
mov eax, edx
cdq
idiv ecx
push eax
lea eax, [ebp - 0x4c0]
push edi
push eax
call esi
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x309]
push 0x100175d8
push eax
call esi
lea eax, [ebp - 0x24]
push eax
call fcn.10009771
add esp, 0x2c
test eax, eax
je 0x1000a454
xor edi, edi
push edi
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
call fcn.10011bc0
push edi
push dword [ebp - 0x18]
push edx
push eax
call fcn.10011bc0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edx
push eax
call fcn.10011bc0
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
fild qword [ebp - 8]
fmul dword [0x100133b4]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x1dc], eax
push str.GlobalMemoryStatusEx
push str.kernel32.dll
mov dword [ebp - 0x74], 0x40
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
lea ecx, [ebp - 0x74]
push ecx
call eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
push 0x14
pop ecx
call fcn.10011b70
add eax, 1
adc edx, 0
push edx
push eax
lea eax, [ebp - 0x1d8]
push str._u_MB
push eax
call esi
call fcn.1000981e
push eax
lea eax, [ebp - 0x1a6]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x156]
push 0x20
push eax
push dword [ebp + 8]
call fcn.1000a19a
mov ecx, dword [ebp + 0x10]
add esp, 0x24
lea eax, [ebp - 0x3f8]
push 0x2c4
push eax
call fcn.10001dc2
pop edi
pop esi
pop ebx
leave
ret