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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x675948
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x71d5e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, ecx
mov ecx, dword [ebp + 8]
mov esi, dword [eax + 0x158]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x20]
sub ecx, 2
mov dword [ebp - 0x74], eax
mov eax, dword [eax + 0x15c]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
je 0x52873d
dec ecx
je 0x5286d9
dec ecx
jne 0x5287b7
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
sub edi, dword [ebp + 0x10]
sub ebx, dword [ebp + 0x14]
xor eax, eax
push eax
push eax
lea edx, [ebp - 0x44]
push edx
push eax
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0x28
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x200001
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push 0
push 0
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x5c], eax
push 0
lea eax, [ebp - 0x38]
push eax
push 0
mov dword [ebp - 0x58], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push 0
push 0
lea ecx, [ebp - 0x54]
push ecx
push 0
lea edx, [ebp - 0x38]
push edx
push 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x48], eax
call fcn.00413b77
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00414282
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x68]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x5285ab
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x68]
push 0xcc0020
push 0
push 0
push eax
push ebx
push edi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x68]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x5285dd
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x68]
push 0xcc0020
push 0
push 0
push eax
push ebx
push edi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x3c]
cdq
idiv esi
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x48]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, 1
jle 0x52869f
lea edx, [esi - 1]
mov dword [ebp - 0x3c], 0xff
mov dword [ebp - 0x40], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x3c]
cdq
idiv esi
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x44]
push eax
push ebx
push edi
push ecx
mov ecx, dword [ebp - 0x74]
push edx
call fcn.00526e40
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x10]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
cmp eax, ecx
jae 0x528693
sub ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [ebp - 0x3c], 0xff
dec dword [ebp - 0x40]
jne 0x528624
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x68]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x5c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
mov ecx, dword [ebp - 0x50]
push ecx
call esi
mov edx, dword [ebp - 0x48]
push edx
call esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414303
jmp 0x5287b7
xor edi, edi
test esi, esi
jle 0x5287b7
cdq
idiv esi
mov dword [ebp - 0x44], eax
jmp 0x5286f3
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x14]
inc edi
mov eax, edi
imul eax, ecx
cdq
idiv esi
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp + 0x10]
sub ecx, eax
test ebx, ebx
je 0x528711
mov ebx, dword [ebx + 4]
push 0xcc0020
push ecx
push 0
push ebx
push eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
push edx
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, esi
jl 0x5286f0
jmp 0x5287b7
test esi, esi
jle 0x5287b7
cdq
idiv esi
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], eax
mov edi, dword [ebp + 0x18]
mov eax, edi
sub eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x1c]
imul eax, dword [ebp - 0x3c]
cdq
idiv esi
mov ecx, edi
sub ecx, eax
mov eax, ebx
sub eax, dword [ebp + 0x14]
sub edi, ecx
imul eax, dword [ebp - 0x3c]
cdq
idiv esi
mov edx, ebx
sub edx, eax
mov eax, dword [ebp - 0x40]
sub ebx, edx
test eax, eax
je 0x528785
mov eax, dword [eax + 4]
push 0xcc0020
push edx
push ecx
push eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
push ebx
push edi
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
add dword [ebp - 0x3c], eax
sub dword [ebp - 0x48], eax
jne 0x528751
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005000ee
mov esp, ebp
pop ebp
ret 0x1c