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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004042a4
xor eax, eax
push ebp
push 0x57e5b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 1
mov byte [ebp - 0x19], 0
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0xb], 0
mov eax, dword [ebp - 4]
mov byte [eax], 1
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x949da4], eax
mov eax, 0x949db0
call fcn.00403e74
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x18], 1
call fcn.0073b630
test al, al
je 0x57e469
call fcn.0073b560
mov word [ebp - 0x16], ax
cmp word [ebp - 0x16], 0
jge 0x57e244
mov byte [ebp - 0x18], 0
jmp 0x57e24a
mov al, byte [ebp - 0x16]
mov byte [ebp - 0x17], al
cmp byte [ebp - 0x18], 0
je 0x57e469
mov eax, dword [0x949da8]
mov edx, 0x57e5cc
call fcn.00404200
jne 0x57e3c8
lea eax, [ebp - 0x5c]
mov dl, byte [ebp - 0x17]
call fcn.00404018
mov edx, dword [ebp - 0x5c]
mov eax, 0x949db0
call fcn.004040f8
mov eax, dword [0x949db0]
call fcn.004040f0
cmp eax, 5
jle 0x57e2fd
cmp byte [ebp - 0x19], 0
jne 0x57e2fd
mov eax, dword [0x949db0]
cmp byte [eax], 0x8b
jne 0x57e2fd
mov eax, dword [0x949db0]
mov al, byte [eax + 2]
cmp al, byte [ebp + 8]
jne 0x57e2fd
mov eax, dword [0x949db0]
cmp byte [eax + 3], 1
jne 0x57e2fd
mov eax, dword [0x949db0]
cmp byte [eax + 4], 0
jne 0x57e2fd
mov byte [ebp - 0x19], 1
mov eax, dword [0x949db0]
movzx eax, byte [eax + 5]
mov dword [ebp - 0x20], eax
cmp byte [ebp + 8], 0x54
jne 0x57e2ea
mov eax, dword [ebp - 0x20]
add eax, eax
lea eax, [eax + eax*8]
add eax, 6
add eax, 4
mov dword [ebp - 0x24], eax
cmp byte [ebp + 8], 0x57
jne 0x57e2fd
imul eax, dword [ebp - 0x20], 0x16
add eax, 6
add eax, 4
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x19], 0
je 0x57e318
mov eax, dword [0x949db0]
call fcn.004040f0
cmp eax, dword [ebp - 0x24]
jne 0x57e318
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov edx, dword [0x949db0]
mov eax, 0x57e5d8
call fcn.004043d8
test eax, eax
jle 0x57e33b
mov eax, dword [0x949db0]
call fcn.004040f0
cmp eax, 0xd
je 0x57e366
mov edx, dword [0x949db0]
mov eax, 0x57e5e8
call fcn.004043d8
test eax, eax
jle 0x57e469
mov eax, dword [0x949db0]
call fcn.004040f0
cmp eax, 0xb
jne 0x57e469
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x10]
mov edx, dword [0x949db0]
call fcn.00403f0c
mov eax, 0x949db0
call fcn.00403e74
lea eax, [ebp - 0x14]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004042f4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x949da8]
call fcn.00404200
jne 0x57e469
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, 0x949db0
mov edx, dword [ebp - 0x10]
call fcn.00403ec8
jmp 0x57e469
mov al, byte [ebp - 0x17]
sub al, 0xa
je 0x57e3eb
sub al, 3
je 0x57e3eb
lea eax, [ebp - 0x5c]
mov dl, byte [ebp - 0x17]
call fcn.00404018
mov edx, dword [ebp - 0x5c]
mov eax, 0x949db0
call fcn.004040f8
cmp byte [ebp - 0x17], 0xa
jne 0x57e469
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x10]
mov edx, dword [0x949db0]
call fcn.00403f0c
mov eax, 0x949db0
call fcn.00403e74
lea eax, [ebp - 0x14]
push eax
mov ecx, 6
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004042f4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x949da8]
call fcn.00404200
jne 0x57e446
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, 0x949db0
mov edx, dword [ebp - 0x10]
call fcn.00403ec8
mov eax, dword [ebp - 0x14]
mov edx, dword [0x949dac]
call fcn.00404200
jne 0x57e469
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, 0x949db0
mov edx, dword [ebp - 0x10]
call fcn.00403ec8
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [0x949da4]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [0x80f168]
jle 0x57e485
mov byte [ebp - 0xb], 1
mov eax, dword [0x8417e4]
mov eax, dword [eax]
call fcn.0042d188
cmp byte [0x949da0], 0
je 0x57e4df
lea edx, [ebp - 8]
mov eax, dword [0x84100c]
call fcn.00405e74
push 0x40
lea edx, [ebp - 0x5c]
mov eax, dword [0x840618]
call fcn.00405e74
mov eax, dword [ebp - 0x5c]
call fcn.004042b4
push eax
mov eax, dword [ebp - 8]
call fcn.004042b4
mov edx, eax
mov eax, dword [0x8417e4]
mov eax, dword [eax]
pop ecx
call fcn.0042d500
mov byte [ebp - 0xa], 0
jmp 0x57e588
mov eax, dword [ebp - 4]
mov al, byte [eax]
xor al, 1
or al, byte [ebp - 0xb]
je 0x57e21d
cmp byte [ebp - 0xb], 0
je 0x57e588
lea edx, [ebp - 0x5c]
mov eax, dword [0x841654]
call fcn.00405e74
push dword [ebp - 0x5c]
push 0x57e5f4
push dword [ebp - 8]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004041b0
cmp byte [ebp - 9], 0
je 0x57e555
push 0x40
lea edx, [ebp - 0x5c]
mov eax, dword [0x840ca0]
call fcn.00405e74
mov eax, dword [ebp - 0x5c]
call fcn.004042b4
push eax
mov eax, dword [ebp - 8]
call fcn.004042b4
mov edx, eax
mov eax, dword [0x8417e4]
mov eax, dword [eax]
pop ecx
call fcn.0042d500
jmp 0x57e584
push 0x40
lea edx, [ebp - 0x5c]
mov eax, dword [0x840ca0]
call fcn.00405e74
mov eax, dword [ebp - 0x5c]
call fcn.004042b4
push eax
mov eax, dword [ebp - 8]
call fcn.004042b4
mov edx, eax
mov eax, dword [0x8417e4]
mov eax, dword [eax]
pop ecx
call fcn.0042d500
mov byte [ebp - 0xa], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e5ba
lea eax, [ebp - 0x5c]
call fcn.00403e74
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403e98
lea eax, [ebp - 8]
call fcn.00403e74
ret