Function at 0x4020c0
Capabilities:
Get memory capacity
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40d530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x71c
push ebx
push esi
push edi
mov ecx, 0xe9
xor eax, eax
lea edi, [ebp - 0x728]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0
call fcn.00401810
add esp, 4
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x402161
call fcn.00401070
lea esi, [eax - 1]
test esi, esi
jl 0x402161
lea edx, [ebp - 0x728]
mov ecx, 0xe9
xor eax, eax
lea edi, [ebp - 0x728]
push edx
push esi
rep stosd dword es:[edi], eax
call fcn.00401130
mov ecx, dword [ebp - 0x34]
add esp, 8
lea eax, [ebp - 0x728]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x402161
dec esi
jmp 0x402123
lea edx, [ebp - 0x6a8]
lea ecx, [ebp - 0x20]
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040a5ba
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040a5ba
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x40]
push ecx
push edx
mov byte [ebp - 4], 4
call fcn.00401b50
add esp, 0xc
test eax, eax
jne 0x4021e7
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x384]
push eax
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax]
push 0
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax]
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x3c], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 8]
push 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x1c]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov eax, dword [eax + 0x14]
push ecx
push edx
push ebx
add eax, 0x76c
push edi
push esi
push eax
lea eax, [ebp - 0x384]
push str._04d__02d__02d_20_02d:_02d:_02d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x17b]
mov byte [ebp - 0x17c], 0
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x17c]
stosw word es:[edi], ax
push ecx
push str.Version
push str.SOFTWARE_
stosb byte es:[edi], al
call fcn.004036a0
add esp, 0x2c
lea ecx, [ebp - 0x18]
call fcn.0040a5ba
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 5
push edx
call fcn.00403860
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x18]
push str.WINXP
push eax
call esi
add esp, 8
test eax, eax
jne 0x4022dd
mov ebx, 3
mov ecx, dword [ebp - 0x18]
push str.WINVISTA
push ecx
call esi
add esp, 8
test eax, eax
jne 0x4022f4
mov ebx, 5
mov edx, dword [ebp - 0x18]
push str.WINME
push edx
call esi
add esp, 8
test eax, eax
jne 0x40230b
mov ebx, 6
mov eax, dword [ebp - 0x18]
push str.WIN98
push eax
call esi
add esp, 8
test eax, eax
jne 0x402322
mov ebx, 1
mov ecx, dword [ebp - 0x18]
push str.WIN2000
push ecx
call esi
add esp, 8
test eax, eax
jne 0x402339
mov ebx, 2
mov edx, dword [ebp - 0x18]
push str.WIN2003
push edx
call esi
add esp, 8
test eax, eax
jne 0x402350
mov ebx, 4
mov eax, dword [ebp - 0x18]
push str.WINDOWS7
push eax
call esi
add esp, 8
test eax, eax
jne 0x402367
mov ebx, 7
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x27f]
mov byte [ebp - 0x280], 0
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x280]
stosw word es:[edi], ax
push ecx
push str.ProcessorNameString
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0_
stosb byte es:[edi], al
call fcn.004036a0
add esp, 0xc
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::CString_2
push 0x411318
push 0x411314
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::Replace
push 0x411318
push 0x411314
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Replace
push 0x411318
push 0x411314
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Replace
push 0x411318
push 0x411314
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Replace
push 0x411318
push 0x411314
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Replace
push 0x411318
push 0x411314
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [ebp - 0x30]
call fcn.0040a5ba
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x78], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x70]
shr eax, 0x14
cmp eax, 0x400
ja 0x402466
push eax
lea ecx, [ebp - 0x30]
push str._dMB
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40248f
mov ecx, eax
and eax, 0x3ff
shr ecx, 0xa
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [ebp - 0x30]
shl edx, 2
shr edx, 0xa
push edx
push ecx
push str._d._02dGB
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ecx, [ebp - 0x24]
call fcn.0040a5ba
mov edx, dword [ebp - 0x49]
mov eax, dword [ebp - 0x4a]
mov ecx, dword [ebp - 0x4b]
and edx, 0xff
and eax, 0xff
push edx
mov edx, dword [ebp - 0x4c]
and ecx, 0xff
push eax
mov eax, dword [ebp - 0x4d]
push ecx
mov ecx, dword [ebp - 0x4e]
and edx, 0xff
and eax, 0xff
push edx
and ecx, 0xff
push eax
push ecx
lea edx, [ebp - 0x24]
push str._02X:_02X:_02X:_02X:_02X:_02X
push edx
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x20]
add esp, 0x20
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x402511
push str.ADSL_Current_Account_is_empty.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x384]
push edx
mov edx, dword [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x17c]
push ebx
push eax
mov eax, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push str.Account_sType_dversions_sVerno_sTYVersions_sOS_dCPU_sRAM_sMac_sEscalateTime_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x30
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret