Function at 0x506ff0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5dc1b1
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x24]
mov ebx, vtable.wxObject.0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
test eax, eax
je 0x50703b
inc dword [eax + 4]
mov dword [esp + 0x3c], vtable.wxGraphicsBrush.0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
test eax, eax
je 0x507060
inc dword [eax + 4]
mov dword [esp + 0x34], vtable.wxGraphicsPen.0
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0xb0]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x60]
push edx
push edi
mov ecx, esi
mov byte [esp + 0xd4], 1
call eax
mov edx, dword [esi]
mov eax, dword [ebp + 0x24]
mov edx, dword [edx + 0x98]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
push 0x68fc0c
mov ecx, esi
call edx
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00506a60
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc0], 2
call fcn.00423b60
fld qword [ebp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp + 0xc]
fstp qword [esp]
call eax
fld qword [ebp + 0x1c]
call fcn.0058e3c0
fst qword [esp + 0x5c]
fmul qword [esp + 0x44]
fadd qword [ebp + 0xc]
call fcn.005895e0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fstp qword [esp + 0x64]
fld qword [ebp + 0x1c]
call fcn.0058e4f0
fst qword [esp + 0x4c]
fmul qword [esp + 0x44]
fadd qword [ebp + 0x14]
call fcn.005895e0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
lea ecx, [esp + 0x2c]
fstp qword [esp + 0x24]
call fcn.00423b60
mov ecx, dword [esp + 0x30]
fld qword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x74]
fstp qword [esp]
call eax
fld qword [esp + 0x5c]
fld st(0)
fld qword [esp + 0x44]
fmul st(1), st(0)
fxch st(1)
fadd qword [ebp + 0xc]
fld qword [esp + 0x4c]
fld st(0)
fld qword [esp + 0x54]
fmul st(1), st(0)
fxch st(3)
faddp st(1)
call fcn.005895e0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fstp qword [esp + 0x6c]
fmulp st(2)
fxch st(1)
fadd qword [ebp + 0x14]
fxch st(2)
fmulp st(1)
fsubp st(1)
call fcn.005895e0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
lea ecx, [esp + 0x2c]
fstp qword [esp + 0x64]
call fcn.00423b60
mov ecx, dword [esp + 0x30]
fld qword [esp + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x7c]
fstp qword [esp]
call eax
fld qword [esp + 0x4c]
fld qword [esp + 0x54]
fmul st(1), st(0)
fxch st(1)
fadd qword [ebp + 0xc]
call fcn.005895e0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fstp qword [esp + 0x64]
fmul qword [esp + 0x5c]
fsubr qword [ebp + 0x14]
call fcn.005895e0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
lea ecx, [esp + 0x2c]
fstp qword [esp + 0x6c]
call fcn.00423b60
mov ecx, dword [esp + 0x30]
fld qword [esp + 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x74]
fstp qword [esp]
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
push 1
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call edx
fld qword [ebp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax + 0xf8]
sub esp, 0x18
fstp qword [esp + 0x10]
mov ecx, esi
fld qword [ebp + 0x14]
fstp qword [esp + 8]
fld qword [ebp + 0xc]
fstp qword [esp]
push edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc0], 1
mov dword [esp + 0x2c], ebx
call fcn.00423980
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 0
mov dword [esp + 0x34], ebx
call fcn.00423980
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc0], 0xffffffff
mov dword [esp + 0x3c], ebx
call fcn.00423980
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20