Function at 0x489590
Capabilities:
Capture screenshot
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x591038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC_1]
mov edi, eax
mov dword [esp + 0x3c], edi
call fcn.0043bae0
push eax
push edi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
call ebp
push edi
mov ebx, eax
call ebp
mov ebp, eax
mov dword [esi + 0xa4], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x489601
mov eax, dword [esi + 0xc4]
test eax, eax
jne 0x4895f7
mov dword [esi + 0xc4], 1
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x4896c9
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0xd4]
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SelectObject_1]
mov dword [esi + 0xc0], eax
call ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xdc]
push eax
lea ecx, [esp + 0x50]
call fcn.005885ef
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call ebp
mov edx, dword [esi + 0xd8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xd4]
push 0xf00021
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call ebp
mov dword [esp + 0x4c], 0x5e06d8
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], 0
call fcn.00588589
mov dword [esp + 0x5c], 0xffffffff
jmp 0x4896cf
mov ebp, dword [sym.imp.GDI32.dll_SelectObject_1]
mov dword [esi + 0xc4], 0
mov dword [esi + 0x84], 4
mov eax, dword [esi + 0xbc]
cmp eax, 1
je 0x489ad9
call dword [sym.imp.KERNEL32.dll_GetTickCount_1]
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x489714
mov eax, dword [esi + 0xc4]
test eax, eax
jne 0x48970a
mov dword [esi + 0xc4], 1
mov eax, dword [esi + 0xc0]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x84]
cmp eax, 8
je 0x489740
cmp eax, 0xc
jne 0x48978c
mov edx, dword [esp + 0x18]
push edx
push ebx
call ebp
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x5c]
push 0xcc0020
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x58]
push 0
push 0
push ebx
push eax
mov eax, dword [esi + 0x60]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x14]
push edx
push ebx
call ebp
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject_1]
mov dword [esp + 0x18], 0
mov ecx, esi
mov dword [esi + 0x84], 0
call fcn.00489b20
test eax, eax
mov dword [esp + 0x20], eax
je 0x4899b2
mov ecx, dword [esi + 0x84]
cmp ecx, 8
je 0x4897b9
cmp ecx, 0xc
jne 0x489805
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x20], eax
call ebp
mov ecx, dword [esi + 0x60]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x5c]
push 0xcc0020
push eax
mov eax, dword [esi + 0x58]
push ecx
mov ecx, dword [esi + 0x54]
push edx
push eax
push ecx
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x14]
push edx
push ebx
call ebp
mov eax, dword [esp + 0x20]
push eax
push ebx
call ebp
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x88]
test eax, eax
je 0x48997a
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x54]
mov edi, eax
mov eax, dword [esi + 0x58]
push 0
push 1
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateBitmap_1]
mov edx, dword [esi + 0x58]
push 0
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x54]
push 1
push 1
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateBitmap_1]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject_1]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject_1]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xa0]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor_1]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
push 0xcc0020
push 0
push 0
push ebx
push ecx
push edx
push 0
push 0
push edi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor_1]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
push 0x330008
push 0
push 0
push edi
push ecx
push edx
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x5c]
push 0x8800c6
push 0
push 0
push edi
push eax
mov eax, dword [esi + 0x60]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x54]
push 0x8800c6
push 0
push 0
push ebp
push edx
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x5c]
push 0xee0086
push 0
push 0
push ebx
push ecx
mov ecx, dword [esi + 0x60]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x30]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject_1]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject_1]
mov ecx, dword [esp + 0x38]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject_1]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject_1]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_DeleteDC_1]
call ebp
push edi
call ebp
mov edi, dword [esp + 0x3c]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject_1]
jmp 0x48999f
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x5c]
push 0xcc0020
push 0
push 0
push ebx
push edx
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call ebp
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject_1]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow_1]
test eax, eax
je 0x489a4a
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.004890e0
mov eax, dword [esi + 0xd0]
push 0xcc0020
test eax, eax
je 0x489a22
mov edx, dword [esi + 0xd8]
mov eax, dword [esi + 0xd4]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x489a4a
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0xd4]
push 0
push 0
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push edx
push eax
call ebp
mov dword [esi + 0xc4], 0
mov eax, dword [esi + 0x90]
test eax, eax
je 0x489a75
lea ecx, [eax + eax*4]
shl ecx, 1
mov dword [esp + 0x1c], ecx
jmp 0x489a7f
mov ecx, dword [esi + 0x9c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0xbc]
cmp eax, 1
je 0x489aca
jmp 0x489a90
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
sub eax, edx
cmp ecx, eax
jbe 0x489abb
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep_1]
call dword [sym.imp.KERNEL32.dll_GetTickCount_1]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xbc]
cmp eax, 1
jne 0x489a8c
mov eax, dword [esi + 0xbc]
cmp eax, 1
jne 0x4896f2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x489ad9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject_1]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC_1]
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebx
mov eax, dword [esi + 0x1c]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC_1]
mov dword [esi + 0xbc], 2
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret