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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
je 0x10008381
cmp dword [edi + 0x1c], 0
je 0x10008381
call fcn.10009d00
test al, al
je 0x100080e0
push dword [edi + 0x44]
push dword [edi + 0x10c]
call dword [sym.imp.USER32.dll_ReleaseDC]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [edi + 0x10c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [edi + 0x44], eax
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x20], 0
mov al, byte [edi + 4]
mov byte [ecx], al
lea eax, [ebp - 0x2c]
inc dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x1c]
add eax, dword [edi + 0x20]
movq xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x40], 0x14
movq qword [eax], xmm0
lea eax, [ebp - 0x40]
add dword [edi + 0x20], 8
push eax
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x10008172
cmp dword [ebp - 0x3c], 1
jne 0x10008172
mov ecx, dword [ebp - 0x38]
lea eax, [edi + 0xd0]
xor ebx, ebx
cmp ecx, dword [eax - 4]
je 0x10008160
cmp ecx, dword [eax]
je 0x1000815f
cmp ecx, dword [eax + 4]
je 0x1000815a
cmp ecx, dword [eax + 8]
je 0x10008155
add ebx, 4
add eax, 0x10
cmp ebx, 0x10
jl 0x10008135
jmp 0x10008160
add ebx, 3
jmp 0x10008160
add ebx, 2
jmp 0x10008160
inc ebx
push ecx
call dword [sym.imp.USER32.dll_DestroyCursor]
or eax, 0xffffffff
cmp ebx, 0x10
cmove ebx, eax
jmp 0x10008175
or ebx, 0xffffffff
mov eax, dword [edi + 0x1c]
add eax, dword [edi + 0x20]
mov byte [eax], bl
mov eax, dword [edi + 0x20]
inc eax
cmp byte [edi + 4], 2
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x20], eax
jne 0x100082e6
mov ecx, dword [edi + 0x68]
mov ebx, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [edi + 0x44]
mov dword [ebp - 0x18], ebx
mov ebx, dword [edi + 0x80]
mov dword [ebp - 0x10], ebx
xor ebx, ebx
mov dword [ebp - 0xc], edx
test edx, edx
jle 0x10008202
mov ecx, 0x32
nop word [eax + eax]
push dword [edi + 0x10]
mov esi, edx
push ebx
push 0
push dword [ebp - 0x18]
sub esi, ebx
cmp esi, 0x32
cmova esi, ecx
push esi
push dword [ebp - 0x14]
push ebx
push 0
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0xc]
add ebx, esi
mov ecx, 0x32
cmp ebx, edx
jl 0x100081c0
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x1c], eax
mov edx, dword [edi + 0x1c]
xor ebx, ebx
mov ecx, dword [ecx + 0x14]
add eax, edx
xor esi, esi
mov dword [ebp - 0x20], edx
mov edx, dword [edi + 0x60]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x78]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x100082d0
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x100082a5
mov edi, dword [ebp - 8]
lea ecx, [ebx + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebx + edi], esi
lea ebx, [ecx + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ebx
mov dword [ebx + edi], ecx
mov ebx, 4
add esi, ebx
add edx, ebx
add eax, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], esi
cmp esi, dword [ebp - 0xc]
jae 0x10008299
nop
mov ecx, dword [eax]
cmp dword [edx], ecx
je 0x10008299
mov edi, dword [ebp - 0x1c]
add edi, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
mov dword [edx], ecx
add esi, 4
mov ecx, dword [eax]
add eax, 4
mov edx, dword [ebp - 0x18]
mov dword [edi + ebx], ecx
add edx, 4
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edx
cmp edi, dword [ebp - 0xc]
jb 0x10008260
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 8]
mov dword [ecx + edi], ebx
add ebx, dword [ebp - 0x1c]
add esi, 4
add edx, 4
add eax, 4
cmp esi, dword [ebp - 0xc]
jb 0x10008225
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
add ecx, ebx
mov dword [edx], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add ecx, ebx
mov dword [edx], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x28]
xor esi, esi
lea eax, [ecx - 0x13]
test eax, eax
cmovns esi, eax
cmp ecx, dword [0x10033f5c]
je 0x1000830c
push esi
mov ecx, edi
call fcn.10008390
test al, al
je 0x1000830c
add esi, 0x13
jmp 0x1000830f
mov esi, dword [edi + 0x30]
cmp esi, dword [edi + 0x2c]
jge 0x1000832b
push esi
mov ecx, edi
call fcn.10008390
test al, al
je 0x10008323
add esi, 0x13
add esi, 0x13
cmp esi, dword [edi + 0x2c]
jl 0x10008314
mov eax, dword [ebp - 0x28]
lea ebx, [edi + 0x14]
mov dword [0x10033f5c], eax
mov ecx, 0x13
mov eax, dword [edi + 0x30]
add eax, 3
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
idiv ecx
mov eax, dword [edi + 0x20]
mov dword [edi + 0x30], edx
mov edx, dword [ebp + 8]
mov dword [edx], eax
call esi
sub eax, dword [ebx]
cmp eax, dword [edi + 0x18]
jae 0x10008371
nop
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, dword [ebx]
cmp eax, dword [edi + 0x18]
jb 0x10008360
call esi
xchg dword [ebx], eax
mov eax, dword [edi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4