Function at 0x100bbf9
Capabilities:
Get disk size
Get memory capacity
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1e4
mov eax, dword [0x1010b74]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x1e0], eax
push esi
mov dword [ebp - 0x1e4], ecx
call fcn.0100bb2f
test eax, eax
je 0x100bc39
xor eax, eax
inc eax
jmp 0x100c20b
push ebx
mov ebx, 0xe00
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [ebp - 0x1d8], eax
je 0x100c20a
cmp dword [ebp + 0xc], ebx
push edi
ja 0x100c10b
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x1d8]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
add eax, 8
mov ecx, edx
and ecx, 3
and eax, 0xfffffff8
cmp eax, 0xe00
rep movsb byte es:[edi], byte [esi]
ja 0x100c105
mov ecx, dword [ebp - 0x1d8]
mov ebx, 0xe00
lea esi, [eax + ecx]
sub ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 8
pop edi
cmp ebx, edi
mov dword [esi], eax
jb 0x100c105
add esi, edi
sub ebx, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, edi
mov dword [esi], eax
jb 0x100c105
add esi, edi
sub ebx, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp ebx, edi
mov dword [esi], eax
jb 0x100c105
sub ebx, edi
add esi, edi
cmp ebx, 0x10
jb 0x100c10b
push esi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp ebx, 0x18
jb 0x100c105
sub ebx, 0x18
add esi, 0x18
cmp ebx, edi
jb 0x100c10b
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0x10
pop edi
cmp ebx, edi
jb 0x100c105
push 0x20
sub ebx, edi
pop eax
add esi, edi
cmp ebx, eax
jb 0x100c10b
push esi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp ebx, 0x28
jb 0x100c105
sub ebx, 0x28
add esi, 0x28
cmp ebx, edi
jb 0x100c10b
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
lea eax, [esi + 4]
push eax
push esi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp ebx, 0x18
jb 0x100c105
add esi, 0x18
sub ebx, 0x18
cmp dword [0x10221d0], edi
mov dword [ebp - 0x1d4], esi
jne 0x100be3d
mov dword [ebp - 0x1dc], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp eax, edi
mov dword [ebp - 0x1d0], eax
jne 0x100bdb3
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
cmp eax, edi
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1dc], 1
je 0x100be33
lea eax, [ebp - 0xbc]
push eax
call fcn.0100cbc0
mov esi, dword [ebp - 0x1d0]
xor edi, edi
cmp dword [ebp - 0x1dc], 0
jne 0x100bddf
lea esi, [esi + edi + 2]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
jmp 0x100bdea
lea esi, [esi + edi + 1]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push edi
push esi
lea eax, [ebp - 0xbc]
push eax
call fcn.0100cc00
test edi, edi
jne 0x100bdc7
lea eax, [ebp - 0xbc]
push eax
call fcn.0100cd50
cmp dword [ebp - 0x1dc], 0
push dword [ebp - 0x1d0]
lea esi, [ebp - 0x64]
mov edi, 0x10221d4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x100be2d
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x100be33
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov dword [0x10221d0], 1
cmp ebx, 0x10
jb 0x100c10b
cmp ebx, 0x18
mov edi, dword [ebp - 0x1d4]
mov esi, 0x10221d4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jb 0x100c105
mov esi, dword [ebp - 0x1d4]
push 0x18
pop edi
add esi, edi
sub ebx, edi
call fcn.0100ba2d
test eax, eax
jne 0x100beb3
cmp ebx, 8
jb 0x100c10b
push esi
call dword [0x10221e8]
cmp ebx, 0x10
jb 0x100c105
sub ebx, 0x10
cmp ebx, 4
jb 0x100c10b
call dword [0x10221ec]
cmp ebx, 8
mov dword [esi + 0x10], eax
jb 0x100c105
sub ebx, 8
jmp 0x100c10b
push 0x40
pop eax
cmp ebx, eax
mov dword [ebp - 0x1d4], eax
jb 0x100c10b
lea eax, [ebp - 0x1d4]
push eax
push esi
call fcn.0100cbb4
test eax, eax
je 0x100beed
mov eax, dword [ebp - 0x1d4]
add eax, 8
and eax, 0xfffffff8
cmp eax, ebx
ja 0x100c105
add esi, eax
sub ebx, eax
mov eax, dword [0x10221f0]
test eax, eax
je 0x100c10b
push 0
push ebx
push esi
push 5
mov dword [ebp - 0x1d0], ebx
call eax
cmp ebx, 0x14
jb 0x100c10b
lea eax, [ebp - 0xc8]
push eax
call fcn.01009590
push dword [ebp - 0x1d0]
lea eax, [ebp - 0xc8]
push esi
push eax
call fcn.01009680
push esi
lea eax, [ebp - 0xc8]
push eax
call fcn.010097b0
cmp ebx, edi
jb 0x100c105
sub ebx, edi
add esi, edi
cmp ebx, 0x30
jb 0x100c10b
lea eax, [ebp - 0x1d0]
push eax
push 0x30
push esi
push 3
call dword [0x10221f0]
test eax, eax
jl 0x100bf80
mov eax, dword [ebp - 0x1d0]
add eax, 8
and eax, 0xfffffff8
cmp eax, ebx
ja 0x100c105
add esi, eax
sub ebx, eax
cmp ebx, edi
jb 0x100c10b
lea eax, [ebp - 0x1d0]
push eax
push edi
push esi
push 7
call dword [0x10221f0]
test eax, eax
jl 0x100bfb5
mov eax, dword [ebp - 0x1d0]
add eax, 8
and eax, 0xfffffff8
cmp eax, ebx
ja 0x100c105
add esi, eax
sub ebx, eax
mov eax, 0x138
cmp ebx, eax
jb 0x100c10b
lea ecx, [ebp - 0x1d0]
push ecx
push eax
push esi
push 2
call dword [0x10221f0]
test eax, eax
jl 0x100bfef
mov eax, dword [ebp - 0x1d0]
add eax, 8
and eax, 0xfffffff8
cmp eax, ebx
ja 0x100c105
add esi, eax
sub ebx, eax
cmp ebx, 0x10
jb 0x100c10b
lea eax, [ebp - 0x1d0]
push eax
push 0x10
push esi
push 0x21
call dword [0x10221f0]
test eax, eax
jl 0x100c026
mov eax, dword [ebp - 0x1d0]
add eax, 8
and eax, 0xfffffff8
cmp eax, ebx
ja 0x100c105
add esi, eax
sub ebx, eax
cmp ebx, 0x20
jb 0x100c10b
lea eax, [ebp - 0x1d0]
push eax
push 0x20
push esi
push 0x2d
call dword [0x10221f0]
test eax, eax
jl 0x100c05d
mov eax, dword [ebp - 0x1d0]
add eax, 8
and eax, 0xfffffff8
cmp eax, ebx
ja 0x100c105
add esi, eax
sub ebx, eax
lea eax, [ebp - 0x1d0]
push eax
push ebx
push esi
push 8
mov dword [ebp - 0x1d0], ebx
call dword [0x10221f0]
test eax, eax
jl 0x100c0b5
cmp ebx, 0x14
jb 0x100c10b
lea eax, [ebp - 0xc8]
push eax
call fcn.01009590
push dword [ebp - 0x1d0]
lea eax, [ebp - 0xc8]
push esi
push eax
call fcn.01009680
push esi
lea eax, [ebp - 0xc8]
push eax
call fcn.010097b0
cmp ebx, edi
jb 0x100c105
add esi, edi
sub ebx, edi
lea eax, [ebp - 0x1d0]
push eax
push ebx
push esi
push 0x17
mov dword [ebp - 0x1d0], ebx
call dword [0x10221f0]
test eax, eax
jl 0x100c10b
cmp ebx, 0x14
jb 0x100c10b
lea eax, [ebp - 0xc8]
push eax
call fcn.01009590
push dword [ebp - 0x1d0]
lea eax, [ebp - 0xc8]
push esi
push eax
call fcn.01009680
push esi
lea eax, [ebp - 0xc8]
push eax
call fcn.010097b0
cmp ebx, edi
jae 0x100c109
xor ebx, ebx
jmp 0x100c10b
sub ebx, edi
push 0x14
pop ecx
lea eax, [ebp - 0x54]
push eax
push 0x50
lea eax, [ebp - 0x1cc]
mov esi, 0x1022060
lea edi, [ebp - 0x54]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.010099bd
mov ecx, 0xe00
mov eax, ecx
sub eax, ebx
cmp eax, ecx
jbe 0x100c139
mov eax, ecx
lea ecx, [ebp - 0x54]
push ecx
push eax
push dword [ebp - 0x1d8]
call fcn.0100c8a3
push 0x14
pop ecx
push 0x14
mov ebx, eax
lea esi, [ebp - 0x54]
lea edi, [ebp - 0xa4]
rep movsd dword es:[edi], dword [esi]
pop ecx
lea eax, [ebp - 0xa4]
push eax
push 0x50
lea esi, [ebp - 0x54]
mov edi, 0x1022060
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea eax, [ebp - 0x1cc]
push eax
call fcn.01009870
push esi
lea eax, [ebp - 0xa4]
push eax
call fcn.0100c69a
lea eax, [ebp - 0xa4]
mov ecx, esi
pop edi
mov byte [eax], 0
inc eax
dec ecx
jne 0x100c193
lea eax, [ebp - 0x54]
push eax
push esi
lea eax, [ebp - 0x1cc]
push eax
call fcn.010099bd
lea eax, [ebp - 0x54]
mov byte [eax], 0
inc eax
dec esi
jne 0x100c1ae
push dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1e4]
push dword [eax]
lea eax, [ebp - 0x1cc]
push eax
call fcn.01009870
lea eax, [ebp - 0x1cc]
mov ecx, 0x102
mov byte [eax], 0
inc eax
dec ecx
jne 0x100c1da
mov eax, dword [ebp - 0x1d8]
mov ecx, 0xe00
mov byte [eax], 0
inc eax
dec ecx
jne 0x100c1ec
push dword [ebp - 0x1d8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.010090ab
leave
ret 0x10