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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b7637
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x204], 0xb
je 0x5b7395
mov eax, dword [ebp - 4]
cmp dword [eax + 0x204], 9
je 0x5b7395
mov eax, dword [ebp - 4]
cmp dword [eax + 0x204], 0xd
je 0x5b7395
mov eax, dword [ebp - 4]
cmp dword [eax + 0x204], 0x1392
jne 0x5b73a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b764b
mov eax, dword [ebp - 4]
mov byte [eax + 0x2a8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
cmp dword [eax + 8], 2
jl 0x5b73c5
mov eax, dword [ebp - 4]
mov byte [eax + 0x2a8], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x27c]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x274]
mov eax, dword [ebp - 4]
mov si, 0xfff8
call fcn.00404650
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x27c]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x274]
mov eax, dword [ebp - 4]
mov si, 0xfff7
call fcn.00404650
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x204], 0
je 0x5b7599
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x274]
jl 0x5b7445
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x278]
jle 0x5b7457
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
mov edx, dword [ebp - 4]
mov dword [edx + 0x27c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2a8], 0
je 0x5b7489
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x294]
add eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x5b7654]
call fcn.00403634
mov dword [ebp - 0xc], eax
jmp 0x5b7495
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x294]
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x298]
cmp eax, dword [ebp - 0xc]
jbe 0x5b757e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x278]
jge 0x5b74d9
mov eax, dword [ebp - 4]
inc dword [eax + 0x27c]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x298], eax
jmp 0x5b74ee
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x204], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x192], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x204], 0x16
jne 0x5b757e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x274]
cmp eax, 4
jne 0x5b757e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x164]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
push eax
push 0xb
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov eax, dword [0x6e3aac]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.005afcd4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5b757e
mov eax, dword [0x6e4928]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x78], 0x1e
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xd0], 0x110
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2b0], edx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2b4], eax
jmp 0x5b7605
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x2c0]
cmp eax, 0xc8
jbe 0x5b7605
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x2b4]
cmp eax, 0x1f4
jbe 0x5b75f9
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2b4], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x2b0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b0]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x2b8]
jl 0x5b75f9
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2b0], edx
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404650
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
cmp eax, dword [ebp - 8]
je 0x5b762d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c8], eax
mov eax, dword [ebp - 4]
mov si, 0xfff3
call fcn.00404650
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b764b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret