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

Disassembly:
push 0x838
mov eax, 0x10c0e3b
call fcn.01077de8
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 [0x10d05b4]
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.0108bbbd
push eax
push 0x931
call fcn.0108bbbd
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.010681b9
cmp eax, ebx
mov dword [ebp - 0x830], eax
jl 0x106a81f
cmp dword [ebp - 0x838], ebx
je 0x106a81f
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.0108bbbd
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [edi]
push 0x942
call fcn.0108bbbd
mov dword [ebp - 0x820], eax
cmp eax, ebx
jne 0x106a581
mov dword [ebp - 0x820], 0x100b908
mov eax, dword [ebp - 0x820]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106a58a
sub eax, edx
sar eax, 1
add eax, 0x10
mov dword [ebp - 0x830], eax
cmp eax, 0x10000
jb 0x106a5bc
push 0x80070216
push 0xb4d013f
call fcn.0108c503
jmp 0x106a8da
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x81c], eax
cmp eax, ebx
jne 0x106a5e4
push 0x8007000e
push 0xb54013f
call fcn.0108c503
jmp 0x106a8c6
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 0x106a810
jmp 0x106a60f
mov edi, dword [ebp - 0x828]
push dword [ebp - 0x834]
lea eax, [ebp - 0x810]
push dword [ebp - 0x82c]
push dword [ebp + 0x14]
push 0x10134e8
push 0x400
push eax
call fcn.0102e3ff
add esp, 0x18
push 0x1007380
push dword [ebp - 0x82c]
xor eax, eax
push dword [0x10d05b4]
mov word [ebp - 0x12], ax
push dword [0x10d2c04]
push dword [edi + 8]
push dword [edi + 4]
call fcn.0103ea63
cmp eax, ebx
je 0x106a66e
push eax
push 0xb75013f
call fcn.0108c503
push dword [ebp - 0x844]
push dword [ebp - 0x840]
push edi
call fcn.010696f1
push dword [ebp - 0x820]
mov edi, dword [ebp - 0x81c]
push dword [ebp - 0x830]
mov dword [ebp - 0x814], eax
push edi
call fcn.0102dff2
cmp dword [ebp - 0x814], 0xffffffff
je 0x106a6da
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106a6ac
push dword [ebp - 0x814]
mov ecx, dword [ebp - 0x830]
sub eax, edx
sar eax, 1
sub ecx, eax
push 0x10134dc
push ecx
lea eax, [edi + eax*2]
push eax
call fcn.0102e3ff
add esp, 0x10
push dword [ebp - 0x824]
mov edi, dword [esi]
push dword [ebp - 0x81c]
push 0x934
cmp dword [ebp - 0x82c], ebx
jne 0x106a711
add edi, 0x14
call fcn.0108bbbd
push eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [edi]
jmp 0x106a72b
add edi, 4
call fcn.0108bbbd
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.010688c5
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 0x10d3534
push 0x204
call fcn.01077f1b
pop ecx
pop ecx
mov dword [ebp - 0x814], eax
mov dword [ebp - 4], 1
cmp eax, ebx
je 0x106a79d
mov dword [eax], ebx
mov edi, eax
jmp 0x106a79f
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
jne 0x106a7b8
push 0x8007000e
push 0xba2013f
call fcn.0108c503
jmp 0x106a7ea
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 0x106a609
mov dword [ebp - 0x814], 1
jmp 0x106a8c6
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.0108c53e
mov edi, dword [esi]
push 0x933
add edi, 8
call fcn.0108bbbd
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [edi]
push 0x10d3534
push 0x204
call fcn.01077f1b
pop ecx
pop ecx
mov dword [ebp - 0x83c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x106a880
mov dword [eax], ebx
mov edi, eax
jmp 0x106a882
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
jne 0x106a899
push 0x8007000e
push 0xb23013f
jmp 0x106a5b2
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.0106a3f9
mov eax, dword [esi]
push edi
push dword [ebp - 0x818]
mov ecx, esi
call dword [eax + 0xc]
cmp dword [ebp - 0x81c], ebx
je 0x106a8da
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x814]
call fcn.01077e7a
ret 0x18