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

Disassembly:
push 0x838
mov eax, 0x10c0dbb
call fcn.01077ea8
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [esi]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
inc dword [0x10d0594]
mov dword [ebp - 0x834], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x1c]
push ebx
push 0x93f
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x838], ebx
mov dword [ebp - 0x81c], ebx
add edi, 4
call fcn.0108bc14
push eax
push 0x931
call fcn.0108bc14
push eax
push dword [ebp - 0x834]
mov ecx, esi
call dword [edi]
mov edi, dword [esi]
push 0x7f02
push ebx
mov dword [ebp - 0x818], eax
add edi, 0x1c
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, esi
call dword [edi]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x824], eax
call edi
mov dword [ebp - 0x820], eax
lea eax, [ebp - 0x838]
push eax
push dword [ebp - 0x834]
call fcn.0106826a
cmp eax, ebx
mov dword [ebp - 0x830], eax
jl 0x106a8d0
cmp dword [ebp - 0x838], ebx
je 0x106a8d0
push dword [ebp - 0x824]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
call edi
sub eax, dword [ebp - 0x820]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, dword [esi]
mov ecx, esi
push eax
push dword [ebp - 0x818]
mov dword [ebp - 0x824], eax
call dword [edx + 0x10]
mov edi, dword [esi]
push 0x932
add edi, 8
call fcn.0108bc14
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [edi]
push 0x942
call fcn.0108bc14
mov dword [ebp - 0x820], eax
cmp eax, ebx
jne 0x106a632
mov dword [ebp - 0x820], 0x100b920
mov eax, dword [ebp - 0x820]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106a63b
sub eax, edx
sar eax, 1
add eax, 0x10
mov dword [ebp - 0x830], eax
cmp eax, 0x10000
jb 0x106a66d
push 0x80070216
push 0xb4d013f
call fcn.0108c55a
jmp 0x106a98b
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x81c], eax
cmp eax, ebx
jne 0x106a695
push 0x8007000e
push 0xb54013f
call fcn.0108c55a
jmp 0x106a977
push ebx
push dword [ebp - 0x838]
mov dword [ebp - 0x82c], ebx
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov edi, eax
mov dword [ebp - 0x828], edi
cmp edi, ebx
je 0x106a8c1
jmp 0x106a6c0
mov edi, dword [ebp - 0x828]
push dword [ebp - 0x834]
lea eax, [ebp - 0x810]
push dword [ebp - 0x82c]
push dword [ebp + 0x14]
push 0x10134d8
push 0x400
push eax
call fcn.0102e48f
add esp, 0x18
push 0x1007398
push dword [ebp - 0x82c]
xor eax, eax
push dword [0x10d0594]
mov word [ebp - 0x12], ax
push dword [0x10d2be4]
push dword [edi + 8]
push dword [edi + 4]
call fcn.0103eb2e
cmp eax, ebx
je 0x106a71f
push eax
push 0xb75013f
call fcn.0108c55a
push dword [ebp - 0x844]
push dword [ebp - 0x840]
push edi
call fcn.010697a2
push dword [ebp - 0x820]
mov edi, dword [ebp - 0x81c]
push dword [ebp - 0x830]
mov dword [ebp - 0x814], eax
push edi
call fcn.0102e082
cmp dword [ebp - 0x814], 0xffffffff
je 0x106a78b
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106a75d
push dword [ebp - 0x814]
mov ecx, dword [ebp - 0x830]
sub eax, edx
sar eax, 1
sub ecx, eax
push 0x10134cc
push ecx
lea eax, [edi + eax*2]
push eax
call fcn.0102e48f
add esp, 0x10
push dword [ebp - 0x824]
mov edi, dword [esi]
push dword [ebp - 0x81c]
push 0x934
cmp dword [ebp - 0x82c], ebx
jne 0x106a7c2
add edi, 0x14
call fcn.0108bc14
push eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [edi]
jmp 0x106a7dc
add edi, 4
call fcn.0108bc14
push eax
lea eax, [ebp - 0x810]
push eax
mov ecx, esi
call dword [edi]
mov dword [ebp - 0x818], eax
mov edi, dword [esi]
push 0x7f02
push ebx
add edi, 0x1c
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, esi
call dword [edi]
push dword [ebp - 0x828]
mov edi, eax
push dword [ebp - 0x83c]
call fcn.01068976
mov dword [ebp - 0x814], eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0x814]
mov eax, dword [esi]
push dword [ebp - 0x818]
mov ecx, esi
call dword [eax + 8]
push 0x10d3514
push 0x204
call fcn.01077ff0
pop ecx
pop ecx
mov dword [ebp - 0x814], eax
mov dword [ebp - 4], 1
cmp eax, ebx
je 0x106a84e
mov dword [eax], ebx
mov edi, eax
jmp 0x106a850
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
jne 0x106a869
push 0x8007000e
push 0xba2013f
call fcn.0108c55a
jmp 0x106a89b
push 0x204
push ebx
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp - 0x828]
mov dword [edi], 1
call dword [sym.imp.CRYPT32.dll_CertDuplicateCertificateContext]
push edi
push dword [ebp - 0x818]
mov dword [edi + 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp - 0x828]
inc dword [ebp - 0x82c]
push dword [ebp - 0x838]
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov dword [ebp - 0x828], eax
cmp eax, ebx
jne 0x106a6ba
mov dword [ebp - 0x814], 1
jmp 0x106a977
push dword [ebp - 0x824]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0x830]
push 0xb19013f
push dword [ebp - 0x834]
call fcn.0108c595
mov edi, dword [esi]
push 0x933
add edi, 8
call fcn.0108bc14
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [edi]
push 0x10d3514
push 0x204
call fcn.01077ff0
pop ecx
pop ecx
mov dword [ebp - 0x83c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x106a931
mov dword [eax], ebx
mov edi, eax
jmp 0x106a933
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
jne 0x106a94a
push 0x8007000e
push 0xb23013f
jmp 0x106a663
push dword [ebp - 0x830]
lea eax, [edi + 4]
push 0x100
xor ecx, ecx
push eax
mov dword [edi], 4
mov word [eax], cx
call fcn.0106a4aa
mov eax, dword [esi]
push edi
push dword [ebp - 0x818]
mov ecx, esi
call dword [eax + 0xc]
cmp dword [ebp - 0x81c], ebx
je 0x106a98b
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x814]
call fcn.01077f3a
ret 0x18