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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x5f1f39
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
call fcn.00405854
mov eax, dword [ebp + 0x1c]
call fcn.00405854
mov eax, dword [ebp + 0x18]
call fcn.00405854
xor eax, eax
push ebp
push 0x5f25ae
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5f2520
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [0x4d3a94]
call fcn.00404604
mov dword [ebp - 0x44], eax
movzx eax, word [ebp + 0x14]
mov dword [ebp - 8], eax
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 0x20]
call fcn.0040546c
mov byte [ebp - 0x2d], 0
cmp dword [ebp - 0x24], 0
je 0x5f24e4
push 0
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 0x5c], 0x5c
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.004b4424
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x24]
call fcn.0040546c
cmp dword [ebp - 0x28], 0
je 0x5f24db
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x2c]
call fcn.004053d4
jmp 0x5f248f
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0x3c
je 0x5f202a
push 0
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 0x5c], 0x3c
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
call fcn.004b4424
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x28]
mov edx, 0x5f25c8
call fcn.004056ec
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x5f25d4
mov edx, 0x5f25c8
mov eax, dword [ebp - 0x28]
call fcn.004b4950
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x28]
call fcn.0040546c
cmp dword [ebp - 0x1c], 0
je 0x5f20b5
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
call fcn.00409df4
mov eax, dword [ebp - 0x68]
mov edx, 0x5f25e0
call fcn.004057fc
jne 0x5f2078
mov byte [ebp - 0x2d], 1
jmp 0x5f248f
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
call fcn.00409df4
mov eax, dword [ebp - 0x6c]
mov edx, 0x5f25ec
call fcn.004057fc
jne 0x5f209b
mov byte [ebp - 0x2d], 0
jmp 0x5f248f
push 0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x5c], 0x2f
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
call fcn.004b4424
jmp 0x5f20d5
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x450]
xor edx, edx
call fcn.004d7d0c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x464]
xor edx, edx
call fcn.004d7d0c
cmp dword [ebp - 0x2c], 0
je 0x5f20f2
push ebp
push 0
lea eax, [ebp - 0x70]
push eax
xor ecx, ecx
mov edx, 0xffffff
mov eax, dword [ebp - 0x2c]
call fcn.005f1480
pop ecx
cmp dword [ebp - 0x1c], 0
je 0x5f248f
mov byte [ebp - 0x35], 0
mov ecx, 6
mov edx, 0x5f25f8
mov eax, dword [ebp - 0x20]
call fcn.004b4b84
test al, al
je 0x5f2153
mov byte [ebp - 0x35], 1
push 0
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 0x5c], 0x3d
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.004b4424
mov edx, 0xff
mov eax, dword [ebp - 0x3c]
call fcn.004b42e0
call fcn.0055ba98
mov edx, eax
mov eax, dword [ebp - 0x44]
call fcn.0045c7e8
jmp 0x5f2210
mov ecx, 9
mov edx, 0x5f2608
mov eax, dword [ebp - 0x20]
call fcn.004b4b84
test al, al
je 0x5f2210
mov byte [ebp - 0x35], 1
push 0
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 0x5c], 0x3d
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.004b4424
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x124c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x124c]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.00405864
mov ecx, eax
mov edx, 0x5f2614
mov eax, 0x5f2634
call fcn.0041ef70
test eax, eax
jle 0x5f21f4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x124c]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x1250]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x124c]
mov edx, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, 0xff
mov eax, dword [ebp - 0x3c]
call fcn.004b42e0
call fcn.0055ba98
mov edx, eax
mov eax, dword [ebp - 0x44]
call fcn.0045c7e8
cmp byte [ebp - 0x35], 0
je 0x5f22e1
mov eax, dword [0x6e3c88]
cmp byte [eax + 0x50], 0
je 0x5f2272
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x70]
push eax
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0x1c]
call fcn.00405d60
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x44]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x44]
call fcn.004d5c9c
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x40]
add edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x44]
call fcn.004d5c54
mov edx, eax
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
pop ecx
call fcn.00496070
jmp 0x5f22bd
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x1c]
call fcn.00405d60
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x70]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x44]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x44]
call fcn.004d5c9c
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x40]
add edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x44]
call fcn.004d5c54
mov edx, eax
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
pop ecx
call fcn.00496454
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x1c]
call fcn.00405d60
mov edx, dword [ebp - 0x7c]
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
mov cl, 1
call fcn.00495f58
add dword [ebp - 0xc], eax
jmp 0x5f248f
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x5f2397
cmp dword [ebp - 0x20], 0
je 0x5f2397
mov edx, dword [0x5cad60]
mov eax, 0x14
call fcn.00406594
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
add eax, 0xe
push eax
lea eax, [ebp - 0x8c]
push eax
push ebp
push 1
lea eax, [ebp - 0x94]
push eax
xor ecx, ecx
mov edx, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.005f1480
pop ecx
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
call fcn.00405d60
mov edx, dword [ebp - 0x90]
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
mov cl, 1
call fcn.00495f58
mov ecx, eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00492a3c
mov eax, dword [ebp - 0x34]
lea esi, [ebp - 0x8c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov edx, dword [ebp - 0x20]
call fcn.00405428
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0xc]
call fcn.0041f1d4
cmp dword [ebp - 0x20], 0
jne 0x5f23bc
push ebp
push 0
lea eax, [ebp - 0x98]
push eax
xor ecx, ecx
mov edx, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.005f1480
pop ecx
jmp 0x5f248f
cmp dword [ebp + 0x1c], 0
jne 0x5f23f8
mov eax, dword [ebp - 0x14]
add eax, 0x1258
call fcn.004053d4
push ebp
push 0
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [0x6e3c88]
mov al, byte [eax + 0x54]
call fcn.0055ba98
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
call fcn.005f1480
pop ecx
jmp 0x5f248f
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x20]
call fcn.004057fc
jne 0x5f2438
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.004057fc
jne 0x5f2438
push ebp
push 0
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [0x6e3c88]
mov al, byte [eax + 0x56]
call fcn.0055ba98
mov edx, eax
mov cl, 1
mov eax, dword [ebp - 0x1c]
call fcn.005f1480
pop ecx
jmp 0x5f248f
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.004057fc
jne 0x5f246b
push ebp
push 0
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [0x6e3c88]
mov al, byte [eax + 0x55]
call fcn.0055ba98
mov edx, eax
mov cl, 1
mov eax, dword [ebp - 0x1c]
call fcn.005f1480
pop ecx
jmp 0x5f248f
push ebp
push 0
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [0x6e3c88]
mov al, byte [eax + 0x54]
call fcn.0055ba98
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
call fcn.005f1480
pop ecx
mov edx, dword [ebp - 0x28]
mov eax, 0x5f25c8
call fcn.004059b0
test eax, eax
jle 0x5f24bb
mov edx, dword [ebp - 0x28]
mov eax, 0x5f25d4
call fcn.004059b0
test eax, eax
jle 0x5f24bb
cmp dword [ebp - 0x28], 0
jne 0x5f1ffa
cmp dword [ebp - 0x28], 0
je 0x5f24db
push ebp
push 0
lea eax, [ebp - 0xac]
push eax
xor ecx, ecx
mov edx, 0xffffff
mov eax, dword [ebp - 0x28]
call fcn.005f1480
pop ecx
add dword [ebp - 0x10], 0xe
jmp 0x5f1fb1
mov eax, dword [ebp + 8]
mov byte [eax], 0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 0x1254]
cmp eax, 0x1f4
jbe 0x5f2516
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1254], eax
mov eax, dword [ebp - 0x14]
inc byte [eax + 0x1250]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f2534
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f25b5
lea eax, [ebp - 0xac]
mov edx, 7
call fcn.004053f8
lea eax, [ebp - 0x90]
call fcn.00405bdc
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00405bf4
lea eax, [ebp - 0x70]
mov edx, 5
call fcn.004053f8
lea eax, [ebp - 0x58]
call fcn.004053d4
lea eax, [ebp - 0x4c]
call fcn.004053d4
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004053f8
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.004053f8
lea eax, [ebp + 0x18]
mov edx, 3
call fcn.004053f8
ret