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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x484db8]
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 0x45cdb1
cmp dword [esi], 0
jne 0x45beeb
cmp dword [esi + 4], 0
jne 0x45beeb
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e8f7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call fcn.0045bbd0
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 0x45bf76
cmp dword [edi + 0xc], 0
je 0x45bf76
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x45bf76
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 0x45bfee
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 0x45bff7
push dword [esi]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0045d160
add esp, 8
test eax, eax
jne 0x45c015
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.0045d0e0
add esp, 8
cmp dword [ebp - 0x24], 3
jne 0x45c0ff
cmp dword [ebp - 0x2c], 0
je 0x45c0ff
cmp dword [esi + 0x18], 0
jne 0x45c0ff
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 0x45c102
mov ebx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x34]
test eax, 0x100000
je 0x45c134
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 0x45c14c
test eax, 0x200000
je 0x45c143
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
jmp 0x45c149
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 0x45c162
mov byte [ebp - 0x2d], 1
cmp eax, dword [esi + 0x28]
je 0x45c166
mov byte [ebp - 0x2d], 0
mov ecx, dword [ebp - 0x24]
dec ecx
cmp ecx, 0xa
ja case.0x45c173.10
jmp dword [ecx*4 + 0x45cdc8]
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 0x45c1f1
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 0x45c215
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 0x45c235
cmp dword [eax + 0xc], 0
je 0x45c235
cmp dword [eax + 0x24], 0
je 0x45c235
mov eax, dword [esi + 0x30]
or eax, 0x2000000
push eax
jmp 0x45c238
push dword [esi + 0x30]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp byte [ebp - 0x2d], 0
push 0xcc0020
je 0x45c264
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 0x45c282
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 0x45c2be
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 0x45c2dc
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 0x45c32f
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 0x45c36b
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 0x45cd9e
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 0x45cd5b
mov eax, dword [ebp - 8]
cdq
idiv dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
inc eax
test eax, eax
jle 0x45c439
cmp dword [ebp - 0x2c], 0
mov eax, dword [esi + 0x28]
je 0x45c400
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 0x45c426
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 0x45c3d4
mov eax, dword [ebp - 0xc]
cdq
idiv dword [esi + 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
inc eax
cmp ecx, eax
jl 0x45c3c3
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], 0
je 0x45cd94
mov eax, dword [esi + 0x24]
cmp edx, eax
jne 0x45cd63
mov ecx, dword [esi + 0x28]
cmp dword [ebp - 0x40], ecx
jne 0x45cd63
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 0x45cd9e
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 0x45c4d5
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 0x45cd9e
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 0x45cd94
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 0x45c4d5
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 0x45cd9e
cmp dword [esi + 0x18], 0
jne case.0x45c173.10
cmp dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0x18]
je 0x45cd94
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.0045f75e
mov ecx, 1
add esp, 4
mov dword [ebp - 0x28], ecx
jmp 0x45c5a0
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea ebx, [edx + 3]
test ebx, ebx
jle 0x45c5f1
mov esi, dword [ebp - 0x24]
call fcn.0045f73b
and eax, 0x8000003f
jns 0x45c5c5
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, eax
push 0xffffff
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x45c5d9
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 0x45c5b4
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 0x45c5a0
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 0x45cd9e
cmp dword [esi + 0x18], 0
jne case.0x45c173.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 0x45c740
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 0x45c74d
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 0x45c765
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 0x45c768
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x14
jl 0x45c695
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp - 0x2c], 0
je 0x45c7bc
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 0x45c456
push dword [esi + 4]
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
jmp 0x45cd94
cmp dword [esi + 0x18], 0
jne case.0x45c173.10
mov edi, 1
mov dword [esi + 0x18], 1
mov dword [ebp - 0x24], edi
jmp 0x45c7e9
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 0x45c865
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 0x45c872
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 0x45c88a
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 0x45c890
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x14
jl 0x45c7e6
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp - 0x2c], 0
je 0x45cd94
push 0xcc0020
push 0
push 0
push ebx
jmp 0x45c665
cmp dword [esi + 0x18], 0
jne case.0x45c173.10
cmp dword [ebp - 0x2c], 0
je 0x45cd91
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 0x45c907
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x45c932
mov ecx, eax
and ecx, 0x80000001
jns 0x45c918
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45c926
lea ebx, [eax*4]
mov dword [ebp - 0x20], ebx
jmp 0x45c94e
lea ebx, [eax*4 - 4]
mov dword [ebp - 0x20], ebx
jmp 0x45c94e
and eax, 0x80000001
jns 0x45c93e
dec eax
or eax, 0xfffffffe
inc eax
je 0x45c948
lea ebx, [edi - 8]
mov dword [ebp - 0x20], ebx
jmp 0x45c94e
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 0x45c978
cmp ecx, ebx
jge 0x45cd9e
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 0x45cd9e
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 0x45cd9e
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 0x45c9d6
add ebx, 0xf
mov dword [ebp - 0x28], ebx
jmp 0x45c964
cmp dword [esi + 0x18], 0
jne case.0x45c173.10
cmp dword [ebp - 0x2c], 0
je 0x45cd91
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 0x45ca22
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45ca49
mov ecx, eax
and ecx, 0x80000001
jns 0x45ca33
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45ca3d
lea edi, [eax + eax]
mov dword [ebp - 0x20], edi
jmp 0x45ca65
lea edi, [eax*2 - 2]
mov dword [ebp - 0x20], edi
jmp 0x45ca65
and eax, 0x80000001
jns 0x45ca55
dec eax
or eax, 0xfffffffe
inc eax
je 0x45ca5f
add edi, 0xfffffffc
mov dword [ebp - 0x20], edi
jmp 0x45ca65
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 0x45ca80
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x24]
jg 0x45ca92
cmp ecx, dword [ebp - 0x3c]
jge 0x45cd9e
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 0x45cd9e
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 0x45cd9e
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 0x45caf0
add ebx, 0xf
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x1c]
jmp 0x45ca80
cmp dword [esi + 0x18], 0
jne case.0x45c173.10
cmp dword [ebp - 0x2c], 0
je 0x45cd91
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 0x45cb3d
dec eax
or eax, 0xfffffffe
inc eax
je 0x45cb43
sar edi, 1
jmp 0x45cb46
sar edi, 1
inc edi
xor ecx, ecx
test edi, edi
js 0x45cb52
lea ecx, [edi + 2]
and ecx, 0xfffffffe
lea eax, [edi + 2]
cmp ecx, eax
jne 0x45cb5a
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 0x45c44d
xor eax, eax
cmp ecx, edx
jg 0x45cc62
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 0x45c44d
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 0x45c44d
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 0x45c44d
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 0x45c44d
mov eax, 1
jmp 0x45cc65
mov ebx, dword [ebp - 0x18]
test edi, edi
js 0x45cd2c
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 0x45c44d
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 0x45c44d
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 0x45c44d
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 0x45c44d
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 0x45cd40
mov ebx, dword [ebp - 0x1c]
add esi, 0xf
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x44]
jmp 0x45cb70
mov edx, dword [ebp - 0x38]
jmp 0x45c453
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 0x45cd9e
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.0043e8f7
mov esp, ebp
pop ebp
ret