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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x111127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x21c], edi
mov eax, dword [0x111124c]
mov esi, 0x111124c
cmp eax, esi
je 0x105cec2
test byte [eax + 0x1c], 1
je 0x105cec2
cmp byte [eax + 0x19], 4
jb 0x105cec2
push 0x10055b0
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, dword [0x111124c]
and dword [ebp - 0x220], 0
cmp dword [ebx + 0x150], 0
jne 0x105ceeb
push 0x1005794
push 0xbb
push 0x1005640
call fcn.0107b4be
mov eax, dword [0x111124c]
cmp dword [ebx + 0xb0], 0
jne 0x105cf0d
push 0x100577c
push 0xbc
push 0x1005640
call fcn.0107b4be
mov eax, dword [0x111124c]
and dword [ebp - 0x214], 0
and dword [ebp - 0x218], 0
mov byte [ebp - 0x20d], 0
cmp eax, esi
je 0x105cf4a
test byte [eax + 0x1c], 1
je 0x105cf4a
cmp byte [eax + 0x19], 4
jb 0x105cf4a
push dword [ebx + 0xb0]
push 0x10055b0
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x224], eax
mov eax, dword [edi]
mov dword [ebp - 0x228], eax
push 1
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebx + 8]
call fcn.01018a22
push eax
push 0x104
lea ecx, [ebx + 0x14]
call fcn.0101f639
mov esi, dword [ebx + 0x150]
push eax
push dword [ebx + 0xb0]
mov eax, dword [ebp - 0x228]
push 0
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x21c]
lea esi, [ebx + 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xac]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x224]
add dword [ebx + 0x15c], eax
test edi, edi
jge 0x105d00b
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x105d05e
test byte [eax + 0x1c], 1
je 0x105d05e
cmp byte [eax + 0x19], 2
jb 0x105d05e
mov ecx, dword [ebx + 0x150]
push edi
push dword [ecx + 0x18]
push 0x10055b0
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
jmp 0x105d059
cmp dword [ebp - 0x218], 0x104
jb 0x105d02b
push 0x100575c
push 0xdd
push 0x1005640
call fcn.0107b4be
push 0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
mov byte [ebp - 0x20d], 1
call fcn.0107c871
mov edi, eax
test edi, edi
jl 0x105d06b
mov eax, dword [ebp - 0x214]
mov dword [ebx + 0xa8], eax
mov eax, dword [0x111124c]
test edi, edi
jge 0x105d0d9
cmp byte [ebp - 0x20d], 0
je 0x105d0b8
mov ebx, dword [ebx + 0x28]
mov eax, dword [ebx]
lea ecx, [ebp - 0x20c]
push ecx
push ebx
call dword [eax + 0xb4]
mov esi, eax
test esi, esi
jge 0x105d0be
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x105d0be
test byte [eax + 0x1c], 1
je 0x105d0be
cmp byte [eax + 0x19], 2
jb 0x105d0be
push esi
lea ecx, [ebp - 0x20c]
push ecx
push 0x10055b0
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
jmp 0x105d0be
mov esi, dword [ebp - 0x220]
push dword [ebp - 0x214]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
jge 0x105d0d4
test edi, edi
jl 0x105d0d4
mov edi, esi
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x105d0fe
test byte [eax + 0x1c], 1
je 0x105d0fe
cmp byte [eax + 0x19], 4
jb 0x105d0fe
push 0x10055b0
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 4