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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x555fd6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5d8440], 0
je 0x555fb3
mov eax, dword [0x5d8440]
cmp byte [eax + 0x78], 0
jne 0x555fb3
mov eax, dword [ebx + 0x5ec]
cmp byte [eax + 0x2e0], 0
je 0x555e3f
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x990]
cmp eax, dword [ebx + 0x988]
jbe 0x555e3f
mov eax, dword [ebx + 0x98c]
test eax, eax
jne 0x555d9f
lea eax, [ebp - 4]
call fcn.00404414
jmp 0x555dca
cmp eax, 1
jne 0x555dae
lea eax, [ebp - 4]
call fcn.00404414
jmp 0x555dca
cmp eax, 2
jne 0x555dbd
lea eax, [ebp - 4]
call fcn.00404414
jmp 0x555dca
cmp eax, 3
jne 0x555dca
lea eax, [ebp - 4]
call fcn.00404414
mov eax, dword [ebx + 0x5e8]
mov eax, dword [eax + 0x220]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 0x984]
jg 0x555deb
xor eax, eax
mov dword [ebx + 0x984], eax
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx + 0x5e8]
mov eax, dword [eax + 0x220]
mov edx, dword [ebx + 0x984]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x980]
call fcn.00404468
inc dword [ebx + 0x984]
lea eax, [ebp - 0x20]
mov ecx, dword [ebx + 0x980]
mov edx, dword [ebp - 4]
call fcn.00404720
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00533810
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x990], eax
mov eax, dword [ebx + 0x5f4]
cmp byte [eax + 0x2e0], 0
je 0x555fb3
mov eax, dword [ebx + 0x500]
mov eax, dword [eax + 0x220]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x555fb3
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x994]
cmp eax, 0x7530
jbe 0x555fb3
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x994], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x5d70f0]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x555edd
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
mov eax, dword [0x5d70f0]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
call fcn.00419afc
mov esi, eax
cmp byte [esi + 0x65], 0
jne 0x555ed5
cmp byte [esi + 0x78], 0
jne 0x555ed5
cmp esi, dword [0x5d8440]
je 0x555ed5
inc dword [ebp - 0xc]
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x555eac
cmp dword [ebp - 0xc], 0
jle 0x555fb3
call fcn.00402b3c
mov eax, dword [ebp - 0xc]
call fcn.00402e30
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x5d70f0]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x555fb3
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
mov eax, dword [0x5d70f0]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
call fcn.00419afc
mov esi, eax
cmp byte [esi + 0x65], 0
jne 0x555fa7
cmp byte [esi + 0x78], 0
jne 0x555fa7
cmp esi, dword [0x5d8440]
je 0x555fa7
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jne 0x555fa7
mov eax, dword [ebx + 0x500]
mov eax, dword [eax + 0x220]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
call fcn.00402e30
mov dword [ebp - 0x14], eax
push 0x555fec
push dword [esi + 0x11c]
push 0x555ff8
lea ecx, [ebp - 0x28]
mov eax, dword [ebx + 0x500]
mov eax, dword [eax + 0x220]
mov edx, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404794
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.00533810
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x555f1b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x555fdd
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404438
lea eax, [ebp - 4]
call fcn.00404414
ret