Function at 0x41bc00
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x100
mov eax, dword [0x4b8670]
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 0x41be4d
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.0043d5f0
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]
add eax, 1
test cl, cl
jne 0x41bca7
sub eax, edx
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.00407390
mov eax, 1
cmp dword [esp + 0x10], eax
jb 0x41bd19
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 0x41bcf1
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
test edi, edi
je 0x41bcfb
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, SysReAllocStringLen
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
cmp dword [esp + 0x10], esi
pop ebx
jb 0x41be0c
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.0041bba0
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.0041bba0
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.0041bba0
lea eax, [esp + 0x6c]
add esp, 0x18
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41bdb0
sub eax, edx
push eax
lea eax, [esp + 0x58]
lea edi, [ebp + 0x20]
push eax
mov ecx, edi
call fcn.00407390
cmp dword [ebp + 0x34], 0
jbe 0x41bec0
mov esi, 0x10
lea ebx, [ebx]
cmp dword [edi + 0x18], esi
jb 0x41bdea
mov eax, dword [edi + 4]
jmp 0x41bded
lea eax, [edi + 4]
cmp byte [eax], 0x20
jne 0x41bec0
push 1
push 0
mov ecx, edi
call fcn.00406ec0
cmp dword [ebp + 0x34], 0
ja 0x41bde0
jmp 0x41bec0
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.0043bdd9
lea eax, [esp + 0x9c]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41be37
sub eax, edx
push eax
lea edx, [esp + 0x8c]
push edx
jmp 0x41beb6
push 7
push str.unknown
mov ecx, ebp
call fcn.00407390
mov eax, dword [esp + 0x38]
cmp eax, 0xfa0
ja 0x41be9f
je 0x41be96
sub eax, 0x182
je 0x41be85
sub eax, 0x64
jne 0x41bea6
lea edi, [ebp + 0x20]
push 0x4ab748
mov ecx, edi
call fcn.0040c3f0
jmp 0x41bec0
lea edi, [ebp + 0x20]
push 0x4ab744
mov ecx, edi
call fcn.0040c3f0
jmp 0x41bec0
push 5
push str.R4000
jmp 0x41beb6
cmp eax, 0x5248
je 0x41beaf
push 7
push str.unknown
jmp 0x41beb6
push 0xa
push str.ALPHA21064
lea edi, [ebp + 0x20]
mov ecx, edi
call fcn.00407390
push 2
push 0x4ab760
push edi
xor eax, eax
call fcn.00414e10
cmp eax, 0xffffffff
je 0x41bef6
push 1
push 0x4ab764
push 2
call fcn.00414c30
push 2
push 0x4ab760
push edi
xor eax, eax
call fcn.00414e10
cmp eax, 0xffffffff
jne 0x41bed4
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043a513
add esp, 0x100
ret 4