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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, ecx
call ebx
mov ecx, dword [esi + 0x58]
cmp eax, ecx
mov dword [esi + 0x5c], eax
jl 0x5f0950
mov edx, dword [esi + 0x50]
push edi
lea edi, [edx + ecx]
cmp eax, edi
jl 0x5f0971
add edx, ecx
add edx, dword [esi + 0x54]
lea ecx, [esi + 4]
cmp eax, edx
jge 0x5f0958
mov edi, dword [esi + 0x60]
push ebp
call fcn.0059ca80
mov ecx, eax
lea eax, [edi + 1]
cdq
idiv ecx
push edi
mov ecx, esi
mov ebx, edx
call fcn.005f0690
push ebx
mov ecx, esi
mov ebp, eax
call fcn.005f0690
mov dword [esp + 0x84], eax
test ebp, ebp
je 0x5f094e
test eax, eax
je 0x5f094e
mov edx, dword [esi + 0x5c]
sub edx, dword [esi + 0x50]
mov ebx, dword [esi + 0x48]
sub edx, dword [esi + 0x58]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov dword [esp + 0x10], ebx
fidiv dword [esi + 0x54]
fld1
fsub st(1), st(0)
fld st(1)
fmulp st(2)
fsubrp st(1)
call fcn.0072b330
fimul dword [esp + 0x10]
call fcn.0072a720
mov ecx, dword [esi + 0x3c]
mov edi, eax
mov eax, dword [esi + 0x38]
lea edx, [eax + ebx]
mov ebx, dword [esi + 0x44]
mov dword [esp + 0x34], eax
mov eax, edx
sub eax, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
push eax
push 0x18
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], ebx
mov ebx, dword [sym.imp.GDI32.dll_GetObjectW]
push ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
call ebx
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
add ecx, edi
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x88]
push 0x18
push edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], eax
call ebx
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x88]
push 0
push 0
push 0
push 0
push 0xff
push 1
lea edx, [esp + 0x2c]
mov dword [esp + 0x5c], eax
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], edi
push esi
lea ecx, [esp + 0x58]
mov edi, dword [esp + 0xa4]
push ecx
push ebp
push edi
call fcn.005c4ee0
push 0
push 0
push 0
push 0
push 0xff
push 1
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0xd0]
lea eax, [esp + 0x90]
push eax
push esi
lea ecx, [esp + 0xa8]
push ecx
push edx
push edi
call fcn.005c4ee0
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x6c
ret 0xc
inc dword [esi + 0x60]
call fcn.0059ca80
xor edi, edi
cmp dword [esi + 0x60], eax
jl 0x5f096a
mov dword [esi + 0x60], edi
call ebx
mov dword [esi + 0x58], eax
jmp 0x5f0973
xor edi, edi
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x60]
push eax
mov ecx, esi
mov dword [esp + 0x64], edi
call fcn.005f0690
mov esi, eax
cmp esi, edi
je 0x5f094f
lea ecx, [esp + 0x60]
push ecx
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x5f094f
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push edi
push edi
push edi
push edi
push 0xff
push 1
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa4]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x80], edi
call fcn.005c4ee0
add esp, 0x30
pop edi
pop esi
pop ebx
add esp, 0x6c
ret 0xc