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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11182da8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
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, ecx
cmp dword [esi + 0xe4], 0xffffffff
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
je 0x1106f2bc
cmp dword [esi + 0x20], 0
jne 0x1106f2bc
cmp dword [esi + 0x20c], 0
jne 0x1106f2bc
mov edi, dword [eax + 8]
push 0x10000000
push 0x18cc
push edi
mov dword [ebp - 0x20], edi
call fcn.11089ec0
xor eax, eax
cmp dword [esi + 0xe0], 1
push 0x18cc
sete al
push 0
mov ebx, esi
push eax
call fcn.1106d1a0
mov ecx, dword [esi + 8]
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], eax
jmp 0x1106eef0
mov ebx, dword [ebp - 0x10]
add ebx, 0x18d0
call fcn.11143a50
push eax
push 0x10000000
push ebx
push edi
call fcn.11089ec0
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push 1
or edi, 0xffffffff
call fcn.1102ad70
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
add eax, 0x18d0
cmp dword [esi + 0xe0], 1
push eax
sete dl
push 1
mov ebx, esi
push edx
call fcn.1106d1a0
add esp, 0x14
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax*4 + 0x111e5e88]
cmp ebx, 0x3e7
jne 0x1106efa5
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x1c]
push edx
call fcn.11067820
test eax, eax
je 0x1106efc8
mov eax, dword [ebp - 0x1c]
push eax
push 0x18d9
push 1
push 1
mov ebx, esi
call fcn.1106d1a0
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
cmp ecx, dword [esi + 8]
jle 0x1106efc8
mov dword [ebp - 0x30], 1
mov edi, 4
jmp 0x1106efc8
cmp eax, 5
jge 0x1106efb1
push 0x101
jmp 0x1106efbe
mov edx, dword [eax*4 + 0x111e5e68]
push edx
mov ebx, 0x35
call fcn.1106e570
mov edi, eax
add esp, 4
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov ebx, eax
sub ebx, dword [ebp - 0x24]
lea eax, [edi + 1]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], 0
cmp eax, 0x80
ja case.0x1106efee.1
movzx eax, byte [eax + 0x1106f2e8]
jmp dword [eax*4 + 0x1106f2d4]
push 0x18db
call fcn.11147af0
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 1
xor edi, edi
jmp 0x1106f030
push 0x18dc
call fcn.11147af0
add esp, 4
jmp 0x1106f02d
push edi
push 0x18dd
call fcn.11147af0
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1106f058
cmp dword [esi + 0xe0], 1
jl 0x1106f058
push ebx
push eax
push 0x18da
push 0
push 1
mov ebx, esi
call fcn.1106d1a0
mov ebx, dword [ebp - 0x24]
add esp, 0x14
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.11162777
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x1106f143
call fcn.11143a50
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x18d0
push eax
call fcn.11147af0
mov edi, eax
mov dword [ebp - 0x38], edi
xor edx, edx
cmp dword [esi + 0xe0], 1
push edi
sete dl
push 0x18df
push 0
mov ebx, esi
mov dword [ebp - 4], 0
push edx
call fcn.1106d1a0
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.11162777
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov edi, eax
neg edi
sbb edi, edi
add edi, 4
add eax, 0x18e5
push edi
push eax
mov eax, dword [edx + 4]
push ecx
call eax
mov edi, eax
lea eax, [edi - 2]
add esp, 0x28
cmp eax, 5
ja case.0x1106f0e6.4
jmp dword [eax*4 + 0x1106f36c]
mov eax, dword [ebp - 0x2c]
inc eax
xor ecx, ecx
cmp dword [esi + 0xe0], 1
push eax
sete cl
push 0x18e0
push 0
mov ebx, esi
mov dword [ebp - 0x2c], eax
push ecx
call fcn.1106d1a0
add esp, 0x10
jmp case.0x1106f0e6.4
cmp dword [ebp - 0x10], 0
je 0x1106f1bb
xor edx, edx
cmp dword [esi + 0xe0], 1
push 0x18e1
sete dl
push 0
mov ebx, esi
push edx
call fcn.1106d1a0
add esp, 0xc
mov ebx, dword [ebp - 0x24]
cmp edi, 2
je 0x1106f1c0
cmp edi, 3
je 0x1106f1c0
add dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], 4
jne 0x1106f1a7
cmp dword [esi + 0xe4], 1
jne 0x1106f1c0
mov ebx, dword [ebp - 0x20]
push 0x10000000
push 0x18cd
push ebx
mov dword [ebp - 0x18], 0
call fcn.11089ec0
push 0x10000000
push 0x18ce
push ebx
call fcn.11089ec0
xor eax, eax
cmp dword [esi + 0xe0], 1
push 0x18cd
sete al
push 0
mov ebx, esi
push eax
call fcn.1106d1a0
add esp, 0x24
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 8
jge 0x1106f1c0
mov edi, dword [ebp - 0x20]
jmp 0x1106eef0
mov edi, 2
mov ebx, 1
cmp dword [esi + 0xe4], ebx
jne 0x1106f251
test edi, edi
jne 0x1106f251
mov ecx, dword [ebp - 0x18]
cmp ecx, 4
jb 0x1106f2bc
shr ecx, 2
xor edx, edx
mov eax, 0x1f4000
div ecx
xor ecx, ecx
lea edi, [eax + eax*4]
add edi, edi
cmp dword [esi + 0xe0], ebx
push edi
sete cl
push 0x18e3
push 0
mov ebx, esi
push ecx
call fcn.1106d1a0
add esp, 0x10
cmp dword [ebp - 0x30], 0
jne 0x1106f2bc
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + eax*8 + 5]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x1106f2bc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push 1
push 0x18ee
push eax
call edx
add esp, 0xc
mov edi, eax
cmp edi, 2
je 0x1106f25b
cmp edi, 3
jne 0x1106f2bc
mov ecx, dword [ebp - 0x34]
push 1
call fcn.1106ecd0
cmp edi, 2
jne 0x1106f288
xor eax, eax
cmp dword [esi + 0xe0], 1
push 0x18e2
sete al
push 0
mov ebx, esi
push eax
call fcn.1106d1a0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x20], 0
jne 0x1106f2bc
push 0x18de
push 0
push 1
mov ebx, esi
call fcn.1106d1a0
add esp, 0xc
mov dword [esi + 0x20], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret