Function at 0x45fca0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x6183a2
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.004e9420
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.0050a060
mov dword [edi], vtable.wxWindowList.0
lea ecx, [esi + 0x68]
mov byte [esp + 0x24], 2
call fcn.0049d2b0
lea edi, [esi + 0x70]
mov byte [esp + 0x24], 3
mov ecx, edi
call fcn.004091e0
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.004091e0
mov ecx, edi
mov byte [esp + 0x24], 5
mov dword [edi], vtable.wxColour.0
call fcn.0046cf80
lea edi, [esi + 0x8c]
mov byte [esp + 0x24], 6
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.004091e0
mov ecx, edi
mov byte [esp + 0x24], 7
mov dword [edi], vtable.wxColour.0
call fcn.0046cf80
lea ecx, [esi + 0xa4]
mov byte [esp + 0x24], 8
call fcn.0049f570
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], vtable.wxAcceleratorTable.0
mov eax, dword [0x6e0ea0]
mov dword [esi + 0xd4], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x24], 0xb
call fcn.0047d240
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 [0x7011f4]
mov byte [esp + 0x24], 0xc
mov al, byte [esi + 0xc9]
mov dword [esi + 0x10c], ecx
mov edx, dword [0x7011f8]
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 [0x7011f4]
mov dword [esi + 0xec], ecx
mov edx, dword [0x7011f8]
mov dword [esi + 0xf0], edx
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
mov eax, dword [0x65329c]
push eax
push ebx
push str.window_default_variant
lea ecx, [esp + 0x20]
call fcn.004e9b90
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0xd
push ecx
call fcn.0050f290
mov edx, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSVCRT.dll_free]
mov byte [esp + 0x17], al
add esp, 4
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, edi
mov byte [esp + 0x24], 0xc
je 0x45feda
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x45feda
push eax
call ebp
add esp, 4
cmp byte [esp + 0x13], bl
je 0x45ff28
mov eax, dword [0x65329c]
lea ecx, [esp + 0x14]
push eax
push ebx
push str.window_default_variant
call fcn.004e9b90
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0xe
push ecx
call fcn.0050f240
mov edx, dword [esp + 0x18]
mov dword [esi + 0x108], eax
add esp, 4
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, edi
je 0x45ff28
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x45ff28
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