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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x490214
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 0x42e944
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 0x42f955
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, 0x4ae23c
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.0047da9d
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.00452382
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 0x42eb35
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 0x42ebb2
mov edi, 0x4af5d4
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.0047db0a
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.0047da9d
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.0041bbf0
add esp, 0x14
lea ecx, [esp + 0x80]
push 0
push 2
push 0
call fcn.0047db0a
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.0047db0a
push 0x404040
mov byte [esp + 0x7ac], 4
push 1
push 0
lea ecx, [esp + 0x5c]
call fcn.0047db0a
mov eax, dword [ebp + 0x40]
mov byte [esp + 0x7a8], 5
test eax, eax
je 0x42f0bd
cmp eax, 1
je 0x42f0bd
cmp eax, 3
jne 0x42f226
mov eax, dword [ebp + 0x3c]
mov dword [ebp + 0x80], 0x2710
test eax, eax
mov dword [ebp + 0x84], 0
je 0x42ee22
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 0x42edf7
jg 0x42edeb
cmp edx, dword [ebp + 0x80]
jbe 0x42edf7
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 0x42ee1c
jg 0x42ee10
cmp edx, dword [ebp + 0x80]
jbe 0x42ee1c
mov dword [ebp + 0x80], edx
mov dword [ebp + 0x84], ecx
add eax, 8
dec esi
jne 0x42edd1
mov ecx, dword [ebp + 0x84]
mov edx, dword [ebp + 0x80]
push ecx
push edx
lea eax, [esp + 0xb8]
push 0x4ae284
push eax
call fcn.00452382
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
fld qword [0x495450]
not ecx
dec ecx
add ecx, 0xfffffffe
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
call fcn.00452a50
call fcn.00452618
mov ecx, dword [ebp + 0x84]
mov ebx, eax
cdq
push edx
mov edx, dword [ebp + 0x80]
push eax
push ecx
push edx
call fcn.004523e0
mov edi, eax
inc edi
push edi
call fcn.00419610
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 0x42eeaa
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 0x42eed4
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 [0x495640]
fdivp st(1)
fcom qword [0x495458]
fst qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x42ef1e
fild dword [esp + 0x10]
fdiv st(1)
call fcn.00452618
fstp st(0)
fld qword [0x495458]
mov esi, eax
fst qword [esp + 0x1c]
mov ebx, edi
imul ebx, esi
mov dword [esp + 0x14], ebx
fild dword [esp + 0x14]
fmul qword [0x495638]
fdiv st(1)
call fcn.00452618
mov dword [ebp + 0x88], eax
mov dword [ebp + 0x8c], edx
test edi, edi
fstp st(0)
mov dword [esp + 0x24], 0
jle 0x42f226
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.00452618
mov esi, eax
mov eax, dword [esp + 0x24]
mov ebx, eax
and ebx, 1
jne 0x42f046
cmp eax, dword [esp + 0x28]
jge 0x42f046
mov ecx, dword [ebp + 0x64]
push 2
push ecx
call dword [sym.imp.GDI32.dll_SetTextAlign]
fild dword [esp + 0x10]
fmul qword [0x495630]
fstp qword [esp + 0x30]
fld qword [esp + 0x1c]
fcomp qword [0x495458]
fnstsw ax
test ah, 0x40
je 0x42efda
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0xb8]
push str._.0f
push ecx
jmp 0x42eff5
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.00452382
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 0x42f059
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 0x42ef68
jmp 0x42f226
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
xor esi, esi
push esi
push 0x32
push edx
push eax
call fcn.004523e0
cmp eax, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
jl 0x42f226
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.00452618
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, ecx
and eax, 1
mov dword [esp + 0x14], eax
jne 0x42f1b1
cmp ecx, dword [esp + 0x24]
jge 0x42f1b1
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.004523e0
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.00452382
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 0x42f1c4
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 0x42f0eb
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 0x42f6d7
cmp eax, 3
je 0x42f6d7
cmp eax, 2
jne 0x42f623
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x42f85c
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 0x42f2b7
jl 0x42f2ad
cmp edx, ecx
jae 0x42f2b7
mov ebx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
fldlg2
fild qword [esp + 0x1c]
fyl2x
call fcn.00452618
sub eax, 2
mov dword [esp + 0x10], eax
jns 0x42f2d1
xor eax, eax
jmp 0x42f2db
cmp eax, 4
jle 0x42f2df
mov eax, 4
mov dword [esp + 0x10], eax
fld qword [0x495450]
fild dword [esp + 0x10]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
lea esi, [esi + esi*4]
shl esi, 3
call fcn.00452a50
call fcn.00452618
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.004523e0
push 0
push 0x64
push edx
push eax
call fcn.004523e0
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 0x42f37a
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 0x42f46f
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 0x42f3d4
call fcn.00452490
push 0
push 0x64
push edx
push eax
call fcn.00452490
mov ecx, eax
mov eax, dword [esp + 0x10]
mov edi, edx
jmp 0x42f3e6
call fcn.00452490
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.004523e0
push edx
push eax
lea edx, [esp + 0xb8]
push 0x4ae284
push edx
call fcn.00452382
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 0x42f391
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, str.KB_s
je 0x42f490
mov edi, 0x4af5d4
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 0x42f5d7
cmp ebx, esi
jle 0x42f585
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 0x42f53b
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 0x42f537
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
cmp ecx, dword [esp + 0x20]
jl 0x42f59b
jg 0x42f593
cmp edx, dword [esp + 0x1c]
jbe 0x42f59b
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
cmp ecx, edi
jl 0x42f5b7
jg 0x42f5af
cmp esi, dword [esp + 0x40]
jbe 0x42f5b7
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 0x42f4f0
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.0042fd70
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x42f85c
cmp eax, 1
jne 0x42f85c
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.00452382
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 0x42f632
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x42f85c
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 0x42f706
cmp eax, 3
jne 0x42f706
mov ecx, 8
mov dword [esp + 0x14], ecx
xor esi, esi
test ecx, ecx
mov dword [esp + 0x10], esi
jl 0x42f85c
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 0x42f7ab
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test esi, esi
push eax
push ecx
jne 0x42f76a
push str._.1fK
jmp 0x42f76f
push str._.0fK
lea edx, [esp + 0xbc]
push edx
call fcn.00452382
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 0x42f80b
jle 0x42f815
dec esi
lea edx, [esp + 0xb0]
cmp esi, 8
mov edi, str._64K
je 0x42f7c4
mov edi, 0x4b235c
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 0x42f841
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 0x42f714
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 0x42f8b5
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x42f893
mov ecx, dword [ebp + 0x64]
push ecx
mov ecx, ebp
call fcn.0042fba0
jmp 0x42f8b5
cmp eax, 3
jne 0x42f8a5
mov edx, dword [ebp + 0x64]
mov ecx, ebp
push edx
call fcn.00430140
jmp 0x42f8b5
cmp eax, 1
jne 0x42f8b5
mov eax, dword [ebp + 0x64]
mov ecx, ebp
push eax
call fcn.0042ff90
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x7a8], 6
call fcn.0047daf4
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x7a8], 7
call fcn.0047daf4
mov dword [esp + 0x80], esi
lea ecx, [esp + 0x80]
mov byte [esp + 0x7a8], 8
call fcn.0047daf4
mov dword [esp + 0x58], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x7a8], 9
call fcn.0047daf4
mov dword [esp + 0x88], esi
lea ecx, [esp + 0x88]
mov byte [esp + 0x7a8], 0xa
call fcn.0047daf4
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x7a8], 0xb
call fcn.0047daf4
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 0x42f9a4
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 0x42f9b8
cmp ecx, dword [ebp + 0x74]
je 0x42f9cc
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