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

Disassembly:
push 0xffffffffffffffff
push 0x5e8820
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x9c]
mov esi, dword [ebx + 8]
mov dword [esp + 0x2c], eax
mov eax, 0x66666667
imul esi
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, esi
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebx + 0xc]
mov ebp, dword [esp + 0x98]
cdq
sub eax, edx
mov esi, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sar edi, 1
sar esi, 1
sub esi, eax
lea eax, [edi + ecx]
mov edx, edi
sub edx, ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], esi
add esi, ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
call fcn.0049f190
push 0x64
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x94], 0
call fcn.004f2fb0
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], ebp
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
mov byte [esp + 0x8c], 1
call eax
mov edi, vtable.wxObject.0
mov dword [esp + 0x24], edi
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
test eax, eax
je 0x57e845
inc dword [eax + 4]
mov dword [esp + 0x24], vtable.wxBrush.0
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
push esi
mov byte [esp + 0x90], 2
call eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 4
call fcn.00506650
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 5
mov dword [esp + 0x40], edi
call fcn.00423980
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0049f190
push 0x64
push 1
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 6
call fcn.00508e60
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], ebp
mov edx, dword [ecx]
mov eax, dword [edx + 0x70]
mov byte [esp + 0x8c], 7
call eax
mov dword [esp + 0x18], edi
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x57e8d8
inc dword [eax + 4]
mov dword [esp + 0x18], vtable.wxPen.0
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
push esi
mov byte [esp + 0x90], 8
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 0xa
mov dword [esp + 0x30], edi
call fcn.00423980
lea ecx, [esp + 0x54]
mov byte [esp + 0x8c], 0xb
mov dword [esp + 0x54], edi
call fcn.00423980
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
mov ebp, dword [ebp + 8]
mov edx, dword [ebp]
mov edx, dword [edx + 0x1a8]
push 1
push eax
push ebx
lea eax, [esp + 0x74]
push eax
push 3
mov ecx, ebp
call edx
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 0xc
call edx
test al, al
je 0x57e96d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x18]
push eax
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 5
mov dword [esp + 0x18], edi
call fcn.00423980
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x24]
mov dword [esp + 0x8c], 0xd
call edx
test al, al
je 0x57e9b1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x24]
push eax
call edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x8c], 0xffffffff
call fcn.00506650
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00585b7b
add esp, 0x7c
ret 0x10