Function at 0x402790
Capabilities:
Capture screenshot
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x50]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ecx, dword [0x40d850]
push 0x71
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
lea edx, [esp + 0x44]
mov esi, eax
push edx
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
push esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
je 0x402a2a
push edi
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetMapMode]
push ebp
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
push 0xcc0020
push eax
push ecx
push edi
push ebp
push ebx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [esp + 0x20], 2
jmp 0x402846
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 8
jmp 0x402860
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x1e
jae 0x402882
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x1e
jb 0x402875
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetMapMode]
push ebp
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push edx
push ebp
push ebx
push 0
push 0
push esi
mov dword [esp + 0x50], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x40d850]
push 0x71
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov ebp, eax
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetMapMode]
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
cdq
and edx, 7
push 0x220326
add eax, edx
push 0
mov ecx, eax
mov eax, ebx
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x48]
sar ecx, 3
mov ebx, eax
push ecx
sar ebx, 3
push ebp
push edx
push ebx
push 0
push 0
push esi
mov dword [esp + 0x48], ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
push 0xee0086
push 0
push eax
push ebp
push ecx
push ebx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push 0xcc0020
push 0
push 0
push esi
push edx
push ebx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4029a0
mov edx, dword [esp + 0x2c]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test ebx, ebx
je 0x4029a0
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x4029ab
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4029ca
mov eax, dword [esp + 0x30]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x4029ca
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebp, ebp
je 0x4029d5
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
add edx, ecx
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
jne 0x402858
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x40283e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x402a49
mov ecx, dword [esp + 0x38]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test ebx, ebx
je 0x402a49
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x402a54
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x60]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret