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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b75ca
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x4495b7
push 0x7f
call fcn.004aa6ea
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x94], 0
je 0x4494d1
mov ecx, eax
call fcn.00402d50
mov edi, eax
jmp 0x4494d3
xor edi, edi
mov eax, dword [esp + 0x9c]
push 0
push 0
push esi
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0xa0], 0xffffffff
push ecx
push eax
mov ecx, edi
call fcn.00402da0
test eax, eax
je 0x4495ae
cmp byte [edi + 0x45], 9
je 0x449514
push 0
push 0
push 0x10000000
mov ecx, edi
call fcn.004aa3f5
push 0
mov ecx, edi
call fcn.00404560
test al, al
je 0x4495ae
cmp byte [edi + 0x45], 9
jne 0x44958c
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push 1
mov ebp, eax
push 0
push 0
lea eax, [esp + 0x7c]
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x44958c
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
call ebx
sub eax, ebp
cmp eax, 0x32
ja 0x44958c
push 1
push 0
push 0
lea eax, [esp + 0x7c]
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x449556
mov eax, dword [esi + 0x29]
test eax, eax
jg 0x44959f
mov ecx, edi
call fcn.00405610
and eax, 0xffff
push eax
mov ecx, edi
call fcn.004056d0
mov ecx, edi
call fcn.00403cd0
push edi
call fcn.00407390
add esp, 4
mov ecx, dword [esp + 0xa0]
mov edi, dword [ecx + 0x2c]
test edi, edi
jne 0x4495cb
mov dword [esp + 0x10], edi
jmp 0x4495d2
mov edx, dword [edi + 4]
mov dword [esp + 0x10], edx
mov ebp, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
sub eax, ebp
cdq
mov ecx, eax
mov eax, dword [esi + 0x20]
xor ecx, edx
sub eax, ebx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
push eax
push ecx
movsx eax, byte [esi + 0xa6]
push ebx
push ebp
push eax
call fcn.00406ea0
add esp, 0x14
mov ebp, eax
mov dword [esp + 0x28], ebp
push 0x300
push 0x400
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ecx, dword [esp + 0x10]
mov ebx, eax
push ebx
push ecx
mov dword [esp + 0x34], ebx
call dword [sym.imp.GDI32.dll_GetClipRgn]
mov edx, dword [esp + 0x10]
push 1
push ebp
push edx
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x449cb9
lea ecx, [esp + 0x40]
call fcn.004ad59e
test edi, edi
mov dword [esp + 0x94], 1
jne 0x449663
xor eax, eax
jmp 0x449666
mov eax, dword [edi + 4]
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebp
push eax
lea ecx, [esp + 0x44]
call fcn.004ad655
mov eax, dword [0x4d6dac]
xor ebx, ebx
cmp eax, ebx
jne 0x449688
xor eax, eax
jmp 0x44968b
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.004ad796
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [esi + 0x48]
cmp eax, ebx
jne 0x4496ac
xor eax, eax
jmp 0x4496af
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x44]
push eax
push edx
call fcn.004ad796
push 3
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.004ad921
mov al, byte [esi + 0x24]
cmp al, 4
jl 0x449a48
cmp al, 7
jg 0x449a48
mov eax, dword [esi + 0x48]
lea ecx, [esp + 0x70]
push ecx
push 0x18
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp byte [esi + 0x24], 4
jne 0x449a03
test byte [esi + 0x39], 0x40
je 0x449a03
mov eax, dword [edi]
push 0xffffff
mov ecx, edi
call dword [eax + 0x2c]
mov edx, dword [edi]
push ebx
mov ecx, edi
mov dword [esp + 0x20], eax
call dword [edx + 0x30]
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], eax
call fcn.004ad59e
lea ecx, [esp + 0x60]
mov byte [esp + 0x94], 2
call fcn.004ad59e
mov eax, 0x4bcfb4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
cmp edi, ebx
mov byte [esp + 0x94], 5
jne 0x44975d
xor eax, eax
jmp 0x449760
mov eax, dword [edi + 4]
push eax
call ebp
push eax
lea ecx, [esp + 0x54]
call fcn.004ad655
cmp edi, ebx
jne 0x449775
xor eax, eax
jmp 0x449778
mov eax, dword [edi + 4]
push eax
call ebp
push eax
lea ecx, [esp + 0x64]
call fcn.004ad655
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov ebp, dword [esi + 0x14]
sub eax, ecx
mov ecx, dword [esi + 0x1c]
push eax
mov eax, dword [edi + 4]
sub ecx, ebp
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae048
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call fcn.004ad796
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
sub ecx, edx
mov edx, dword [esi + 0x1c]
mov ebp, dword [esp + 0x44]
sub edx, eax
lea eax, [esp + 0x40]
push 0xcc0020
neg eax
sbb eax, eax
and eax, ebp
mov ebp, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x7c]
push ebp
push ebx
push ebx
push eax
push ecx
push edx
mov edx, dword [esp + 0x74]
push ebx
push ebx
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov ebp, dword [esi + 0x14]
sub eax, ecx
mov ecx, dword [esi + 0x1c]
push ebx
push 1
sub ecx, ebp
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x34]
call fcn.004ae048
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esp + 0x68]
push eax
call fcn.004ad796
mov dword [esp + 0x18], eax
push ebx
mov ecx, dword [esp + 0x58]
push ebx
push ecx
call dword [sym.imp.GDI32.dll_GetPixel]
push eax
lea ecx, [esp + 0x54]
call fcn.004ad896
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
sub ecx, edx
mov edx, dword [esi + 0x1c]
mov ebp, dword [esp + 0x54]
sub edx, eax
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebp
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push ebx
push eax
push ecx
push edx
mov edx, dword [esp + 0x7c]
push ebx
push ebx
push edx
call ebp
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
sub edx, eax
lea eax, [esp + 0x50]
sub ecx, ebx
push 0x660046
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x5c]
push 0
push eax
mov eax, dword [esi + 0x14]
push ecx
push edx
push ebx
push eax
mov eax, dword [edi + 4]
push eax
call ebp
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
sub edx, eax
lea eax, [esp + 0x60]
sub ecx, ebx
push 0x8800c6
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x6c]
push 0
push eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [edi + 4]
push edx
push ebx
push eax
push ecx
call ebp
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi + 0x14]
mov esi, dword [esi + 0x1c]
sub ecx, edx
sub esi, ebx
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0x660046
and eax, dword [esp + 0x58]
push 0
push 0
push eax
push ecx
push esi
push edx
mov edx, dword [edi + 4]
push ebx
push edx
call ebp
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x44993b
xor eax, eax
jmp 0x44993e
mov eax, dword [esi + 4]
push eax
mov eax, dword [esp + 0x58]
push eax
call fcn.004ad796
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x449955
xor eax, eax
jmp 0x449958
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.004ad796
lea ecx, [esp + 0x50]
call fcn.004ad6bd
lea ecx, [esp + 0x60]
call fcn.004ad6bd
lea ecx, [esp + 0x38]
call fcn.004ae09f
lea ecx, [esp + 0x30]
call fcn.004ae09f
mov ecx, esi
call fcn.004ae09f
mov ecx, ebx
call fcn.004ae09f
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
mov eax, dword [esp + 0x20]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 6
call fcn.004ae09f
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 7
call fcn.004ae09f
lea ecx, [esp + 0x60]
mov byte [esp + 0x94], 2
call fcn.004ad6d3
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 1
call fcn.004ad6d3
jmp 0x449c7c
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov ebp, dword [esi + 0x14]
mov esi, dword [esi + 0x1c]
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x40]
sub ecx, edx
sub esi, ebp
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebx
mov ebx, dword [esp + 0x7c]
push ebx
mov ebx, dword [esp + 0x7c]
push ebx
push 0
push 0
push eax
push ecx
mov ecx, dword [edi + 4]
push esi
push edx
push ebp
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x449c7c
cmp al, 1
jne 0x449c4a
test byte [esi + 0x39], 0x40
je 0x449c4a
mov edx, dword [edi]
push 0xffffff
mov ecx, edi
call dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x30]
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], eax
call fcn.004ad59e
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], 0x4bcfb4
cmp edi, ebx
mov byte [esp + 0x94], 9
jne 0x449a9b
xor eax, eax
jmp 0x449a9e
mov eax, dword [edi + 4]
push eax
call ebp
push eax
lea ecx, [esp + 0x64]
call fcn.004ad655
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov ebp, dword [esi + 0x14]
sub eax, ecx
mov ecx, dword [esi + 0x1c]
push ebx
push 1
sub ecx, ebp
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae048
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call fcn.004ad796
mov edx, dword [esp + 0x44]
push ebx
push ebx
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetPixel]
push eax
lea ecx, [esp + 0x44]
call fcn.004ad896
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
sub ecx, edx
mov edx, dword [esi + 0x1c]
mov ebp, dword [esp + 0x44]
sub edx, eax
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebp
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push ebx
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push ebx
push ebx
push eax
call ebp
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
sub edx, eax
lea eax, [esp + 0x40]
sub ecx, ebx
push 0x660046
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x4c]
push 0
push eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [edi + 4]
push edx
push ebx
push eax
push ecx
call ebp
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
sub edx, eax
lea eax, [esp + 0x60]
sub ecx, ebx
push 0x8800c6
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x6c]
push 0
push eax
mov eax, dword [esi + 0x14]
push ecx
push edx
mov edx, dword [edi + 4]
push ebx
push eax
push edx
call ebp
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi + 0x14]
mov esi, dword [esi + 0x1c]
lea eax, [esp + 0x40]
sub ecx, edx
sub esi, ebx
push 0x660046
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x4c]
push 0
push eax
mov eax, dword [edi + 4]
push ecx
push esi
push edx
push ebx
push eax
call ebp
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x449bdf
xor eax, eax
jmp 0x449be2
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.004ad796
lea ecx, [esp + 0x60]
call fcn.004ad6bd
lea ecx, [esp + 0x38]
call fcn.004ae09f
mov ecx, esi
call fcn.004ae09f
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov dword [esp + 0x38], vtable.CGdiObject.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 0xa
call fcn.004ae09f
lea ecx, [esp + 0x60]
mov byte [esp + 0x94], 1
call fcn.004ad6d3
jmp 0x449c7c
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov ebp, dword [esi + 0x14]
mov esi, dword [esi + 0x1c]
lea eax, [esp + 0x40]
sub ecx, edx
sub esi, ebp
push 0xcc0020
neg eax
sbb eax, eax
push ebx
and eax, dword [esp + 0x4c]
push ebx
push eax
push ecx
mov ecx, dword [edi + 4]
push esi
push edx
push ebp
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x449c87
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x44]
push eax
push edx
call fcn.004ad796
lea ecx, [esp + 0x40]
call fcn.004ad6bd
lea ecx, [esp + 0x40]
mov dword [esp + 0x94], 0xffffffff
call fcn.004ad6d3
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
jmp 0x449cd6
mov eax, dword [esi + 0x25]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push edx
push eax
push ecx
push edi
call fcn.00466740
add esp, 0x18
mov edx, dword [esp + 0x10]
push ebx
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call esi
push ebp
call esi
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 8