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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55e4cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp byte [ebx + 0x196], 0
jne 0x55df0e
mov eax, dword [0x586a98]
mov eax, dword [eax]
cmp dword [eax + 0xdc], 0
ja 0x55df06
mov eax, dword [0x586a98]
mov eax, dword [eax]
cmp dword [eax + 0xd8], 0
ja 0x55df06
xor eax, eax
jmp 0x55df08
mov al, 1
mov byte [ebx + 0x196], al
cmp byte [ebx + 0x196], 0
jne 0x55e0bc
lea edx, [ebp - 8]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050f318
lea eax, [ebp - 8]
call fcn.004b7c30
lea edx, [ebp - 0x54]
mov eax, dword [0x586a98]
mov eax, dword [eax]
call fcn.005229c8
push dword [ebp - 0x54]
lea edx, [ebp - 0x58]
mov eax, dword [0x50adf8]
call fcn.0050e0a0
push dword [ebp - 0x58]
push 0x55e4ec
push dword [ebp - 8]
push 0x55e4f8
lea eax, [ebp - 4]
mov edx, 5
call fcn.0040553c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4ba2d8]
call fcn.004bb818
mov dword [ebp - 0x1c], eax
push 0x55e508
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x55e514
mov edx, 0x55e524
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi]
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x55e538
call fcn.004054c0
mov eax, dword [ebp - 0x5c]
xor edx, edx
call fcn.0040a188
mov esi, eax
test esi, esi
jbe 0x55dff3
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov ecx, 0x1f4
mov edx, esi
call fcn.00522184
mov byte [ebx + 0x196], al
cmp byte [ebx + 0x196], 0
jne 0x55dff3
push 0x55e508
mov ecx, 0x55e514
mov edx, 0x55e524
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 0x1c]
call fcn.004041e0
cmp byte [ebx + 0x196], 0
jne 0x55e064
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov byte [eax + 0x24], 0
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov edx, 0x3e8
call fcn.00512694
mov byte [ebx + 0x196], al
call fcn.004b9988
mov edi, eax
jmp 0x55e05e
push 0x64
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x586a98]
mov eax, dword [eax]
movzx eax, byte [eax + 0x24]
mov byte [ebx + 0x196], al
cmp byte [ebx + 0x196], 0
jne 0x55e064
call fcn.004b9988
sub eax, edi
cmp eax, 0x1f4
ja 0x55e064
cmp byte [ebx + 0xd], 0
je 0x55e02f
cmp byte [ebx + 0x196], 0
jne 0x55e09c
cmp byte [ebx + 0x19c], 0
jne 0x55e09c
push 0x55e544
push 2
push 1
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov ecx, 0x55e574
mov edx, 1
call fcn.00521fa0
mov byte [ebx + 0x19c], 1
test esi, esi
jne 0x55e0b5
cmp byte [ebx + 0x196], 0
jne 0x55e0b5
mov eax, dword [0x586a98]
mov eax, dword [eax]
call fcn.005202c8
mov byte [ebx + 0x196], 1
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov byte [eax + 0x331], 1
xor edx, edx
push ebp
push 0x55e4a0
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, ebx
call fcn.00560628
mov eax, dword [0x586a98]
mov eax, dword [eax]
cmp dword [eax + 0x180], 0
jle 0x55e154
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050f20c
mov edx, dword [0x586a98]
mov edx, dword [edx]
mov edx, dword [edx + 0x180]
add edx, 0x30d40
cmp eax, edx
jle 0x55e154
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050f20c
mov edx, dword [0x586a98]
mov edx, dword [edx]
sub eax, dword [edx + 0x180]
mov ecx, 0x186a0
cdq
idiv ecx
imul eax, eax, 0x186a0
mov edx, dword [0x5865d0]
mov edx, dword [edx]
xor ecx, ecx
xchg edx, eax
call fcn.0050f4a0
push 0x32
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.00511c74
sub al, 2
je 0x55e16e
dec al
je 0x55e176
dec al
je 0x55e17e
jmp 0x55e186
mov word [ebp - 0x16], 0x29
jmp 0x55e18c
mov word [ebp - 0x16], 0x2a
jmp 0x55e18c
mov word [ebp - 0x16], 0x684
jmp 0x55e18c
mov word [ebp - 0x16], 0
cmp dword [ebx + 0xa0], 0
jle 0x55e1dc
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050de20
mov ecx, eax
mov eax, dword [ebx + 0xa0]
mov esi, 3
cdq
idiv esi
cmp ecx, eax
jge 0x55e1dc
push 0
lea ecx, [ebp - 0x50]
mov eax, dword [0x586a98]
mov eax, dword [eax]
movzx edx, word [eax + 0x394]
mov eax, dword [0x586a98]
mov eax, dword [eax]
call fcn.00514988
test al, al
je 0x55e1dc
mov byte [ebp - 9], 1
cmp dword [ebx + 0xa8], 0
jle 0x55e22c
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050ce90
mov ecx, eax
mov eax, dword [ebx + 0xa8]
mov esi, 3
cdq
idiv esi
cmp ecx, eax
jge 0x55e22c
push 0
lea ecx, [ebp - 0x50]
mov eax, dword [0x586a98]
mov eax, dword [eax]
movzx edx, word [eax + 0x388]
mov eax, dword [0x586a98]
mov eax, dword [eax]
call fcn.00514988
test al, al
je 0x55e22c
mov byte [ebp - 9], 1
cmp dword [ebx + 0x7c], 0
jle 0x55e26f
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050e000
mov ecx, eax
mov eax, dword [ebx + 0x7c]
mov esi, 3
cdq
idiv esi
cmp ecx, eax
jge 0x55e26f
push 0
lea ecx, [ebp - 0x50]
movzx edx, word [ebx + 0x90]
mov eax, dword [0x586a98]
mov eax, dword [eax]
call fcn.00514988
test al, al
je 0x55e26f
mov byte [ebp - 9], 1
cmp dword [ebx + 0x84], 0
jle 0x55e2b5
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050cdc0
mov ecx, eax
mov eax, dword [ebx + 0x84]
mov esi, 3
cdq
idiv esi
cmp ecx, eax
jge 0x55e2b5
push 0
lea ecx, [ebp - 0x50]
mov eax, dword [0x586a98]
mov eax, dword [eax]
movzx edx, word [ebp - 0x16]
call fcn.00514988
test al, al
je 0x55e2b5
mov byte [ebp - 9], 1
cmp byte [ebp - 9], 0
jne 0x55e2c5
call fcn.00404b40
jmp 0x55e4a7
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0xa0], 0
jle 0x55e2f0
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050de20
mov esi, dword [ebx + 0xa0]
sub esi, eax
cmp dword [ebx + 0xa8], 0
jle 0x55e310
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050ce90
mov edx, dword [ebx + 0xa8]
sub edx, eax
mov dword [ebp - 0x10], edx
cmp dword [ebx + 0x7c], 0
jle 0x55e327
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050e000
mov edi, dword [ebx + 0x7c]
sub edi, eax
cmp dword [ebx + 0x84], 0
jle 0x55e347
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050cdc0
mov edx, dword [ebx + 0x84]
sub edx, eax
mov dword [ebp - 0x14], edx
test esi, esi
jg 0x55e365
cmp dword [ebp - 0x10], 0
jg 0x55e365
test edi, edi
jg 0x55e365
cmp dword [ebp - 0x14], 0
jg 0x55e365
call fcn.00404b40
jmp 0x55e4a7
test esi, esi
jle 0x55e3ae
push 2
lea ecx, [ebp - 0x50]
mov eax, dword [0x586a98]
mov eax, dword [eax]
movzx edx, word [eax + 0x394]
mov eax, dword [0x586a98]
mov eax, dword [eax]
call fcn.00514988
test al, al
je 0x55e3ae
mov eax, dword [ebp - 0x48]
cmp esi, eax
jle 0x55e395
mov esi, eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov ecx, esi
movzx edx, word [ebp - 0x4c]
call fcn.00511044
push 0x32
call sub.kernel32.dll_Sleep_2
cmp dword [ebp - 0x10], 0
jle 0x55e3fd
push 2
lea ecx, [ebp - 0x50]
mov eax, dword [0x586a98]
mov eax, dword [eax]
movzx edx, word [eax + 0x388]
mov eax, dword [0x586a98]
mov eax, dword [eax]
call fcn.00514988
test al, al
je 0x55e3fd
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x10]
jge 0x55e3e2
mov dword [ebp - 0x10], eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
movzx ecx, word [ebp - 0x10]
movzx edx, word [ebp - 0x4c]
call fcn.00511044
push 0x32
call sub.kernel32.dll_Sleep_2
test edi, edi
jle 0x55e43f
push 2
lea ecx, [ebp - 0x50]
movzx edx, word [ebx + 0x90]
mov eax, dword [0x586a98]
mov eax, dword [eax]
call fcn.00514988
test al, al
je 0x55e43f
mov eax, dword [ebp - 0x48]
cmp edi, eax
jle 0x55e426
mov edi, eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov ecx, edi
movzx edx, word [ebp - 0x4c]
call fcn.00511044
push 0x32
call sub.kernel32.dll_Sleep_2
cmp dword [ebp - 0x14], 0
jle 0x55e484
push 2
lea ecx, [ebp - 0x50]
mov eax, dword [0x586a98]
mov eax, dword [eax]
movzx edx, word [ebp - 0x16]
call fcn.00514988
test al, al
je 0x55e484
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x14]
jge 0x55e469
mov dword [ebp - 0x14], eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
movzx ecx, word [ebp - 0x14]
movzx edx, word [ebp - 0x4c]
call fcn.00511044
push 0x32
call sub.kernel32.dll_Sleep_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e4a7
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov byte [eax + 0x331], 1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e4d6
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.004051cc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004051cc
ret