Function at 0x41fea0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5069f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], 0
call fcn.0040b2b0
push ecx
mov eax, esp
mov dword [esi], vtable.Common::CGameProperty.0
lea ecx, [esi + 0x64]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
mov dword [eax], 0
call fcn.0040a790
mov dword [esi + 0x64], vtable.Common::CPageText.0
lea ecx, [esi + 0xcc]
call fcn.0040c7d0
lea ecx, [esi + 0x168]
call fcn.00415990
push ecx
mov eax, esp
lea ecx, [esi + 0x218]
mov dword [ebp - 0x10], esp
mov dword [eax], 0
call fcn.0040b160
mov dword [esi + method.Common::CPageSaveLoad.virtual_0], vtable.Common::CPageSaveLoad.0
push ecx
lea edi, [esi + 0x274]
mov eax, esp
mov ecx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], esp
mov dword [eax], 0
call fcn.0040b1d0
mov dword [edi], vtable.Common::CPageSystem1.0
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
mov byte [ebp - 4], 5
call edx
add eax, 0x10
mov dword [edi + 0x58], eax
push ecx
lea edi, [esi + 0x2d4]
mov eax, esp
mov ecx, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], esp
mov dword [eax], 0
call fcn.0040b240
mov dword [edi], vtable.Common::CPageSystem2.0
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
mov byte [ebp - 4], 7
call edx
add eax, 0x10
mov dword [edi + 0x5c], eax
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
mov byte [ebp - 4], 8
call edx
add eax, 0x10
mov dword [edi + 0x60], eax
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
mov byte [ebp - 4], 9
call edx
add eax, 0x10
mov dword [esi + 0x34c], eax
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
mov byte [ebp - 4], 0xa
call edx
add eax, 0x10
mov dword [esi + 0x350], eax
mov ecx, 0x553818
mov byte [ebp - 4], 0xb
call fcn.004175a0
mov edi, dword [0x552af4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x420061
mov edi, dword [edi + 0x2c]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x420061
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x420055
mov edi, dword [edi + 0x10]
mov ecx, dword [ecx + 0xc]
imul edi, ecx
add edi, eax
jmp 0x420063
mov edi, dword [edi + 0x10]
xor ecx, ecx
imul edi, ecx
add edi, eax
jmp 0x420063
xor edi, edi
add edi, 0x48
push edi
lea ecx, [esi + 0x34c]
call fcn.00408c20
mov ecx, 0x553818
call fcn.004175a0
mov edi, dword [0x552af4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x4200c7
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4200c7
mov edx, dword [eax + 0x14]
test edx, edx
je 0x4200bb
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4200c9
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4200c9
xor eax, eax
add eax, 0x4c
push eax
lea ecx, [esi + 0x350]
call fcn.00408c20
lea edx, [esi + 0x84]
push edx
mov dword [0x552a20], 0
call dword [sym.imp.COMCTL32.dll_CreatePropertySheetPageA]
mov edi, eax
test edi, edi
je 0x420127
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], edi
test eax, eax
je 0x420110
push edi
push 0
push 0x467
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x42011c
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x58]
call fcn.004053f0
test eax, eax
jne 0x420127
push edi
call dword [sym.imp.COMCTL32.dll_DestroyPropertySheetPage]
lea ecx, [esi + 0xec]
push ecx
call dword [sym.imp.COMCTL32.dll_CreatePropertySheetPageA]
mov edi, eax
test edi, edi
je 0x42016c
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], edi
test eax, eax
je 0x420155
push edi
push 0
push 0x467
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x420161
lea edx, [ebp - 0x10]
push edx
lea ecx, [esi + 0x58]
call fcn.004053f0
test eax, eax
jne 0x42016c
push edi
call dword [sym.imp.COMCTL32.dll_DestroyPropertySheetPage]
lea eax, [esi + 0x34c]
mov dword [esi + 0x210], eax
lea eax, [esi + 0x350]
mov dword [esi + 0x214], eax
lea eax, [esi + 0x188]
push eax
call dword [sym.imp.COMCTL32.dll_CreatePropertySheetPageA]
mov edi, eax
test edi, edi
je 0x4201d3
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], edi
test eax, eax
je 0x4201b4
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
push 0x467
push eax
call ebx
jmp 0x4201c6
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [esi + 0x58]
call fcn.004053f0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4201d9
push edi
call dword [sym.imp.COMCTL32.dll_DestroyPropertySheetPage]
jmp 0x4201d9
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esi + 0x238]
push edx
call dword [sym.imp.COMCTL32.dll_CreatePropertySheetPageA]
mov edi, eax
test edi, edi
je 0x42021a
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], edi
test eax, eax
je 0x420203
push edi
push 0
push 0x467
push eax
call ebx
jmp 0x42020f
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x58]
call fcn.004053f0
test eax, eax
jne 0x42021a
push edi
call dword [sym.imp.COMCTL32.dll_DestroyPropertySheetPage]
lea ecx, [esi + 0x294]
push ecx
call dword [sym.imp.COMCTL32.dll_CreatePropertySheetPageA]
mov edi, eax
test edi, edi
je 0x42025b
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], edi
test eax, eax
je 0x420244
push edi
push 0
push 0x467
push eax
call ebx
jmp 0x420250
lea edx, [ebp - 0x10]
push edx
lea ecx, [esi + 0x58]
call fcn.004053f0
test eax, eax
jne 0x42025b
push edi
call dword [sym.imp.COMCTL32.dll_DestroyPropertySheetPage]
lea eax, [esi + 0x34c]
mov dword [esi + 0x33c], eax
lea eax, [esi + 0x350]
mov dword [esi + 0x340], eax
lea eax, [esi + 0x2f4]
push eax
call dword [sym.imp.COMCTL32.dll_CreatePropertySheetPageA]
mov edi, eax
test edi, edi
je 0x4202b4
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], edi
test eax, eax
je 0x42029d
push edi
push 0
push 0x467
push eax
call ebx
jmp 0x4202a9
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [esi + 0x58]
call fcn.004053f0
test eax, eax
jne 0x4202b4
push edi
call dword [sym.imp.COMCTL32.dll_DestroyPropertySheetPage]
mov eax, dword [esi + 4]
test eax, eax
jne 0x4202c8
and dword [esi + 0x28], 0xfffffffe
mov dword [esi + 0x38], 0x518184
jmp 0x4202d7
push 0x518184
push 0
push 0x46f
push eax
call ebx
mov eax, dword [esi + 4]
or dword [esi + 0x28], 0x80
test eax, eax
jne 0x4202ed
mov edx, dword [ebp + 8]
mov dword [esi + 0x40], edx
jmp 0x4202fb
mov ecx, dword [ebp + 8]
push 0
push ecx
push 0x465
push eax
call ebx
mov dword [esi + 0x344], 0xffffffff
mov byte [esi + 0x348], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4