Function at 0x100107a0
Capabilities:
Check os version
Get memory capacity
Get system information on windows
Print debug messages

Disassembly:
sub esp, 0xf64
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push ebp
push esi
lea eax, [esp + 0x80]
push edi
push eax
mov byte [esp + 0x84], 0x66
mov byte [esp + 0x238], 0
mov dword [esp + 0x88], 0x11c
call ebx
mov ebp, dword [esp + 0xf78]
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x976]
mov word [esp + 0x974], 0
push 0x200
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x978]
push ecx
push ebp
stosw word es:[edi], ax
call fcn.10010750
xor edx, edx
add esp, 0xc
mov dword [esp + 0x14], edx
lea eax, [esp + 0x10]
mov dword [esp + 0x18], edx
push eax
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xf88]
push ecx
mov dword [esp + 0x18], 0x10
mov eax, dword [edx + 0xa8]
push eax
call dword [fcn.100043ac]
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x974]
mov dword [esp + 0x1cc], ecx
mov ecx, 0x19
lea edi, [esp + 0x1d0]
rep movsd dword es:[edi], dword [esi]
call fcn.100102c0
lea edx, [esp + 0x400]
mov dword [esp + 0x1a0], eax
push edx
mov dword [esp + 0x404], 0x11c
call ebx
mov eax, dword [esp + 0x404]
mov esi, dword [fcn.100042fc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp eax, 5
jne 0x100108bb
mov eax, dword [esp + 0x408]
test eax, eax
jne 0x100108bb
lea eax, [esp + 0x1a4]
push 0x10001dac
push eax
call ebx
jmp 0x100108dd
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x1a4]
push edx
push 0x10002720
push eax
call esi
add esp, 0xc
call fcn.10010400
mov ecx, dword [esp + 0xf88]
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x238], al
mov dword [esp + 0x23c], ecx
call fcn.10010260
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mul dword [esp + 0x38]
add esp, 4
push 0
push ecx
push edx
push eax
call fcn.10019a30
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.10019a30
shrd eax, edx, 0x1e
shr edx, 0x1e
lea edx, [esp + 0x3c]
mov dword [esp + 0x31c], eax
push edx
mov dword [esp + 0x40], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x44]
shr eax, 0x14
mov dword [esp + 0x320], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
mov ecx, 0x5265c00
idiv ecx
mov edi, edx
push eax
lea edx, [esp + 0x6b0]
push 0x10002720
push edx
call esi
mov eax, edi
mov ecx, 0x36ee80
cdq
idiv ecx
mov edi, edx
push eax
lea edx, [esp + 0x52c]
push 0x10002720
push edx
call esi
mov eax, 0x45e7b273
lea ecx, [esp + 0x5fc]
imul edi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0x10002720
push ecx
call esi
lea edx, [esp + 0x608]
lea eax, [esp + 0x540]
push edx
lea ecx, [esp + 0x6d4]
push eax
push ecx
lea edx, [esp + 0x354]
push 0x100029c8
push edx
call esi
add esp, 0x38
call fcn.10010440
push eax
lea eax, [esp + 0x280]
push eax
call ebx
lea ecx, [esp + 0x27c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor esi, esi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x776]
mov word [esp + 0x774], si
lea edx, [esp + 0x774]
rep stosd dword es:[edi], eax
push 0x200
push edx
push ebp
stosw word es:[edi], ax
call fcn.100106c0
add esp, 0xc
lea eax, [esp + 0x774]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, dword [sym.imp.MSVCRT.dll_mbstowcs]
test eax, eax
jne 0x10010a8f
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0xd76]
mov word [esp + 0xd74], si
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xf80]
push 0x100
lea edx, [esp + 0xd78]
push ecx
push edx
stosw word es:[edi], ax
call ebp
add esp, 0xc
lea eax, [esp + 0xd74]
lea ecx, [esp + 0x23c]
push eax
push ecx
jmp 0x10010a9f
lea edx, [esp + 0x774]
lea eax, [esp + 0x23c]
push edx
push eax
call ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0xb76]
mov word [esp + 0xb74], si
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xf7c]
push 0x100
lea edx, [esp + 0xb78]
push ecx
push edx
stosw word es:[edi], ax
call ebp
add esp, 0xc
mov ecx, 5
lea esi, [esp + 0xb74]
lea edi, [esp + 0x3ec]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xf84]
lea eax, [esp + 0x80]
push 0x380
push eax
call fcn.10006950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf64
ret