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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x499574
push eax
mov dword fs:[0], esp
sub esp, 0x790
lea eax, [esp + 0x80]
push ebp
mov ebp, ecx
push edi
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x64]
xor edi, edi
cmp eax, edi
je 0x421f64
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp + 0x64], edi
mov eax, dword [ebp + 0x64]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [esp + 0x7b0]
cmp eax, edi
jne 0x422f75
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x9c]
mov dword [ebp + 0x64], eax
mov eax, dword [esp + 0x94]
sub edx, eax
mov eax, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x94]
sub eax, edx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp + 0x64]
push eax
push ecx
mov dword [ebp + 0x68], eax
call ebx
xor esi, esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], vtable.CFont.0
mov edx, dword [ebp + 0x64]
push 0x48
push 0x5a
push edx
mov dword [esp + 0x7b4], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [esp + 0x124], eax
mov edi, 0x4ba2ac
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x130], esi
mov dword [esp + 0x134], esi
lea edx, [esp + 0x140]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x138], 0
shr ecx, 2
mov byte [esp + 0x139], 0
mov byte [esp + 0x13a], 0
mov byte [esp + 0x13b], 0
mov byte [esp + 0x13c], 4
mov byte [esp + 0x13d], 0
mov byte [esp + 0x13e], 0
mov byte [esp + 0x13f], 0x20
push 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x64]
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
lea edx, [esp + 0x124]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x64]
call fcn.00476be4
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x60]
neg eax
sbb eax, eax
and eax, esi
push eax
mov eax, dword [ebp + 0x64]
push eax
call ebx
mov dword [esp + 0xac], eax
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x70]
push eax
push ecx
lea edx, [esp + 0xb8]
push str._d__
push edx
call fcn.00445f52
add esp, 0x10
lea eax, [esp + 0x68]
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [ebp + 0x64]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xb8]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x78]
lea edx, [ecx + eax + 6]
mov eax, edi
mov ecx, dword [esp + 0x74]
mov dword [ebp + 0x4c], edx
cdq
sub eax, edx
mov dword [ebp + 0x54], esi
sar eax, 1
mov dword [esp + 0x18], eax
add eax, ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x50], eax
cmp ecx, 1
jne 0x422155
mov eax, dword [esp + 0x68]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
mov dword [ebp + 0x54], esi
mov edx, dword [esp + 0x7c]
sub edx, edi
sub edx, 5
cmp ecx, 2
mov dword [ebp + 0x58], edx
jne 0x4221d2
mov edi, 0x4bb644
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xb0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
lea edi, [esp + 0xb0]
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x64]
not ecx
dec ecx
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x78]
sub ecx, eax
mov dword [ebp + 0x4c], edx
sub ecx, 5
mov dword [ebp + 0x54], ecx
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x50]
mov edx, dword [ebp + 0x54]
mov esi, dword [ebp + 0x4c]
sub eax, ecx
mov ecx, dword [ebp + 0x64]
sub edx, esi
push 1
push ecx
mov dword [ebp + 0x5c], edx
mov dword [ebp + 0x60], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x94]
call fcn.00476c51
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], vtable.CBrush.0
push 0xffffff
mov byte [esp + 0x7ac], 2
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x5c]
call fcn.00476be4
mov ecx, dword [esp + 0x8c]
mov edx, dword [ebp + 0x64]
lea eax, [esp + 0x88]
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call ebx
mov edi, dword [esp + 0x5c]
mov esi, eax
lea eax, [esp + 0x58]
neg eax
sbb eax, eax
and eax, edi
push eax
mov eax, dword [ebp + 0x64]
push eax
call ebx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov edi, eax
mov eax, dword [esp + 0x74]
sub ecx, eax
mov eax, dword [esp + 0x70]
sub edx, eax
mov eax, dword [ebp + 0x64]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [ebp + 0x64]
push esi
push ecx
call ebx
mov edx, dword [ebp + 0x64]
push edi
push edx
call ebx
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
mov edx, dword [ebp + 0x50]
mov esi, dword [ebp + 0x4c]
mov dword [esp + 0x120], eax
push 1
push 0x404040
lea eax, [esp + 0x11c]
push 0
mov dword [esp + 0x120], esi
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], ecx
push eax
mov ecx, dword [ebp + 0x64]
push ecx
call fcn.0040d040
add esp, 0x14
lea ecx, [esp + 0x80]
push 0
push 2
push 0
call fcn.00476c51
mov ecx, dword [esp + 0x84]
mov edx, dword [ebp + 0x64]
lea eax, [esp + 0x80]
mov byte [esp + 0x7a8], 3
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call ebx
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x64]
mov edi, eax
mov eax, dword [ebp + 0x50]
dec eax
push 0
dec ecx
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x54]
mov edx, dword [ebp + 0x64]
mov esi, dword [sym.imp.GDI32.dll_LineTo]
dec eax
inc ecx
push eax
push ecx
push edx
call esi
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
mov edx, dword [ebp + 0x64]
inc eax
inc ecx
push eax
push ecx
push edx
call esi
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x64]
inc eax
dec ecx
push eax
push ecx
push edx
call esi
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x64]
dec eax
dec ecx
push eax
push ecx
push edx
call esi
mov eax, dword [ebp + 0x64]
push edi
push eax
call ebx
push 0x707070
push 1
push 0
lea ecx, [esp + 0x54]
call fcn.00476c51
push 0x404040
mov byte [esp + 0x7ac], 4
push 1
push 0
lea ecx, [esp + 0x5c]
call fcn.00476c51
mov eax, dword [ebp + 0x40]
mov byte [esp + 0x7a8], 5
test eax, eax
je 0x4226dd
cmp eax, 1
je 0x4226dd
cmp eax, 3
jne 0x422846
mov eax, dword [ebp + 0x3c]
mov dword [ebp + 0x80], 0x2710
test eax, eax
mov dword [ebp + 0x84], 0
je 0x422442
add eax, 0x1823c
mov esi, 0xa
mov ecx, dword [eax - 0x4c]
mov edi, dword [ebp + 0x84]
mov edx, dword [eax - 0x50]
cmp ecx, edi
jl 0x422417
jg 0x42240b
cmp edx, dword [ebp + 0x80]
jbe 0x422417
mov dword [ebp + 0x80], edx
mov dword [ebp + 0x84], ecx
mov ecx, dword [eax + 4]
mov edi, dword [ebp + 0x84]
mov edx, dword [eax]
cmp ecx, edi
jl 0x42243c
jg 0x422430
cmp edx, dword [ebp + 0x80]
jbe 0x42243c
mov dword [ebp + 0x80], edx
mov dword [ebp + 0x84], ecx
add eax, 8
dec esi
jne 0x4223f1
mov ecx, dword [ebp + 0x84]
mov edx, dword [ebp + 0x80]
push ecx
push edx
lea eax, [esp + 0xb8]
push 0x4ba2f4
push eax
call fcn.00445f52
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
fld qword [0x49f460]
not ecx
dec ecx
add ecx, 0xfffffffe
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
call fcn.00446620
call fcn.004461e8
mov ecx, dword [ebp + 0x84]
mov ebx, eax
cdq
push edx
mov edx, dword [ebp + 0x80]
push eax
push ecx
push edx
call fcn.00445fb0
mov edi, eax
inc edi
push edi
call fcn.0040a780
mov esi, eax
mov eax, edi
cdq
idiv esi
add esp, 4
mov dword [esp + 0x10], esi
mov ecx, eax
imul eax, esi
cmp eax, edi
jge 0x4224ca
inc ecx
mov eax, ecx
lea edi, [ecx + ecx]
imul eax, esi
imul eax, ebx
cdq
mov dword [ebp + 0x88], eax
cmp edi, 6
mov dword [ebp + 0x8c], edx
mov dword [esp + 0x28], edi
jne 0x4224f4
mov edi, 0xc
mov dword [esp + 0x28], edi
mov eax, edi
imul eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fild qword [ebp + 0x88]
fmul qword [0x49f650]
fdivp st(1)
fcom qword [0x49f468]
fst qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x42253e
fild dword [esp + 0x10]
fdiv st(1)
call fcn.004461e8
fstp st(0)
fld qword [0x49f468]
mov esi, eax
fst qword [esp + 0x1c]
mov ebx, edi
imul ebx, esi
mov dword [esp + 0x14], ebx
fild dword [esp + 0x14]
fmul qword [0x49f648]
fdiv st(1)
call fcn.004461e8
mov dword [ebp + 0x88], eax
mov dword [ebp + 0x8c], edx
test edi, edi
fstp st(0)
mov dword [esp + 0x24], 0
jle 0x422846
fild dword [esp + 0x28]
neg esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
fstp qword [esp + 0x40]
fild dword [ebp + 0x60]
fimul dword [esp + 0x24]
fdiv qword [esp + 0x40]
fiadd dword [ebp + 0x50]
call fcn.004461e8
mov esi, eax
mov eax, dword [esp + 0x24]
mov ebx, eax
and ebx, 1
jne 0x422666
cmp eax, dword [esp + 0x28]
jge 0x422666
mov ecx, dword [ebp + 0x64]
push 2
push ecx
call dword [sym.imp.GDI32.dll_SetTextAlign]
fild dword [esp + 0x10]
fmul qword [0x49f640]
fstp qword [esp + 0x30]
fld qword [esp + 0x1c]
fcomp qword [0x49f468]
fnstsw ax
test ah, 0x40
je 0x4225fa
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0xb8]
push str._.0f
push ecx
jmp 0x422615
fld qword [esp + 0x30]
fdiv qword [esp + 0x1c]
sub esp, 8
lea edx, [esp + 0xb8]
fstp qword [esp]
push str._.1f
push edx
call fcn.00445f52
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 0x4c]
not ecx
dec ecx
lea eax, [esp + 0xb0]
push ecx
mov ecx, esi
sub ecx, edi
push eax
mov eax, dword [ebp + 0x64]
sub edx, 5
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [esp + 0x4c]
mov ecx, dword [ebp + 0x64]
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
jmp 0x422679
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [ebp + 0x64]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp + 0x64]
mov edi, eax
mov eax, dword [ebp + 0x4c]
push 0
push esi
lea ecx, [ebx + eax - 3]
push ecx
push edx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x64]
sub eax, ebx
push esi
add eax, 3
push eax
push ecx
call dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [ebp + 0x64]
push edi
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
jl 0x422588
jmp 0x422846
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
xor esi, esi
push esi
push 0x32
push edx
push eax
call fcn.00445fb0
cmp eax, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
jl 0x422846
fild dword [esp + 0x24]
mov dword [esp + 0x10], esi
fstp qword [esp + 0x30]
fild dword [ebp + 0x60]
fimul dword [esp + 0x28]
fdiv qword [esp + 0x30]
fiadd dword [ebp + 0x50]
call fcn.004461e8
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, ecx
and eax, 1
mov dword [esp + 0x14], eax
jne 0x4227d1
cmp ecx, dword [esp + 0x24]
jge 0x4227d1
mov ecx, dword [ebp + 0x64]
mov ebx, dword [sym.imp.GDI32.dll_SetTextAlign]
push 2
push ecx
call ebx
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
push 0
push 0xa
push edx
push eax
call fcn.00445fb0
mov ecx, eax
mov eax, dword [esp + 0x10]
mov edi, edx
cdq
sub ecx, eax
sbb edi, edx
lea edx, [esp + 0xb0]
push edi
push ecx
push str._d__
push edx
call fcn.00445f52
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 0x4c]
not ecx
dec ecx
lea eax, [esp + 0xb0]
push ecx
mov ecx, esi
sub ecx, edi
push eax
mov eax, dword [ebp + 0x64]
sub edx, 5
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [ebp + 0x64]
push 0
push ecx
call ebx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [ebp + 0x64]
push eax
push edx
jmp 0x4227e4
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
and eax, edi
push eax
mov eax, dword [ebp + 0x64]
push eax
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
call ebx
mov ecx, dword [ebp + 0x4c]
mov edx, dword [esp + 0x14]
mov edi, eax
push 0
lea eax, [edx + ecx - 2]
mov ecx, dword [ebp + 0x64]
push esi
push eax
push ecx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [ebp + 0x54]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x64]
sub edx, ecx
add edx, 3
push esi
push edx
push eax
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [ebp + 0x64]
push edi
push ecx
call ebx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc eax
add edx, 5
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edx
jle 0x42270b
mov edx, dword [ebp + 0x64]
push 6
push edx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
sbb eax, eax
and eax, edi
push eax
mov eax, dword [ebp + 0x64]
push eax
call ebx
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x422cf7
cmp eax, 3
je 0x422cf7
cmp eax, 2
jne 0x422c43
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x422e7c
mov edi, dword [ebp + 0x48]
mov edx, dword [eax + edi*8 + 0x181ec]
mov ebx, dword [eax + edi*8 + 0x181f0]
mov ecx, dword [eax + edi*8 + 0x1823c]
mov eax, dword [eax + edi*8 + 0x18240]
cmp ebx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
jg 0x4228d7
jl 0x4228cd
cmp edx, ecx
jae 0x4228d7
mov ebx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
fldlg2
fild qword [esp + 0x1c]
fyl2x
call fcn.004461e8
sub eax, 2
mov dword [esp + 0x10], eax
jns 0x4228f1
xor eax, eax
jmp 0x4228fb
cmp eax, 4
jle 0x4228ff
mov eax, 4
mov dword [esp + 0x10], eax
fld qword [0x49f460]
fild dword [esp + 0x10]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
lea esi, [esi + esi*4]
shl esi, 3
call fcn.00446620
call fcn.004461e8
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
call fcn.00445fb0
push 0
push 0x64
push edx
push eax
call fcn.00445fb0
lea edi, [edi + edi*4]
mov ebx, eax
inc ebx
lea eax, [edi + edi*4]
mov dword [esp + 0x38], ebx
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x3c]
lea ecx, [esi + edx*8]
lea eax, [eax + ecx*8]
lea edx, [eax + 0x1828c]
add eax, 0x79d0c
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, 2
cmp ebx, 5
mov dword [esp + 0xa4], edx
mov dword [esp + 0x10], eax
jge 0x42299a
mov eax, 5
mov dword [esp + 0x10], eax
imul eax, ebx
test eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
jl 0x422a8f
mov eax, dword [ebp + 0x5c]
mov ecx, dword [esp + 0x28]
imul eax, ecx
cdq
idiv dword [esp + 0x14]
mov edx, dword [ebp + 0x4c]
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x34]
add ebx, edx
push ecx
mov ecx, dword [esp + 0x34]
cdq
push ecx
push edx
test esi, esi
push eax
jne 0x4229f4
call fcn.00446060
push 0
push 0x64
push edx
push eax
call fcn.00446060
mov ecx, eax
mov eax, dword [esp + 0x10]
mov edi, edx
jmp 0x422a06
call fcn.00446060
mov ecx, eax
mov eax, dword [esp + 0x10]
mov edi, edx
lea eax, [eax + eax*4]
shl eax, 1
cdq
push edx
push eax
push edi
push ecx
call fcn.00445fb0
push edx
push eax
lea edx, [esp + 0xb8]
push 0x4ba2f4
push edx
call fcn.00445f52
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [ebp + 0x64]
dec ecx
push ecx
mov ecx, dword [ebp + 0x58]
lea eax, [esp + 0xb4]
add ecx, 5
push eax
push ecx
push ebx
push edx
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x64]
push 0
push eax
push ebx
push ecx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x64]
add edx, 6
push edx
push ebx
push eax
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jle 0x4229b1
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebp + 0x64]
push 0
push ecx
call dword [sym.imp.GDI32.dll_SetTextAlign]
test esi, esi
lea edx, [esp + 0xb0]
mov edi, 0x4bf01c
je 0x422ab0
mov edi, 0x4bb644
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebp + 0x58]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0x54]
not ecx
dec ecx
sub edx, edi
push ecx
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [ebp + 0x64]
add eax, 5
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
xor esi, esi
xor edx, edx
xor ecx, ecx
cmp eax, 0x320
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
jge 0x422bf7
cmp ebx, esi
jle 0x422ba5
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
sub ecx, esi
lea esi, [ebx*8]
mov eax, edi
add edi, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
jmp 0x422b5b
mov edx, dword [esp + 0x38]
mov esi, dword [ecx + eax]
mov edi, dword [ecx + eax + 4]
add edx, esi
mov esi, dword [esp + 0x3c]
adc esi, edi
mov edi, dword [eax + 4]
mov dword [esp + 0x38], edx
mov edx, dword [eax]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x28]
add esi, edx
mov edx, dword [esp + 0x2c]
adc edx, edi
add eax, 8
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x18]
dec edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], edx
jne 0x422b57
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
cmp ecx, dword [esp + 0x20]
jl 0x422bbb
jg 0x422bb3
cmp edx, dword [esp + 0x1c]
jbe 0x422bbb
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
cmp ecx, edi
jl 0x422bd7
jg 0x422bcf
cmp esi, dword [esp + 0x40]
jbe 0x422bd7
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
mov dword [esp + eax + 0x480], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + eax + 0x160], esi
mov dword [esp + eax + 0x484], edx
mov dword [esp + eax + 0x164], ecx
add eax, 8
cmp eax, 0x320
mov dword [esp + 0x10], eax
jle 0x422b10
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x16c]
push eax
mov eax, dword [ebp + 0x64]
lea edx, [esp + 0x490]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00423390
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x422e7c
cmp eax, 1
jne 0x422e7c
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x18]
mov eax, 0x66666667
imul ecx, dword [ebp + 0x5c]
imul ecx
mov esi, dword [ebp + 0x4c]
push ebx
sar edx, 2
mov ecx, edx
push str._d__
shr ecx, 0x1f
add edx, ecx
add edx, esi
mov esi, edx
lea edx, [esp + 0xb8]
push edx
call fcn.00445f52
lea edi, [esp + 0xbc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [ebp + 0x64]
dec ecx
push ecx
mov ecx, dword [ebp + 0x58]
lea eax, [esp + 0xb4]
add ecx, 5
push eax
push ecx
push esi
push edx
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x64]
push 0
push eax
push esi
push ecx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x64]
add edx, 6
push edx
push esi
push eax
call dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [esp + 0x18]
add ebx, 0xa
inc edx
cmp ebx, 0x64
mov dword [esp + 0x18], edx
jle 0x422c52
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x422e7c
mov edx, dword [ebp + 0x44]
mov ecx, 0xa
cmp edx, 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x3fe00000
mov dword [esp + 0x14], ecx
jne 0x422d26
cmp eax, 3
jne 0x422d26
mov ecx, 8
mov dword [esp + 0x14], ecx
xor esi, esi
test ecx, ecx
mov dword [esp + 0x10], esi
jl 0x422e7c
mov edi, dword [ebp + 0x5c]
mov eax, 0x2e8ba2e9
mov ecx, edi
imul ecx, esi
imul ecx
mov ecx, edx
mov eax, 0x2e8ba2e9
sar ecx, 1
mov edx, ecx
shr edx, 0x1f
add ecx, edx
imul edi
sar edx, 1
mov edi, edx
mov eax, edx
shr edi, 0x1f
add eax, edi
cdq
sub eax, edx
mov edx, dword [ebp + 0x4c]
sar eax, 1
add ecx, eax
add ecx, edx
cmp esi, 8
mov dword [esp + 0x18], ecx
jge 0x422dcb
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test esi, esi
push eax
push ecx
jne 0x422d8a
push str._.1fK
jmp 0x422d8f
push str._.0fK
lea edx, [esp + 0xbc]
push edx
call fcn.00445f52
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [esp + 0x18]
dec ecx
push ecx
mov ecx, dword [ebp + 0x58]
lea eax, [esp + 0xb4]
add ecx, 5
push eax
mov eax, dword [ebp + 0x64]
push ecx
push edx
push eax
jmp 0x422e2b
jle 0x422e35
dec esi
lea edx, [esp + 0xb0]
cmp esi, 8
mov edi, str._64K
je 0x422de4
mov edi, 0x4bef80
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebp + 0x58]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
add edx, 5
push ecx
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [ebp + 0x64]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
mov esi, dword [esp + 0x10]
cmp esi, 8
je 0x422e61
mov edx, dword [ebp + 0x50]
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0x64]
push 0
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [ebp + 0x58]
mov edx, dword [ebp + 0x64]
add ecx, 6
push ecx
push edi
push edx
call dword [sym.imp.GDI32.dll_LineTo]
fld qword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc esi
fadd st(0), st(0)
cmp esi, eax
mov dword [esp + 0x10], esi
fstp qword [esp + 0x1c]
jle 0x422d34
mov eax, dword [esp + 0xa8]
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call ebx
mov edx, dword [esp + 0xac]
mov eax, dword [ebp + 0x64]
push edx
push eax
call ebx
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x422ed5
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x422eb3
mov ecx, dword [ebp + 0x64]
push ecx
mov ecx, ebp
call fcn.004231c0
jmp 0x422ed5
cmp eax, 3
jne 0x422ec5
mov edx, dword [ebp + 0x64]
mov ecx, ebp
push edx
call fcn.00423780
jmp 0x422ed5
cmp eax, 1
jne 0x422ed5
mov eax, dword [ebp + 0x64]
mov ecx, ebp
push eax
call fcn.004235b0
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x7a8], 6
call fcn.00476c3b
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x7a8], 7
call fcn.00476c3b
mov dword [esp + 0x80], esi
lea ecx, [esp + 0x80]
mov byte [esp + 0x7a8], 8
call fcn.00476c3b
mov dword [esp + 0x58], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x7a8], 9
call fcn.00476c3b
mov dword [esp + 0x88], esi
lea ecx, [esp + 0x88]
mov byte [esp + 0x7a8], 0xa
call fcn.00476c3b
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x7a8], 0xb
call fcn.00476c3b
mov edi, dword [esp + 0xa0]
mov esi, dword [esp + 0x7b0]
mov ecx, dword [ebp + 0x64]
mov edx, dword [esp + 0x9c]
push 0xcc0020
push 0
mov eax, dword [esp + 0xa0]
push 0
push ecx
mov ecx, dword [esp + 0xa4]
sub edx, ecx
push edx
mov edx, dword [esp + 0xa4]
sub eax, edx
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test edi, edi
je 0x422fc4
mov ecx, dword [ebp + 0x64]
push edi
push ecx
call ebx
mov edx, dword [ebp + 0x68]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0x78]
mov edx, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x7c]
pop esi
cmp eax, edx
pop ebx
jne 0x422fd8
cmp ecx, dword [ebp + 0x74]
je 0x422fec
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x1c]
push 1
push 0
push eax
mov dword [ebp + 0x74], ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x798]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x79c
ret 4