Function at 0x56518c
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6b1735
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push esi
mov esi, ecx
lea eax, [esp + 0x30]
push edi
mov edi, dword [esp + 0x158]
lea ecx, [esp + 0x28]
push eax
xor ebx, ebx
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
call fcn.00564f70
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.004e5f30
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14c], 1
call fcn.0040f270
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x150], 3
mov dword [esp + 0x40], vtable.wxMemoryDC.1.0
mov dword [esp + method.wxMemoryDC.virtual_0], vtable.wxMemoryDC.0
call fcn.004fd130
lea ecx, [esp + 0x3c]
call fcn.004fd0f0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x14c], 4
cmp eax, ebx
je 0x56522c
cmp dword [eax + 0x14], ebx
je 0x56522c
lea ecx, [esp + 0xc]
call fcn.0056f900
mov edx, dword [esp + 0x13c]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x140]
call dword [edx + 8]
push ebx
push 2
push ebx
lea eax, [esp + 0x48]
push ebx
push eax
push edi
mov ecx, esi
call fcn.00565060
mov eax, dword [0x8c9b44]
cmp eax, ebx
je 0x56526c
cmp dword [eax + 0x14], ebx
je 0x56526c
mov ecx, 0x8c9b40
call fcn.0056f900
mov edx, dword [esp + 0x13c]
push 0x8c9b40
lea ecx, [esp + 0x140]
call dword [edx + 8]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
call fcn.004e6550
push ebx
push ebx
lea ecx, [esp + 0x34]
push 1
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x164], 5
mov byte [esp + 0x3c], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x44], bl
call fcn.004e4ff0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push 1
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.004e0fd0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
call fcn.004e3290
lea ecx, [esp + 0x14]
call fcn.0040d050
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 6
mov dword [esp + 0x1c], vtable.wxBitmap.0
call fcn.004e6250
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 7
push ecx
lea ecx, [esp + 0x10]
call fcn.0040eca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 5
call fcn.004dd920
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x565356
cmp dword [eax + 0x14], ebx
je 0x565356
lea ecx, [esp + 0xc]
call fcn.0056f900
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x140]
call dword [eax + 8]
push ebx
push 2
push ebx
lea ecx, [esp + 0x48]
push ebx
push ecx
push edi
mov ecx, esi
call fcn.00565060
mov eax, dword [0x8c9b44]
cmp eax, ebx
je 0x565396
cmp dword [eax + 0x14], ebx
je 0x565396
mov ecx, 0x8c9b40
call fcn.0056f900
mov edx, dword [esp + 0x13c]
push 0x8c9b40
lea ecx, [esp + 0x140]
call dword [edx + 8]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
call fcn.004e6550
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 8
cmp ecx, eax
je 0x5653d4
push eax
lea ecx, [esp + 0x20]
call fcn.0056f8a0
mov edi, vtable.wxObject.0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 5
mov dword [esp + 0x14], edi
call fcn.0056f8d0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004e3b20
lea ecx, [esp + 0x14]
call fcn.0040d050
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 9
mov dword [esp + 0x1c], vtable.wxBitmap.0
call fcn.004e6250
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x150], 0xa
call fcn.0040eca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 5
call fcn.004dd920
mov esi, dword [esp + 0x154]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004529f0
mov dword [esi], vtable.wxBitmap.0
mov dword [esp + 0x38], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 4
mov dword [esp + 0x1c], edi
call fcn.0056f8d0
lea eax, [esp + 0x3c]
lea edx, [esp + 0x13c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x3c]
and eax, edx
mov byte [esp + 0x14c], 1
mov dword [eax], vtable.wxMemoryDCBase.0
call fcn.004f5e70
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], bl
call fcn.004dd920
mov ecx, dword [esp + 0x144]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 8