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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x111027c]
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 [0x111024c]
mov esi, 0x111024c
cmp eax, esi
je 0x105cfb3
test byte [eax + 0x1c], 1
je 0x105cfb3
cmp byte [eax + 0x19], 4
jb 0x105cfb3
push 0x10055b4
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [0x111024c]
and dword [ebp - 0x220], 0
cmp dword [ebx + 0x150], 0
jne 0x105cfdc
push 0x1005798
push 0xbb
push 0x1005644
call fcn.0107b644
mov eax, dword [0x111024c]
cmp dword [ebx + 0xb0], 0
jne 0x105cffe
push 0x1005780
push 0xbc
push 0x1005644
call fcn.0107b644
mov eax, dword [0x111024c]
and dword [ebp - 0x214], 0
and dword [ebp - 0x218], 0
mov byte [ebp - 0x20d], 0
cmp eax, esi
je 0x105d03b
test byte [eax + 0x1c], 1
je 0x105d03b
cmp byte [eax + 0x19], 4
jb 0x105d03b
push dword [ebx + 0xb0]
push 0x10055b4
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
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.010189d5
push eax
push 0x104
lea ecx, [ebx + 0x14]
call fcn.0101f576
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 0x105d0fc
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x105d14f
test byte [eax + 0x1c], 1
je 0x105d14f
cmp byte [eax + 0x19], 2
jb 0x105d14f
mov ecx, dword [ebx + 0x150]
push edi
push dword [ecx + 0x18]
push 0x10055b4
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
jmp 0x105d14a
cmp dword [ebp - 0x218], 0x104
jb 0x105d11c
push 0x1005760
push 0xdd
push 0x1005644
call fcn.0107b644
push 0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
mov byte [ebp - 0x20d], 1
call fcn.0107c9fc
mov edi, eax
test edi, edi
jl 0x105d15c
mov eax, dword [ebp - 0x214]
mov dword [ebx + 0xa8], eax
mov eax, dword [0x111024c]
test edi, edi
jge 0x105d1ca
cmp byte [ebp - 0x20d], 0
je 0x105d1a9
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 0x105d1af
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x105d1af
test byte [eax + 0x1c], 1
je 0x105d1af
cmp byte [eax + 0x19], 2
jb 0x105d1af
push esi
lea ecx, [ebp - 0x20c]
push ecx
push 0x10055b4
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
jmp 0x105d1af
mov esi, dword [ebp - 0x220]
push dword [ebp - 0x214]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
jge 0x105d1c5
test edi, edi
jl 0x105d1c5
mov edi, esi
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x105d1ef
test byte [eax + 0x1c], 1
je 0x105d1ef
cmp byte [eax + 0x19], 4
jb 0x105d1ef
push 0x10055b4
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f798
leave
ret 4