Function at 0x45d620
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp dword [esi + 0x1c], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], 0
je 0x45e541
cmp dword [esi], 0
jne 0x45d67b
cmp dword [esi + 4], 0
jne 0x45d67b
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00440060
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call fcn.0045d360
add esp, 0xc
push ebx
call dword [sym.imp.GDI32.dll_SaveDC]
push ebx
mov dword [ebp - 0x4c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [edi + 8], 0
mov dword [ebp - 0x1c], eax
je 0x45d706
cmp dword [edi + 0xc], 0
je 0x45d706
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x45d706
push ecx
call dword [sym.imp.GDI32.dll_UnrealizeObject]
push 0
push dword [edi + 0x24]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectPalette]
call ebx
mov dword [edi + 0x20], 1
mov edi, dword [ebp - 0x18]
push edi
mov edi, dword [sym.imp.GDI32.dll_RealizePalette]
call edi
mov eax, dword [ebp - 0x20]
push dword [eax + 0x24]
mov dword [eax + 0x20], 0
call dword [sym.imp.GDI32.dll_UnrealizeObject]
mov eax, dword [ebp - 0x20]
push 0
push dword [eax + 0x24]
push dword [ebp - 0x1c]
call ebx
push dword [ebp - 0x1c]
call edi
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
cmp dword [esi + 4], 0
je 0x45d77e
push 8
push ebx
mov dword [ebp - 0x2c], 0
call dword [sym.imp.GDI32.dll_SetMapMode]
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push ebx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [esi + 0x14]
cdq
mov ecx, eax
mov eax, dword [esi + 0xc]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov eax, dword [esi + 0x10]
cdq
push 0
push ecx
mov ecx, eax
mov eax, dword [esi + 8]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push 0
push dword [esi + 0x28]
push dword [esi + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
jmp 0x45d787
push dword [esi]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0045e8f0
add esp, 8
test eax, eax
jne 0x45d7a5
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.0045e870
add esp, 8
cmp dword [ebp - 0x24], 3
jne 0x45d88f
cmp dword [ebp - 0x2c], 0
je 0x45d88f
cmp dword [esi + 0x18], 0
jne 0x45d88f
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov edi, eax
push ecx
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x20]
push dword [eax + 0x2c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0x28]
mov eax, dword [ebp - 8]
mov edi, dword [esi + 0x24]
push 0xcc0020
push 0
sub eax, ecx
push 0
push dword [ebp - 0x1c]
cdq
sub eax, edx
push ecx
sar eax, 1
push edi
push eax
mov eax, dword [ebp - 0xc]
sub eax, edi
mov edi, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [esi], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x18], 1
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, edi
mov dword [ebp - 0x1c], ebx
jmp 0x45d892
mov ebx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x34]
test eax, 0x100000
je 0x45d8c4
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x186a0
push dword [esi + 0x40]
push dword [esi + 0x24]
call edi
push 0x186a0
push dword [esi + 0x44]
mov dword [ebp - 0x38], eax
push dword [esi + 0x28]
call edi
mov edx, dword [ebp - 0x38]
jmp 0x45d8dc
test eax, 0x200000
je 0x45d8d3
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
jmp 0x45d8d9
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x38], edx
mov edi, dword [esi + 0x24]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], edi
cmp edx, edi
jne 0x45d8f2
mov byte [ebp - 0x2d], 1
cmp eax, dword [esi + 0x28]
je 0x45d8f6
mov byte [ebp - 0x2d], 0
mov ecx, dword [ebp - 0x24]
dec ecx
cmp ecx, 0xa
ja case.0x45d903.10
jmp dword [ecx*4 + 0x45e558]
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
push 1
push 1
push dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x38]
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x38]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [ebp - 0x2d], 0
push 0xcc0020
je 0x45d981
push 0
push 0
push ebx
push dword [esi + 0x28]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push dword [esi + 0x24]
push 0
push 0
push dword [ebp - 0x18]
call ebx
jmp 0x45d9a5
push dword [esi + 0x28]
push dword [esi + 0x24]
push 0
push 0
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x38]
push 0
push 0
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0
je 0x45d9c5
cmp dword [eax + 0xc], 0
je 0x45d9c5
cmp dword [eax + 0x24], 0
je 0x45d9c5
mov eax, dword [esi + 0x30]
or eax, 0x2000000
push eax
jmp 0x45d9c8
push dword [esi + 0x30]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp byte [ebp - 0x2d], 0
push 0xcc0020
je 0x45d9f4
push 0
push 0
push dword [ebp - 0x18]
push dword [esi + 0x28]
push dword [esi + 0x24]
push 0
push 0
push dword [ebp - 0x2c]
call ebx
jmp 0x45da12
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
push ecx
push eax
push 0
push 0
push dword [ebp - 0x18]
push ecx
push eax
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_StretchBlt]
push 0
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp byte [ebp - 0x2d], 0
push 0x8800c6
je 0x45da4e
push 0
push 0
push dword [ebp - 0x2c]
push dword [esi + 0x28]
push dword [esi + 0x24]
push 0
push 0
push dword [ebp - 0x18]
call ebx
jmp 0x45da6c
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
push ecx
push eax
push 0
push 0
push dword [ebp - 0x2c]
push ecx
push eax
push 0
push 0
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_StretchBlt]
push 0xffffff
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp byte [ebp - 0x2d], 0
push 0x8800c6
je 0x45dabf
push 0
push 0
push dword [ebp - 0x2c]
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call ebx
push 0xee0086
push 0
push 0
push dword [ebp - 0x18]
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call ebx
jmp 0x45dafb
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x38]
mov ebx, dword [sym.imp.GDI32.dll_StretchBlt]
push eax
push esi
push 0
push 0
push dword [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call ebx
mov eax, dword [ebp - 0x40]
push 0xee0086
push eax
push esi
push 0
push 0
push dword [ebp - 0x18]
push eax
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call ebx
push dword [ebp - 0x2c]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
call ebx
push dword [ebp - 0x18]
call ebx
push dword [ebp - 0x3c]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push dword [ebp - 0x34]
call ebx
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x10], 0xff00ff
jmp 0x45e52e
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
call eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [esi + 0x24]
mov edi, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
inc eax
test eax, eax
jle 0x45e4eb
mov eax, dword [ebp - 8]
cdq
idiv dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
inc eax
test eax, eax
jle 0x45dbc9
cmp dword [ebp - 0x2c], 0
mov eax, dword [esi + 0x28]
je 0x45db90
mov ecx, dword [esi + 0x24]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1c]
push eax
imul eax, ebx
push ecx
imul ecx, dword [ebp - 0x24]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x45dbb6
imul eax, ebx
mov ebx, dword [ebp - 0x18]
push 0
push eax
mov eax, dword [esi + 0x24]
imul eax, ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push dword [esi + 4]
push ebx
call dword [sym.imp.GDI32.dll_PlayMetaFile]
mov edi, ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
cdq
idiv dword [esi + 0x28]
mov ecx, dword [ebp - 0x24]
inc ebx
mov dword [ebp - 0x28], ebx
inc eax
cmp ebx, eax
jl 0x45db64
mov eax, dword [ebp - 0xc]
cdq
idiv dword [esi + 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
inc eax
cmp ecx, eax
jl 0x45db53
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], 0
je 0x45e524
mov eax, dword [esi + 0x24]
cmp edx, eax
jne 0x45e4f3
mov ecx, dword [esi + 0x28]
cmp dword [ebp - 0x40], ecx
jne 0x45e4f3
push 0xcc0020
push 0
push 0
push ebx
push ecx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x45e52e
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
call eax
cmp dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0x18]
je 0x45dc65
push 0xcc0020
push dword [esi + 0x28]
push dword [esi + 0x24]
push 0
push 0
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x45e52e
push 0
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
jmp 0x45e524
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
call eax
cmp dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0x18]
je 0x45dc65
push 0xcc0020
push 0
push 0
push ebx
push dword [esi + 0x28]
push dword [esi + 0x24]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x45e52e
cmp dword [esi + 0x18], 0
jne case.0x45d903.10
cmp dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0x18]
je 0x45e524
push edi
mov dword [esi + 0x18], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 8
push 8
mov ebx, eax
push edi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x42
push 8
push 8
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_PatBlt]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00460eee
mov ecx, 1
add esp, 4
mov dword [ebp - 0x28], ecx
jmp 0x45dd30
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea ebx, [edx + 3]
test ebx, ebx
jle 0x45dd81
mov esi, dword [ebp - 0x24]
call fcn.00460ecb
and eax, 0x8000003f
jns 0x45dd55
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, eax
push 0xffffff
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x45dd69
dec ecx
or ecx, 0xfffffff8
inc ecx
cdq
and edx, 7
add eax, edx
push ecx
sar eax, 3
push eax
push esi
call dword [sym.imp.GDI32.dll_SetPixel]
dec ebx
jne 0x45dd44
mov esi, dword [ebp - 0x44]
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xca0749
push 0
push 0
push dword [ebp - 0x1c]
mov edi, eax
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x14
jl 0x45dd30
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x20]
call ebx
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1c]
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x45e52e
cmp dword [esi + 0x18], 0
jne case.0x45d903.10
mov dword [esi + 0x18], 1
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
mov eax, 0x66666667
imul dword [esi + 0x28]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x28]
cdq
sub eax, edx
mov edi, eax
mov ecx, dword [ebp - 0x28]
mov eax, 0x66666667
imul dword [esi + 0x24]
mov eax, dword [esi + 0x24]
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
imul ebx, dword [ebp - 0x24]
cdq
sar edi, 1
add ecx, edi
add ecx, dword [ebp - 0x10]
sub eax, edx
push ecx
sar eax, 1
mov dword [ebp - 0x3c], edi
lea ecx, [eax + ebx]
add ecx, dword [ebp - 0x14]
sub eax, ebx
add eax, dword [ebp - 0x14]
push ecx
mov ecx, edi
sub ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, dword [ebp - 0x18]
push eax
push edi
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], eax
je 0x45ded0
mov ebx, dword [ebp - 0x1c]
push 0xcc0020
push 0
push 0
push ebx
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x45dedd
push dword [esi + 4]
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
mov ebx, dword [ebp - 0x1c]
push dword [ebp - 0x3c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45def5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x19
jb 0x45def8
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x14
jl 0x45de25
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp - 0x2c], 0
je 0x45df4c
push 0xcc0020
push 0
push 0
push ebx
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x38]
jmp 0x45dbe6
push dword [esi + 4]
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
jmp 0x45e524
cmp dword [esi + 0x18], 0
jne case.0x45d903.10
mov edi, 1
mov dword [esi + 0x18], 1
mov dword [ebp - 0x24], edi
jmp 0x45df79
mov edi, dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov ecx, dword [esi + 0x28]
mov eax, 0x66666667
imul dword [esi + 0x24]
mov eax, dword [esi + 0x24]
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
imul ebx, edi
mov edi, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
add ecx, edi
push ecx
lea ecx, [eax + ebx]
add ecx, dword [ebp - 0x14]
sub eax, ebx
add eax, dword [ebp - 0x14]
push ecx
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, dword [ebp - 0x18]
push eax
push edi
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], eax
je 0x45dff5
mov ebx, dword [ebp - 0x1c]
push 0xcc0020
push 0
push 0
push ebx
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x45e002
push dword [esi + 4]
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
mov ebx, dword [ebp - 0x1c]
push dword [ebp - 0x3c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45e01a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x28]
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x19
jb 0x45e020
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x14
jl 0x45df76
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp - 0x2c], 0
je 0x45e524
push 0xcc0020
push 0
push 0
push ebx
jmp 0x45ddf5
cmp dword [esi + 0x18], 0
jne case.0x45d903.10
cmp dword [ebp - 0x2c], 0
je 0x45e521
mov eax, edi
cdq
and edx, 3
add eax, edx
mov ecx, edi
sar eax, 2
mov dword [esi + 0x18], 1
and ecx, 0x80000003
jns 0x45e097
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x45e0c2
mov ecx, eax
and ecx, 0x80000001
jns 0x45e0a8
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45e0b6
lea ebx, [eax*4]
mov dword [ebp - 0x20], ebx
jmp 0x45e0de
lea ebx, [eax*4 - 4]
mov dword [ebp - 0x20], ebx
jmp 0x45e0de
and eax, 0x80000001
jns 0x45e0ce
dec eax
or eax, 0xfffffffe
inc eax
je 0x45e0d8
lea ebx, [edi - 8]
mov dword [ebp - 0x20], ebx
jmp 0x45e0de
lea eax, [edi - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x18]
add eax, 0xf
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], 0
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
jg 0x45e108
cmp ecx, ebx
jge 0x45e52e
mov eax, dword [ebp - 0x14]
push 0xcc0020
push 0
push ecx
push dword [ebp - 0x1c]
add eax, ecx
push dword [esi + 0x28]
push 4
push dword [ebp - 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45e52e
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push 0xcc0020
push 0
push ecx
push dword [ebp - 0x1c]
add eax, ecx
push dword [esi + 0x28]
push 4
push dword [ebp - 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45e52e
add dword [ebp - 0x24], 8
sub dword [ebp - 0x20], 8
mov ebx, dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jb 0x45e166
add ebx, 0xf
mov dword [ebp - 0x28], ebx
jmp 0x45e0f4
cmp dword [esi + 0x18], 0
jne case.0x45d903.10
cmp dword [ebp - 0x2c], 0
je 0x45e521
mov edi, dword [esi + 0x28]
mov eax, edi
cdq
sub eax, edx
mov ecx, edi
sar eax, 1
mov dword [esi + 0x18], 1
mov dword [ebp - 0x3c], edi
and ecx, 0x80000001
jns 0x45e1b2
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45e1d9
mov ecx, eax
and ecx, 0x80000001
jns 0x45e1c3
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45e1cd
lea edi, [eax + eax]
mov dword [ebp - 0x20], edi
jmp 0x45e1f5
lea edi, [eax*2 - 2]
mov dword [ebp - 0x20], edi
jmp 0x45e1f5
and eax, 0x80000001
jns 0x45e1e5
dec eax
or eax, 0xfffffffe
inc eax
je 0x45e1ef
add edi, 0xfffffffc
mov dword [ebp - 0x20], edi
jmp 0x45e1f5
lea eax, [edi - 2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x18]
add eax, 0xf
mov dword [ebp - 0x34], eax
jmp 0x45e210
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x24]
jg 0x45e222
cmp ecx, dword [ebp - 0x3c]
jge 0x45e52e
mov eax, dword [ebp - 0x10]
push 0xcc0020
push ecx
push 0
push ebx
push 2
push dword [esi + 0x24]
add eax, ecx
push eax
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45e52e
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
push 0xcc0020
push ecx
push 0
push ebx
push 2
push dword [esi + 0x24]
add eax, ecx
push eax
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45e52e
add dword [ebp - 0x24], 4
sub dword [ebp - 0x20], 4
mov ebx, dword [ebp - 0x34]
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jb 0x45e280
add ebx, 0xf
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x1c]
jmp 0x45e210
cmp dword [esi + 0x18], 0
jne case.0x45d903.10
cmp dword [ebp - 0x2c], 0
je 0x45e521
xor edx, edx
cmp edi, dword [esi + 0x28]
mov dword [esi + 0x18], 1
cmovg edi, dword [esi + 0x28]
mov eax, edi
mov dword [ebp - 0x20], edx
and eax, 0x80000001
jns 0x45e2cd
dec eax
or eax, 0xfffffffe
inc eax
je 0x45e2d3
sar edi, 1
jmp 0x45e2d6
sar edi, 1
inc edi
xor ecx, ecx
test edi, edi
js 0x45e2e2
lea ecx, [edi + 2]
and ecx, 0xfffffffe
lea eax, [edi + 2]
cmp ecx, eax
jne 0x45e2ea
inc edi
mov dword [ebp - 0x48], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xf
mov dword [ebp - 0x3c], eax
lea esp, [esp]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x48]
cmp ecx, edx
jg 0x45dbdd
xor eax, eax
cmp ecx, edx
jg 0x45e3f2
mov edx, dword [esi + 0x24]
push 0xcc0020
push ecx
lea eax, [ecx + ecx]
sub edx, eax
push ecx
push ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov edx, dword [esi + 0x28]
sub edx, eax
mov eax, dword [ebp - 0x10]
push 1
push dword [ebp - 0x24]
add eax, ecx
push eax
mov eax, dword [ebp - 0x14]
add eax, ecx
push eax
push ebx
mov dword [ebp - 0x28], edx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45dbdd
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
push 0xcc0020
push ecx
push ecx
push dword [ebp - 0x1c]
add eax, ecx
push dword [ebp - 0x28]
push 1
push eax
mov eax, dword [ebp - 0x14]
add eax, ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45dbdd
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push 0xcc0020
add ecx, edx
push ecx
push edx
push dword [ebp - 0x1c]
inc eax
push 1
push eax
mov eax, dword [ebp - 0x10]
add eax, ecx
push eax
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45dbdd
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push 0xcc0020
push edx
add ecx, edx
push ecx
push dword [ebp - 0x1c]
inc eax
push eax
mov eax, dword [ebp - 0x10]
push 1
add eax, edx
push eax
mov eax, dword [ebp - 0x14]
add eax, ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45dbdd
mov eax, 1
jmp 0x45e3f5
mov ebx, dword [ebp - 0x18]
test edi, edi
js 0x45e4bc
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
push 0xcc0020
push edi
push edi
push dword [ebp - 0x1c]
lea eax, [edi + edi]
sub edx, eax
sub ecx, eax
mov eax, dword [ebp - 0x10]
push 1
push edx
add eax, edi
push eax
mov eax, dword [ebp - 0x14]
add eax, edi
push eax
push ebx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45dbdd
mov eax, dword [ebp - 0x10]
push 0xcc0020
push edi
push edi
push dword [ebp - 0x1c]
add eax, edi
push dword [ebp - 0x28]
push 1
push eax
mov eax, dword [ebp - 0x14]
add eax, edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45dbdd
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
push 0xcc0020
add ecx, edi
push ecx
push edi
push dword [ebp - 0x1c]
inc eax
push 1
push eax
mov eax, dword [ebp - 0x10]
add eax, ecx
push eax
mov eax, dword [ebp - 0x14]
add eax, edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45dbdd
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
push 0xcc0020
push edi
add ecx, edi
push ecx
push dword [ebp - 0x1c]
inc eax
push eax
mov eax, dword [ebp - 0x10]
push 1
add eax, edi
push eax
mov eax, dword [ebp - 0x14]
add eax, ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45dbdd
add dword [ebp - 0x20], 2
mov esi, dword [ebp - 0x3c]
sub edi, 2
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jb 0x45e4d0
mov ebx, dword [ebp - 0x1c]
add esi, 0xf
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x44]
jmp 0x45e300
mov edx, dword [ebp - 0x38]
jmp 0x45dbe3
push 4
push edi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
push dword [esi + 0x28]
push dword [esi + 0x24]
push 0
push 0
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x38]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x45e52e
mov edi, dword [ebp - 0x18]
push dword [esi + 4]
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x4c]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00440060
mov esp, ebp
pop ebp
ret