Function at 0x45fff0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x61842a
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, 0x701e90
mov dword [esp + 0x20], 9
call fcn.0050a510
push esi
mov ecx, 0x700f88
call fcn.0050a510
mov eax, dword [esi + 0x2c]
xor ebx, ebx
cmp eax, ebx
je 0x4600d4
push esi
call fcn.00463280
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4600d4
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov ebp, eax
cmp ebp, 0x700e78
je 0x460090
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x460079
push 0x700e78
call fcn.0044f0f0
test al, al
jne 0x460090
mov ebp, dword [ebp + 0x10]
cmp ebp, ebx
je 0x4600d4
push 0x700e78
mov ecx, ebp
call fcn.0044f0f0
test al, al
je 0x4600d4
mov eax, dword [edi + 0x154]
cmp eax, esi
jne 0x4600a2
mov dword [edi + 0x154], ebx
jmp 0x4600d4
cmp eax, ebx
je 0x4600c4
mov ecx, dword [edi + 0x150]
mov dword [edi + 0x154], ebx
cmp ecx, esi
jne 0x4600bc
mov dword [edi + 0x150], ebx
mov dword [edi + 0x154], eax
jmp 0x4600d4
mov eax, dword [edi + 0x150]
cmp eax, esi
jne 0x4600d4
mov dword [edi + 0x150], ebx
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
je 0x4600e4
mov edx, dword [ecx]
push esi
call dword [edx + 0xe8]
mov ecx, dword [esi + 0xa0]
cmp ecx, ebx
je 0x4600f4
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x60]
cmp ecx, ebx
je 0x460102
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, esi
call fcn.00462360
mov eax, dword [esi + 0xb8]
cmp eax, ebx
je 0x460132
push eax
mov ecx, esi
call fcn.00462290
mov ecx, dword [esi + 0xb8]
cmp ecx, ebx
je 0x46012c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xb8], ebx
mov ecx, dword [esi + 0xc4]
cmp ecx, ebx
je 0x460142
mov edx, dword [ecx]
push esi
call dword [edx + 0x28]
mov ecx, dword [esi + 0xc0]
cmp ecx, ebx
je 0x460153
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esi + 0x64]
cmp ecx, ebx
je 0x460160
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0xb4]
cmp ecx, ebx
je 0x460171
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [0x7029cc]
cmp ecx, ebx
je 0x460181
mov edx, dword [ecx]
push esi
call dword [edx + 0x14]
lea ecx, [esi + 0xe0]
mov byte [esp + 0x1c], 8
call fcn.0047d2b0
mov eax, dword [esi + 0xd4]
sub eax, 0xc
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4601b2
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x4601b2
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esi + 0xac]
mov byte [esp + 0x1c], 6
mov dword [ecx], vtable.wxObject.0
call fcn.004e8d50
lea ecx, [esi + 0xa4]
mov byte [esp + 0x1c], 5
call fcn.0047d2b0
lea ecx, [esi + 0x8c]
mov byte [esp + 0x1c], 4
call fcn.0047d2b0
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 3
call fcn.0047d2b0
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], 2
call fcn.0047c770
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 1
call fcn.0047d2b0
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], bl
call fcn.0050a110
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004e94c0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret