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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x483dc8]
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 0x45bd91
cmp dword [esi], 0
jne 0x45aecb
cmp dword [esi + 4], 0
jne 0x45aecb
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043df43
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call fcn.0045abb0
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 0x45af56
cmp dword [edi + 0xc], 0
je 0x45af56
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x45af56
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 0x45afce
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 0x45afd7
push dword [esi]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0045c140
add esp, 8
test eax, eax
jne 0x45aff5
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.0045c0c0
add esp, 8
cmp dword [ebp - 0x24], 3
jne 0x45b0df
cmp dword [ebp - 0x2c], 0
je 0x45b0df
cmp dword [esi + 0x18], 0
jne 0x45b0df
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 0x45b0e2
mov ebx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x34]
test eax, 0x100000
je 0x45b114
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 0x45b12c
test eax, 0x200000
je 0x45b123
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
jmp 0x45b129
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 0x45b142
mov byte [ebp - 0x2d], 1
cmp eax, dword [esi + 0x28]
je 0x45b146
mov byte [ebp - 0x2d], 0
mov ecx, dword [ebp - 0x24]
dec ecx
cmp ecx, 0xa
ja case.0x45b153.10
jmp dword [ecx*4 + 0x45bda8]
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 0x45b1d1
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 0x45b1f5
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 0x45b215
cmp dword [eax + 0xc], 0
je 0x45b215
cmp dword [eax + 0x24], 0
je 0x45b215
mov eax, dword [esi + 0x30]
or eax, 0x2000000
push eax
jmp 0x45b218
push dword [esi + 0x30]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp byte [ebp - 0x2d], 0
push 0xcc0020
je 0x45b244
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 0x45b262
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 0x45b29e
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 0x45b2bc
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 0x45b30f
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 0x45b34b
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 0x45bd7e
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 0x45bd3b
mov eax, dword [ebp - 8]
cdq
idiv dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
inc eax
test eax, eax
jle 0x45b419
cmp dword [ebp - 0x2c], 0
mov eax, dword [esi + 0x28]
je 0x45b3e0
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 0x45b406
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 0x45b3b4
mov eax, dword [ebp - 0xc]
cdq
idiv dword [esi + 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
inc eax
cmp ecx, eax
jl 0x45b3a3
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], 0
je 0x45bd74
mov eax, dword [esi + 0x24]
cmp edx, eax
jne 0x45bd43
mov ecx, dword [esi + 0x28]
cmp dword [ebp - 0x40], ecx
jne 0x45bd43
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 0x45bd7e
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 0x45b4b5
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 0x45bd7e
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 0x45bd74
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 0x45b4b5
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 0x45bd7e
cmp dword [esi + 0x18], 0
jne case.0x45b153.10
cmp dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0x18]
je 0x45bd74
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.0045e61c
mov ecx, 1
add esp, 4
mov dword [ebp - 0x28], ecx
jmp 0x45b580
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea ebx, [edx + 3]
test ebx, ebx
jle 0x45b5d1
mov esi, dword [ebp - 0x24]
call fcn.0045e5f9
and eax, 0x8000003f
jns 0x45b5a5
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, eax
push 0xffffff
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x45b5b9
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 0x45b594
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 0x45b580
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 0x45bd7e
cmp dword [esi + 0x18], 0
jne case.0x45b153.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 0x45b720
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 0x45b72d
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 0x45b745
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 0x45b748
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x14
jl 0x45b675
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp - 0x2c], 0
je 0x45b79c
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 0x45b436
push dword [esi + 4]
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
jmp 0x45bd74
cmp dword [esi + 0x18], 0
jne case.0x45b153.10
mov edi, 1
mov dword [esi + 0x18], 1
mov dword [ebp - 0x24], edi
jmp 0x45b7c9
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 0x45b845
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 0x45b852
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 0x45b86a
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 0x45b870
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x14
jl 0x45b7c6
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp - 0x2c], 0
je 0x45bd74
push 0xcc0020
push 0
push 0
push ebx
jmp 0x45b645
cmp dword [esi + 0x18], 0
jne case.0x45b153.10
cmp dword [ebp - 0x2c], 0
je 0x45bd71
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 0x45b8e7
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x45b912
mov ecx, eax
and ecx, 0x80000001
jns 0x45b8f8
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45b906
lea ebx, [eax*4]
mov dword [ebp - 0x20], ebx
jmp 0x45b92e
lea ebx, [eax*4 - 4]
mov dword [ebp - 0x20], ebx
jmp 0x45b92e
and eax, 0x80000001
jns 0x45b91e
dec eax
or eax, 0xfffffffe
inc eax
je 0x45b928
lea ebx, [edi - 8]
mov dword [ebp - 0x20], ebx
jmp 0x45b92e
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 0x45b958
cmp ecx, ebx
jge 0x45bd7e
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 0x45bd7e
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 0x45bd7e
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 0x45b9b6
add ebx, 0xf
mov dword [ebp - 0x28], ebx
jmp 0x45b944
cmp dword [esi + 0x18], 0
jne case.0x45b153.10
cmp dword [ebp - 0x2c], 0
je 0x45bd71
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 0x45ba02
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45ba29
mov ecx, eax
and ecx, 0x80000001
jns 0x45ba13
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45ba1d
lea edi, [eax + eax]
mov dword [ebp - 0x20], edi
jmp 0x45ba45
lea edi, [eax*2 - 2]
mov dword [ebp - 0x20], edi
jmp 0x45ba45
and eax, 0x80000001
jns 0x45ba35
dec eax
or eax, 0xfffffffe
inc eax
je 0x45ba3f
add edi, 0xfffffffc
mov dword [ebp - 0x20], edi
jmp 0x45ba45
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 0x45ba60
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x24]
jg 0x45ba72
cmp ecx, dword [ebp - 0x3c]
jge 0x45bd7e
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 0x45bd7e
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 0x45bd7e
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 0x45bad0
add ebx, 0xf
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x1c]
jmp 0x45ba60
cmp dword [esi + 0x18], 0
jne case.0x45b153.10
cmp dword [ebp - 0x2c], 0
je 0x45bd71
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 0x45bb1d
dec eax
or eax, 0xfffffffe
inc eax
je 0x45bb23
sar edi, 1
jmp 0x45bb26
sar edi, 1
inc edi
xor ecx, ecx
test edi, edi
js 0x45bb32
lea ecx, [edi + 2]
and ecx, 0xfffffffe
lea eax, [edi + 2]
cmp ecx, eax
jne 0x45bb3a
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 0x45b42d
xor eax, eax
cmp ecx, edx
jg 0x45bc42
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 0x45b42d
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 0x45b42d
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 0x45b42d
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 0x45b42d
mov eax, 1
jmp 0x45bc45
mov ebx, dword [ebp - 0x18]
test edi, edi
js 0x45bd0c
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 0x45b42d
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 0x45b42d
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 0x45b42d
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 0x45b42d
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 0x45bd20
mov ebx, dword [ebp - 0x1c]
add esi, 0xf
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x44]
jmp 0x45bb50
mov edx, dword [ebp - 0x38]
jmp 0x45b433
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 0x45bd7e
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.0043df43
mov esp, ebp
pop ebp
ret