Function at 0x40f300
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ae34c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d4
push str.___r_n
call fcn.00410a60
lea eax, [esp + 4]
push eax
call fcn.004abb50
mov eax, dword [eax]
mov dword [esp + 0x4e4], 0
push eax
push str.Exception_report_created_by__s_r_n_r_n
call fcn.00410a60
add esp, 0x10
lea ecx, [esp]
mov dword [esp + 0x4dc], 0xffffffff
call sub.MFC42.DLL_CString::CString
push str.System_details:_r_n
call fcn.00410a60
lea ecx, [esp + 0x40]
push ecx
call fcn.0040e9b0
add esp, 8
test eax, eax
je 0x40f38b
lea edx, [esp + 0x3c]
push edx
push str._s_r_n
call fcn.00410a60
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.0040f5f0
mov eax, dword [eax]
mov byte [esp + 0x4e8], 2
push eax
push str._s_r_n
call fcn.00410a60
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.0040fe70
mov eax, dword [eax]
mov byte [esp + 0x4e8], 3
push eax
push str._s_r_n_r_n
call fcn.00410a60
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.0040ff60
mov ecx, dword [esi]
push eax
push ecx
push str.Exception_code:__08X__s_r_n
call fcn.00410a60
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esi + 0xc]
push eax
lea ecx, [esp + 0x128]
push 0x104
push ecx
push edx
call fcn.004101e0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x134]
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.00410a60
mov ebp, dword [edi + 4]
push str._r_nRegisters:_r_n
call fcn.00410a60
mov ecx, dword [ebp + 0x9c]
mov edx, dword [ebp + 0xa0]
mov eax, dword [ebp + 0xa8]
push ecx
mov ecx, dword [ebp + 0xac]
push edx
mov edx, dword [ebp + 0xa4]
push eax
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.00410a60
mov ecx, dword [ebp + 0xb8]
mov edx, dword [ebp + 0xbc]
add esp, 0x58
push ecx
push edx
push str.CS:EIP:_04X:_08X_r_n
call fcn.00410a60
mov eax, dword [ebp + 0xb4]
mov ecx, dword [ebp + 0xc4]
mov edx, dword [ebp + 0xc8]
push eax
push ecx
push edx
push str.SS:ESP:_04X:_08X__EBP:_08X_r_n
call fcn.00410a60
mov eax, dword [ebp + 0x8c]
mov ecx, dword [ebp + 0x90]
mov edx, dword [ebp + 0x94]
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.00410a60
mov ecx, dword [ebp + 0xc0]
push ecx
push str.Flags:_08X_r_n
call fcn.00410a60
add esp, 0x38
call dword [0x4e6c80]
or al, 0x14
push eax
call dword [0x4e6c7c]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4e6c84]
test eax, eax
je 0x40f5c1
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.00410280
push str._r_n
call fcn.00410a60
push str.Local_Variables_And_Parameters_r_n
call fcn.00410a60
mov ecx, 0xb3
mov esi, ebp
lea edi, [esp + 0x224]
lea eax, [esp + 0x224]
push 1
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00410280
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4e6c88]
push 0x4e13e8
call fcn.00410a60
add esp, 4
mov ecx, dword [esp + 0x4e0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4e0
ret