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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x850907
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0xa5e224]
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 0x537c7b
cmp dword [0xa5d6f8], 0
je 0x537c7b
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.0073cfd0
add esp, 0x14
cmp byte [0xea569c], 0
je 0x537c7b
mov byte [0xea569c], 0
int3
mov al, byte [esi + 0x38]
mov byte [ebx + 0x38], al
mov eax, dword [esi + 0x20]
test eax, eax
je 0x537e1c
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.0060e500
cmp byte [esi + 0x39], 0
mov byte [ebp - 4], 2
je 0x537d6f
lea ecx, [ebp - 0x34]
call fcn.0060f440
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x34]
call fcn.0060f440
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], esi
call fcn.0060f440
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.0060e070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.0060f440
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.0060f440
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.008020c0
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x4c]
add esp, 0xc
mov ecx, ebx
push 0
push eax
call fcn.0053cb00
mov byte [ebp - 4], 4
jmp 0x537e01
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.00538b20
lea ecx, [ebp - 0x34]
call fcn.0060f440
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebp - 0x24]
je 0x537e09
lea ecx, [ebp - 0x34]
call fcn.0060f440
push dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.00537fa0
cmp dword [ebp - 0x4c], 0
mov byte [ebp - 4], 5
je 0x537dfd
lea ecx, [ebp - 0x34]
call fcn.0060f440
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.0060f440
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.0060f440
mov eax, dword [ebx + 0xc]
imul eax, edi
push eax
push esi
push dword [ebp - 0x48]
call fcn.008020c0
add esp, 0xc
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call fcn.00538390
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.005342a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.005342a0
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp dword [esi + 0x3c], 0
je 0x537f8a
push 0xc
call fcn.008000f5
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 8
test ebx, ebx
je 0x537f6e
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 0x537f70
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 0x537eec
cmp dword [0xa5d6f8], eax
je 0x537f70
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.0073cfd0
add esp, 0x14
cmp byte [0xea569c], 0
je 0x537f70
mov byte [0xea569c], 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