Function at 0x41c230
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x100
mov eax, dword [0x4936d0]
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 0x41c474
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.0043ecf0
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 0x41c2d7
sub eax, edx
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.00407360
mov eax, 1
cmp dword [esp + 0x10], eax
jb 0x41c347
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 0x41c31f
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
test edi, edi
je 0x41c329
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 0x41c434
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.0041c1d0
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x78]
push eax
lea edi, [esp + 0x78]
lea esi, [esp + 0x74]
mov eax, SysStringLen
call fcn.0041c1d0
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.0041c1d0
lea eax, [esp + 0x6c]
add esp, 0x18
lea edx, [eax + 1]
jmp 0x41c3e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c3e0
sub eax, edx
push eax
lea eax, [esp + 0x58]
lea edi, [ebp + 0x20]
push eax
mov ecx, edi
call fcn.00407360
cmp dword [ebp + 0x34], 0
jbe 0x41c4e7
mov esi, 0x10
cmp dword [edi + 0x18], esi
jb 0x41c412
mov eax, dword [edi + 4]
jmp 0x41c415
lea eax, [edi + 4]
cmp byte [eax], 0x20
jne 0x41c4e7
push 1
push 0
mov ecx, edi
call fcn.00406e60
cmp dword [ebp + 0x34], 0
ja 0x41c408
jmp 0x41c4e7
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.0043d21d
lea eax, [esp + 0x9c]
add esp, 0x14
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c460
sub eax, edx
push eax
lea edx, [esp + 0x8c]
push edx
jmp 0x41c4dd
push 7
push str.unknown
mov ecx, ebp
call fcn.00407360
mov eax, dword [esp + 0x38]
cmp eax, 0xfa0
ja 0x41c4c6
je 0x41c4bd
sub eax, 0x182
je 0x41c4ac
sub eax, 0x64
jne 0x41c4cd
lea edi, [ebp + 0x20]
push 0x4869e0
mov ecx, edi
call fcn.0040cd50
jmp 0x41c4e7
lea edi, [ebp + 0x20]
push 0x4869dc
mov ecx, edi
call fcn.0040cd50
jmp 0x41c4e7
push 5
push str.R4000
jmp 0x41c4dd
cmp eax, 0x5248
je 0x41c4d6
push 7
push str.unknown
jmp 0x41c4dd
push 0xa
push str.ALPHA21064
lea edi, [ebp + 0x20]
mov ecx, edi
call fcn.00407360
push 2
push 0x4869f8
push edi
xor eax, eax
call fcn.00415300
cmp eax, 0xffffffff
je 0x41c522
jmp 0x41c500
push 1
push 0x4869fc
push 2
call fcn.00415130
push 2
push 0x4869f8
push edi
xor eax, eax
call fcn.00415300
cmp eax, 0xffffffff
jne 0x41c500
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043bc1b
add esp, 0x100
ret 4