Function at 0x41e2d0
Capabilities:
Get memory capacity
Get number of processors
Get system information on windows
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x595492
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2dd0
call fcn.00587e30
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], edi
call fcn.0056d4f0
push edi
push 0x1021
push str.san9user.txt
mov dword [esp + 0x2df8], edi
call fcn.00443250
add esp, 4
push eax
lea ecx, [esp + 0x30]
call fcn.0056cfa0
test eax, eax
jne 0x41e35f
lea ecx, [esp + 0x24]
mov dword [esp + 0x2dec], 0xffffffff
call fcn.0056d5b0
xor eax, eax
mov ecx, dword [esp + 0x2de4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push str.Sangokushi9_System_Check_r_n_r_n
lea ecx, [esp + 0x38]
call fcn.0056bdb0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2df4], 1
call fcn.0056d6c0
lea ecx, [esp + 0x1c]
call fcn.0056bc10
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x2df0], 2
call fcn.0041cc30
push 0x5b2c7c
lea ecx, [esp + 0x20]
call fcn.0056bfe0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0056d6c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dec], 1
call fcn.0056bd20
lea ecx, [esp + 0xd0]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea ecx, [esp + 0x1c]
call fcn.0056bc10
mov edx, dword [esp + 0xd8]
shr edx, 0x14
push edx
lea eax, [esp + 0x20]
push str.Memory_:__ldM_r_n
push eax
mov byte [esp + 0x2df8], 3
call fcn.0056c790
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 8]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0056d6c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dec], 1
call fcn.0056bd20
lea ecx, [esp + 0xd0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0x14]
call fcn.0056bc10
lea edx, [esp + 0x14]
push str.CPU_:
push edx
mov byte [esp + 0x2df4], 4
call fcn.0056c790
mov eax, dword [esp + 0xf0]
add esp, 8
cmp eax, 0x24a
ja 0x41e496
je 0x41e48f
sub eax, 0x182
je 0x41e488
sub eax, 0x64
jne 0x41e4a4
push str.Intel486
jmp 0x41e4b7
push str.Intel386
jmp 0x41e4b7
push str.Pentium
jmp 0x41e4b7
cmp eax, 0xfa0
je 0x41e4b2
cmp eax, 0x5248
je 0x41e4ab
push 0x5b2c40
jmp 0x41e4b7
push str.ALPHA
jmp 0x41e4b7
push str.R4000
lea ecx, [esp + 0x18]
call fcn.0056bfe0
push 0x5b2c7c
lea ecx, [esp + 0x18]
call fcn.0056bfe0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0056d6c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2dec], 1
call fcn.0056bd20
lea eax, [esp + 0xd0]
push eax
call fcn.0041d780
add esp, 4
test eax, eax
je 0x41e66c
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x18]
call fcn.0056bdb0
mov bl, 5
push 0x5b2c7c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2df0], bl
call fcn.0056bfe0
lea edx, [esp + 0xdd]
push edx
lea ecx, [esp + 0x18]
call fcn.0056bfe0
push 0x5b2c7c
lea ecx, [esp + 0x18]
call fcn.0056bfe0
test byte [esp + 0x108], 1
je 0x41e568
push str.MMX_available_r_n
lea ecx, [esp + 0x18]
call fcn.0056bfe0
test byte [esp + 0x108], 2
je 0x41e580
push str.SSE_available_r_n
lea ecx, [esp + 0x18]
call fcn.0056bfe0
test byte [esp + 0x108], 4
je 0x41e598
push str.SSE2_available_r_n
lea ecx, [esp + 0x18]
call fcn.0056bfe0
test byte [esp + 0x108], 8
je 0x41e5b0
push str.3DNOW_available_r_n
lea ecx, [esp + 0x18]
call fcn.0056bfe0
lea ecx, [esp + 0x1c]
call fcn.0056bc10
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0xfc]
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push str.family__02x_model__x_stepping__x__r_n
push eax
mov byte [esp + 0x2e00], 6
call fcn.0056c790
add esp, 0x14
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0056c040
mov eax, dword [esp + 0x114]
xor edx, edx
mov ecx, 0x3e8
div ecx
push edx
push eax
lea edx, [esp + 0x24]
push str._d._03d_MHz__r_n
push edx
call fcn.0056c790
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.0056c040
push 0x5b2c7c
lea ecx, [esp + 0x18]
call fcn.0056bfe0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0056d6c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dec], bl
call fcn.0056bd20
lea ecx, [esp + 0x14]
mov byte [esp + 0x2dec], 1
call fcn.0056bd20
lea ecx, [esp + 0x118]
push ecx
push 0xffffffffffffffff
mov ebp, 0x94
push edi
mov word [esp + 0x148], bp
call sub.USER32.dll_EnumDisplaySettingsA
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
push str.DisplaySettings_r_n
lea ecx, [esp + 0x20]
mov word [esp + 0x60], bp
call fcn.0056bdb0
lea edx, [esp + 0x38]
push edx
xor edi, edi
push edi
push edi
mov byte [esp + 0x2df8], 7
call sub.USER32.dll_EnumDisplaySettingsA
test eax, eax
je 0x41e7d9
mov bl, 9
lea esp, [esp]
lea ecx, [esp + 0x14]
call fcn.0056bc10
mov ecx, dword [esp + 0x184]
mov eax, dword [esp + 0xa4]
cmp eax, ecx
mov ecx, dword [esp + 0xa8]
mov byte [esp + 0x2dec], 8
jne 0x41e721
cmp ecx, dword [esp + 0x188]
jne 0x41e721
mov edx, dword [esp + 0xa0]
cmp edx, dword [esp + 0x180]
jne 0x41e721
push ecx
push eax
push str.____4d
lea eax, [esp + 0x20]
push eax
jmp 0x41e72d
push ecx
push eax
push str._____4d
lea ecx, [esp + 0x20]
push ecx
call fcn.0056c790
mov eax, dword [esp + 0xb0]
add eax, 0xfffffffc
add esp, 0x10
cmp eax, 0x1c
ja case.0x41e74b.5
movzx edx, byte [eax + 0x41ee58]
jmp dword [edx*4 + 0x41ee40]
push str.__16_Color
jmp 0x41e773
push str._256_Color
jmp 0x41e773
push str._High_Color
jmp 0x41e773
push str._True_Color_24bit_
jmp 0x41e773
push str._True_Color_32bit_
lea ecx, [esp + 0x18]
call fcn.0056bfe0
push 0x5b2c7c
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0056c1e0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2df0], bl
call fcn.0056c040
lea ecx, [esp + 0x20]
mov byte [esp + 0x2dec], 8
call fcn.0056bd20
lea ecx, [esp + 0x14]
inc edi
mov byte [esp + 0x2dec], 7
call fcn.0056bd20
lea edx, [esp + 0x38]
push edx
push edi
push 0
call sub.USER32.dll_EnumDisplaySettingsA
test eax, eax
jne 0x41e6d0
push 0x5b2c7c
lea ecx, [esp + 0x20]
call fcn.0056bfe0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0056d6c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dec], 1
call fcn.0056bd20
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
push 2
lea eax, [esp + 0x3c]
mov ebx, 0x400
mov edi, 0x300
push eax
mov word [esp + 0x64], bp
mov dword [esp + 0x68], 0x1c0000
mov dword [esp + 0xa8], 0x10
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
call sub.USER32.dll_ChangeDisplaySettingsA
test eax, eax
jne 0x41e85f
mov dword [esp + 0x18], 0x80000000
mov eax, dword [esp + 0x18]
mov ebp, 0x40000000
test ebp, eax
jne 0x41e88e
push 2
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
call sub.USER32.dll_ChangeDisplaySettingsA
test eax, eax
jne 0x41e88e
or dword [esp + 0x18], ebp
test dword [esp + 0x18], 0x20000000
mov ebp, 0x18
jne 0x41e8ca
push 2
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
call sub.USER32.dll_ChangeDisplaySettingsA
test eax, eax
jne 0x41e8ca
or dword [esp + 0x18], 0x20000000
test dword [esp + 0x18], 0x10000000
jne 0x41e901
push 2
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
call sub.USER32.dll_ChangeDisplaySettingsA
test eax, eax
jne 0x41e901
or dword [esp + 0x18], 0x10000000
test dword [esp + 0x18], 0x8000000
mov ebp, 0x20
jne 0x41e93d
push 2
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
call sub.USER32.dll_ChangeDisplaySettingsA
test eax, eax
jne 0x41e93d
or dword [esp + 0x18], 0x8000000
test dword [esp + 0x18], 0x4000000
jne 0x41e968
push 2
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
call sub.USER32.dll_ChangeDisplaySettingsA
lea ecx, [esp + 0x14]
call fcn.0056bc10
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dec], 0xa
call fcn.0056bc10
push str.KERNEL32.DLL
lea eax, [esp + 0x1c]
mov bl, 0xb
push eax
mov ecx, esi
mov byte [esp + 0x2df4], bl
call fcn.0041cfd0
push 0x5b2c7c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0056c1e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2df0], 0xc
call fcn.0056c040
lea ecx, [esp + 0x20]
mov byte [esp + 0x2dec], bl
call fcn.0056bd20
push str.SHELL32.DLL
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041cfd0
push 0x5b2c7c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0056c1e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2df0], 0xd
call fcn.0056c040
lea ecx, [esp + 0x20]
mov byte [esp + 0x2dec], bl
call fcn.0056bd20
push str.COMCTL32.DLL
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041cfd0
push 0x5b2c7c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0056c1e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2df0], 0xe
call fcn.0056c040
lea ecx, [esp + 0x20]
mov byte [esp + 0x2dec], bl
call fcn.0056bd20
push str.DDRAW.DLL
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041cfd0
push 0x5b2c7c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0056c1e0
mov byte [esp + 0x2dec], 0xf
push eax
lea ecx, [esp + 0x18]
call fcn.0056c040
lea ecx, [esp + 0x20]
mov byte [esp + 0x2dec], bl
call fcn.0056bd20
push str.D3D8.DLL
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041cfd0
push 0x5b2c7c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0056c1e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2df0], 0x10
call fcn.0056c040
lea ecx, [esp + 0x20]
mov byte [esp + 0x2dec], bl
call fcn.0056bd20
push str.D3D9.DLL
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041cfd0
push 0x5b2c7c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0056c1e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2df0], 0x11
call fcn.0056c040
lea ecx, [esp + 0x20]
mov byte [esp + 0x2dec], bl
call fcn.0056bd20
push str.DSOUND.DLL
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041cfd0
push 0x5b2c7c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0056c1e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2df0], 0x12
call fcn.0056c040
lea ecx, [esp + 0x20]
mov byte [esp + 0x2dec], bl
call fcn.0056bd20
push str.KOEILW.DLL
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041cfd0
push 0x5b2c7c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0056c1e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2df0], 0x13
call fcn.0056c040
lea ecx, [esp + 0x20]
mov byte [esp + 0x2dec], bl
call fcn.0056bd20
push str.KDVDDSND.DLL
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041cfd0
push str._r_n_r_n
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0056c1e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2df0], 0x14
call fcn.0056c040
lea ecx, [esp + 0x20]
mov byte [esp + 0x2dec], bl
call fcn.0056bd20
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0056d6c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dec], 0xa
call fcn.0056bd20
lea ecx, [esp + 0x14]
mov byte [esp + 0x2dec], 1
call fcn.0056bd20
push str.registry_infomation__r_n
lea ecx, [esp + 0x20]
call fcn.0056bdb0
xor ebx, ebx
mov byte [esp + 0x2dec], 0x15
mov dword [esp + 0x14], ebx
call fcn.0041dbf0
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x18], ebx
je 0x41edd4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0041e0d0
mov edi, eax
add esp, 0xc
cmp edi, ebx
jbe 0x41edcd
lea ebx, [ebx]
mov ebp, dword [esp + 0x14]
xor ebx, ebx
test edi, edi
jbe 0x41eda9
mov edi, edi
push ebx
lea edx, [esp + 0x1b4]
push ebp
push edx
call fcn.0041e1f0
add esp, 0xc
test eax, eax
je 0x41eda0
lea eax, [esp + 0xad4]
push eax
call fcn.00587fb8
add esp, 4
test eax, eax
lea edx, [esp + 0x3b8]
lea ecx, [esp + 0x4bc]
ja 0x41ed1d
push ecx
push edx
lea eax, [esp + 0x6cc]
push eax
lea ecx, [esp + 0xce8]
push ecx
lea edx, [esp + 0x8dc]
push edx
lea eax, [esp + 0xbec]
push eax
lea ecx, [esp + 0x1c8]
push ecx
lea edx, [esp + 0xdfc]
push str._s:_s
push edx
call fcn.00587c9a
add esp, 0x24
jmp 0x41ed64
lea eax, [esp + 0xad4]
push eax
push ecx
push edx
lea eax, [esp + 0x6d0]
push eax
lea ecx, [esp + 0xcec]
push ecx
lea edx, [esp + 0x8e0]
push edx
lea eax, [esp + 0xbf0]
push eax
lea ecx, [esp + 0x1cc]
push ecx
lea edx, [esp + 0xe00]
push 0x5b2a50
push edx
call fcn.00587c9a
add esp, 0x28
lea eax, [esp + 0xbd8]
push eax
lea ecx, [esp + 0x1de4]
push 0x5b1828
push ecx
call fcn.00587c9a
add esp, 0xc
lea edx, [esp + 0xde0]
push edx
lea ecx, [esp + 0x20]
call fcn.0056bfe0
push 0x5b2c7c
lea ecx, [esp + 0x20]
call fcn.0056bfe0
inc ebx
cmp ebx, edi
jb 0x41eca0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0041e0d0
mov edi, eax
add esp, 0xc
test edi, edi
ja 0x41ec90
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0056d6c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dec], 1
call fcn.0056bd20
lea ecx, [esp + 0x24]
call fcn.0056d210
lea ecx, [esp + 0x34]
mov byte [esp + 0x2dec], 0
call fcn.0056bd20
lea ecx, [esp + 0x24]
mov dword [esp + 0x2dec], 0xffffffff
call fcn.0056d5b0
mov ecx, dword [esp + 0x2de4]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret