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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11181f70
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x111ec774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
xor edi, edi
push edi
push edi
push 0x111a0670
push 0x111a0f40
call fcn.1105e820
test eax, eax
jne 0x11058846
mov ecx, dword [0x111ee594]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
mov eax, ecx
inc ecx
sub eax, edx
mov dword [0x111ee594], ecx
jne 0x11058846
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x1c], eax
call fcn.1115b5d0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], edi
call fcn.1115b220
push eax
lea ecx, [ebp - 0x2c]
call fcn.11058470
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 1
call fcn.11069100
push eax
push 0x400
lea ecx, [ebp - 0x60]
call fcn.110aff30
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0xb8
call eax
movzx ecx, word [ebp - 0x24]
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x60]
call edx
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebx]
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x11058773
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x341]
test al, al
je 0x110586e2
mov ecx, dword [esi + 0x28]
cmp dword [ecx + 0x28], 0
je 0x110586e2
lea ecx, [ebp - 0x60]
call fcn.11081130
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x18], 0xb8
call edx
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edx + 0xc]
mov edi, 1
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x18], edi
call eax
jmp 0x110586ea
test edi, edi
jne 0x110586ea
test al, al
jne 0x11058760
mov ecx, dword [esi + 0x28]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x40]
push ecx
lea ecx, [ebp - 0x60]
call eax
mov ecx, dword [esi + 0x28]
movzx edx, byte [ecx + 0x24]
mov byte [ebp - 0xd], dl
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0xd]
push eax
mov eax, dword [edx + 0x14]
lea ecx, [ebp - 0x60]
call eax
mov ecx, dword [esi + 0x28]
movzx edx, byte [ecx + 0x28]
mov byte [ebp - 0xe], dl
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0xe]
push eax
mov eax, dword [edx + 0x14]
lea ecx, [ebp - 0x60]
call eax
mov ecx, dword [esi + 0x28]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x40]
add ecx, 0x34
push ecx
lea ecx, [ebp - 0x60]
call eax
mov ecx, dword [esi + 0x28]
cmp dword [ecx + 0x2c], 1
lea eax, [ebp - 0xf]
setne dl
mov byte [ebp - 0xf], dl
mov edx, dword [ebp - 0x60]
push eax
mov eax, dword [edx + 0x14]
lea ecx, [ebp - 0x60]
call eax
test edi, edi
jne 0x11058773
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
call fcn.110dcc80
mov esi, dword [ebp - 0x14]
cmp esi, ebx
jne 0x11058695
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x64
jb 0x1105878f
push eax
push 0x111a0650
call fcn.11147060
add esp, 8
test edi, edi
jne 0x1105879f
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x341], 0
jne 0x11058808
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0xa4]
lea ecx, [ebp - 0x60]
call eax
test al, al
jne 0x110587c8
push 0x13a
push 0x11199044
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0xa4]
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x60]
call eax
test al, al
jne 0x110587f4
push 0x135
push 0x11199044
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
mov edx, dword [edx + 0x44]
push 0
push esi
push eax
call edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.110b0660
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.11057d70
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.11162777
add esp, 4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.1115b190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret