Function at 0x537a20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8506f7
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0xa5d1d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
mov dword [ebx + 4], 1
mov dword [ebx], vtable.wxGDIImageRefData.0
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
movsd xmm0, qword [esi + 0x18]
movsd qword [ebx + 0x18], xmm0
mov dword [ebx], vtable.wxBitmapRefData.0
mov dword [ebp - 4], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x28], vtable.wxPalette.0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x34], 0
mov word [ebx + 0x38], 0
cmp dword [esi + 0x34], 0
mov byte [ebp - 4], 1
je 0x537afb
cmp dword [0xa5c6a0], 0
je 0x537afb
push str.cant_copy_bitmap_locked_for_raw_access_
push str._data.m_dib
push str.wxBitmapRefData::wxBitmapRefData
push 0xe2
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_bitmap.cpp
call fcn.0073ce90
add esp, 0x14
cmp byte [0xea464c], 0
je 0x537afb
mov byte [0xea464c], 0
int3
mov al, byte [esi + 0x38]
mov byte [ebx + 0x38], al
mov eax, dword [esi + 0x20]
test eax, eax
je 0x537c9c
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x20], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.0060e3b0
cmp byte [esi + 0x39], 0
mov byte [ebp - 4], 2
je 0x537bef
lea ecx, [ebp - 0x34]
call fcn.0060f2f0
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x34]
call fcn.0060f2f0
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], esi
call fcn.0060f2f0
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
push edi
push esi
push ebx
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x38], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
call fcn.0060df20
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.0060f2f0
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.0060f2f0
imul edi, ebx
add edi, 0x1f
sar edi, 3
and edi, 0xfffffffc
imul edi, dword [ebp - 0x14]
push edi
push esi
push dword [ebp - 0x48]
call fcn.00801f00
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x4c]
add esp, 0xc
mov ecx, ebx
push 0
push eax
call fcn.0053c980
mov byte [ebp - 4], 4
jmp 0x537c81
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.00538990
lea ecx, [ebp - 0x34]
call fcn.0060f2f0
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebp - 0x24]
je 0x537c89
lea ecx, [ebp - 0x34]
call fcn.0060f2f0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.00537e20
cmp dword [ebp - 0x4c], 0
mov byte [ebp - 4], 5
je 0x537c7d
lea ecx, [ebp - 0x34]
call fcn.0060f2f0
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
mov edi, dword [ebx + 8]
imul edi, eax
mov dword [ebx + 0x10], eax
add edi, 0x1f
sar edi, 3
and edi, 0xfffffffc
call fcn.0060f2f0
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.0060f2f0
mov eax, dword [ebx + 0xc]
imul eax, edi
push eax
push esi
push dword [ebp - 0x48]
call fcn.00801f00
add esp, 0xc
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call fcn.00538200
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.00534120
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00534120
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp dword [esi + 0x3c], 0
je 0x537e0a
push 0xc
call fcn.007fff35
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 8
test ebx, ebx
je 0x537dee
mov edi, dword [esi + 0x3c]
mov dword [ebp - 0x1c], edi
mov dword [ebx + 4], 0
mov dword [ebx], vtable.wxMask.0
mov dword [ebx + 8], 0
cmp dword [edi + 8], 0
mov byte [ebp - 4], 9
je 0x537df0
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
call esi
push 0
mov dword [ebp + 8], eax
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x4c]
push eax
push 0x18
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
jne 0x537d6c
cmp dword [0xa5c6a0], eax
je 0x537df0
push str.Cannot_retrieve_the_dimensions_of_the_wxMask_to_copy
push str._Assert_failure_
push str.wxMask::wxMask
push 0x5e0
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_bitmap.cpp
call fcn.0073ce90
add esp, 0x14
cmp byte [0xea464c], 0
je 0x537df0
mov byte [0xea464c], 0
int3
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [eax + 8]
push dword [ebp + 8]
call ebx
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push dword [ebp - 0x10]
call ebx
push 0xcc0020
push 0
push 0
push dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp - 0x10]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [ebp + 8]
push 0
push esi
call ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push 0
push edi
call ebx
push edi
call esi
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4