Function at 0x4d9050
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x6a6352
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.0056ffa0
lea edi, [esi + 0x30]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], edi
mov dword [edi + 4], ebx
push ebx
mov ecx, edi
mov byte [esp + 0x28], 1
mov dword [edi], vtable.wxListBase.0
call fcn.005858c0
mov dword [edi], vtable.wxWindowList.0
lea ecx, [esi + 0x68]
mov byte [esp + 0x24], 2
call fcn.005153e0
lea edi, [esi + 0x70]
mov byte [esp + 0x24], 3
mov ecx, edi
call fcn.0040d050
mov dword [edi], vtable.wxFont.0
lea edi, [esi + 0x78]
mov byte [esp + 0x24], 4
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.0040d050
mov ecx, edi
mov byte [esp + 0x24], 5
mov dword [edi], vtable.wxColour.0
call fcn.004f4f00
lea edi, [esi + 0x8c]
mov byte [esp + 0x24], 6
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.0040d050
mov ecx, edi
mov byte [esp + 0x24], 7
mov dword [edi], vtable.wxColour.0
call fcn.004f4f00
lea ecx, [esi + 0xa4]
mov byte [esp + 0x24], 8
call fcn.00527b90
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], vtable.wxAcceleratorTable.0
mov eax, dword [0x8b0a50]
mov dword [esi + 0xd4], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x24], 0xb
call fcn.004fc790
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
or edi, 0xffffffff
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi], vtable.wxWindowBase.0
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov ecx, dword [0x8c9af0]
mov byte [esp + 0x24], 0xc
mov al, byte [esi + 0xc9]
mov dword [esi + 0x10c], ecx
mov edx, dword [0x8c9af4]
and al, 0xfc
mov byte [esi + 0xc9], al
mov al, byte [esi + 0xc8]
and al, 8
mov dword [esi + 0x110], edx
or al, 6
mov dword [esi + 0x5c], esi
mov dword [esi + 0x60], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov byte [esi + 0xc8], al
mov dword [esi + 0x64], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xa0], ebx
mov byte [esi + 0xe8], bl
mov ecx, dword [0x8c9af0]
mov dword [esi + 0xec], ecx
mov edx, dword [0x8c9af4]
mov eax, str.window_default_variant
mov dword [esi + 0xf0], edx
test eax, eax
mov dword [esi + 0xf4], ebx
mov dword [esi + 0x100], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0x104], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0x108], ebx
jne 0x4d9247
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00570720
lea edx, [esp + 0x14]
mov byte [esp + 0x24], 0xd
push edx
call fcn.005997b0
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x18]
mov ebp, dword [0x6c74ac]
add eax, 0xfffffff4
add esp, 4
mov byte [esp + 0x24], 0xc
mov ecx, dword [eax]
cmp ecx, edi
je 0x4d9294
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x4d9294
push eax
call ebp
add esp, 4
cmp byte [esp + 0x13], bl
je 0x4d92ef
mov ecx, str.window_default_variant
test ecx, ecx
mov eax, ecx
jne 0x4d92aa
mov eax, 0x8c55f4
mov edx, dword [0x6e14e0]
lea ecx, [esp + 0x14]
push edx
push ebx
push eax
call fcn.00570720
lea eax, [esp + 0x14]
mov byte [esp + 0x24], 0xe
push eax
call fcn.00599760
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x108], eax
add esp, 4
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, edi
je 0x4d92ef
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x4d92ef
push eax
call ebp
add esp, 4
mov al, byte [esi + 0xc8]
mov ecx, dword [esp + 0x1c]
and al, 0xf7
mov byte [esi + 0xd8], bl
mov byte [esi + 0xc8], al
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret