Function at 0x41c210
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x100
mov eax, dword [0x4de6d0]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebp
mov ebp, dword [esp + 0x108]
push esi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x38], 0x24a
mov ecx, dword [esp + 0x34]
lea edi, [ebp + 0x4c]
mov dword [ebp + 0x3c], ecx
mov dword [edi], 0
jne 0x41c454
xor eax, eax
push ebx
push 0x32
push eax
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call fcn.0043ef30
add esp, 0xc
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
cpuid
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c2b7
sub eax, edx
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.004074c0
mov eax, 1
cmp dword [esp + 0x10], eax
jb 0x41c327
lea esi, [ebp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cpuid
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
test esi, esi
je 0x41c2ff
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
test edi, edi
je 0x41c309
mov edx, dword [esp + 0x14]
mov dword [edi], edx
mov eax, dword [esi]
mov edx, eax
mov ecx, eax
shr edx, 4
and ecx, 0xf
and edx, 0xf
shr eax, 8
and eax, 0xf
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x44], edx
mov dword [ebp + 0x48], eax
mov esi, SysReAllocString
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x20]
cpuid
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
pop ebx
cmp dword [esp + 0xc], esi
jb 0x41c414
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edi, [esp + 0x60]
lea esi, [esp + 0x5c]
mov eax, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041c1b0
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x78]
push eax
lea edi, [esp + 0x78]
lea esi, [esp + 0x74]
mov eax, reloc.DSOUND.dll_DirectSoundEnumerateW
call fcn.0041c1b0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x90]
push edx
lea edi, [esp + 0x90]
lea esi, [esp + 0x8c]
mov eax, reloc.OLEAUT32.dll_SysReAllocStringLen
call fcn.0041c1b0
lea eax, [esp + 0x6c]
add esp, 0x18
lea edx, [eax + 1]
jmp 0x41c3c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c3c0
sub eax, edx
push eax
lea eax, [esp + 0x58]
lea edi, [ebp + 0x20]
push eax
mov ecx, edi
call fcn.004074c0
cmp dword [ebp + 0x34], 0
jbe 0x41c4c7
mov esi, 0x10
cmp dword [edi + 0x18], esi
jb 0x41c3f2
mov eax, dword [edi + 4]
jmp 0x41c3f5
lea eax, [edi + 4]
cmp byte [eax], 0x20
jne 0x41c4c7
push 1
push 0
mov ecx, edi
call fcn.00406fa0
cmp dword [ebp + 0x34], 0
ja 0x41c3e8
jmp 0x41c4c7
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x48]
push ecx
push edx
push eax
lea ecx, [esp + 0x94]
push str.x86_Family__d_Model__d_Stepping__d
push ecx
call fcn.0043d451
lea eax, [esp + 0x9c]
add esp, 0x14
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c440
sub eax, edx
push eax
lea edx, [esp + 0x8c]
push edx
jmp 0x41c4bd
push 7
push str.unknown
mov ecx, ebp
call fcn.004074c0
mov eax, dword [esp + 0x38]
cmp eax, 0xfa0
ja 0x41c4a6
je 0x41c49d
sub eax, 0x182
je 0x41c48c
sub eax, 0x64
jne 0x41c4ad
lea edi, [ebp + 0x20]
push 0x4d03c4
mov ecx, edi
call fcn.00406f70
jmp 0x41c4c7
lea edi, [ebp + 0x20]
push 0x4d03c0
mov ecx, edi
call fcn.00406f70
jmp 0x41c4c7
push 5
push str.R4000
jmp 0x41c4bd
cmp eax, 0x5248
je 0x41c4b6
push 7
push str.unknown
jmp 0x41c4bd
push 0xa
push str.ALPHA21064
lea edi, [ebp + 0x20]
mov ecx, edi
call fcn.004074c0
push 2
push 0x4d03dc
push edi
xor eax, eax
call fcn.00415130
cmp eax, 0xffffffff
je 0x41c502
jmp 0x41c4e0
push 1
push 0x4d03e0
push 2
call fcn.00414f60
push 2
push 0x4d03dc
push edi
xor eax, eax
call fcn.00415130
cmp eax, 0xffffffff
jne 0x41c4e0
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043ba5f
add esp, 0x100
ret 4