Function at 0x4732d0
Capabilities:
Get disk size
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x488fac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
mov eax, dword [0x4ce19c]
push ebp
push esi
push edi
push 0x48cf08
mov dword [esp + 0x104], eax
mov edi, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCR71.dll__wgetenv]
movzx eax, word [eax]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.0045ba10
add esp, 0x10
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
mov eax, dword [esp + 0x114]
cmp eax, 1
mov dword [esp + 0x10c], 0
jne 0x473365
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.0045b780
add esp, 8
jmp 0x473446
cmp eax, 0x20
jne 0x4733d8
call fcn.0045b990
mov ebp, eax
xor esi, esi
test ebp, ebp
jbe 0x473446
jmp 0x473380
mov al, byte [0x4e3114]
test al, al
mov ecx, edi
push esi
je 0x473393
call fcn.00472db0
jmp 0x473398
call fcn.00472f90
test eax, eax
je 0x4733d1
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0045b780
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.0045c220
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
and eax, edx
add esp, 0x10
or ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
inc esi
cmp esi, ebp
jb 0x473380
jmp 0x473446
cmp eax, 8
jne 0x473446
call fcn.0045b990
mov ebp, eax
xor esi, esi
test ebp, ebp
jbe 0x473446
lea ebx, [ebx]
mov al, byte [0x4e3114]
test al, al
mov ecx, edi
push esi
je 0x473403
call fcn.00472ea0
jmp 0x473408
call fcn.00473130
test eax, eax
je 0x473441
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0045b780
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.0045c220
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
and eax, edx
add esp, 0x10
or ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
inc esi
cmp esi, ebp
jb 0x4733f0
mov eax, dword [esp + 0xc]
shr eax, 2
push 0x4a3e7c
mov dword [esp + 0x14], eax
push 0x64
lea eax, [esp + 0x40]
push eax
mov esi, 2
call fcn.0040120a
push 0x48b000
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x473517
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edi, edi
test al, 1
je 0x473504
lea edx, [esp + 0x38]
lea ecx, [esi + 0x41]
push edx
mov word [esp + 0x3c], cx
call edi
cmp eax, 3
je 0x4734ad
cmp eax, 2
jne 0x4734f7
push 0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x44]
push eax
call ebp
test eax, eax
jne 0x4734d9
mov eax, dword [esp + 0xc]
mov edx, 1
mov ecx, esi
shl edx, cl
xor eax, edx
mov dword [esp + 0xc], eax
jmp 0x473504
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov eax, dword [esp + 0x28]
jne 0x4734e9
test eax, eax
je 0x4734f7
test eax, eax
ja 0x473504
jb 0x4734f7
cmp ecx, 0x40000000
jae 0x473504
mov ecx, esi
mov eax, 1
shl eax, cl
xor dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
shr eax, 1
inc esi
test eax, eax
mov dword [esp + 0x10], eax
jne 0x473490
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x104]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xf8]
pop ebp
call fcn.00475533
add esp, 0x104
ret 4