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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6b8fe0
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [esp + 0x58]
push edi
push 0x64
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x3c]
mov edi, dword [esp + 0x54]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0xa4]
test al, al
je 0x5fe43a
mov cl, byte [esp + 0x6c]
xor eax, eax
cmp cl, al
je 0x5fe402
push ebp
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], vtable.wxColour.0
call fcn.004f4f00
mov ebp, dword [edi + 0x1b4]
mov ebx, 1
mov dword [esp + 0x50], ebx
call fcn.004dc890
cmp eax, ebp
pop ebp
jne 0x5fe368
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.005fe4d0
mov edi, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 2
cmp ecx, edi
je 0x5fe334
push edi
lea ecx, [esp + 0x20]
call fcn.0056f8a0
mov edx, dword [edi + 8]
mov byte [esp + 0x4c], bl
mov dword [esp + 0x24], edx
mov al, byte [edi + 0xc]
mov byte [esp + 0x28], al
mov cl, byte [edi + 0xd]
mov byte [esp + 0x29], cl
mov dl, byte [edi + 0xe]
mov byte [esp + 0x2a], dl
mov al, byte [edi + 0xf]
mov byte [esp + 0x2b], al
mov cl, byte [edi + 0x10]
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x30]
jmp 0x5fe3c2
lea edx, [esp + 0x30]
push 0x10
push edx
call fcn.00514d00
add esp, 8
mov edi, eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x4c], 3
cmp eax, edi
je 0x5fe390
push edi
lea ecx, [esp + 0x20]
call fcn.0056f8a0
mov ecx, dword [edi + 8]
mov byte [esp + 0x4c], bl
mov dword [esp + 0x24], ecx
mov dl, byte [edi + 0xc]
mov byte [esp + 0x28], dl
mov al, byte [edi + 0xd]
mov byte [esp + 0x29], al
mov cl, byte [edi + 0xe]
mov byte [esp + 0x2a], cl
mov dl, byte [edi + 0xf]
mov byte [esp + 0x2b], dl
mov al, byte [edi + 0x10]
mov byte [esp + 0x2c], al
lea ecx, [esp + 0x30]
call fcn.004dd920
lea ecx, [esp + 0x1c]
push 0x64
push ecx
lea ecx, [esp + 0x14]
call fcn.004f0f30
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x50], 4
call dword [edx + 0x34]
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], bl
call fcn.004dd920
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x1c]
jmp 0x5fe484
mov ecx, dword [esp + 0x58]
push 0x64
call fcn.005ffed0
push eax
lea ecx, [esp + 0x14]
call fcn.004f0f30
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esp + 0x50], 5
call dword [edx + 0x34]
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004dd920
jmp 0x5fe489
lea eax, [esp + 0x30]
push 0xf
push eax
call fcn.00514d00
add esp, 8
mov ebx, 6
push 0x64
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], ebx
call fcn.004f0f30
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x50], 7
call dword [edx + 0x34]
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], bl
call fcn.004dd920
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004dd920
mov edi, dword [esi]
push 0x20
call fcn.004f2900
add esp, 4
mov ecx, esi
push eax
call dword [edi + 0x30]
mov eax, dword [esp + 0x60]
mov edx, dword [esi]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call dword [edx + 0xf0]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 0x1c