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

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [esp + 0x40]
mov eax, 1
mov dword [esp + 0xc], 0
mov ecx, dword [esi + 0x1c]
mov dword [esp + 4], eax
test ecx, ecx
je 0x43ffa3
cmp dword [esi], 0
jne 0x43f607
mov eax, dword [esi + 4]
test eax, eax
jne 0x43f607
xor eax, eax
pop esi
add esp, 0x30
ret
push ebx
push ebp
mov ebp, dword [esp + 0x40]
lea eax, [esp + 0x2c]
push edi
push eax
push esi
push ebp
call fcn.00440700
mov edi, dword [esp + 0x54]
add esp, 0xc
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esp + 0x48], ebx
je 0x43f695
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43f695
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x43f695
push eax
call dword [sym.imp.GDI32.dll_UnrealizeObject]
mov ecx, dword [ebp + 0x24]
push 0
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
mov dword [ebp + 0x20], 1
call dword [sym.imp.GDI32.dll_RealizePalette]
mov edx, dword [ebp + 0x24]
mov dword [ebp + 0x20], 0
push edx
call dword [sym.imp.GDI32.dll_UnrealizeObject]
mov eax, dword [ebp + 0x24]
push 0
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectPalette]
push ebx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [esi + 4]
test eax, eax
je 0x43f717
push 8
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.GDI32.dll_SetMapMode]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push 0
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [esi + 0x14]
push 0
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 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 edi
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
push 0
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
jmp 0x43f721
mov eax, dword [esi]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.00440620
add esp, 8
test eax, eax
jne 0x43f741
lea edx, [esp + 0x18]
push edx
push ebp
call fcn.00440680
add esp, 8
cmp dword [esp + 0x18], 3
jne 0x43f850
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43f850
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x43f850
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x30]
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x3c]
sub eax, edx
push eax
mov eax, dword [esp + 0x34]
sub ecx, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
lea ecx, [esp + 0x30]
push eax
push ecx
push ebx
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x48]
mov edx, dword [esi + 0x28]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0x24]
sub eax, edx
push edx
cdq
sub eax, edx
push ecx
sar eax, 1
push eax
mov eax, dword [esp + 0x54]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x48]
push ebp
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x24], eax
sub ecx, edx
mov edx, dword [esp + 0x48]
push edx
mov dword [esi + 0x28], ecx
mov dword [esi], ebp
mov dword [esi + 0x18], 1
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x48], ebx
test dword [esi + 0x34], 0x100000
je 0x43f887
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x24]
push 0x186a0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esi + 0x44]
mov ebx, eax
mov eax, dword [esi + 0x28]
push 0x186a0
push edx
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x43f891
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x14], eax
cmp ebx, ecx
mov dword [esp + 0x24], ecx
jne 0x43f8ac
mov edx, dword [esi + 0x28]
mov byte [esp + 0x4c], 1
cmp eax, edx
je 0x43f8b1
mov byte [esp + 0x4c], 0
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp eax, 0xa
ja case.0x43f8c1.10
jmp dword [eax*4 + 0x4405f4]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x14]
push 0
push 1
push 1
push eax
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
mov ebx, eax
push ecx
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov al, byte [esp + 0x4c]
push 0xcc0020
test al, al
je 0x43f944
mov edx, dword [esp + 0x4c]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
push 0
push 0
push edx
push eax
push ecx
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x43f966
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push 0
push 0
push ecx
push edx
push ebp
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x43f98a
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x43f98a
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x43f98a
mov eax, dword [esi + 0x30]
or eax, 0x2000000
push eax
jmp 0x43f98e
mov ecx, dword [esi + 0x30]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov al, byte [esp + 0x4c]
push 0xcc0020
test al, al
je 0x43f9c0
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x14]
push 0
push 0
push ebx
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x43f9dc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ebp
push 0
push 0
push ebx
push eax
push ebp
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov al, byte [esp + 0x4c]
push 0x8800c6
test al, al
je 0x43fa1c
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
push 0
push 0
push eax
push ecx
push edx
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x43fa38
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ebp
push 0
push 0
push ecx
push eax
push ebp
push 0
push 0
push ebx
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]
mov al, byte [esp + 0x4c]
push 0x8800c6
test al, al
je 0x43fa9f
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
push 0
push 0
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
push edi
call ebp
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov eax, dword [esp + 0x34]
push 0xee0086
push 0
push 0
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push edi
call ebp
jmp 0x43fae0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push esi
push ebp
push 0
push 0
push edx
push esi
push ebp
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0xee0086
push esi
push ebp
push 0
push 0
push ebx
push esi
push ebp
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ecx
call esi
push ebx
call esi
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x44]
mov dword [ecx + 0x10], 0xff00ff
jmp fcn.0043ff84
mov eax, dword [ebp + 4]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x38]
xor ebp, ebp
cdq
idiv dword [esi + 0x24]
inc eax
test eax, eax
jle case.0x43f8c1.10
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x28]
cdq
idiv ecx
xor ebx, ebx
inc eax
test eax, eax
jle 0x43fb9e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43fb6f
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 0x24]
push 0xcc0020
push 0
push 0
push edx
push ecx
push eax
imul ecx, ebx
imul eax, ebp
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x43fb8e
mov eax, dword [esi + 0x24]
imul ecx, ebx
imul eax, ebp
push 0
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov ecx, dword [esi + 4]
push ecx
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x28]
cdq
idiv ecx
inc ebx
inc eax
cmp ebx, eax
jl 0x43fb43
mov eax, dword [esp + 0x38]
inc ebp
cdq
idiv dword [esi + 0x24]
inc eax
cmp ebp, eax
jl 0x43fb32
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43ff79
mov ecx, dword [esi + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jne 0x4405b3
mov eax, dword [esi + 0x28]
mov edx, dword [esp + 0x14]
cmp edx, eax
jne 0x4405b3
mov edx, dword [esp + 0x48]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp fcn.0043ff84
mov eax, dword [ebp + 4]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43fc43
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov eax, dword [esp + 0x48]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push 0
push 0
push eax
push ecx
push edx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp fcn.0043ff84
push 0
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 0
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov edx, dword [esi + 4]
push edx
jmp 0x43ff7d
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43fca9
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp fcn.0043ff84
push 0
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push 0
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov ecx, dword [esi + 4]
push ecx
jmp 0x43ff7d
mov eax, dword [esi + 0x18]
test eax, eax
jne case.0x43f8c1.10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43ff79
mov ebp, 1
push edi
mov dword [esi + 0x18], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 8
mov ebx, eax
push 8
push edi
mov dword [esp + 0x58], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x28], 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.004422e7
add esp, 4
jmp 0x43fd3b
mov ebx, dword [esp + 0x4c]
mov eax, 0x66666667
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax + 3]
test edx, edx
jle 0x43fd97
mov dword [esp + 0x44], edx
call fcn.004422f4
and eax, 0x8000003f
jns 0x43fd66
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, eax
push 0xffffff
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x43fd7a
dec ecx
or ecx, 0xfffffff8
inc ecx
cdq
and edx, 7
push ecx
add eax, edx
sar eax, 3
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x44], eax
jne 0x43fd55
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
push 0xca0749
push 0
push 0
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x44]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
inc ebp
cmp ebp, 0x14
jl 0x43fd37
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4400ab
mov eax, dword [esi + 0x18]
test eax, eax
jne case.0x43f8c1.10
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, 1
mov dword [esi + 0x18], eax
mov dword [esp + 0x44], eax
call ebx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x24], eax
mov eax, 0x66666667
mov ebx, dword [esi + 0x24]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov ebp, edx
cdq
imul ebp, dword [esp + 0x44]
sub eax, edx
mov ecx, eax
mov eax, 0x66666667
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
imul edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x4c], edx
cdq
sar ecx, 1
sub eax, edx
lea edx, [ecx + ebp]
sub ecx, ebp
add edx, ebx
mov ebp, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x50]
sar eax, 1
add ecx, ebp
lea ebx, [eax + edx]
mov edx, dword [esp + 0x34]
add ebx, edx
push ebx
push ecx
sub eax, dword [esp + 0x58]
add eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ebp, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43fee5
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x43fef0
mov edx, dword [esi + 4]
push edx
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test ebx, ebx
je 0x43ff03
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ebp, dword [esp + 0x24]
sub eax, ebp
cmp eax, 0x19
jae 0x43ff1f
call ebx
sub eax, ebp
cmp eax, 0x19
jb 0x43ff16
mov eax, dword [esp + 0x44]
inc eax
cmp eax, 0x14
mov dword [esp + 0x44], eax
jl 0x43fe2c
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43ff6e
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp case.0x43f8c1.10
mov edx, dword [esi + 4]
push edx
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
mov eax, dword [esi + 4]
push eax
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
mov eax, dword [esi + 0x18]
test eax, eax
jne case.0x43f8c1.10
mov eax, 1
mov dword [esi + 0x18], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esi + 0x24]
mov ebp, eax
mov eax, 0x66666667
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
mov ecx, edx
imul ecx, dword [esp + 0x44]
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
mov ebx, edx
add ebx, dword [esi + 0x28]
sar eax, 1
push ebx
lea ebx, [eax + ecx]
sub eax, ecx
add ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
add eax, ecx
push ebx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44004a
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x440055
mov eax, dword [esi + 4]
push eax
push edi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
mov ecx, dword [esp + 0x4c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test ebx, ebx
je 0x44006c
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, ebp
cmp eax, 0x19
jae 0x440084
call ebx
sub eax, ebp
cmp eax, 0x19
jb 0x44007b
mov eax, dword [esp + 0x44]
inc eax
cmp eax, 0x14
mov dword [esp + 0x44], eax
jl 0x43ffbf
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43fcc9
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp fcn.0043ff84
mov eax, dword [esi + 0x18]
test eax, eax
jne case.0x43f8c1.10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43ff79
mov eax, ecx
mov dword [esi + 0x18], 1
cdq
and edx, 3
add eax, edx
mov edx, ecx
sar eax, 2
and edx, 0x80000003
jns 0x44010f
dec edx
or edx, 0xfffffffc
inc edx
je 0x440134
mov ecx, eax
and ecx, 0x80000001
jns 0x440120
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x44012b
lea ebp, [eax*4]
jmp 0x440148
lea ebp, [eax*4 - 4]
jmp 0x440148
and eax, 0x80000001
jns 0x440140
dec eax
or eax, 0xfffffffe
inc eax
lea ebp, [ecx - 8]
jne 0x440148
lea ebp, [ecx - 4]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xf
test ebp, ebp
mov dword [esp + 0x44], eax
jg 0x440165
cmp ebx, dword [esp + 0x24]
jge fcn.0043ff84
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x34]
push 0xcc0020
push 0
push ebx
push edx
mov edx, dword [esp + 0x40]
push eax
push 4
lea eax, [ebx + edx]
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je fcn.0043ff84
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x34]
push 0xcc0020
push 0
push ebp
push ecx
mov ecx, dword [esp + 0x40]
push edx
push 4
lea edx, [ecx + ebp]
push eax
push edx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je fcn.0043ff84
add ebx, 8
sub ebp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x44]
jae 0x4401e1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x44]
jb 0x4401d5
mov eax, dword [esp + 0x44]
jmp 0x440150
mov eax, dword [esi + 0x18]
test eax, eax
jne case.0x43f8c1.10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43ff79
mov ebx, dword [esi + 0x28]
mov dword [esi + 0x18], 1
mov eax, ebx
mov ecx, ebx
cdq
sub eax, edx
mov dword [esp + 0x4c], ebx
sar eax, 1
and ecx, 0x80000001
jns 0x440225
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x440243
mov edx, eax
and edx, 0x80000001
jns 0x440236
dec edx
or edx, 0xfffffffe
inc edx
je 0x44023d
lea ebx, [eax + eax]
jmp 0x440259
lea ebx, [eax + eax - 2]
jmp 0x440259
and eax, 0x80000001
jns 0x44024f
dec eax
or eax, 0xfffffffe
inc eax
je 0x440256
add ebx, 0xfffffffc
jmp 0x440259
add ebx, 0xfffffffe
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xf
test ebx, ebx
mov dword [esp + 0x44], eax
jg 0x440276
cmp ebp, dword [esp + 0x4c]
jge fcn.0043ff84
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov ecx, dword [esi + 0x24]
push 0xcc0020
push ebp
push 0
push eax
push 2
push ecx
mov ecx, dword [esp + 0x48]
lea eax, [edx + ebp]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je fcn.0043ff84
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x24]
push 0xcc0020
push ebx
push 0
push edx
push 2
push eax
mov eax, dword [esp + 0x48]
lea edx, [ebx + ecx]
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je fcn.0043ff84
add ebp, 4
sub ebx, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x44]
jae 0x4402f2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x44]
jb 0x4402e6
mov eax, dword [esp + 0x44]
jmp 0x440261
mov eax, dword [esi + 0x18]
test eax, eax
jne case.0x43f8c1.10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43ff79
mov ebx, dword [esi + 0x28]
xor ebp, ebp
cmp ecx, ebx
mov dword [esi + 0x18], 1
jg 0x440324
mov ebx, ecx
mov ecx, ebx
and ecx, 0x80000001
jns 0x440333
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x440339
sar ebx, 1
jmp 0x44033c
sar ebx, 1
inc ebx
xor eax, eax
test ebx, ebx
jl 0x440349
lea eax, [ebx + 2]
shr eax, 1
shl eax, 1
lea edx, [ebx + 2]
cmp eax, edx
jne 0x440351
inc ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
add eax, 0xf
cmp ebp, ecx
mov dword [esp + 0x44], eax
jg case.0x43f8c1.10
xor eax, eax
cmp ebp, ecx
jg 0x440469
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
lea eax, [ebp + ebp]
push 0xcc0020
sub ecx, eax
sub edx, eax
mov eax, dword [esp + 0x4c]
push ebp
push ebp
push eax
mov eax, dword [esp + 0x40]
push 1
mov dword [esp + 0x38], ecx
push ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], edx
lea edx, [ecx + ebp]
lea ecx, [eax + ebp]
push edx
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je case.0x43f8c1.10
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push 0xcc0020
push ebp
push ebp
push edx
push eax
mov eax, dword [esp + 0x44]
lea edx, [ecx + ebp]
push 1
push edx
lea ecx, [eax + ebp]
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je case.0x43f8c1.10
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
push 0xcc0020
lea eax, [edx + ebp]
mov edx, dword [esp + 0x28]
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x44]
inc edx
push 1
push edx
mov edx, dword [esp + 0x48]
add eax, ecx
push eax
lea eax, [edx + ebp]
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je case.0x43f8c1.10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
push 0xcc0020
push ebp
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x28]
push eax
push edx
mov edx, dword [esp + 0x44]
inc ecx
push ecx
push 1
lea ecx, [edx + ebp]
mov edx, dword [esp + 0x48]
add eax, edx
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je case.0x43f8c1.10
mov eax, 1
test ebx, ebx
jl 0x440579
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jl 0x440579
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x4c]
lea ecx, [ebx + ebx]
add edx, edx
sub eax, ecx
mov ecx, dword [esi + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x4c]
push 0xcc0020
push ecx
push ebx
push edx
push 1
mov dword [esp + 0x38], eax
push eax
mov eax, dword [esp + 0x4c]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [ebx + ecx]
push edx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je case.0x43f8c1.10
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
push 0xcc0020
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
add eax, ecx
push 1
push eax
lea eax, [ebx + edx]
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je case.0x43f8c1.10
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
push 0xcc0020
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x44]
inc edx
push 1
push edx
mov edx, dword [esp + 0x48]
add eax, ecx
push eax
lea eax, [ebx + edx]
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je case.0x43f8c1.10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
push 0xcc0020
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0x50]
push ecx
push eax
push edx
mov edx, dword [esp + 0x30]
inc edx
push edx
mov edx, dword [esp + 0x48]
add ecx, edx
push 1
push ecx
mov ecx, dword [esp + 0x4c]
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je case.0x43f8c1.10
jmp 0x440581
test eax, eax
je case.0x43f8c1.10
mov edx, dword [esp + 0x4c]
add ebp, 2
sub edx, 2
sub ebx, 2
mov dword [esp + 0x4c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x44]
jae 0x4405aa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x44]
jb 0x44059e
mov eax, dword [esp + 0x44]
jmp 0x44035f
push 3
push edi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
inc esi
and al, 0x8b
dec esp
and al, 0x48