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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc34
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x3cc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x3c0], edx
mov dword [ebp - 0x3c4], edx
mov dword [ebp - 0x3c8], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5f3abd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5f3a5d
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov eax, dword [0x6c0e68]
mov edx, esi
sub edx, dword [eax]
mov eax, dword [0x6c0384]
mov dword [eax], edx
mov eax, dword [0x6c0e68]
mov dword [eax], esi
mov eax, dword [0x6c0308]
mov eax, dword [eax]
mov edx, dword [0x6c0384]
cmp eax, dword [edx]
jge 0x5f365d
mov eax, dword [0x6c0384]
mov eax, dword [eax]
mov edx, dword [0x6c0308]
mov dword [edx], eax
mov eax, ebx
call fcn.005ecfa0
mov eax, dword [select]
cmp byte [eax + 0x1a98], 0
je 0x5f36ed
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ImageList_SetImageCount]
sub eax, dword [edx]
mov edx, dword [select]
cmp eax, dword [edx + 0x1aa0]
jbe 0x5f36ed
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ImageList_SetImageCount]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.005ec1f8
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
mov eax, dword [select]
fild dword [eax + 0x1a9c]
fdiv dword [0x5f3acc]
fmulp st(1)
call fcn.00403560
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.0040a954
mov ecx, dword [ebp - 0x10]
mov eax, dword [0x6c1328]
mov eax, dword [eax]
mov edx, 0x5f3ad8
call fcn.00447d14
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005f3138
mov eax, ebx
call fcn.005edef4
mov eax, ebx
call fcn.005edbb4
mov eax, ebx
call fcn.005ee724
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x38]
cmp eax, 0x3e8
jbe 0x5f37cc
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x38], eax
mov eax, ebx
call fcn.005edee8
mov eax, ebx
call fcn.005f25a8
mov eax, ebx
call fcn.005f2148
call fcn.0040d634
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0xa]
lea edx, [ebp - 8]
lea eax, [ebp - 6]
call fcn.0040d2ac
cmp word [ebp - 6], 0
mov eax, dword [0x6c0bfc]
sete byte [eax]
mov eax, ebx
call fcn.005f2240
mov eax, ebx
call fcn.005ee928
call fcn.0040d634
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [reloc.user32.dll_ScrollWindowEx]
mov edx, dword [0x6c0684]
mov eax, dword [0x6c0dd8]
call fcn.0040d58c
call fcn.0040d634
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [0x6c0620]
push eax
mov ecx, dword [0x6c133c]
mov edx, dword [0x6c04ac]
mov eax, dword [0x6c0fbc]
call fcn.0040d2ac
mov eax, dword [0x6c0e58]
cmp byte [eax], 0
je 0x5f37cc
mov eax, dword [0x6c0e58]
mov byte [eax], 0
call fcn.004a2344
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x34]
cmp eax, 0x1f4
jbe 0x5f37ea
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x34], eax
mov eax, ebx
call fcn.005f2038
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
mov edx, dword [send]
mov dword [edx], eax
mov eax, dword [0x6c03a0]
mov eax, dword [eax]
mov edx, dword [send]
cmp eax, dword [edx]
jge 0x5f3819
mov eax, dword [send]
mov eax, dword [eax]
mov edx, dword [0x6c03a0]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [select]
cmp eax, dword [edx + 0x1b68]
jbe 0x5f3a53
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [select]
add eax, dword [edx + 0x1b64]
mov edx, dword [select]
mov dword [edx + 0x1b68], eax
mov eax, dword [select]
cmp dword [eax + 0x1b60], 3
jl 0x5f3a53
mov eax, ebx
call fcn.005f32f0
mov esi, eax
test esi, esi
je 0x5f3a53
push 0
push 0
push 0
push 0
mov edx, dword [select]
add edx, 0x1afa
lea eax, [ebp - 0x34]
call fcn.004039c4
mov edx, 0x5f3adc
lea eax, [ebp - 0x34]
mov cl, 0x11
call fcn.00403994
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x68]
call fcn.004039c4
mov edx, dword [select]
add edx, 0x1b0b
lea eax, [ebp - 0x68]
mov cl, 0x31
call fcn.00403994
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x9c]
call fcn.004039c4
mov edx, 0x5f3adc
lea eax, [ebp - 0x9c]
mov cl, 0x32
call fcn.00403994
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0x104]
call fcn.004039c4
mov edx, dword [select]
add edx, 0x1b2c
lea eax, [ebp - 0x104]
mov cl, 0x64
call fcn.00403994
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x16c]
call fcn.004039c4
mov edx, 0x5f3adc
lea eax, [ebp - 0x16c]
mov cl, 0x65
call fcn.00403994
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x1f4]
call fcn.004039c4
mov edx, dword [select]
add edx, 0x1ac0
lea eax, [ebp - 0x1f4]
mov cl, 0x85
call fcn.00403994
lea edx, [ebp - 0x1f4]
lea eax, [ebp - 0x27c]
call fcn.004039c4
mov edx, 0x5f3adc
lea eax, [ebp - 0x27c]
mov cl, 0x86
call fcn.00403994
lea edx, [ebp - 0x27c]
lea eax, [ebp - 0x31c]
call fcn.004039c4
mov edx, dword [select]
add edx, 0x1ae1
lea eax, [ebp - 0x31c]
mov cl, 0x9e
call fcn.00403994
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x3bc]
call fcn.004039c4
mov edx, 0x5f3adc
lea eax, [ebp - 0x3bc]
mov cl, 0x9f
call fcn.00403994
lea edx, [ebp - 0x3bc]
lea eax, [ebp - 0x20]
call fcn.004055f8
push dword [ebp - 0x20]
lea edx, [ebp - 0x3c0]
mov eax, dword [select]
mov eax, dword [eax + 0x120]
call fcn.0040a784
push dword [ebp - 0x3c0]
push 0x5f3ae8
mov eax, ebx
call fcn.005ec1f8
lea edx, [ebp - 0x3c4]
call fcn.0040a784
push dword [ebp - 0x3c4]
push 0x5f3ae8
mov eax, ebx
call fcn.005ec1d0
lea edx, [ebp - 0x3c8]
call fcn.0040a784
push dword [ebp - 0x3c8]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00405728
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00499a00
mov eax, dword [ebp - 0x18]
push eax
mov cx, 0x14ca
mov edx, esi
mov eax, esi
call fcn.00662ab4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f3a82
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f3ac4
lea eax, [ebp - 0x3cc]
mov edx, 4
call fcn.004053b8
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004053b8
lea eax, [ebp - 0x10]
call fcn.00405394
lea eax, [ebp - 4]
call fcn.00405394
ret