Function at 0x4505f0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b167b
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4efd34]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4efd34]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x4b7870
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x45065e
push str.GetNativeSystemInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x450657
lea ecx, [esp + 0x1c]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [esp + 0x1c], 6
je 0x4509d4
push 0x400
push 0
mov ecx, ebp
call fcn.004503e0
test eax, eax
jne 0x450695
push 0x20000
push 0xe0000
mov ecx, ebp
call fcn.004503e0
test eax, eax
je 0x4509d4
push 0x68
call fcn.00488f77
add esp, 4
mov dword [ebp + 0xc], eax
call fcn.00438660
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push edx
mov edx, dword [ecx + 0x10]
push 0x68
push edx
push 0
mov ecx, eax
call fcn.004adab0
test eax, eax
je 0x4509d4
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x52
jne 0x4509d4
cmp byte [eax + 1], 0x53
jne 0x4509d4
cmp byte [eax + 2], 0x44
jne 0x4509d4
cmp byte [eax + 3], 0x54
jne 0x4509d4
mov eax, dword [eax + 4]
sub eax, 0x24
shr eax, 2
test eax, eax
jle 0x4509cd
mov ebx, 0x24
mov dword [esp + 0x14], eax
call fcn.00438660
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [ebx + edx]
push 0x24
push ecx
push 0
mov ecx, eax
call fcn.004adab0
test eax, eax
je 0x4509bf
mov eax, dword [esp + 0x44]
cmp eax, 0x1000
ja 0x4509bf
test eax, eax
je 0x4509bf
add eax, 4
push eax
call fcn.00488f77
add esp, 4
mov edi, eax
call fcn.00438660
mov edx, dword [esp + 0x44]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
push edi
push edx
mov edx, dword [ebx + ecx]
push edx
xor esi, esi
push esi
mov ecx, eax
call fcn.004adab0
test eax, eax
je 0x4509b6
push 4
lea eax, [esp + 0x44]
push str.APIC
push eax
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea ecx, [esp + 0x44]
push str.BOOT
push ecx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea edx, [esp + 0x44]
push str.DBGP
push edx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea eax, [esp + 0x44]
push str.DSDT
push eax
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea ecx, [esp + 0x44]
push str.ECDT
push ecx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea edx, [esp + 0x44]
push str.ETDT
push edx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea eax, [esp + 0x44]
push str.FACP
push eax
call fcn.00499734
add esp, 0xc
test eax, eax
jne 0x45089e
cmp byte [esp + 0x48], 3
jb 0x450854
cmp dword [esp + 0x44], 0x130
jae 0x4509b6
cmp dword [edi + 0x4c], esi
jbe 0x4509b6
push 0x28
call fcn.00488f77
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov dword [esp + 0x70], esi
je 0x450880
mov ecx, dword [edi + 0x4c]
push ecx
mov ecx, eax
call fcn.00451110
mov esi, eax
mov dword [esp + 0x70], 0xffffffff
mov dword [ebp + 0x10], esi
call fcn.00438660
mov ecx, dword [eax + 0x28]
push esi
call fcn.0043c570
jmp 0x4509b6
push 4
lea edx, [esp + 0x44]
push str.FACS
push edx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 3
lea eax, [esp + 0x44]
push 0x4c83ec
push eax
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea ecx, [esp + 0x44]
push str.PSDT
push ecx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea edx, [esp + 0x44]
push str.SBST
push edx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea eax, [esp + 0x44]
push str.SLIT
push eax
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea ecx, [esp + 0x44]
push str.SPCR
push ecx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea edx, [esp + 0x44]
push str.SRAT
push edx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea eax, [esp + 0x44]
push str.SSDT
push eax
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea ecx, [esp + 0x44]
push str.SPMI
push ecx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea edx, [esp + 0x44]
push str.XSDT
push edx
call fcn.00499734
add esp, 0xc
test eax, eax
je 0x4509b6
push 4
lea eax, [esp + 0x44]
push str.MCFG
push eax
call fcn.00499734
add esp, 0xc
push edi
call fcn.00488fa7
add esp, 4
add ebx, 4
sub dword [esp + 0x14], 1
jne 0x45070c
mov eax, 1
jmp 0x4509d6
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004972eb
add esp, 0x60
ret