Function at 0x514f10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x84c90f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x38], esi
xor ebx, ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ebx
mov dword [esi + 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi], vtable.wxSizerItem.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x2c], 0xfffffffd
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x44], eax
movzx eax, cx
mov dword [ebp - 4], ebx
mov dword [esi + 0x40], ebx
cmp eax, ecx
je 0x514fd6
cmp dword [0xa5d6f8], ebx
je 0x514fd6
push str.invalid_flag:_not_within_SIZER_FLAGS_MASK
push str._m_flag__SIZER_FLAGS_MASK___m_flag
push str.wxSizerItem::wxSizerItem
push 0x174
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommon_sizer.cpp
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], bl
je 0x514fd6
mov byte [0xea569c], bl
int3
mov edi, dword [esi + 0x28]
and edi, 0x300
cmp dword [0xa5bb70], 0xffffffff
jne 0x51501b
push str.WXSUPPRESS_SIZER_FLAGS_CHECK
lea ecx, [ebp - 0x30]
call fcn.00436310
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0079f950
add esp, 8
movzx eax, al
lea ecx, [ebp - 0x30]
mov dword [0xa5bb70], eax
mov byte [ebp - 4], 0
call fcn.00436e00
cmp dword [0xa5bb70], 0
jne 0x5150fe
cmp edi, 0x300
jne 0x5150fe
cmp dword [0xa5d6f8], 0
je 0x515084
push str.one_of_these_flags
lea eax, [ebp - 0x30]
push str.One_of_wxALIGN_CENTRE_HORIZONTAL_and_wxALIGN_RIGHT_will_be_ignored_in_this_sizer:_they_are_incompatible_and_cannot_be_used_together
push eax
call fcn.00518fd0
push eax
push str.CheckSizerFlags___m_flag____wxALIGN_CENTRE_HORIZONTAL__wxALIGN_RIGHT______wxALIGN_CENTRE_HORIZONTAL__wxALIGN_RIGHT__
push str.wxSizerItem::wxSizerItem
push 0x174
or ebx, 1
mov byte [ebp - 4], 2
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommon_sizer.cpp
mov dword [ebp - 0x38], ebx
call fcn.0073cf20
add esp, 0x20
mov byte [ebp - 0x31], 1
cmp byte [0xea569c], 0
jne 0x515088
mov byte [ebp - 0x31], 0
mov dword [ebp - 4], 0
test bl, 1
je 0x5150f0
push dword [ebp - 0x18]
and ebx, 0xfffffffe
call fcn.00805aaa
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x5150dc
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5150d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51523f
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp byte [ebp - 0x31], 0
je 0x5150fe
mov byte [0xea569c], 0
int3
mov edi, dword [esi + 0x28]
and edi, 0xc00
cmp dword [0xa5bb70], 0xffffffff
jne 0x515143
push str.WXSUPPRESS_SIZER_FLAGS_CHECK
lea ecx, [ebp - 0x30]
call fcn.00436310
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0079f950
add esp, 8
movzx eax, al
lea ecx, [ebp - 0x30]
mov dword [0xa5bb70], eax
mov byte [ebp - 4], 0
call fcn.00436e00
cmp dword [0xa5bb70], 0
jne 0x515212
cmp edi, 0xc00
jne 0x515212
cmp dword [0xa5d6f8], 0
je 0x5151ac
push str.one_of_these_flags
lea eax, [ebp - 0x30]
push str.One_of_wxALIGN_CENTRE_VERTICAL_and_wxALIGN_BOTTOM_will_be_ignored_in_this_sizer:_they_are_incompatible_and_cannot_be_used_together
push eax
call fcn.00518fd0
push eax
push str.CheckSizerFlags___m_flag____wxALIGN_CENTRE_VERTICAL__wxALIGN_BOTTOM______wxALIGN_CENTRE_VERTICAL__wxALIGN_BOTTOM__
push str.wxSizerItem::wxSizerItem
push 0x174
or ebx, 2
mov byte [ebp - 4], 4
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommon_sizer.cpp
mov dword [ebp - 0x38], ebx
call fcn.0073cf20
add esp, 0x20
mov byte [ebp - 0x31], 1
cmp byte [0xea569c], 0
jne 0x5151b0
mov byte [ebp - 0x31], 0
test bl, 2
je 0x515204
push dword [ebp - 0x18]
call fcn.00805aaa
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x5151f6
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5151ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x515244
push edx
push ecx
call fcn.00800125
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
cmp byte [ebp - 0x31], 0
je 0x515212
mov byte [0xea569c], 0
int3
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 8], 2
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00800392
mov esp, ebp
pop ebp
ret 0x14
call fcn.00805a59
call fcn.00805a59
int3