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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
push ebx
push esi
push edi
mov edi, ecx
push 8
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push 0
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CPen::CPen
push 0xcccccc
push 1
push 2
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CPen::CPen
push 0x6060ff
push 1
push 0
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CPen::CPen
push 0xff6000
push 1
push 0
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CPen::CPen
push 0x3030c0
push 1
push 0
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CPen::CPen
push 0xc03030
push 1
push 0
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CPen::CPen
push 0x808080
push 1
push 0
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CPen::CPen
push 0
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CBrush::CBrush
mov ebx, dword [ebp + 8]
mov dword [esp + 0x38], 0
test ebx, ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x20], 0xe8000000
mov dword [esp + 0x24], 0x42374876
je 0x54ac88
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x54ac88
add edi, 0x58
test edi, edi
je 0x549f19
mov eax, dword [edi + 4]
test eax, eax
jne 0x549f28
push ebx
push 0x5810d8
push 0x46
mov ecx, edi
call sub.MFC42.DLL_CFont::CreatePointFont
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x30]
mov edi, dword [ebx]
push 8
mov dword [esp + 0x8c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, ebx
call dword [edi + 0x38]
push 1
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
mov edi, dword [esp + 0x1c]
lea eax, [edi + 0x40]
push eax
mov dword [esp + 0x90], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x78]
test eax, eax
je 0x54ac1d
cmp dword [edi + 0x7c], 1
jl 0x54ac1d
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x30]
mov edx, dword [ebx + 4]
neg eax
sbb eax, eax
and eax, ecx
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_FrameRect]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
sub edx, eax
sub edx, 2
push 0xffffff
push edx
mov edx, dword [esi + 8]
sub edx, ecx
sub edx, 2
inc eax
push edx
inc ecx
push eax
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::FillSolidRect
mov al, byte [edi + 0x88]
test al, al
je 0x54a10e
lea edx, [edi + 0xac]
test edx, edx
je 0x549ff4
mov eax, dword [edx + 4]
test eax, eax
jne 0x54a091
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x118]
lea esi, [esp + 0x130]
rep stosd dword es:[edi], eax
mov ecx, 0xf
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
mov edi, str.Impact
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x12c], al
mov byte [esp + 0x12d], al
mov byte [esp + 0x12e], al
mov byte [esp + 0x12f], al
mov eax, ecx
mov dword [esp + 0xc], esi
mov esi, edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x114], 0x154
shr ecx, 2
mov dword [esp + 0x124], 0x190
mov byte [esp + 0x12b], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x118]
push ecx
mov ecx, edx
call sub.MFC42.DLL_CFont::CreatePointFontIndirect
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x1c]
mov edx, dword [ebx]
lea eax, [edi + 0xac]
push eax
mov ecx, ebx
call dword [edx + 0x30]
mov ecx, dword [edi + 0xa8]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x38]
push 0x1a
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetTextAlign
add edi, 0x88
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x1c]
not ecx
dec ecx
add eax, 0x88
push ecx
mov ecx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 4]
sub ecx, eax
mov eax, dword [esi + 8]
sub ecx, 8
sub eax, 8
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov edi, dword [ebx]
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, ebx
call dword [edi + 0x38]
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx]
add eax, 0x58
mov ecx, ebx
push eax
call dword [edx + 0x30]
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub eax, 2
inc ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x54a15b
jmp 0x54a126
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 8]
push eax
lea eax, [esp + 0x5c]
push edx
push eax
mov ecx, ebx
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x10]
inc edx
push ecx
push edx
mov ecx, ebx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
sub eax, 0x20
inc ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jg 0x54a122
cmp dword [edi + 0x70], 1
jne 0x54a20d
lea edx, [esp + 0x60]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov eax, dword [esi]
mov ecx, dword [esi + 8]
add eax, 0x21
dec ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x54a1be
jmp 0x54a188
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 4]
mov ecx, ebx
inc edx
push edx
push eax
lea eax, [esp + 0x60]
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
dec ecx
push ecx
push edx
mov ecx, ebx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 8]
add eax, 0x20
dec ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x54a184
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
sub eax, 0x22
inc edx
cmp eax, edx
mov dword [esp + 0x10], eax
jle 0x54a20d
jmp 0x54a1d6
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esi]
inc eax
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
sub eax, 2
push edx
push eax
mov ecx, ebx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
sub eax, 0x20
inc ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jg 0x54a1d2
lea edx, [esp + 0x80]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov eax, dword [esi + 8]
mov edx, dword [esi]
sub eax, edx
mov ecx, dword [edi + 0x7c]
sub eax, 3
mov dword [esp + 0xc], ecx
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 5
sub ecx, eax
dec ecx
mov dword [esp + 0x2c], ecx
jns 0x54a24e
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
sub eax, edx
sub eax, 3
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
cmp ecx, eax
jge 0x54a2c1
mov edx, dword [edi + 0x78]
lea eax, [ecx + ecx*4]
fld qword [esp + 0x20]
lea edx, [edx + eax*8 + 0x10]
mov eax, dword [esp + 0xc]
sub eax, ecx
mov dword [esp + 0xc], eax
fld qword [esp + 0x38]
fcomp qword [edx + 8]
fnstsw ax
test ah, 1
je 0x54a2a2
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
fcom qword [edx]
fnstsw ax
test ah, 0x41
jne 0x54a2af
fstp st(0)
fld qword [edx]
mov eax, dword [esp + 0xc]
add edx, 0x28
dec eax
mov dword [esp + 0xc], eax
jne 0x54a286
fstp qword [esp + 0x20]
mov eax, dword [edi + 0x6c]
push eax
mov dword [esp + 0x18], eax
call fcn.00428ce0
fdivr qword [0x56f950]
push ecx
mov ecx, dword [esp + 0x1c]
fadd qword [esp + 0x40]
fstp qword [esp]
call fcn.00429ac0
mov eax, dword [edi + 0x6c]
fstp qword [esp + 0x38]
push eax
mov dword [esp + 0x18], eax
call fcn.00428ce0
fdivr qword [0x56f950]
push ecx
mov ecx, dword [esp + 0x1c]
fsubr qword [esp + 0x28]
fstp qword [esp]
call fcn.00429ac0
fstp qword [esp + 0x20]
push 0
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetTextAlign
fld qword [esp + 0x38]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
fsub qword [esp + 0x20]
mov edx, eax
add eax, 0xfffffffe
sub edx, ecx
mov dword [esp + 0x10], eax
sub edx, 3
inc ecx
fstp qword [esp + 0x58]
mov dword [esp + 0xc], edx
cmp eax, ecx
fild dword [esp + 0xc]
fdivr qword [esp + 0x58]
fstp qword [esp + 0x78]
jle 0x54a416
lea ecx, [eax - 5]
mov dword [esp + 0xc], ecx
jmp 0x54a360
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [edi + 0x6c]
sub ecx, eax
push edx
sub ecx, 3
sub esp, 8
mov dword [esp + 0x20], ecx
lea edx, [esp + 0xa1]
fild dword [esp + 0x20]
mov byte [esp + 0xa0], 0x20
fmul qword [esp + 0x84]
fadd qword [esp + 0x2c]
fstp qword [esp]
push 0x7e
push edx
call fcn.00429bd0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x20]
add eax, 0xfffffff6
add esp, 0x14
cmp ecx, eax
mov dword [esp + 0x14], ecx
jle 0x54a3b7
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 4]
inc eax
cmp ecx, eax
jge 0x54a3c3
mov dword [esp + 0x14], eax
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esi + 8]
add eax, 2
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, 0x20
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 4]
sub eax, 0x20
inc ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jg 0x54a35c
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub edx, ecx
lea eax, [esp + 0x48]
dec edx
push eax
mov dword [esp + 0x10], edx
mov ecx, ebx
fild dword [esp + 0x10]
fdiv qword [esp + 0x5c]
fstp qword [esp + 0x7c]
call sub.MFC42.DLL_CDC::SelectObject
mov eax, dword [esi]
mov ecx, dword [edi + 0x7c]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x54a4d5
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0xc], eax
jmp 0x54a465
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x78]
fld qword [eax + ecx + 0x10]
fsub qword [esp + 0x20]
fmul qword [esp + 0x78]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esi + 0xc]
sub eax, edx
mov edx, dword [esp + 0x10]
dec eax
cmp edx, ecx
mov dword [esp + 0x18], eax
push eax
jne 0x54a4a5
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x5c]
push edx
push eax
mov ecx, ebx
call sub.MFC42.DLL_CDC::MoveTo
jmp 0x54a4b1
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, 0x28
mov dword [esp + 0xc], ecx
mov ecx, dword [edi + 0x7c]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x54a461
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x54a4ed
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x18]
dec eax
push edx
push eax
mov ecx, ebx
call sub.MFC42.DLL_CDC::LineTo
cmp dword [edi + 0x74], 1
jne 0x54a5b5
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::SelectObject
mov eax, dword [esi]
mov ecx, dword [edi + 0x7c]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x54a59d
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0xc], eax
jmp 0x54a52d
mov eax, dword [esp + 0xc]
mov edx, dword [edi + 0x78]
fld qword [eax + edx + 0x18]
fsub qword [esp + 0x20]
fmul qword [esp + 0x78]
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esi + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x10]
dec eax
cmp ecx, edx
mov dword [esp + 0x18], eax
push eax
jne 0x54a56d
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::MoveTo
jmp 0x54a579
mov edx, dword [esp + 0x18]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, 0x28
mov dword [esp + 0xc], ecx
mov ecx, dword [edi + 0x7c]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x54a529
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x54a5b5
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x18]
dec ecx
push eax
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::LineTo
add edi, 0x60
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x1c]
not ecx
dec ecx
lea eax, [edi + 0x60]
push ecx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add eax, 2
add ecx, 3
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x64]
mov eax, dword [edi + 0x7c]
mov edx, dword [edi + 0x6c]
mov ecx, dword [edi + 0x78]
mov byte [esp + 0x94], 0x20
lea eax, [eax + eax*4]
push edx
mov edx, dword [ecx + eax*8 - 0x14]
push edx
mov eax, dword [ecx + eax*8 - 0x18]
lea ecx, [esp + 0x9d]
push eax
push 0x7d
push ecx
call fcn.00429bd0
mov edi, 0x5829dc
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x94]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
lea eax, [eax + eax*4]
fld qword [ecx + eax*8 - 0x18]
fsub qword [esp + 0x20]
fmul qword [esp + 0x78]
call sub.MSVCRT.dll__ftol
mov edx, eax
mov eax, dword [ebp + 0xc]
push 0xffffff
mov ecx, ebx
mov eax, dword [eax + 0xc]
sub eax, edx
mov edx, dword [ebx]
dec eax
mov dword [esp + 0x1c], eax
call dword [edx + 0x38]
mov eax, dword [ebx]
push 0x6060ff
mov ecx, ebx
call dword [eax + 0x34]
push 2
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [ebx]
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x94]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [edi + 8]
add ecx, 0xfffffffb
add eax, 2
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
cmp dword [esi + 0x74], 1
jne 0x54a7ac
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x6c]
mov byte [esp + 0x94], 0x20
push ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + edx*8 - 0xc]
push ecx
mov edx, dword [eax + edx*8 - 0x10]
lea eax, [esp + 0x9d]
push edx
push 0x7d
push eax
call fcn.00429bd0
mov edi, 0x5829dc
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x94]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x78]
lea eax, [eax + eax*4]
fld qword [ecx + eax*8 - 0x10]
fsub qword [esp + 0x20]
fmul qword [esp + 0x78]
call sub.MSVCRT.dll__ftol
mov edx, dword [ebp + 0xc]
push 0xffffff
mov ecx, ebx
mov esi, dword [edx + 0xc]
sub esi, eax
mov eax, dword [ebx]
dec esi
call dword [eax + 0x38]
mov edx, dword [ebx]
push 0xff6000
mov ecx, ebx
call dword [edx + 0x34]
push 2
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x94]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
add esi, 0xfffffffb
mov eax, dword [ecx + 8]
push esi
add eax, 2
mov ecx, ebx
push eax
call dword [edx + 0x64]
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 0xc]
fld qword [esi + 0xb8]
fcomp qword [0x565ac0]
fnstsw ax
test ah, 0x40
jne 0x54a919
fld qword [esi + 0xb8]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x54a919
fld qword [esi + 0xb8]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x54a919
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::SelectObject
fld qword [esi + 0xb8]
fsub qword [esp + 0x20]
fmul qword [esp + 0x78]
call sub.MSVCRT.dll__ftol
mov edx, eax
mov eax, dword [edi + 0xc]
sub eax, edx
lea ecx, [esp + 0x58]
dec eax
mov dword [esp + 0x18], eax
push eax
mov eax, dword [edi]
inc eax
push eax
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x18]
dec eax
push edx
push eax
mov ecx, ebx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0xbc]
mov eax, dword [esi + 0xb8]
push ecx
push edx
push eax
lea ecx, [esp + 0xa1]
push 0x7d
push ecx
mov byte [esp + 0xa8], 0x20
call fcn.00429bd0
mov edi, 0x5829dc
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x94]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov ecx, edx
and ecx, 3
push 0xffffff
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call dword [eax + 0x38]
mov edx, dword [ebx]
push 0x808080
mov ecx, ebx
call dword [edx + 0x34]
push 2
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x94]
push ecx
push eax
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 8]
lea ecx, [esi - 5]
add eax, 2
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 0x38]
push 1
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
mov ecx, dword [edi]
mov eax, dword [ebx]
push 5
add esi, 0xfffffff6
push str.Entry
add ecx, 2
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x64]
mov esi, dword [esp + 0x1c]
fld qword [esi + 0xc0]
fcomp qword [0x565ac0]
fnstsw ax
test ah, 0x40
jne 0x54aa86
fld qword [esi + 0xc0]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x54aa86
fld qword [esi + 0xc0]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x54aa86
lea edx, [esp + 0x50]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CDC::SelectObject
fld qword [esi + 0xc0]
fsub qword [esp + 0x20]
fmul qword [esp + 0x78]
call sub.MSVCRT.dll__ftol
mov edx, dword [edi]
mov ecx, eax
mov eax, dword [edi + 0xc]
sub eax, ecx
mov ecx, ebx
dec eax
inc edx
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x5c]
push edx
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x18]
dec edx
push ecx
push edx
mov ecx, ebx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
push eax
push ecx
push edx
lea eax, [esp + 0xa1]
push 0x7d
push eax
mov byte [esp + 0xa8], 0x20
call fcn.00429bd0
mov edi, 0x5829dc
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x94]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov ecx, edx
and ecx, 3
push 0xffffff
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call dword [eax + 0x38]
mov edx, dword [ebx]
push 0x3030c0
mov ecx, ebx
call dword [edx + 0x34]
push 2
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x94]
push ecx
push eax
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 8]
lea ecx, [esi - 5]
add eax, 2
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 0x38]
push 1
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
mov ecx, dword [edi]
mov eax, dword [ebx]
push 2
add esi, 0xfffffff6
push 0x59296c
add ecx, 2
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x64]
mov esi, dword [esp + 0x1c]
fld qword [esi + 0xc8]
fcomp qword [0x565ac0]
fnstsw ax
test ah, 0x40
jne 0x54abef
fld qword [esi + 0xc8]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x54abef
fld qword [esi + 0xc8]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x54abef
lea edx, [esp + 0x68]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CDC::SelectObject
fld qword [esi + 0xc8]
fsub qword [esp + 0x20]
fmul qword [esp + 0x78]
call sub.MSVCRT.dll__ftol
mov edx, dword [edi]
mov ecx, eax
mov eax, dword [edi + 0xc]
sub eax, ecx
mov ecx, ebx
dec eax
inc edx
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x5c]
push edx
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x18]
dec edx
push ecx
push edx
mov ecx, ebx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0xc8]
push eax
push ecx
push edx
lea eax, [esp + 0xa1]
push 0x7d
push eax
mov byte [esp + 0xa8], 0x20
call fcn.00429bd0
mov edi, 0x5829dc
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x94]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov ecx, edx
and ecx, 3
push 0xffffff
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call dword [eax + 0x38]
mov edx, dword [ebx]
push 0xc03030
mov ecx, ebx
call dword [edx + 0x34]
push 2
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x94]
push ecx
push eax
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 8]
lea ecx, [esi - 5]
add eax, 2
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 0x38]
push 1
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
mov ecx, dword [edi]
mov eax, dword [ebx]
push 2
add esi, 0xfffffff6
push 0x592968
add ecx, 2
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x64]
mov edx, dword [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x88]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [esp + 0x90]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CDC::SelectObject
jmp 0x54ac88
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5a0f78]
lea eax, [esp + 0xc]
push eax
push 0x1454
call fcn.004c2690
push 0xa
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetTextAlign
mov eax, dword [esp + 0xc]
mov edx, dword [ebx]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esi + 8]
push eax
mov eax, dword [esi + 0xc]
sub eax, 2
add ecx, 0x26
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x64]
mov edx, dword [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x88]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov esi, 0x565318
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x565304
lea ecx, [esp + 0x70]
mov dword [esp + 0x30], edi
mov dword [esp + 0x70], esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x68]
mov dword [esp + 0x70], edi
mov dword [esp + 0x68], esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], edi
mov dword [esp + 0x50], esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x60]
mov dword [esp + 0x48], edi
mov dword [esp + 0x60], esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x80]
mov dword [esp + 0x60], edi
mov dword [esp + 0x80], esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8