Function at 0x40f040
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x4adc9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d4
push str.___r_n
call fcn.00410730
lea eax, [esp + 4]
push eax
call fcn.004ab770
add esp, 8
mov eax, dword [eax]
mov dword [esp + 0x4dc], 0
push eax
push str.Exception_report_created_by__s_r_n_r_n
call fcn.00410730
add esp, 8
lea ecx, [esp]
mov dword [esp + 0x4dc], 0xffffffff
call sub.MFC42.DLL_CString::CString
push str.System_details:_r_n
call fcn.00410730
lea ecx, [esp + 0x40]
push ecx
call fcn.0040e6f0
add esp, 8
test eax, eax
je 0x40f0ce
lea edx, [esp + 0x3c]
push edx
push str._s_r_n
call fcn.00410730
add esp, 8
push ebp
push esi
lea eax, [esp + 0x20]
push edi
push eax
mov dword [esp + 0x24], vtable.CProcessorInfo.0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0xc]
mov dword [esp + 0x4e8], 1
push ecx
lea ecx, [esp + 0x24]
call fcn.0040f350
mov eax, dword [eax]
mov byte [esp + 0x4e8], 2
push eax
push str._s_r_n
call fcn.00410730
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x4e8], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call fcn.0040fb50
mov eax, dword [eax]
mov byte [esp + 0x4e8], 3
push eax
push str._s_r_n_r_n
call fcn.00410730
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x4e8], 1
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x4f0]
mov esi, dword [edi]
mov eax, dword [esi]
push eax
call fcn.0040fc40
mov ecx, dword [esi]
add esp, 4
push eax
push ecx
push str.Exception_code:__08X__s_r_n
call fcn.00410730
lea edx, [esp + 0x20]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esi + 0xc]
push eax
lea ecx, [esp + 0x124]
push 0x104
push ecx
push edx
call fcn.0040fec0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add esp, 0x20
lea eax, [esp + 0x110]
push eax
mov eax, dword [esi + 0xc]
push ecx
push edx
push eax
push str.Fault_address:___08X__02X:_08X__s_r_n
call fcn.00410730
mov ebp, dword [edi + 4]
add esp, 0x14
push str._r_nRegisters:_r_n
call fcn.00410730
mov ecx, dword [ebp + 0x9c]
mov edx, dword [ebp + 0xa0]
mov eax, dword [ebp + 0xa8]
add esp, 4
push ecx
mov ecx, dword [ebp + 0xac]
push edx
push eax
mov edx, dword [ebp + 0xa4]
mov eax, dword [ebp + 0xb0]
push ecx
push edx
push eax
push str.EAX:_08X_r_nEBX:_08X_r_nECX:_08X_r_nEDX:_08X_r_nESI:_08X_r_nEDI:_08X_r_n
call fcn.00410730
mov ecx, dword [ebp + 0xb8]
mov edx, dword [ebp + 0xbc]
add esp, 0x1c
push ecx
push edx
push str.CS:EIP:_04X:_08X_r_n
call fcn.00410730
mov eax, dword [ebp + 0xb4]
mov ecx, dword [ebp + 0xc4]
mov edx, dword [ebp + 0xc8]
add esp, 0xc
push eax
push ecx
push edx
push str.SS:ESP:_04X:_08X__EBP:_08X_r_n
call fcn.00410730
mov eax, dword [ebp + 0x8c]
mov ecx, dword [ebp + 0x90]
mov edx, dword [ebp + 0x94]
add esp, 0x10
push eax
mov eax, dword [ebp + 0x98]
push ecx
push edx
push eax
push str.DS:_04X__ES:_04X__FS:_04X__GS:_04X_r_n
call fcn.00410730
mov ecx, dword [ebp + 0xc0]
add esp, 0x14
push ecx
push str.Flags:_08X_r_n
call fcn.00410730
add esp, 8
call dword [0x4e5bc0]
or al, 0x14
push eax
call dword [0x4e5bbc]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4e5bc4]
test eax, eax
je 0x40f31f
mov ecx, 0xb3
mov esi, ebp
lea edi, [esp + 0x214]
lea edx, [esp + 0x214]
push 0
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0040ff60
add esp, 8
push str._r_n
call fcn.00410730
add esp, 4
push str.Local_Variables_And_Parameters_r_n
call fcn.00410730
mov ecx, 0xb3
mov esi, ebp
lea edi, [esp + 0x218]
lea eax, [esp + 0x218]
push 1
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040ff60
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4e5bc8]
push 0x4e03e8
call fcn.00410730
add esp, 4
mov ecx, dword [esp + 0x4e0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4e0
ret