Function at 0x41c1e0
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 0x41c424
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.0043ec20
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 0x41c287
sub eax, edx
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.004072b0
mov eax, 1
cmp dword [esp + 0x10], eax
jb 0x41c2f7
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 0x41c2cf
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
test edi, edi
je 0x41c2d9
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 0x41c3e4
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.0041c180
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.0041c180
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.0041c180
lea eax, [esp + 0x6c]
add esp, 0x18
lea edx, [eax + 1]
jmp 0x41c390
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c390
sub eax, edx
push eax
lea eax, [esp + 0x58]
lea edi, [ebp + 0x20]
push eax
mov ecx, edi
call fcn.004072b0
cmp dword [ebp + 0x34], 0
jbe 0x41c497
mov esi, 0x10
cmp dword [edi + 0x18], esi
jb 0x41c3c2
mov eax, dword [edi + 4]
jmp 0x41c3c5
lea eax, [edi + 4]
cmp byte [eax], 0x20
jne 0x41c497
push 1
push 0
mov ecx, edi
call fcn.00406e60
cmp dword [ebp + 0x34], 0
ja 0x41c3b8
jmp 0x41c497
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.0043d14d
lea eax, [esp + 0x9c]
add esp, 0x14
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c410
sub eax, edx
push eax
lea edx, [esp + 0x8c]
push edx
jmp 0x41c48d
push 7
push str.unknown
mov ecx, ebp
call fcn.004072b0
mov eax, dword [esp + 0x38]
cmp eax, 0xfa0
ja 0x41c476
je 0x41c46d
sub eax, 0x182
je 0x41c45c
sub eax, 0x64
jne 0x41c47d
lea edi, [ebp + 0x20]
push 0x4869d0
mov ecx, edi
call fcn.00406e30
jmp 0x41c497
lea edi, [ebp + 0x20]
push 0x4869cc
mov ecx, edi
call fcn.00406e30
jmp 0x41c497
push 5
push str.R4000
jmp 0x41c48d
cmp eax, 0x5248
je 0x41c486
push 7
push str.unknown
jmp 0x41c48d
push 0xa
push str.ALPHA21064
lea edi, [ebp + 0x20]
mov ecx, edi
call fcn.004072b0
push 2
push 0x4869e8
push edi
xor eax, eax
call fcn.004152d0
cmp eax, 0xffffffff
je 0x41c4d2
jmp 0x41c4b0
push 1
push 0x4869ec
push 2
call fcn.00415100
push 2
push 0x4869e8
push edi
xor eax, eax
call fcn.004152d0
cmp eax, 0xffffffff
jne 0x41c4b0
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043bb40
add esp, 0x100
ret 4