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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x548
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x1112a91e
mov eax, dword [esi + 0xc]
push 0x111a5f28
push eax
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1112a94d
lea ecx, [ebp - 0x538]
push ecx
push 0x400
lea edx, [ebp - 0x508]
push edx
call eax
test eax, eax
jne 0x1112a966
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
shr dword [ebp - 0x538], 2
push ebx
push edi
mov ecx, esi
call fcn.1112a880
mov eax, dword [ebp - 0x538]
imul eax, eax, 0x10c
push eax
mov dword [ebp - 0x544], eax
call fcn.11110230
mov dword [esi + 8], eax
mov byte [eax], 0
mov edi, dword [esi + 8]
mov dword [edi], 1
add edi, 0xc
add esp, 4
mov dword [ebp - 0x534], edi
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
cmp dword [ebp - 0x538], 0
mov dword [ebp - 0x540], 0
jbe 0x1112ab9b
jmp 0x1112a9d0
mov eax, dword [ebp - 0x540]
mov ecx, dword [ebp + eax*4 - 0x508]
push ecx
push 0
push 0x410
mov byte [ebp - 0x108], 0
call dword [sym.imp.KeRneL32.DLl_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x548], 0
test ebx, ebx
je 0x1112aa63
push 0x104
lea edx, [ebp - 0x108]
push edx
push ebx
lea ecx, [esi + 0xc]
call fcn.110262f0
test eax, eax
jne 0x1112aa21
mov byte [ebp - 0x108], al
cmp dword [esi + 0x28], 0
jne 0x1112aa39
mov eax, dword [esi + 0xc]
push 0x111b9eb8
push eax
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1112aaa6
push 0x28
lea ecx, [ebp - 0x530]
push ecx
push ebx
call eax
test eax, eax
je 0x1112aa5c
mov edx, dword [ebp - 0x524]
mov dword [ebp - 0x548], edx
push ebx
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
cmp byte [ebp - 0x108], 0
je 0x1112ab51
mov eax, edi
sub eax, dword [esi + 8]
mov dword [ebp - 0x53c], edi
cmp eax, dword [ebp - 0x544]
jae 0x1112ab9b
lea ecx, [ebp - 0x108]
push 0x5c
push ecx
call fcn.11081e00
mov edi, eax
add esp, 8
test edi, edi
jne 0x1112aab0
lea edi, [ebp - 0x108]
jmp 0x1112aab1
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
jmp 0x1112aa5c
inc edi
mov edx, dword [ebp - 0x540]
mov ebx, dword [ebp - 0x544]
mov eax, dword [ebp + edx*4 - 0x508]
mov edx, dword [esi + 8]
push ebx
push eax
lea ecx, [ebp - 0x534]
push ecx
push edx
mov ecx, esi
call fcn.1112a350
test eax, eax
je 0x1112ab6c
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1112aaf1
mov ecx, dword [esi + 8]
push ebx
sub eax, edx
push eax
lea eax, [ebp - 0x534]
push eax
push ecx
mov ecx, esi
call fcn.1112a350
test eax, eax
je 0x1112ab7f
mov eax, dword [esi + 8]
push ebx
push edi
lea edx, [ebp - 0x534]
push edx
push eax
mov ecx, esi
call fcn.1112a380
test eax, eax
je 0x1112ab6c
mov ecx, dword [ebp - 0x548]
mov eax, dword [esi + 8]
push ebx
push ecx
lea edx, [ebp - 0x534]
push edx
push eax
mov ecx, esi
call fcn.1112a350
mov edi, dword [ebp - 0x534]
test eax, eax
je 0x1112ab85
inc dword [esi + 4]
mov eax, dword [ebp - 0x540]
inc eax
mov dword [ebp - 0x540], eax
cmp eax, dword [ebp - 0x538]
jb 0x1112a9d0
jmp 0x1112ab9b
mov eax, dword [ebp - 0x53c]
mov edi, dword [ebp - 0x534]
mov ecx, eax
sub ecx, edi
push ecx
jmp 0x1112ab90
mov edi, dword [ebp - 0x534]
mov eax, dword [ebp - 0x53c]
mov edx, eax
sub edx, edi
push edx
push 0
push eax
call fcn.11162be0
add esp, 0xc
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
xor ebx, ebx
cmp dword [esi + 4], ebx
jle 0x1112abdb
jmp 0x1112abb0
mov eax, dword [ebp - 0x544]
mov edx, dword [esi + 8]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x534]
push ecx
push edx
mov ecx, esi
call fcn.1112a350
test eax, eax
je 0x1112abd5
inc ebx
cmp ebx, dword [esi + 4]
jl 0x1112abb0
mov edi, dword [ebp - 0x534]
mov eax, dword [esi + 8]
sub edi, eax
mov dword [eax + 4], edi
mov ecx, dword [esi + 4]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret