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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4533db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push esi
push edi
lea ecx, [esp + 0x68]
call fcn.004030d8
lea eax, [esp + 0x84]
xor esi, esi
push eax
mov dword [esp + 0xd0], esi
call fcn.004140b0
cmp dword [ebp + 0xc], esi
mov dword [esp + 0xcc], 1
jle 0x40f5bb
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp + 8]
push 6
push esi
lea eax, [edi + 0x30]
push eax
lea esi, [esp + 0x48]
call fcn.00402ccf
push str.p4p:__
mov byte [esp + 0xd0], 2
call fcn.0040304d
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
mov ecx, esi
inc bl
mov byte [esp + 0xd4], 1
call fcn.004017a7
test bl, bl
je 0x40f645
push 0xffffffffffffffff
push 6
lea ebx, [edi + 0x30]
push ebx
lea esi, [esp + 0x48]
call fcn.00402ccf
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xd8], 3
call fcn.004016f3
push 0
push 1
mov ecx, esi
mov byte [esp + 0xd4], 1
call fcn.004017a7
push 0x457422
mov ecx, ebx
call fcn.00401784
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x24]
push eax
call fcn.004140b0
push 0x457422
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], 4
call fcn.0040162e
mov byte [esp + 0xcc], 5
cmp dword [edi + 0x2c], 0x10
jb 0x40f682
mov ecx, dword [edi + 0x18]
jmp 0x40f685
lea ecx, [edi + 0x18]
push dword [edi + 0x50]
lea eax, [esp + 0x28]
push dword [edi + 0x4c]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [edi + 0x30]
push eax
push ecx
push dword [edi + 0x10]
call fcn.0041967a
push 0
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], eax
mov byte [esp + 0xd4], 4
call fcn.004017a7
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
push 0x1c
cdq
pop ecx
idiv ecx
and dword [esp + 0x10], 0
test eax, eax
jbe 0x40f893
sub esp, 0x1c
lea eax, [edi + 0x30]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00401650
lea eax, [esp + 0xc0]
push eax
call fcn.004023d9
add esp, 0x20
mov ebx, eax
push dword [esp + 0x10]
lea esi, [esp + 0x28]
mov byte [esp + 0xd0], 6
call fcn.00404399
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00401650
lea eax, [esp + 0x58]
push eax
call fcn.004023d9
add esp, 0x20
mov ecx, ebx
mov byte [esp + 0xcc], 7
call fcn.004030bb
mov ebx, eax
neg ebx
sbb bl, bl
xor esi, esi
push esi
push 1
lea ecx, [esp + 0x44]
inc bl
call fcn.004017a7
push esi
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xd4], 4
call fcn.004017a7
test bl, bl
jne 0x40f877
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x90]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [esp + 0x14], esi
test eax, eax
jbe 0x40f85d
push dword [esp + 0x14]
lea esi, [esp + 0x88]
call fcn.00404399
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00401650
lea eax, [esp + 0x58]
push eax
call fcn.004023d9
add esp, 0x20
mov ebx, eax
push dword [esp + 0x10]
lea esi, [esp + 0x28]
mov byte [esp + 0xd0], 8
call fcn.00404399
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00401650
lea eax, [esp + 0xc0]
push eax
call fcn.004023d9
add esp, 0x20
mov ecx, ebx
mov byte [esp + 0xcc], 9
call fcn.004030bb
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [esp + 0xac]
inc bl
call fcn.004017a7
push 0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xd4], 4
call fcn.004017a7
test bl, bl
jne 0x40f877
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x90]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], eax
jb 0x40f799
push dword [esp + 0x10]
lea esi, [esp + 0x28]
call fcn.00404399
push eax
lea eax, [esp + 0x88]
call fcn.0040c2aa
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], eax
jb 0x40f6e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x58]
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x88], eax
mov esi, dword [esp + 0x90]
cmp esi, dword [esp + 0x94]
jbe 0x40f8bb
call fcn.0043ae46
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x94]
cmp dword [esp + 0x90], esi
jbe 0x40f8df
call fcn.0043ae46
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40f8f0
cmp eax, dword [esp + 0x84]
je 0x40f8f5
call fcn.0043ae46
cmp dword [esp + 0x1c], esi
je 0x40f933
lea esi, [esp + 0x18]
call fcn.0040a11d
push eax
call fcn.00402368
mov edi, dword [edi + 0xc]
pop ecx
cmp eax, 1
jne 0x40f91b
inc dword [edi + 0xa0]
jmp 0x40f921
inc dword [edi + 0xac]
lea edi, [esp + 0x58]
lea esi, [esp + 0x18]
call fcn.004142d7
mov edi, dword [ebp + 8]
jmp 0x40f8ca
cmp dword [esp + 0x20], 0
push edi
jne 0x40f947
lea eax, [esp + 0x64]
push eax
mov eax, 0x1421
jmp 0x40f950
push dword [esp + 0x24]
mov eax, 0x1422
push dword [edi + 0xc]
call fcn.00409f0d
lea esi, [esp + 0x24]
call fcn.0040436c
lea esi, [esp + 0x84]
call fcn.0040436c
push 0
push 1
lea ecx, [esp + 0x70]
call fcn.004017a7
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8