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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db7c5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5203c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x14]
mov dword [edi], vtable.tinyui::Window.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a8c07
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov byte [ebp - 4], 2
lea eax, [edi + 0x7c]
push 0x30
mov byte [edi + 0x64], 1
mov dword [edi + 0x68], 0xff
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
push 0
push eax
mov byte [edi + 0x74], 1
mov dword [edi + 0x78], 0
call fcn.004ad7b0
mov dword [edi + 0xac], 0
lea esi, [edi + 0xe4]
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0xffffffff
mov dword [edi + 0xc4], 0xffffffff
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0xffffffff
mov dword [edi + 0xd0], 0xffffffff
mov dword [edi + 0xd4], 0
mov byte [edi + 0xd8], 1
mov dword [edi + 0xdc], 0x1000
mov dword [edi + 0xe0], 0
push 0x34
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a8c07
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0xf8]
mov dword [esi], 0
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.004a8c07
add esp, 0x18
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xorps xmm0, xmm0
movq qword [edi + 0x100], xmm0
mov dword [edi + 0x108], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + method.tinyui::WeakFinal.virtual_0], vtable.tinyui::WeakFinal.0
lea ecx, [edi + 0x15c]
mov dword [edi + 0x10c], 1
mov dword [edi + 0x110], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 7
mov dword [edi + 0x128], 4
mov dword [edi + 0x12c], 3
mov dword [edi + 0x130], 4
mov dword [edi + 0x134], 4
mov dword [edi + 0x138], 0x80000000
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x14c], 0
call fcn.0040caa0
mov eax, dword [ebp + 8]
mov dword [edi + 0x1f8], eax
xor eax, eax
mov dword [edi + 0x1f0], 0x64
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x20c], 0
mov dword [edi + 0x210], 7
mov word [edi + 0x1fc], ax
mov dword [edi + 0x214], eax
mov dword [edi + 0x224], eax
mov dword [edi + 0x228], 7
mov word [edi + 0x214], ax
lea ecx, [edi + 0x22c]
mov byte [ebp - 4], 9
push 0xc
mov dword [ecx], eax
push str.UI_WND_CLASS
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00408d10
mov dword [edi + 0x244], 0
mov eax, edi
mov dword [edi + 0x248], 0
mov dword [edi + 0x24c], 0
mov dword [edi + 0x250], 0
mov dword [edi + 0x254], 0
mov dword [edi + 0x258], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4