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

Disassembly:
test dword [0x7eeab0], 0xfffffe00
jne 0x618acc
test dword [0x7eeab0], 0xffffff80
jne 0x619580
test dword [0x7eeab0], 0xffffffff
jne 0x61a014
call fcn.006a7fbc
jmp fcn.00618a94
push ebp
mov ebp, esp
and esp, 0xfffffff8
push edi
push esi
push ebx
push ecx
mov eax, 0x128
call fcn.006977b0
mov ecx, dword [esp + 0x128]
mov ebx, ecx
mov edi, dword [0x700828]
mov esi, dword [edi + 0xc]
mov dword [esp + 0xa4], esi
mov ecx, dword [edi + 0x10]
mov dword [esp + 0xa8], ecx
mov edx, dword [edi + 0x18]
add edx, esi
mov dword [esp + 0xac], edx
movsx eax, word [0x700760]
mov dword [esp + 0xb0], eax
movzx edi, byte [edi + 0x58]
test edi, 0x20
je 0x618b31
dec eax
mov dword [esp + 0xb0], eax
xor edi, edi
sub edx, esi
sub eax, ecx
push ebx
push dword [ebp + 8]
push edi
push dword [0x700858]
push eax
push edx
push ecx
push esi
push 0x50300000
push edi
push str.PreviewClass
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebx + 8], eax
pxor xmm0, xmm0
movq qword [esp], xmm0
movq qword [esp + 8], xmm0
movq qword [esp + 0x10], xmm0
movq qword [esp + 0x18], xmm0
movq qword [esp + 0x20], xmm0
movq qword [esp + 0x28], xmm0
movq qword [esp + 0x30], xmm0
movq qword [esp + 0x38], xmm0
movq qword [esp + 0x40], xmm0
movq qword [esp + 0x48], xmm0
movq qword [esp + 0x50], xmm0
movq qword [esp + 0x58], xmm0
movq qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
mov dword [esp + 4], 0x6c
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [ebx + 0x18]
push dword [eax + 0x20]
push dword [eax + 0x1c]
call dword [sym.imp.GDI32.dll_SetEnhMetaFileBits]
mov dword [esp + 0x10c], eax
lea eax, [esp]
push eax
push 0x6c
mov edx, dword [esp + 0x114]
push edx
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xb4], xmm0
movsd xmm1, qword [esp + 0x10]
movsd qword [esp + 0xbc], xmm1
mov eax, dword [esp + 0xb4]
mov dword [ebx + 0x44], eax
mov edx, dword [esp + 0xb8]
mov dword [ebx + 0x48], edx
mov ecx, dword [esp + 0xbc]
sub ecx, eax
mov dword [ebx + 0x4c], ecx
mov eax, dword [esp + 0xc0]
sub eax, edx
mov dword [esp + 0x114], eax
mov dword [ebx + 0x50], eax
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0x114]
cdq
mov eax, dword [esp + 0x114]
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x114], eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x110], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0xb4]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0xb4]
push eax
mov edx, dword [esp + 0x110]
push edx
push edi
call dword [sym.imp.GDI32.dll_PlayEnhMetaFile]
mov eax, dword [esp + 0x10c]
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov eax, dword [esp + 0x110]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x114]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x1c], edi
mov eax, dword [ebx + 0x4c]
add eax, 4
mov dword [ebx + 0x68], eax
mov edx, 0x10
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x70], edx
mov ecx, dword [ebx + 0x50]
add ecx, 4
mov dword [ebx + 0x6c], ecx
lea edi, [esp + 0xa4]
push edi
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0xa4]
mov dword [ebx + 0x54], ecx
mov eax, dword [esp + 0xa8]
mov dword [ebx + 0x58], eax
mov edx, dword [esp + 0xb0]
sub edx, eax
sub edx, dword [ebx + 0x64]
mov dword [ebx + 0x60], edx
mov edi, dword [esp + 0xac]
sub edi, ecx
sub edi, dword [ebx + 0x70]
mov dword [ebx + 0x5c], edi
mov eax, 1
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov eax, dword [0x6db0f0]
mov dword [esp + 0xc4], eax
mov eax, dword [0x6db0f4]
mov dword [esp + 0xc8], eax
mov eax, dword [0x6db0f8]
mov dword [esp + 0xcc], eax
mov eax, dword [0x6db0fc]
mov dword [esp + 0xd0], eax
push 0x7dffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebx + 0x28], eax
xor eax, eax
push 0x808080
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebx + 0xc], eax
xor eax, eax
push 0x8000ff
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebx + 0x10], eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x38], eax
lea eax, [esp + 0xc4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0xcc]
sub ecx, dword [esp + 0xc4]
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xc8]
cdq
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x2c], eax
push eax
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x3c], eax
lea eax, [esp + 0xc4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebx + 0x64]
inc ecx
mov dword [esp + 0xd0], ecx
mov edi, dword [esp + 0xcc]
sub edi, dword [esp + 0xc4]
mov eax, edi
cdq
xor edi, edx
sub edi, edx
mov edx, dword [esp + 0xc8]
sub ecx, edx
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
push ecx
push edi
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x30], eax
push eax
push dword [ebx + 0x3c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x40], eax
lea eax, [esp + 0xc4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebx + 0x70]
inc ecx
mov dword [esp + 0xcc], ecx
mov edi, dword [esp + 0xc4]
sub ecx, edi
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xc8]
cdq
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x34], eax
push eax
push dword [ebx + 0x40]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x6c], 0x1c
mov dword [esp + 0x70], 0xf
mov ecx, dword [ebx + 0x4c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x78], edx
mov edi, 1
mov dword [esp + 0x74], edi
mov ecx, dword [ebx + 0x5c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x7c], edx
xor edx, edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x6c]
push edi
push eax
push edx
push esi
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [ebx + 0x4c]
sub eax, dword [ebx + 0x5c]
test eax, eax
jg 0x619562
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.USER32.dll_ShowScrollBar]
mov dword [ebx + 0x84], 0
mov dword [esp + 0x88], 0x1c
mov dword [esp + 0x8c], 0xf
mov ecx, dword [ebx + 0x50]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x94], edx
mov edi, 1
mov dword [esp + 0x90], edi
mov ecx, dword [ebx + 0x60]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x98], edx
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x88]
push edi
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [ebx + 0x50]
sub eax, dword [ebx + 0x60]
test eax, eax
jg 0x61953e
push 0
push 1
push esi
call dword [sym.imp.USER32.dll_ShowScrollBar]
mov dword [ebx + 0x88], 0
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
xor eax, eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov ecx, dword [ebx + 0x68]
add ecx, dword [ebx + 0x70]
mov dword [esp + 0xdc], ecx
mov edx, dword [ebx + 0x64]
inc edx
mov dword [esp + 0x114], edx
mov dword [esp + 0xe0], edx
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0x114]
cdq
mov eax, dword [esp + 0x114]
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0xf8], eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0xd4]
push dword [ebx + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0xfc], edi
mov ecx, dword [ebx + 0x64]
mov edi, ecx
shr edi, 0x1f
add edi, ecx
shr edi, 1
mov dword [esp + 0x110], edi
mov eax, 0x55555556
imul ecx
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x108], edx
lea eax, [edx + edi]
mov dword [esp + 0x10c], eax
push 0x58
push dword [ebx + 8]
mov edi, dword [esp + 0x104]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cvtsi2sd xmm0, eax
cmp dword [ebx + 0x8c], 0
je 0x6190db
divsd xmm0, qword [0x6db090]
jmp 0x6190e3
divsd xmm0, qword [0x6db098]
push dword [ebx + 0xc]
push edi
movsd qword [esp + 0x120], xmm0
call dword [sym.imp.GDI32.dll_SelectObject]
movsd xmm0, qword [esp + 0x118]
mov edx, dword [ebx + 0x70]
inc edx
cvtsi2sd xmm2, edx
mov ecx, dword [ebx + 0x68]
add ecx, 0x10
cvtsi2sd xmm1, ecx
comisd xmm1, xmm2
jb 0x619264
xor edx, edx
movsd qword [esp + 0x120], xmm2
movsd qword [esp + 0x118], xmm0
mov dword [esp + 0x100], eax
mov dword [esp + 0xf4], esi
mov esi, edx
mov eax, 0x66666667
imul esi
sar edx, 2
mov ecx, esi
sar ecx, 0x1f
sub edx, ecx
lea eax, [edx + edx*4]
add eax, eax
neg eax
add eax, esi
jne 0x619195
movsd xmm0, qword [esp + 0x120]
cvttsd2si ecx, xmm0
mov edx, dword [ebx + 0x64]
mov eax, edx
sub eax, dword [esp + 0x10c]
mov dword [esp + 0x104], eax
movsx eax, cx
movsx ecx, dx
push 0
push ecx
push eax
push edi
mov dword [esp + 0x124], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x61920c
cmp eax, 5
jne 0x6191d4
movsd xmm0, qword [esp + 0x120]
cvttsd2si ecx, xmm0
mov edx, dword [ebx + 0x64]
mov eax, edx
sub eax, dword [esp + 0x110]
mov dword [esp + 0x104], eax
movsx eax, cx
movsx ecx, dx
push 0
push ecx
push eax
push edi
mov dword [esp + 0x124], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x61920c
movsd xmm0, qword [esp + 0x120]
cvttsd2si ecx, xmm0
mov edx, dword [ebx + 0x64]
mov eax, edx
sub eax, dword [esp + 0x108]
mov dword [esp + 0x104], eax
movsx eax, cx
movsx ecx, dx
push 0
push ecx
push eax
push edi
mov dword [esp + 0x124], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x104]
movsx ecx, cx
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
movsd xmm1, qword [esp + 0x120]
addsd xmm1, qword [esp + 0x118]
movsd qword [esp + 0x120], xmm1
inc esi
mov eax, dword [ebx + 0x68]
add eax, 0x10
cvtsi2sd xmm0, eax
comisd xmm0, xmm1
jae 0x61913f
mov eax, dword [esp + 0x100]
mov esi, dword [esp + 0xf4]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0xf8]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x20], edi
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
xor eax, eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov ecx, dword [ebx + 0x70]
inc ecx
mov dword [esp + 0xec], ecx
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov dword [esp + 0xfc], edx
mov dword [esp + 0xf0], edx
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0xfc]
cdq
mov eax, dword [esp + 0xfc]
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x104], eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0xe4]
push dword [ebx + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0xf4], esi
mov ecx, dword [ebx + 0x70]
mov esi, ecx
shr esi, 0x1f
add esi, ecx
shr esi, 1
mov dword [esp + 0x114], esi
mov eax, 0x55555556
imul ecx
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x10c], edx
lea eax, [edx + esi]
mov dword [esp + 0x110], eax
push 0x5a
push edi
mov esi, dword [esp + 0xfc]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cvtsi2sd xmm0, eax
cmp dword [ebx + 0x8c], 0
je 0x61935b
divsd xmm0, qword [0x6db090]
jmp 0x619363
divsd xmm0, qword [0x6db098]
push dword [ebx + 0xc]
push edi
movsd qword [esp + 0x128], xmm0
call dword [sym.imp.GDI32.dll_SelectObject]
movsd xmm0, qword [esp + 0x120]
mov dword [esp + 0xf8], eax
mov eax, dword [ebx + 0x64]
inc eax
cvtsi2sd xmm2, eax
mov edx, dword [ebx + 0x6c]
add edx, 0x10
cvtsi2sd xmm1, edx
comisd xmm1, xmm2
jb 0x6194e3
xor eax, eax
movsd qword [esp + 0x118], xmm2
movsd qword [esp + 0x120], xmm0
mov dword [esp + 0xf4], esi
mov esi, eax
mov eax, 0x66666667
imul esi
sar edx, 2
mov ecx, esi
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
add edx, edx
neg edx
add edx, esi
jne 0x619417
mov edx, dword [ebx + 0x70]
lea ecx, [edx - 1]
movsd xmm0, qword [esp + 0x118]
cvttsd2si eax, xmm0
sub edx, dword [esp + 0x110]
dec edx
mov dword [esp + 0x108], edx
movsx ecx, cx
movsx edx, ax
mov dword [esp + 0x100], edx
push 0
push edx
push ecx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x619492
cmp edx, 5
jne 0x619458
mov edx, dword [ebx + 0x70]
lea ecx, [edx - 1]
movsd xmm0, qword [esp + 0x118]
cvttsd2si eax, xmm0
sub edx, dword [esp + 0x114]
dec edx
mov dword [esp + 0x108], edx
movsx ecx, cx
movsx edx, ax
mov dword [esp + 0x100], edx
push 0
push edx
push ecx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x619492
mov edx, dword [ebx + 0x70]
lea ecx, [edx - 1]
movsd xmm0, qword [esp + 0x118]
cvttsd2si eax, xmm0
sub edx, dword [esp + 0x10c]
dec edx
mov dword [esp + 0x108], edx
movsx ecx, cx
movsx edx, ax
mov dword [esp + 0x100], edx
push 0
push edx
push ecx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [esp + 0x108]
movsx edx, dx
mov ecx, dword [esp + 0x100]
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_LineTo]
movsd xmm1, qword [esp + 0x118]
addsd xmm1, qword [esp + 0x120]
movsd qword [esp + 0x118], xmm1
inc esi
mov edx, dword [ebx + 0x6c]
add edx, 0x10
cvtsi2sd xmm0, edx
comisd xmm0, xmm1
jae 0x6193bf
mov esi, dword [esp + 0xf4]
mov eax, dword [esp + 0x104]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0xf8]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebx + 0x24], edi
push dword [ebx + 0x10]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebx + 0x14], eax
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
add esp, 0x12c
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x98]
inc eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x88], 1
jmp 0x618ffb
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x7c]
inc eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x84], 1
jmp 0x618f5f
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x124
call fcn.006977b0
mov ecx, dword [esp + 0x124]
mov ebp, ecx
mov esi, dword [0x700828]
mov edx, dword [esi + 0xc]
mov dword [esp + 0xa4], edx
mov eax, dword [esi + 0x10]
mov dword [esp + 0xa8], eax
mov ecx, dword [esi + 0x18]
add ecx, edx
mov dword [esp + 0xac], ecx
movsx ebx, word [0x700760]
mov dword [esp + 0xb0], ebx
movzx esi, byte [esi + 0x58]
test esi, 0x20
je 0x6195e0
dec ebx
mov dword [esp + 0xb0], ebx
xor esi, esi
sub ecx, edx
sub ebx, eax
push ebp
push dword [esp + 0x140]
push esi
push dword [0x700858]
push ebx
push ecx
push eax
push edx
push 0x50300000
push esi
push str.PreviewClass
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp + 8], eax
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 4], 0x6c
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [ebp + 0x18]
push dword [eax + 0x20]
push dword [eax + 0x1c]
call dword [sym.imp.GDI32.dll_SetEnhMetaFileBits]
mov esi, eax
lea eax, [esp]
push eax
push 0x6c
push esi
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
mov eax, dword [esp + 8]
mov dword [esp + 0xb4], eax
mov edx, dword [esp + 0xc]
mov dword [esp + 0xb8], edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xb4]
mov dword [ebp + 0x44], eax
mov edx, dword [esp + 0xb8]
mov dword [ebp + 0x48], edx
mov ecx, dword [esp + 0xbc]
sub ecx, eax
mov dword [ebp + 0x4c], ecx
mov eax, dword [esp + 0xc0]
sub eax, edx
mov dword [esp + 0x10c], eax
mov dword [ebp + 0x50], eax
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0x10c]
cdq
mov eax, dword [esp + 0x10c]
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x10c], eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x108], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0xb4]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0xb4]
push eax
push esi
push edi
call dword [sym.imp.GDI32.dll_PlayEnhMetaFile]
push esi
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov eax, dword [esp + 0x108]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x10c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 0x1c], edi
mov eax, dword [ebp + 0x4c]
add eax, 4
mov dword [ebp + 0x68], eax
mov edx, 0x10
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x70], edx
mov ecx, dword [ebp + 0x50]
add ecx, 4
mov dword [ebp + 0x6c], ecx
lea esi, [esp + 0xa4]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0xa4]
mov dword [ebp + 0x54], ecx
mov eax, dword [esp + 0xa8]
mov dword [ebp + 0x58], eax
mov edx, dword [esp + 0xb0]
sub edx, eax
sub edx, dword [ebp + 0x64]
mov dword [ebp + 0x60], edx
mov esi, dword [esp + 0xac]
sub esi, ecx
sub esi, dword [ebp + 0x70]
mov dword [ebp + 0x5c], esi
mov edi, 1
mov dword [ebp + 0x74], edi
mov dword [ebp + 0x78], edi
mov dword [ebp + 0x7c], edi
mov dword [ebp + 0x80], edi
mov eax, dword [0x6db0f0]
mov dword [esp + 0xc4], eax
mov eax, dword [0x6db0f4]
mov dword [esp + 0xc8], eax
mov eax, dword [0x6db0f8]
mov dword [esp + 0xcc], eax
mov eax, dword [0x6db0fc]
mov dword [esp + 0xd0], eax
push 0x7dffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp + 0x28], eax
xor eax, eax
push 0x808080
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp + 0xc], eax
xor eax, eax
push 0x8000ff
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp + 0x38], eax
lea eax, [esp + 0xc4]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0xcc]
sub ecx, dword [esp + 0xc4]
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xc8]
cdq
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp + 0x2c], eax
push eax
push dword [ebp + 0x38]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp + 0x3c], eax
lea eax, [esp + 0xc4]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 0x64]
inc ecx
mov dword [esp + 0xd0], ecx
mov esi, dword [esp + 0xcc]
sub esi, dword [esp + 0xc4]
mov eax, esi
cdq
xor esi, edx
sub esi, edx
mov edi, dword [esp + 0xc8]
sub ecx, edi
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp + 0x30], eax
push eax
push dword [ebp + 0x3c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp + 0x40], eax
lea eax, [esp + 0xc4]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 0x70]
inc ecx
mov dword [esp + 0xcc], ecx
mov esi, dword [esp + 0xc4]
sub ecx, esi
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xc8]
cdq
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp + 0x34], eax
push eax
push dword [ebp + 0x40]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x6c], 0x1c
mov dword [esp + 0x70], 0xf
mov esi, dword [ebp + 0x4c]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 3
sar esi, 0x1f
sub edx, esi
mov dword [esp + 0x78], edx
mov ecx, 1
mov dword [esp + 0x74], ecx
mov edi, dword [ebp + 0x5c]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 3
sar edi, 0x1f
sub edx, edi
mov dword [esp + 0x7c], edx
xor edx, edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x6c]
push ecx
push eax
push edx
push ebx
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x5c]
test eax, eax
jg 0x619fe7
xor eax, eax
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_ShowScrollBar]
mov dword [ebp + 0x84], 0
mov dword [esp + 0x88], 0x1c
mov dword [esp + 0x8c], 0xf
mov esi, dword [ebp + 0x50]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 3
sar esi, 0x1f
sub edx, esi
mov dword [esp + 0x94], edx
mov ecx, 1
mov dword [esp + 0x90], ecx
mov edi, dword [ebp + 0x60]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 3
sar edi, 0x1f
sub edx, edi
mov dword [esp + 0x98], edx
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x88]
push ecx
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [ebp + 0x50]
sub eax, dword [ebp + 0x60]
test eax, eax
jg 0x619fc3
push 0
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowScrollBar]
mov dword [ebp + 0x88], 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
xor eax, eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov esi, dword [ebp + 0x68]
add esi, dword [ebp + 0x70]
mov dword [esp + 0xdc], esi
mov ecx, dword [ebp + 0x64]
inc ecx
mov dword [esp + 0xe0], ecx
mov eax, esi
cdq
xor esi, edx
sub esi, edx
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0xd4]
push dword [ebp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0xfc], esi
mov ecx, dword [ebp + 0x64]
mov esi, ecx
shr esi, 0x1f
add esi, ecx
shr esi, 1
mov dword [esp + 0x108], esi
mov eax, 0x55555556
imul ecx
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x100], edx
lea eax, [edx + esi]
mov dword [esp + 0x104], eax
push 0x58
push dword [ebp + 8]
mov esi, dword [esp + 0x104]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 0x110], eax
fild dword [esp + 0x110]
cmp dword [ebp + 0x8c], 0
je 0x619b88
fld qword [0x6db0a0]
fdivp st(1)
jmp 0x619b90
fld qword [0x6db0a8]
fdivp st(1)
push dword [ebp + 0xc]
push edi
fstp qword [esp + 0x120]
call dword [sym.imp.GDI32.dll_SelectObject]
fld qword [esp + 0x118]
mov edx, eax
mov ecx, dword [ebp + 0x70]
inc ecx
mov dword [esp + 0x110], ecx
fild dword [esp + 0x110]
mov eax, dword [ebp + 0x68]
add eax, 0x10
mov dword [esp + 0x110], eax
fild dword [esp + 0x110]
fcomp st(1)
fnstsw ax
sahf
jb 0x61a002
xor eax, eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf4], ebx
fstp qword [esp + 0x120]
fstp qword [esp + 0x118]
mov esi, eax
mov eax, 0x66666667
imul esi
sar edx, 2
mov ecx, esi
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
add edx, edx
neg edx
add edx, esi
jne 0x619c50
fld qword [esp + 0x120]
call fcn.006a8420
mov edx, dword [ebp + 0x64]
mov ebx, edx
sub ebx, dword [esp + 0x104]
movsx eax, ax
movsx ecx, dx
push 0
push ecx
push eax
push edi
mov dword [esp + 0x11c], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x619cb7
cmp edx, 5
jne 0x619c87
fld qword [esp + 0x120]
call fcn.006a8420
mov edx, dword [ebp + 0x64]
mov ebx, edx
sub ebx, dword [esp + 0x108]
movsx eax, ax
movsx ecx, dx
push 0
push ecx
push eax
push edi
mov dword [esp + 0x11c], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x619cb7
fld qword [esp + 0x120]
call fcn.006a8420
mov edx, dword [ebp + 0x64]
mov ebx, edx
sub ebx, dword [esp + 0x100]
movsx eax, ax
movsx ecx, dx
push 0
push ecx
push eax
push edi
mov dword [esp + 0x11c], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x10c]
movsx edx, bx
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
fld qword [esp + 0x120]
fadd qword [esp + 0x118]
fst qword [esp + 0x120]
inc esi
mov edx, dword [ebp + 0x68]
add edx, 0x10
mov dword [esp + 0x110], edx
fild dword [esp + 0x110]
fcompp
fnstsw ax
sahf
jae 0x619c02
mov edx, dword [esp + 0xf8]
mov esi, dword [esp + 0xfc]
mov ebx, dword [esp + 0xf4]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 0x20], edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
xor eax, eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov esi, dword [ebp + 0x70]
inc esi
mov dword [esp + 0xec], esi
mov ecx, dword [ebp + 0x64]
add ecx, dword [ebp + 0x6c]
mov dword [esp + 0xf0], ecx
mov eax, esi
cdq
xor esi, edx
sub esi, edx
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0xfc], eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0xe4]
push dword [ebp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [ebp + 0x70]
mov esi, ecx
shr esi, 0x1f
add esi, ecx
shr esi, 1
mov dword [esp + 0x10c], esi
mov eax, 0x55555556
imul ecx
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x104], edx
lea eax, [edx + esi]
mov dword [esp + 0x108], eax
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 0x110], eax
fild dword [esp + 0x110]
cmp dword [ebp + 0x8c], 0
je 0x619ded
fld qword [0x6db0a0]
fdivp st(1)
jmp 0x619df5
fld qword [0x6db0a8]
fdivp st(1)
push dword [ebp + 0xc]
push edi
fstp qword [esp + 0x128]
call dword [sym.imp.GDI32.dll_SelectObject]
fld qword [esp + 0x120]
mov dword [esp + 0xf8], eax
mov edx, dword [ebp + 0x64]
inc edx
mov dword [esp + 0x110], edx
fild dword [esp + 0x110]
mov ecx, dword [ebp + 0x6c]
add ecx, 0x10
mov dword [esp + 0x110], ecx
fild dword [esp + 0x110]
fcomp st(1)
fnstsw ax
sahf
jb 0x61a00b
xor esi, esi
mov dword [esp + 0xf4], ebx
fstp qword [esp + 0x118]
fstp qword [esp + 0x120]
mov eax, 0x66666667
imul esi
sar edx, 2
mov ecx, esi
sar ecx, 0x1f
sub edx, ecx
lea eax, [edx + edx*4]
add eax, eax
neg eax
add eax, esi
jne 0x619eac
mov ebx, dword [ebp + 0x70]
lea edx, [ebx - 1]
fld qword [esp + 0x118]
call fcn.006a8420
sub ebx, dword [esp + 0x108]
dec ebx
movsx edx, dx
movsx ecx, ax
mov dword [esp + 0x100], ecx
push 0
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x619f17
cmp eax, 5
jne 0x619ee5
mov ebx, dword [ebp + 0x70]
lea edx, [ebx - 1]
fld qword [esp + 0x118]
call fcn.006a8420
sub ebx, dword [esp + 0x10c]
dec ebx
movsx edx, dx
movsx ecx, ax
mov dword [esp + 0x100], ecx
push 0
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x619f17
mov ebx, dword [ebp + 0x70]
lea edx, [ebx - 1]
fld qword [esp + 0x118]
call fcn.006a8420
sub ebx, dword [esp + 0x104]
dec ebx
movsx edx, dx
movsx ecx, ax
mov dword [esp + 0x100], ecx
push 0
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
movsx edx, bx
mov eax, dword [esp + 0x100]
push eax
push edx
push edi
call dword [sym.imp.GDI32.dll_LineTo]
fld qword [esp + 0x118]
fadd qword [esp + 0x120]
fst qword [esp + 0x118]
inc esi
mov edx, dword [ebp + 0x6c]
add edx, 0x10
mov dword [esp + 0x110], edx
fild dword [esp + 0x110]
fcompp
fnstsw ax
sahf
jae 0x619e5c
mov ebx, dword [esp + 0xf4]
mov eax, dword [esp + 0xfc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0xf8]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0x24], edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0x14], eax
push dword [esp + 0x140]
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
add esp, 0x128
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x98]
inc eax
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x88], 1
jmp 0x619ab6
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x7c]
inc eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x84], 1
jmp 0x619a1a
fstp st(1)
fstp st(0)
jmp 0x619d14
fstp st(1)
fstp st(0)
jmp 0x619f66
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x124
call fcn.006977b0
mov ecx, dword [esp + 0x124]
mov ebp, ecx
mov esi, dword [0x700828]
mov edx, dword [esi + 0xc]
mov dword [esp + 0xa4], edx
mov eax, dword [esi + 0x10]
mov dword [esp + 0xa8], eax
mov ecx, dword [esi + 0x18]
add ecx, edx
mov dword [esp + 0xac], ecx
movsx ebx, word [0x700760]
mov dword [esp + 0xb0], ebx
movzx esi, byte [esi + 0x58]
test esi, 0x20
je 0x61a074
dec ebx
mov dword [esp + 0xb0], ebx
xor esi, esi
sub ecx, edx
sub ebx, eax
push ebp
push dword [esp + 0x140]
push esi
push dword [0x700858]
push ebx
push ecx
push eax
push edx
push 0x50300000
push esi
push str.PreviewClass
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp + 8], eax
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 4], 0x6c
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [ebp + 0x18]
push dword [eax + 0x20]
push dword [eax + 0x1c]
call dword [sym.imp.GDI32.dll_SetEnhMetaFileBits]
mov esi, eax
lea eax, [esp]
push eax
push 0x6c
push esi
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
mov eax, dword [esp + 8]
mov dword [esp + 0xb4], eax
mov edx, dword [esp + 0xc]
mov dword [esp + 0xb8], edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xb4]
mov dword [ebp + 0x44], eax
mov edx, dword [esp + 0xb8]
mov dword [ebp + 0x48], edx
mov ecx, dword [esp + 0xbc]
sub ecx, eax
mov dword [ebp + 0x4c], ecx
mov eax, dword [esp + 0xc0]
sub eax, edx
mov dword [esp + 0x10c], eax
mov dword [ebp + 0x50], eax
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0x10c]
cdq
mov eax, dword [esp + 0x10c]
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x10c], eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x108], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0xb4]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0xb4]
push eax
push esi
push edi
call dword [sym.imp.GDI32.dll_PlayEnhMetaFile]
push esi
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov eax, dword [esp + 0x108]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x10c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 0x1c], edi
mov eax, dword [ebp + 0x4c]
add eax, 4
mov dword [ebp + 0x68], eax
mov edx, 0x10
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x70], edx
mov ecx, dword [ebp + 0x50]
add ecx, 4
mov dword [ebp + 0x6c], ecx
lea esi, [esp + 0xa4]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0xa4]
mov dword [ebp + 0x54], ecx
mov eax, dword [esp + 0xa8]
mov dword [ebp + 0x58], eax
mov edx, dword [esp + 0xb0]
sub edx, eax
sub edx, dword [ebp + 0x64]
mov dword [ebp + 0x60], edx
mov esi, dword [esp + 0xac]
sub esi, ecx
sub esi, dword [ebp + 0x70]
mov dword [ebp + 0x5c], esi
mov edi, 1
mov dword [ebp + 0x74], edi
mov dword [ebp + 0x78], edi
mov dword [ebp + 0x7c], edi
mov dword [ebp + 0x80], edi
mov eax, dword [0x6db0f0]
mov dword [esp + 0xc4], eax
mov eax, dword [0x6db0f4]
mov dword [esp + 0xc8], eax
mov eax, dword [0x6db0f8]
mov dword [esp + 0xcc], eax
mov eax, dword [0x6db0fc]
mov dword [esp + 0xd0], eax
push 0x7dffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp + 0x28], eax
xor eax, eax
push 0x808080
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp + 0xc], eax
xor eax, eax
push 0x8000ff
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp + 0x38], eax
lea eax, [esp + 0xc4]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0xcc]
sub ecx, dword [esp + 0xc4]
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xc8]
cdq
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp + 0x2c], eax
push eax
push dword [ebp + 0x38]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp + 0x3c], eax
lea eax, [esp + 0xc4]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 0x64]
inc ecx
mov dword [esp + 0xd0], ecx
mov esi, dword [esp + 0xcc]
sub esi, dword [esp + 0xc4]
mov eax, esi
cdq
xor esi, edx
sub esi, edx
mov edi, dword [esp + 0xc8]
sub ecx, edi
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp + 0x30], eax
push eax
push dword [ebp + 0x3c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp + 0x40], eax
lea eax, [esp + 0xc4]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 0x70]
inc ecx
mov dword [esp + 0xcc], ecx
mov esi, dword [esp + 0xc4]
sub ecx, esi
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xc8]
cdq
xor eax, edx
sub eax, edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp + 0x34], eax
push eax
push dword [ebp + 0x40]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x6c], 0x1c
mov dword [esp + 0x70], 0xf
mov esi, dword [ebp + 0x4c]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 3
sar esi, 0x1f
sub edx, esi
mov dword [esp + 0x78], edx
mov ecx, 1
mov dword [esp + 0x74], ecx
mov edi, dword [ebp + 0x5c]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 3
sar edi, 0x1f
sub edx, edi
mov dword [esp + 0x7c], edx
xor edx, edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x6c]
push ecx
push eax
push edx
push ebx
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x5c]
test eax, eax
jg 0x61aa7b
xor eax, eax
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_ShowScrollBar]
mov dword [ebp + 0x84], 0
mov dword [esp + 0x88], 0x1c
mov dword [esp + 0x8c], 0xf
mov esi, dword [ebp + 0x50]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 3
sar esi, 0x1f
sub edx, esi
mov dword [esp + 0x94], edx
mov ecx, 1
mov dword [esp + 0x90], ecx
mov edi, dword [ebp + 0x60]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 3
sar edi, 0x1f
sub edx, edi
mov dword [esp + 0x98], edx
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x88]
push ecx
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [ebp + 0x50]
sub eax, dword [ebp + 0x60]
test eax, eax
jg 0x61aa57
push 0
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowScrollBar]
mov dword [ebp + 0x88], 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
xor eax, eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov esi, dword [ebp + 0x68]
add esi, dword [ebp + 0x70]
mov dword [esp + 0xdc], esi
mov ecx, dword [ebp + 0x64]
inc ecx
mov dword [esp + 0xe0], ecx
mov eax, esi
cdq
xor esi, edx
sub esi, edx
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0xd4]
push dword [ebp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0xfc], esi
mov ecx, dword [ebp + 0x64]
mov esi, ecx
shr esi, 0x1f
add esi, ecx
shr esi, 1
mov dword [esp + 0x108], esi
mov eax, 0x55555556
imul ecx
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x100], edx
lea eax, [edx + esi]
mov dword [esp + 0x104], eax
push 0x58
push dword [ebp + 8]
mov esi, dword [esp + 0x104]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 0x110], eax
fild dword [esp + 0x110]
cmp dword [ebp + 0x8c], 0
je 0x61a61c
fld qword [0x6db0b0]
fdivp st(1)
jmp 0x61a624
fld qword [0x6db0b8]
fdivp st(1)
push dword [ebp + 0xc]
push edi
fstp qword [esp + 0x120]
call dword [sym.imp.GDI32.dll_SelectObject]
fld qword [esp + 0x118]
mov edx, eax
mov ecx, dword [ebp + 0x70]
inc ecx
mov dword [esp + 0x110], ecx
fild dword [esp + 0x110]
mov eax, dword [ebp + 0x68]
add eax, 0x10
mov dword [esp + 0x110], eax
fild dword [esp + 0x110]
fcomp st(1)
fnstsw ax
sahf
jb 0x61aa96
xor eax, eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf4], ebx
fstp qword [esp + 0x120]
fstp qword [esp + 0x118]
mov esi, eax
mov eax, 0x66666667
imul esi
sar edx, 2
mov ecx, esi
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
add edx, edx
neg edx
add edx, esi
jne 0x61a6e4
fld qword [esp + 0x120]
call fcn.006a8420
mov edx, dword [ebp + 0x64]
mov ebx, edx
sub ebx, dword [esp + 0x104]
movsx eax, ax
movsx ecx, dx
push 0
push ecx
push eax
push edi
mov dword [esp + 0x11c], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x61a74b
cmp edx, 5
jne 0x61a71b
fld qword [esp + 0x120]
call fcn.006a8420
mov edx, dword [ebp + 0x64]
mov ebx, edx
sub ebx, dword [esp + 0x108]
movsx eax, ax
movsx ecx, dx
push 0
push ecx
push eax
push edi
mov dword [esp + 0x11c], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x61a74b
fld qword [esp + 0x120]
call fcn.006a8420
mov edx, dword [ebp + 0x64]
mov ebx, edx
sub ebx, dword [esp + 0x100]
movsx eax, ax
movsx ecx, dx
push 0
push ecx
push eax
push edi
mov dword [esp + 0x11c], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x10c]
movsx edx, bx
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
fld qword [esp + 0x120]
fadd qword [esp + 0x118]
fst qword [esp + 0x120]
inc esi
mov edx, dword [ebp + 0x68]
add edx, 0x10
mov dword [esp + 0x110], edx
fild dword [esp + 0x110]
fcompp
fnstsw ax
sahf
jae 0x61a696
mov edx, dword [esp + 0xf8]
mov esi, dword [esp + 0xfc]
mov ebx, dword [esp + 0xf4]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 0x20], edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
xor eax, eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov esi, dword [ebp + 0x70]
inc esi
mov dword [esp + 0xec], esi
mov ecx, dword [ebp + 0x64]
add ecx, dword [ebp + 0x6c]
mov dword [esp + 0xf0], ecx
mov eax, esi
cdq
xor esi, edx
sub esi, edx
mov eax, ecx
cdq
xor ecx, edx
sub ecx, edx
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0xfc], eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0xe4]
push dword [ebp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [ebp + 0x70]
mov esi, ecx
shr esi, 0x1f
add esi, ecx
shr esi, 1
mov dword [esp + 0x10c], esi
mov eax, 0x55555556
imul ecx
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x104], edx
lea eax, [edx + esi]
mov dword [esp + 0x108], eax
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 0x110], eax
fild dword [esp + 0x110]
cmp dword [ebp + 0x8c], 0
je 0x61a881
fld qword [0x6db0b0]
fdivp st(1)
jmp 0x61a889
fld qword [0x6db0b8]
fdivp st(1)
push dword [ebp + 0xc]
push edi
fstp qword [esp + 0x128]
call dword [sym.imp.GDI32.dll_SelectObject]
fld qword [esp + 0x120]
mov dword [esp + 0xf8], eax
mov edx, dword [ebp + 0x64]
inc edx
mov dword [esp + 0x110], edx
fild dword [esp + 0x110]
mov ecx, dword [ebp + 0x6c]
add ecx, 0x10
mov dword [esp + 0x110], ecx
fild dword [esp + 0x110]
fcomp st(1)
fnstsw ax
sahf
jb 0x61aa9f
xor esi, esi
mov dword [esp + 0xf4], ebx
fstp qword [esp + 0x118]
fstp qword [esp + 0x120]
mov eax, 0x66666667
imul esi
sar edx, 2
mov ecx, esi
sar ecx, 0x1f
sub edx, ecx
lea eax, [edx + edx*4]
add eax, eax
neg eax
add eax, esi
jne 0x61a940
mov ebx, dword [ebp + 0x70]
lea edx, [ebx - 1]
fld qword [esp + 0x118]
call fcn.006a8420
sub ebx, dword [esp + 0x108]
dec ebx
movsx edx, dx
movsx ecx, ax
mov dword [esp + 0x100], ecx
push 0
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x61a9ab
cmp eax, 5
jne 0x61a979
mov ebx, dword [ebp + 0x70]
lea edx, [ebx - 1]
fld qword [esp + 0x118]
call fcn.006a8420
sub ebx, dword [esp + 0x10c]
dec ebx
movsx edx, dx
movsx ecx, ax
mov dword [esp + 0x100], ecx
push 0
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
jmp 0x61a9ab
mov ebx, dword [ebp + 0x70]
lea edx, [ebx - 1]
fld qword [esp + 0x118]
call fcn.006a8420
sub ebx, dword [esp + 0x104]
dec ebx
movsx edx, dx
movsx ecx, ax
mov dword [esp + 0x100], ecx
push 0
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
movsx edx, bx
mov eax, dword [esp + 0x100]
push eax
push edx
push edi
call dword [sym.imp.GDI32.dll_LineTo]
fld qword [esp + 0x118]
fadd qword [esp + 0x120]
fst qword [esp + 0x118]
inc esi
mov edx, dword [ebp + 0x6c]
add edx, 0x10
mov dword [esp + 0x110], edx
fild dword [esp + 0x110]
fcompp
fnstsw ax
sahf
jae 0x61a8f0
mov ebx, dword [esp + 0xf4]
mov eax, dword [esp + 0xfc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0xf8]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0x24], edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0x14], eax
push dword [esp + 0x140]
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
add esp, 0x128
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x98]
inc eax
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x88], 1
jmp 0x61a54a
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x7c]
inc eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x84], 1
jmp 0x61a4ae
fstp st(1)
fstp st(0)
jmp 0x61a7a8
fstp st(1)
fstp st(0)
jmp 0x61a9fa