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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
push ebp
mov dword [esp + 0x3c], ebp
call edi
push ebp
mov ebx, eax
call edi
mov edi, eax
mov dword [esp + 0x10], edi
mov dword [esi + 0x9c], ebp
mov dword [esp + 0x1c], 0
jmp 0x4171a0
mov eax, dword [esi + 0xc4]
test eax, eax
jne 0x4171a0
mov eax, dword [esi + 0xb8]
test eax, eax
mov dword [esi + 0xc4], 1
je 0x4171c5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0xc0]
mov edx, dword [esi + 0xbc]
push ecx
push edx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0xb8], eax
call edi
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc0]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esp + 0x14]
push eax
push edx
mov dword [esp + 0x2c], eax
call edi
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x28], eax
xor eax, eax
push eax
push eax
push eax
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x4c]
push ecx
push 2
push eax
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x2c]
push eax
push edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [esp + 0x14]
push 0xffffff
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xbc]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
push edx
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call edi
mov dword [esi + 0xc4], 0
mov dword [esi + 0x7c], 4
cmp dword [esi + 0xb4], 1
je 0x417637
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov edi, edi
mov eax, dword [esi + 0xc4]
test eax, eax
jne 0x4172f0
mov edx, dword [esi + 0xb8]
mov eax, dword [esp + 0x10]
push edx
push eax
mov dword [esi + 0xc4], 1
call edi
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x7c]
cmp eax, 8
je 0x417323
cmp eax, 0xc
jne 0x41736f
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
call edi
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
push 0xcc0020
push 0
push 0
push ebx
push edx
mov edx, dword [esi + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x44]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push ebx
call edi
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x1c], 0
mov ecx, esi
mov dword [esi + 0x7c], 0
call fcn.00416dc0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x7c]
cmp eax, 8
je 0x41738e
cmp eax, 0xc
jne 0x4173d6
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x24], eax
call edi
mov edx, dword [esi + 0x4c]
mov ecx, dword [esp + 0x10]
push 0xcc0020
push edx
mov edx, dword [esi + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x50]
push eax
mov eax, dword [esi + 0x44]
push ecx
push edx
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push ebx
call edi
mov edx, dword [esp + 0x24]
push edx
push ebx
call edi
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x80]
test eax, eax
je 0x417551
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x44]
push 0
push 1
mov ebp, eax
mov eax, dword [esi + 0x48]
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov edx, dword [esi + 0x48]
push 0
push 1
push 1
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x44]
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x38], eax
call edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
push eax
push ebp
call edi
mov ecx, dword [esi + 0x98]
push ecx
push ebx
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esi + 0x48]
push 0xcc0020
push 0
push 0
push ebx
push edx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x44]
push eax
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x30]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x14]
push 0x330008
push 0
push 0
push ebp
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x4c]
push 0x8800c6
push 0
push 0
push ebp
push edx
mov edx, dword [esi + 0x50]
push eax
push ecx
push edx
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
push 0x8800c6
push 0
push 0
push ecx
push edx
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x4c]
push 0xee0086
push 0
push 0
push ebx
push ecx
mov ecx, dword [esi + 0x50]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call edi
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x34]
push edx
push ebp
call edi
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebp, dword [esp + 0x38]
jmp 0x417576
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x4c]
push 0xcc0020
push 0
push 0
push ebx
push ecx
mov ecx, dword [esi + 0x50]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
push eax
push ebx
call edi
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xbc]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push edx
push eax
call edi
mov eax, dword [esi + 0x88]
test eax, eax
mov dword [esi + 0xc4], 0
je 0x4175db
lea ecx, [eax + eax*4]
shl ecx, 1
mov dword [esp + 0x20], ecx
jmp 0x4175e5
mov ecx, dword [esi + 0x94]
mov dword [esp + 0x20], ecx
cmp dword [esi + 0xb4], 1
je 0x417628
jmp 0x4175f4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x3c]
cmp ecx, eax
jbe 0x41761b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
cmp dword [esi + 0xb4], 1
jne 0x4175f0
cmp dword [esi + 0xb4], 1
jne 0x4172e0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x417637
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call edi
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esi + 4]
push ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov dword [esi + 0xb4], 2
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret