Function at 0x406b7d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x574
mov eax, dword [0x58ee50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x52c], ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x18]
call fcn.004267e7
mov dword [ebp - 0x78], eax
and dword [ebp - 0x10], 0
and dword [ebp - 0x60], 0
and dword [ebp - 0x5c], 0
and dword [ebp - 0x58], 0
and dword [ebp - 0x54], 0
and dword [ebp - 0xa4], 0
and dword [ebp - 0xa0], 0
and dword [ebp - 0x9c], 0
and dword [ebp - 0x98], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x94], eax
mov eax, dword [0x5e0810]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x5e0814]
mov dword [ebp - 0x74], eax
push ecx
push ecx
fld qword [0x56cba8]
fstp qword [esp]
push dword [ebp - 0x7c]
call fcn.00406aae
add esp, 0xc
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x70]
call fcn.004047a4
mov dword [ebp - 0x70], vtable.CFont.0
and dword [ebp - 4], 0
and dword [ebp - 0x68], 0
call fcn.004050c6
test eax, eax
jne 0x406c5f
push ecx
push ecx
fld qword [0x56cba0]
fstp qword [esp]
push dword [ebp - 0x74]
call fcn.004069ca
add esp, 0xc
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x8c]
call fcn.004047a4
mov dword [ebp - 0x8c], vtable.CBrush.0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.004047a4
mov dword [ebp - 0x84], vtable.CBrush.0
mov byte [ebp - 4], 2
push dword [ebp - 0x7c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebp - 0x84]
call fcn.00426acf
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00426acf
mov dword [ebp - 0x64], 4
cmp dword [0x5902b8], 0
je 0x406cd2
mov dword [ebp - 0x64], 7
mov eax, dword [0x5902c4]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
and eax, 2
je 0x406dd8
cmp dword [0x5e074c], 0
jne 0x406dd8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
and eax, 1
je 0x406d16
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
and eax, 0xfffffffe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
push 0x34
call fcn.0040fffe
pop ecx
mov dword [ebp - 0x330], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x330], 0
je 0x406d4e
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x330]
call fcn.0040483a
mov dword [ebp - 0x530], eax
jmp 0x406d55
and dword [ebp - 0x530], 0
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x78], eax
push 0x3c
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.0051ce30
add esp, 0xc
mov dword [ebp - 0x1fc], 0x158
push 0
lea eax, [ebp - 0x1fc]
push eax
push dword [ebp - 0x1fc]
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0xf
pop ecx
lea esi, [ebp - 0x15c]
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [ebp - 0x70]
call fcn.00426acf
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x78]
call dword [eax + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x94]
and eax, 0x800
je 0x406efb
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x84]
test eax, eax
jne 0x406e0d
and dword [ebp - 0x534], 0
jmp 0x406e16
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x534], eax
push dword [ebp - 0x534]
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x390], eax
push dword [ebp - 0x39c]
push dword [ebp - 0x398]
push dword [ebp - 0x394]
push dword [ebp - 0x390]
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
sar eax, 1
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
push 2
push 6
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DrawEdge]
lea eax, [ebp - 0x8c]
test eax, eax
jne 0x406ebc
and dword [ebp - 0x538], 0
jmp 0x406ec8
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x538], eax
push dword [ebp - 0x538]
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x74]
push dword [ebp - 0x74]
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004304a2
jmp 0x4084bf
and dword [ebp - 0x22c], 0
and dword [ebp - 0x238], 0
and dword [ebp - 0x214], 0
and dword [ebp - 0x204], 0
mov eax, dword [0x5e0818]
mov dword [ebp - 0x250], eax
mov eax, dword [0x5e081c]
mov dword [ebp - 0x210], eax
call fcn.004050c6
test eax, eax
jne 0x406f57
push ecx
push ecx
fld qword [0x56cb68]
fstp qword [esp]
push dword [ebp - 0x210]
call fcn.004069ca
add esp, 0xc
mov dword [ebp - 0x228], eax
jmp 0x406f76
push ecx
push ecx
fld qword [0x56cb98]
fstp qword [esp]
push dword [ebp - 0x210]
call fcn.004069ca
add esp, 0xc
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x260]
call fcn.004047a4
mov dword [ebp - method.CBrush.virtual_0], vtable.CBrush.0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
call fcn.004047a4
mov dword [ebp - method.CPen.virtual_0], vtable.CPen.0
mov byte [ebp - 4], 5
or dword [ebp - 0x240], 0xffffffff
or dword [ebp - 0x234], 0xffffffff
or dword [ebp - 0x248], 0xffffffff
mov dword [ebp - 0x208], 1
mov dword [ebp - 0x224], 2
mov dword [ebp - 0x244], 3
and dword [ebp - 0x23c], 0
and dword [ebp - 0x200], 0
push dword [ebp - 0x7c]
push 0
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [ebp - 0x220]
call fcn.00426acf
push dword [ebp - 0x228]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebp - 0x260]
call fcn.00426acf
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea esi, [ebp - 0x60]
lea edi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x254], eax
call fcn.00422712
push eax
lea ecx, [ebp - 0x230]
call fcn.00403cbd
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0
je 0x407257
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x334]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
call fcn.00404d82
mov dword [ebp - 0x53c], eax
mov eax, dword [ebp - 0x53c]
mov dword [ebp - 0x3a0], eax
mov byte [ebp - 4], 7
push dword [ebp - 0x3a0]
lea ecx, [ebp - 0x230]
call fcn.0040fcbb
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x334]
sub eax, 0x10
mov dword [ebp - 0x3a4], eax
mov ecx, dword [ebp - 0x3a4]
call fcn.00403d0e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x234], 0
jne 0x40712e
cmp dword [0x5902b8], 0
je 0x40712e
cmp dword [ebp - 0x23c], 0
je 0x40712e
mov ecx, dword [ebp - 0x23c]
call fcn.0040fa4a
cmp eax, 2
jle 0x40712e
mov dword [ebp - 0x200], 1
cmp dword [ebp - 0x240], 0
jge 0x4071bc
cmp dword [ebp - 0x234], 0
jge 0x4071bc
cmp dword [ebp - 0x248], 0
jl 0x4071bc
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x234], eax
and dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0x5e0820
cmp dword [0x5902b8], 0
je 0x4071bc
push dword [ebp - 0x248]
mov ecx, dword [ebp - 0x52c]
call fcn.0040d557
test eax, eax
je 0x4071bc
mov dword [ebp - 0x200], 1
mov eax, dword [ebp - 0x248]
inc eax
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x248]
inc eax
inc eax
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x248]
add eax, 3
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x254]
and eax, 8
je 0x40720b
cmp dword [ebp - 0x240], 0
jge 0x40720b
mov eax, dword [ebp - 0x254]
and eax, 1
je 0x4071f3
mov eax, dword [ebp - 0x52c]
cmp dword [eax + 0x44], 0
jle 0x4071f3
mov dword [ebp - 0x204], 1
jmp 0x407209
mov eax, dword [ebp - 0x52c]
cmp dword [eax + 0x48], 0
jle 0x407209
mov dword [ebp - 0x204], 1
jmp 0x407255
cmp dword [ebp - 0x240], 0xffffffff
je 0x407255
mov dword [ebp - 0x22c], 1
mov eax, dword [ebp - 0x254]
and eax, 1
je 0x407240
mov eax, dword [ebp - 0x254]
and eax, 2
jne 0x407240
mov dword [ebp - 0x238], 1
jmp 0x407255
mov eax, dword [ebp - 0x254]
and eax, 2
je 0x407255
mov dword [ebp - 0x214], 1
jmp 0x407262
lea ecx, [ebp - 0x230]
call fcn.0040383e
mov eax, dword [ebp - 0x254]
and eax, 1
je 0x4072e2
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.00426bbc
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x260]
test eax, eax
jne 0x407295
and dword [ebp - 0x540], 0
jmp 0x4072a1
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x540], eax
push dword [ebp - 0x540]
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x210]
push dword [ebp - 0x210]
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004304a2
push dword [ebp - 0x264]
mov ecx, dword [ebp - 0x78]
call fcn.00426bbc
jmp 0x4073e5
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x3b8], eax
push dword [ebp - 0x3c4]
push dword [ebp - 0x3c0]
push dword [ebp - 0x3bc]
push dword [ebp - 0x3b8]
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.00426bbc
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x84]
test eax, eax
jne 0x407359
and dword [ebp - 0x544], 0
jmp 0x407362
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x544], eax
push dword [ebp - 0x544]
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [ebp - 0x8c]
test eax, eax
jne 0x40738b
and dword [ebp - 0x548], 0
jmp 0x407397
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x548], eax
push dword [ebp - 0x548]
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x268]
mov ecx, dword [ebp - 0x78]
call fcn.00426bbc
push dword [ebp - 0x7c]
push dword [ebp - 0x7c]
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004304a2
push dword [ebp - 0x74]
push dword [ebp - 0x74]
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004304a2
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
sub eax, dword [0x5902c8]
mov dword [ebp - 0x54c], eax
fild dword [ebp - 0x54c]
fdiv qword [0x56cb90]
fadd qword [0x56cb88]
call fcn.0051fce0
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jge 0x407426
and dword [ebp - 0x550], 0
jmp 0x407432
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x550]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x90]
sub eax, dword [0x5902c4]
mov dword [ebp - 0x554], eax
fild dword [ebp - 0x554]
fdiv qword [0x56cb90]
fadd qword [0x56cb88]
call fcn.0051fce0
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0
jge 0x40747f
and dword [ebp - 0x558], 0
jmp 0x40748b
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x558], eax
mov eax, dword [ebp - 0x558]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x3d4], eax
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x60]
lea eax, [ecx + eax - 2]
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x3c8], eax
push dword [ebp - 0x3d4]
push dword [ebp - 0x3d0]
push dword [ebp - 0x3cc]
push dword [ebp - 0x3c8]
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebp - 0x204], 0
jne 0x407515
cmp dword [ebp - 0x22c], 0
jne 0x407515
cmp dword [ebp - 0x238], 0
jne 0x407515
cmp dword [ebp - 0x214], 0
je 0x407f46
cmp dword [ebp - 0x204], 0
je 0x4076aa
mov eax, dword [ebp - 0x52c]
cmp dword [eax + 0x3c], 0
je 0x4076aa
lea eax, [ebp - 0x8c]
test eax, eax
jne 0x407545
and dword [ebp - 0x55c], 0
jmp 0x407551
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x55c], eax
push dword [ebp - 0x55c]
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x20c]
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x258]
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x254]
and eax, 1
je 0x407629
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x52c]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x3e8], eax
cmp dword [ebp - 0x78], 0
jne 0x4075e1
and dword [ebp - 0x3e4], 0
jmp 0x4075ed
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3e0], eax
push 1
push dword [ebp - 0x338]
push dword [ebp - 0x33c]
push dword [ebp - 0x3e4]
push 1
push dword [ebp - 0x3e0]
call fcn.0042e2bf
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040fb2a
jmp 0x4076a5
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x52c]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x78], 0
jne 0x40765f
and dword [ebp - 0x3f0], 0
jmp 0x40766b
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x3f4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3ec], eax
push 1
push dword [ebp - 0x340]
push dword [ebp - 0x344]
push dword [ebp - 0x3f0]
push 0
push dword [ebp - 0x3ec]
call fcn.0042e2bf
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040fb2a
jmp 0x407f46
cmp dword [ebp - 0x214], 0
je 0x4078d6
cmp dword [ebp - 0x238], 0
jne 0x4078d1
cmp dword [ebp - 0x200], 0
je 0x40777d
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x20c]
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x258]
mov dword [ebp - 0x3f8], eax
mov eax, dword [ebp - 0x3f8]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x3fc]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x348], eax
cmp dword [ebp - 0x78], 0
jne 0x40772e
and dword [ebp - 0x404], 0
jmp 0x40773a
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x400], eax
push 1
push dword [ebp - 0x348]
push dword [ebp - 0x34c]
push dword [ebp - 0x404]
push dword [ebp - 0x244]
push dword [ebp - 0x400]
call fcn.0042e2bf
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040fb2a
jmp 0x4078d1
mov dword [ebp - method.CGdiObject.virtual_0], vtable.CGdiObject.0
and dword [ebp - 0x27c], 0
mov dword [ebp - method.CBitmap.virtual_0], vtable.CBitmap.0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x23c]
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x52c]
call fcn.00408597
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x254]
and eax, 1
je 0x4077dd
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x52c]
cmp dword [eax + 0x38], 0
je 0x40784b
lea eax, [ebp - 0x280]
test eax, eax
jne 0x4077fc
and dword [ebp - 0x560], 0
jmp 0x407808
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x560], eax
push dword [ebp - 0x284]
push 0
push 0
push dword [ebp - 0x560]
push dword [0x5902c8]
push dword [0x5902c4]
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x258]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x18]
mov ecx, dword [ebp - 0x52c]
call fcn.0040b76a
jmp 0x40788a
push dword [ebp - 0x284]
push 0
push 0
lea eax, [ebp - 0x280]
push eax
push dword [0x5902c8]
push dword [0x5902c4]
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x258]
push eax
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x52c]
call fcn.0040cd5b
mov eax, dword [ebp - 0x254]
and eax, 1
je 0x4078ad
push dword [ebp - 0x210]
push dword [ebp - 0x210]
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004304a2
lea ecx, [ebp - 0x280]
call fcn.00426b29
mov byte [ebp - 4], 6
mov dword [ebp - method.CBitmap.virtual_0], vtable.CBitmap.0
lea ecx, [ebp - 0x280]
call fcn.004036a4
jmp 0x407f46
cmp dword [ebp - 0x238], 0
je 0x407c30
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x20c]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x258]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x408]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x254]
and eax, 8
je 0x407a11
mov dword [ebp - method.CGdiObject.virtual_0], vtable.CGdiObject.0
and dword [ebp - 0x290], 0
mov dword [ebp - method.CBrush.virtual_0], vtable.CBrush.0
mov byte [ebp - 4], 9
push ecx
push ecx
fld qword [0x56cb70]
fstp qword [esp]
push dword [ebp - 0x210]
call fcn.004069ca
add esp, 0xc
mov dword [ebp - 0x410], eax
push dword [ebp - 0x410]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebp - 0x294]
call fcn.00426acf
lea eax, [ebp - 0x294]
test eax, eax
jne 0x407991
and dword [ebp - 0x564], 0
jmp 0x40799d
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x564], eax
push dword [ebp - 0x564]
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [ebp - 0x294]
call fcn.00426b29
push dword [ebp - 0x210]
push dword [ebp - 0x210]
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004304a2
mov eax, dword [ebp - 0x28c]
dec eax
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x288]
dec eax
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 6
mov dword [ebp - method.CBrush.virtual_0], vtable.CBrush.0
lea ecx, [ebp - 0x294]
call fcn.004036a4
jmp 0x407a49
lea eax, [ebp - 0x260]
test eax, eax
jne 0x407a24
and dword [ebp - 0x568], 0
jmp 0x407a30
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x568], eax
push dword [ebp - 0x568]
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [ebp - 0x23c], 0
je 0x407c2b
cmp dword [ebp - 0x200], 0
je 0x407bba
mov eax, dword [ebp - 0x254]
and eax, 8
jne 0x407bba
mov eax, dword [ebp - 0x288]
inc eax
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x28c]
inc eax
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x288]
dec eax
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x28c]
dec eax
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x78], 0
jne 0x407afd
and dword [ebp - 0x428], 0
jmp 0x407b09
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x424], eax
push 1
push dword [ebp - 0x350]
push dword [ebp - 0x354]
push dword [ebp - 0x428]
push dword [ebp - 0x224]
push dword [ebp - 0x424]
call fcn.0042e2bf
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040fb2a
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0x78], 0
jne 0x407b6e
and dword [ebp - 0x430], 0
jmp 0x407b7a
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x42c], eax
push 1
push dword [ebp - 0x358]
push dword [ebp - 0x35c]
push dword [ebp - 0x430]
push dword [ebp - 0x234]
push dword [ebp - 0x42c]
call fcn.0042e2bf
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040fb2a
jmp 0x407c2b
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x78], 0
jne 0x407be1
and dword [ebp - 0x438], 0
jmp 0x407bed
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x434], eax
push 1
push dword [ebp - 0x360]
push dword [ebp - 0x364]
push dword [ebp - 0x438]
push dword [ebp - 0x234]
push dword [ebp - 0x434]
call fcn.0042e2bf
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040fb2a
jmp 0x407f46
mov eax, dword [ebp - 0x254]
and eax, 8
je 0x407dc9
mov dword [ebp - method.CGdiObject.virtual_0], vtable.CGdiObject.0
and dword [ebp - 0x2b0], 0
mov dword [ebp - method.CBrush.virtual_0], vtable.CBrush.0
mov byte [ebp - 4], 0xa
push ecx
push ecx
fld qword [0x56cb68]
fstp qword [esp]
push dword [ebp - 0x210]
call fcn.004069ca
add esp, 0xc
mov dword [ebp - 0x43c], eax
push dword [ebp - 0x43c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00426acf
lea eax, [ebp - 0x2b4]
test eax, eax
jne 0x407ca8
and dword [ebp - 0x56c], 0
jmp 0x407cb4
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x56c], eax
push dword [ebp - 0x56c]
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [ebp - 0x2b4]
call fcn.00426b29
push dword [ebp - 0x210]
push dword [ebp - 0x210]
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004304a2
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x5c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x60]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x23c], 0
je 0x407dab
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x78], 0
jne 0x407d61
and dword [ebp - 0x44c], 0
jmp 0x407d6d
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x448], eax
push 1
push dword [ebp - 0x368]
push dword [ebp - 0x36c]
push dword [ebp - 0x44c]
push dword [ebp - 0x234]
push dword [ebp - 0x448]
call fcn.0042e2bf
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040fb2a
mov byte [ebp - 4], 6
mov dword [ebp - method.CBrush.virtual_0], vtable.CBrush.0
lea ecx, [ebp - 0x2b4]
call fcn.004036a4
jmp 0x407f46
lea eax, [ebp - 0x8c]
test eax, eax
jne 0x407ddc
and dword [ebp - 0x570], 0
jmp 0x407de8
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x570], eax
push dword [ebp - 0x570]
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x74]
push dword [ebp - 0x74]
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004304a2
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x20c]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x258]
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x23c], 0
je 0x407f46
cmp dword [ebp - 0x200], 0
je 0x407ed5
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x78], 0
jne 0x407e89
and dword [ebp - 0x45c], 0
jmp 0x407e95
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x458], eax
push 1
push dword [ebp - 0x370]
push dword [ebp - 0x374]
push dword [ebp - 0x45c]
push dword [ebp - 0x208]
push dword [ebp - 0x458]
call fcn.0042e2bf
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040fb2a
jmp 0x407f46
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x378], eax
cmp dword [ebp - 0x78], 0
jne 0x407efc
and dword [ebp - 0x464], 0
jmp 0x407f08
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x460], eax
push 1
push dword [ebp - 0x378]
push dword [ebp - 0x37c]
push dword [ebp - 0x464]
push dword [ebp - 0x234]
push dword [ebp - 0x460]
call fcn.0042e2bf
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040fb2a
cmp dword [ebp - 0x240], 0
jge 0x408016
mov eax, dword [ebp - 0x254]
and eax, 8
je 0x408016
cmp dword [ebp - 0x204], 0
jne 0x408016
push 0x30
push 0
lea eax, [ebp - 0x2ec]
push eax
call fcn.0051ce30
add esp, 0xc
mov dword [ebp - 0x2ec], 0x30
mov dword [ebp - 0x2e8], 8
lea eax, [ebp - 0x2ec]
push eax
push 0
mov eax, dword [ebp + 8]
push dword [eax + 8]
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov eax, dword [ebp - 0x254]
and eax, 8
jne 0x407fc5
cmp dword [ebp - 0x2d0], 0
je 0x408016
mov eax, dword [ebp - 0x254]
and eax, 8
je 0x407fde
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x574], eax
jmp 0x407fea
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x574], eax
mov eax, dword [ebp - 0x254]
and eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x574]
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x52c]
call fcn.0040cbb8
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x60]
lea eax, [ecx + eax + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x230]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x468], eax
xor eax, eax
cmp dword [ebp - 0x468], 0
sete al
movzx eax, al
test eax, eax
jne 0x408459
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x300], eax
call fcn.00422712
push eax
lea ecx, [ebp - 0x314]
call fcn.00403cbd
mov byte [ebp - 4], 0xb
call fcn.00422712
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00403cbd
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x314]
call fcn.0040383e
lea ecx, [ebp - 0x2fc]
call fcn.0040383e
push 9
lea ecx, [ebp - 0x230]
call fcn.0040ddeb
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0xffffffff
je 0x4081ee
mov eax, dword [ebp - 0x2f0]
inc eax
push eax
lea eax, [ebp - 0x380]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040dea3
mov dword [ebp - 0x578], eax
mov eax, dword [ebp - 0x578]
mov dword [ebp - 0x4c0], eax
mov byte [ebp - 4], 0xd
push dword [ebp - 0x4c0]
lea ecx, [ebp - 0x2fc]
call fcn.0040fcbb
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x380]
sub eax, 0x10
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x4c4]
call fcn.00403d0e
push 0
push 9
lea ecx, [ebp - 0x230]
call fcn.0040dd10
push eax
lea eax, [ebp - 0x384]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040dee0
mov dword [ebp - 0x57c], eax
mov eax, dword [ebp - 0x57c]
mov dword [ebp - 0x4e8], eax
mov byte [ebp - 4], 0xe
push dword [ebp - 0x4e8]
lea ecx, [ebp - 0x314]
call fcn.0040fcbb
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x384]
sub eax, 0x10
mov dword [ebp - 0x4ec], eax
mov ecx, dword [ebp - 0x4ec]
call fcn.00403d0e
mov eax, dword [ebp - 0x304]
sub eax, dword [0x5902c4]
mov dword [ebp - 0x304], eax
jmp 0x408200
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x314]
call fcn.0040fcbb
mov eax, dword [ebp - 0x78]
push dword [eax + 8]
call dword [sym.imp.GDI32.dll_GetBkMode]
mov dword [ebp - 0x310], eax
push 1
mov ecx, dword [ebp - 0x78]
call fcn.00425ee5
mov dword [ebp - 0x2f4], 0x24
mov dword [ebp - 0x2f8], 0x26
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
and eax, 2
jne 0x4082dc
push dword [ebp - 0x250]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x78]
call dword [eax + 0x30]
mov eax, dword [ebp - 0x314]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x500], eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x504], eax
push dword [ebp - 0x2f4]
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x500]
push dword [ebp - 0x504]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x78]
call dword [eax + 0x68]
cmp dword [ebp - 0x2f0], 0xffffffff
je 0x4082d7
mov eax, dword [ebp - 0x2fc]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x508], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x50c], eax
push dword [ebp - 0x2f8]
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x508]
push dword [ebp - 0x50c]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x78]
call dword [eax + 0x68]
jmp 0x40840f
lea esi, [ebp - 0x30c]
lea edi, [ebp - 0x324]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x324]
inc eax
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x31c]
inc eax
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x320]
inc eax
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x318]
inc eax
mov dword [ebp - 0x318], eax
call fcn.004050c6
test eax, eax
jne 0x408374
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x254]
and eax, 1
jne 0x408361
push ecx
push ecx
fld qword [0x56cb80]
fstp qword [esp]
push dword [ebp - 0x328]
call fcn.004069ca
add esp, 0xc
mov dword [ebp - 0x328], eax
push dword [ebp - 0x328]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x78]
call dword [eax + 0x30]
jmp 0x408388
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x78]
call dword [eax + 0x30]
mov eax, dword [ebp - 0x314]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x510], eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x514], eax
push dword [ebp - 0x2f4]
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x510]
push dword [ebp - 0x514]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x78]
call dword [eax + 0x68]
cmp dword [ebp - 0x2f0], 0xffffffff
je 0x40840f
mov eax, dword [ebp - 0x2fc]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x518], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x51c], eax
push dword [ebp - 0x2f8]
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x518]
push dword [ebp - 0x51c]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x78]
call dword [eax + 0x68]
push dword [ebp - 0x310]
mov ecx, dword [ebp - 0x78]
call fcn.00425ee5
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2fc]
sub eax, 0x10
mov dword [ebp - 0x520], eax
mov ecx, dword [ebp - 0x520]
call fcn.00403d0e
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x314]
sub eax, 0x10
mov dword [ebp - 0x524], eax
mov ecx, dword [ebp - 0x524]
call fcn.00403d0e
lea ecx, [ebp - 0x220]
call fcn.00426b29
lea ecx, [ebp - 0x260]
call fcn.00426b29
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x230]
sub eax, 0x10
mov dword [ebp - 0x528], eax
mov ecx, dword [ebp - 0x528]
call fcn.00403d0e
mov byte [ebp - 4], 4
mov dword [ebp - method.CPen.virtual_0], vtable.CPen.0
lea ecx, [ebp - 0x220]
call fcn.004036a4
mov byte [ebp - 4], 2
mov dword [ebp - method.CBrush.virtual_0], vtable.CBrush.0
lea ecx, [ebp - 0x260]
call fcn.004036a4
lea ecx, [ebp - 0x84]
call fcn.00426b29
lea ecx, [ebp - 0x8c]
call fcn.00426b29
cmp dword [ebp - 0x68], 0
je 0x4084e9
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x78]
call dword [eax + 0x28]
lea ecx, [ebp - 0x70]
call fcn.00426b29
cmp dword [ebp - 0x10], 0
je 0x408537
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x388], eax
cmp dword [ebp - 0x388], 0
je 0x408530
push 1
mov eax, dword [ebp - 0x388]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x388]
call dword [eax + 4]
mov dword [ebp - 0x580], eax
jmp 0x408537
and dword [ebp - 0x580], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x84], vtable.CBrush.0
lea ecx, [ebp - 0x84]
call fcn.004036a4
mov byte [ebp - 4], 0
mov dword [ebp - 0x8c], vtable.CBrush.0
lea ecx, [ebp - 0x8c]
call fcn.004036a4
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x70], vtable.CFont.0
lea ecx, [ebp - 0x70]
call fcn.004036a4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051b26c
leave
ret 4