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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474011
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4a86cc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, dword [0x4a704c]
jae 0x4105c2
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [0x4aadb0]
test eax, eax
je 0x4105c0
jmp 0x4105c2
jmp 0x41059a
mov ecx, dword [ebp - 0xcc]
mov dl, byte [ebp + 8]
mov byte [ecx + 0x120], dl
mov eax, dword [ebp - 0xcc]
mov cl, byte [ebp + 0xc]
mov byte [eax + 0x121], cl
push 0x478f68
lea ecx, [ebp - 0x10]
call fcn.00410d60
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x410606
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x104
call fcn.00410f40
cmp dword [ebp - 0x18], eax
jae 0x41088e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x104
call fcn.00410f60
mov ecx, dword [eax]
cmp dword [ecx + 0xcc], 0
je 0x4106d3
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x104
call fcn.00410f60
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0xcc]
call fcn.0040e8a0
test eax, eax
jne 0x4106ce
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x104
call fcn.00410f60
mov edx, dword [eax]
push edx
mov ecx, dword [ebp - 0xcc]
call fcn.0040ed40
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x104
call fcn.00410f60
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push edx
push 0x478f6c
lea eax, [ebp - 0x10]
push eax
call fcn.004159a0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00403bc0
push eax
call fcn.00419fa0
add esp, 4
jmp 0x410889
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x104
call fcn.00410f60
mov edx, dword [eax]
cmp dword [edx + 0xac], 0
je 0x410889
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x104
call fcn.00410f60
mov ecx, dword [eax]
add ecx, 0x70
call fcn.00404e40
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.00470fd0
add esp, 8
mov byte [ebp - 4], 1
lea edx, [ebp - 0x54]
push edx
mov ecx, 0x4aafc0
call fcn.00418950
lea ecx, [ebp - 0x38]
call fcn.004058c0
mov byte [ebp - 4], 2
push 0x478f74
lea eax, [ebp - 0x54]
push eax
push 0x478f84
lea ecx, [ebp - 0x70]
push ecx
call fcn.00405560
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.004054a0
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x38]
call fcn.004047b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.00404690
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00404690
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [0x4aadb8]
call fcn.0040c960
push 0x478f90
lea edx, [ebp - 0x54]
push edx
push 0x478fa0
lea eax, [ebp - 0xa8]
push eax
call fcn.00405560
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xe4]
push edx
lea eax, [ebp - 0xc4]
push eax
call fcn.004054a0
add esp, 0xc
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xec]
push edx
lea ecx, [ebp - 0x38]
call fcn.004047b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc4]
call fcn.00404690
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.00404690
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [0x4aadb8]
call fcn.0040c960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00404690
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00404690
jmp 0x4105fd
mov dword [ebp - 0xc8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041e320
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00421737
mov esp, ebp
pop ebp
ret 8