Function at 0x4d93b0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x6a63da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.wxWindowBase.0
push esi
mov ecx, 0x8cb378
mov dword [esp + 0x20], 9
call fcn.00585d90
push esi
mov ecx, 0x8c8fe0
call fcn.00585d90
mov eax, dword [esi + 0x2c]
xor ebx, ebx
cmp eax, ebx
je 0x4d9497
push esi
call fcn.004dc8b0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4d9497
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov ecx, 0x8c8e50
mov ebp, eax
test ecx, ecx
je 0x4d9497
cmp ebp, ecx
je 0x4d9453
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x4d943e
push 0x8c8e50
call fcn.004196e0
test al, al
jne 0x4d9453
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
je 0x4d9497
push 0x8c8e50
call fcn.004196e0
test al, al
je 0x4d9497
mov eax, dword [edi + 0x154]
cmp eax, esi
jne 0x4d9465
mov dword [edi + 0x154], ebx
jmp 0x4d9497
cmp eax, ebx
je 0x4d9487
mov ecx, dword [edi + 0x150]
mov dword [edi + 0x154], ebx
cmp ecx, esi
jne 0x4d947f
mov dword [edi + 0x150], ebx
mov dword [edi + 0x154], eax
jmp 0x4d9497
mov eax, dword [edi + 0x150]
cmp eax, esi
jne 0x4d9497
mov dword [edi + 0x150], ebx
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
je 0x4d94a7
mov edx, dword [ecx]
push esi
call dword [edx + 0xe8]
mov ecx, dword [esi + 0xa0]
cmp ecx, ebx
je 0x4d94b7
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x60]
cmp ecx, ebx
je 0x4d94c5
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, esi
call fcn.004db930
mov eax, dword [esi + 0xb8]
cmp eax, ebx
je 0x4d94f5
push eax
mov ecx, esi
call fcn.004db860
mov ecx, dword [esi + 0xb8]
cmp ecx, ebx
je 0x4d94ef
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xb8], ebx
mov ecx, dword [esi + 0xc4]
cmp ecx, ebx
je 0x4d9505
mov edx, dword [ecx]
push esi
call dword [edx + 0x28]
mov ecx, dword [esi + 0xc0]
cmp ecx, ebx
je 0x4d9516
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esi + 0x64]
cmp ecx, ebx
je 0x4d9523
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0xb4]
cmp ecx, ebx
je 0x4d9534
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [0x8cba00]
cmp ecx, ebx
je 0x4d9544
mov edx, dword [ecx]
push esi
call dword [edx + 0x14]
lea ecx, [esi + 0xe0]
mov byte [esp + 0x1c], 8
call fcn.004dd920
mov eax, dword [esi + 0xd4]
sub eax, 0xc
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4d9575
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x4d9575
push eax
call dword [0x6c74ac]
add esp, 4
lea ecx, [esi + 0xac]
mov byte [esp + 0x1c], 6
mov dword [ecx], vtable.wxObject.0
call fcn.0056f8d0
lea ecx, [esi + 0xa4]
mov byte [esp + 0x1c], 5
call fcn.004dd920
lea ecx, [esi + 0x8c]
mov byte [esp + 0x1c], 4
call fcn.004dd920
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 3
call fcn.004dd920
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], 2
call fcn.004f44a0
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 1
call fcn.004dd920
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], bl
call fcn.00585970
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00570040
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret