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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x455b0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x477308], 0
mov eax, dword [0x476f14]
call fcn.0044f868
mov edx, dword [0x458f34]
mov byte [edx], al
cmp byte [0x477369], 0
je 0x45577e
mov eax, dword [ebx + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0xb8]
test al, al
je 0x45577e
mov edx, dword [0x477364]
mov eax, dword [0x476f14]
call fcn.0044f95c
test al, al
je 0x45577e
mov edx, dword [0x477364]
mov eax, ebx
call fcn.004564dc
jmp 0x455af4
mov dl, 1
mov eax, dword [ebx + 0x2c8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x458f48]
cmp byte [eax], 0
je 0x45589c
mov eax, dword [0x458f48]
mov byte [eax], 0
call sub.kernel32.dll_GetTickCount
sub ax, word [0x477a9c]
mov word [0x477a9c], ax
mov eax, dword [0x458c34]
imul eax, dword [eax], 0x3e8
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fdiv dword [0x455b1c]
call fcn.004028c0
mov ebx, eax
movzx eax, word [0x477a9e]
imul ebx, eax
movzx eax, word [0x477a9c]
sub ebx, eax
add ebx, dword [0x477a98]
mov eax, dword [0x458d00]
mov eax, dword [eax]
sub eax, 0xa
mov edx, dword [0x458c34]
imul dword [edx]
movzx edx, word [0x477a9e]
inc edx
imul edx
imul eax, eax, 0x64
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fdiv dword [0x455b1c]
call fcn.004028c0
add ebx, eax
mov edx, ebx
mov eax, dword [0x458e24]
mov eax, dword [eax]
mov eax, dword [eax + 0x2e8]
call fcn.0044c7e0
mov eax, dword [0x458e24]
mov eax, dword [eax]
mov eax, dword [eax + 0x2e8]
cmp dword [eax + 0x30], 0
ja 0x45586c
mov edx, dword [0x458e24]
mov edx, 1
call fcn.0044c7e0
mov eax, dword [0x458e24]
mov eax, dword [eax]
mov eax, dword [eax + 0x2dc]
mov edx, 0xff
call fcn.00427610
jmp 0x455883
mov eax, dword [0x458e24]
mov eax, dword [eax]
mov eax, dword [eax + 0x2dc]
mov edx, 0xff0000
call fcn.00427610
mov eax, dword [0x458e24]
mov eax, dword [eax]
mov eax, dword [eax + 0x2e8]
mov dl, 1
call fcn.0044c7a0
jmp 0x455af4
cmp byte [0x47732c], 0
je 0x4558b6
mov dl, 1
mov eax, dword [0x476f18]
call fcn.0044c7a0
jmp 0x455af4
cmp byte [0x458bcc], 0
jne 0x455af4
mov al, byte [0x4772e7]
dec al
je 0x4558d8
dec eax
sub al, 2
jb 0x4558e4
je 0x455930
jmp 0x455af4
mov eax, ebx
call fcn.00452a0c
jmp 0x455af4
cmp dword [0x458bd0], 0
jle 0x4558fe
mov dl, 1
mov eax, dword [0x476f18]
call fcn.0044c7a0
jmp 0x455af4
mov byte [ebx + 0x20d], 1
xor edx, edx
mov eax, dword [0x476f18]
call fcn.0044c7a0
cmp byte [0x4772e7], 3
jne 0x455af4
mov dl, 1
mov eax, dword [ebx + 0x38c]
call fcn.00446778
jmp 0x455af4
call sub.kernel32.dll_GetTickCount
sub ax, word [0x477a9c]
mov word [0x477a9c], ax
mov eax, dword [0x476f18]
mov edx, dword [eax + 0x30]
movzx eax, word [0x477a9c]
sub edx, eax
add edx, dword [0x477a98]
mov eax, dword [0x476f18]
call fcn.0044c7e0
mov eax, dword [0x458c34]
imul eax, dword [eax], 0x3e8
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fdiv dword [0x455b1c]
call fcn.004028c0
mov esi, eax
movzx eax, word [0x477a9e]
imul esi, eax
movzx eax, word [0x477a9c]
sub esi, eax
add esi, dword [0x477a98]
mov eax, dword [0x458d00]
mov eax, dword [eax]
sub eax, 0xa
mov edx, dword [0x458c34]
imul dword [edx]
movzx edx, word [0x477a9e]
inc edx
imul edx
imul eax, eax, 0x64
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fdiv dword [0x455b1c]
call fcn.004028c0
add esi, eax
mov edx, esi
mov eax, dword [0x476f18]
call fcn.0044c7e0
mov eax, dword [0x476f18]
cmp dword [eax + 0x30], 0
ja 0x455a04
mov edx, 1
mov eax, dword [0x476f18]
call fcn.0044c7e0
mov edx, 0xff
mov eax, dword [ebx + 0x324]
call fcn.00427610
jmp 0x455a14
mov edx, 0xff0000
mov eax, dword [ebx + 0x324]
call fcn.00427610
mov dl, 1
mov eax, dword [0x476f18]
call fcn.0044c7a0
call sub.kernel32.dll_GetTickCount
mov ebx, eax
cmp dword [0x477314], 0
jle 0x455af4
mov eax, dword [0x477314]
cmp eax, dword [0x477310]
jge 0x455af4
imul eax, dword [0x477314], 0x3e8
imul eax, eax, 0x3c
mov dword [ebp - 4], eax
fild dword [ebp - 4]
sub ebx, dword [0x477aa8]
sub ebx, dword [0x477ab4]
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp - 0xc], eax
fild qword [ebp - 0x10]
fdivp st(1)
call fcn.004028b4
mov dword [0x477aac], eax
cmp dword [0x477318], 0
jne 0x455af4
lea edx, [ebp - 0x14]
mov eax, dword [0x477aac]
call fcn.00407da0
mov eax, dword [ebp - 0x14]
call fcn.00403b7c
cmp eax, 3
jge 0x455aca
lea edx, [ebp - 0x18]
mov eax, dword [0x477aac]
call fcn.00407da0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x455b28
call fcn.00403bc8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x477aa4]
call fcn.004274b4
jmp 0x455af4
lea edx, [ebp - 0x18]
mov eax, dword [0x477aac]
call fcn.00407da0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x455b40
call fcn.00403bc8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x477aa4]
call fcn.004274b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455b16
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00403924
ret