Function at 0x5b4aa0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x7029f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x30]
push 0x11
push eax
call fcn.004c9bf0
add esp, 8
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call fcn.00476540
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x5c], 1
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x10]
mov esi, dword [esp + 0x60]
push 0
push 0
mov eax, dword [ecx]
push 0
push edx
lea edx, [esp + 0x24]
push edx
push esi
call dword [eax + 0xa8]
mov ecx, dword [esp + 0x4c]
push 0x82d1f4
mov eax, dword [ecx]
call dword [eax + 0x54]
lea ecx, [esp + 0x38]
call fcn.00476370
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x5c], 2
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 2
add eax, 2
mov dword [esp + 0x1c], 0
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 3
mov dword [esp + 0x24], vtable.wxBitmap.0
call fcn.00485f90
lea eax, [esp + 0x18]
mov byte [esp + 0x58], 4
push eax
lea ecx, [esp + 0x3c]
call fcn.00478ed0
push 0xa
call fcn.00489fc0
mov ecx, dword [esp + 0x44]
add esp, 4
mov edx, dword [ecx]
push eax
call dword [edx + 0x6c]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
call dword [eax + 0xb4]
mov ecx, dword [esp + 0x40]
push 0x6a
mov eax, dword [ecx]
call dword [eax + 0x74]
push 0x10
call fcn.0048a530
mov ecx, dword [esp + 0x44]
add esp, 4
mov edx, dword [ecx]
push eax
call dword [edx + 0x7c]
mov ecx, dword [esp + 0x40]
push 0
push 0
push esi
mov eax, dword [ecx]
call dword [eax + 0x170]
mov ecx, dword [esp + 0x40]
push 0
push 1
push esi
mov eax, dword [ecx]
call dword [eax + 0x170]
mov ecx, dword [esp + 0x40]
push 0
push 2
push esi
mov eax, dword [ecx]
call dword [eax + 0x170]
mov ecx, dword [esp + 0x40]
push 1
push 1
push esi
mov eax, dword [ecx]
call dword [eax + 0x170]
mov ecx, dword [esp + 0x40]
push 1
push 2
push esi
mov eax, dword [ecx]
call dword [eax + 0x170]
mov ecx, dword [esp + 0x40]
push 2
push 1
push esi
mov eax, dword [ecx]
call dword [eax + 0x170]
mov ecx, dword [esp + 0x40]
push 2
push 2
push esi
mov eax, dword [ecx]
call dword [eax + 0x170]
push 0xb
call fcn.0048a530
mov ecx, dword [esp + 0x44]
add esp, 4
mov edx, dword [ecx]
push eax
call dword [edx + 0x7c]
mov ecx, dword [esp + 0x40]
push 1
push 1
push esi
mov eax, dword [ecx]
call dword [eax + 0x170]
push 0x82d1d4
lea ecx, [esp + 0x3c]
call fcn.00478ed0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00485610
push 0xff
push 0xff
push 0xff
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 5
call fcn.004c49d0
mov dword [esp + 0x24], 0
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
mov byte [esp + 0x5c], 6
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], vtable.wxBitmap.0
call fcn.00486ad0
push dword [esp + 0x64]
lea eax, [esp + 0x24]
mov byte [esp + 0x5c], 7
push eax
mov ecx, edi
call fcn.005b46c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 5
mov bl, al
call fcn.00418250
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 4
mov dword [esp + 0x28], vtable.wxObject.0
call fcn.005bde00
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call fcn.00418250
mov dword [esp + 0x38], vtable.wxDC.0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x58], 8
test ecx, ecx
je 0x5b4d37
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 1
mov dword [esp + 0x38], vtable.wxObject.0
call fcn.005bde00
mov dword [esp + 0x44], vtable.wxDC.0
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x58], 9
test ecx, ecx
je 0x5b4d69
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], 0
mov dword [esp + 0x44], vtable.wxObject.0
call fcn.005bde00
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call fcn.004a45c0
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x4c
ret 8