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

Disassembly:
push 0x838
mov eax, 0x10bdc4f
call fcn.01074cb8
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 [0x10cd50c]
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.01088aa0
push eax
push 0x931
call fcn.01088aa0
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.01067ac8
cmp eax, ebx
mov dword [ebp - 0x830], eax
jl 0x106a12e
cmp dword [ebp - 0x838], ebx
je 0x106a12e
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.01088aa0
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [edi]
push 0x942
call fcn.01088aa0
mov dword [ebp - 0x820], eax
cmp eax, ebx
jne 0x1069e90
mov dword [ebp - 0x820], 0x100b820
mov eax, dword [ebp - 0x820]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1069e99
sub eax, edx
sar eax, 1
add eax, 0x10
mov dword [ebp - 0x830], eax
cmp eax, 0x10000
jb 0x1069ecb
push 0x80070216
push 0xb4d013f
call fcn.010893e6
jmp 0x106a1e9
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x81c], eax
cmp eax, ebx
jne 0x1069ef3
push 0x8007000e
push 0xb54013f
call fcn.010893e6
jmp 0x106a1d5
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 0x106a11f
jmp 0x1069f1e
mov edi, dword [ebp - 0x828]
push dword [ebp - 0x834]
lea eax, [ebp - 0x810]
push dword [ebp - 0x82c]
push dword [ebp + 0x14]
push 0x10133d8
push 0x400
push eax
call fcn.0102dd8f
add esp, 0x18
push 0x1007290
push dword [ebp - 0x82c]
xor eax, eax
push dword [0x10cd50c]
mov word [ebp - 0x12], ax
push dword [0x10cfb54]
push dword [edi + 8]
push dword [edi + 4]
call fcn.0103e39e
cmp eax, ebx
je 0x1069f7d
push eax
push 0xb75013f
call fcn.010893e6
push dword [ebp - 0x844]
push dword [ebp - 0x840]
push edi
call fcn.01069000
push dword [ebp - 0x820]
mov edi, dword [ebp - 0x81c]
push dword [ebp - 0x830]
mov dword [ebp - 0x814], eax
push edi
call fcn.0102d982
cmp dword [ebp - 0x814], 0xffffffff
je 0x1069fe9
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1069fbb
push dword [ebp - 0x814]
mov ecx, dword [ebp - 0x830]
sub eax, edx
sar eax, 1
sub ecx, eax
push 0x10133cc
push ecx
lea eax, [edi + eax*2]
push eax
call fcn.0102dd8f
add esp, 0x10
push dword [ebp - 0x824]
mov edi, dword [esi]
push dword [ebp - 0x81c]
push 0x934
cmp dword [ebp - 0x82c], ebx
jne 0x106a020
add edi, 0x14
call fcn.01088aa0
push eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [edi]
jmp 0x106a03a
add edi, 4
call fcn.01088aa0
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.010681d4
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 0x10d046c
push 0x204
call fcn.01074e00
pop ecx
pop ecx
mov dword [ebp - 0x814], eax
mov dword [ebp - 4], 1
cmp eax, ebx
je 0x106a0ac
mov dword [eax], ebx
mov edi, eax
jmp 0x106a0ae
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
jne 0x106a0c7
push 0x8007000e
push 0xba2013f
call fcn.010893e6
jmp 0x106a0f9
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 0x1069f18
mov dword [ebp - 0x814], 1
jmp 0x106a1d5
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.01089421
mov edi, dword [esi]
push 0x933
add edi, 8
call fcn.01088aa0
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [edi]
push 0x10d046c
push 0x204
call fcn.01074e00
pop ecx
pop ecx
mov dword [ebp - 0x83c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x106a18f
mov dword [eax], ebx
mov edi, eax
jmp 0x106a191
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
jne 0x106a1a8
push 0x8007000e
push 0xb23013f
jmp 0x1069ec1
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.01069d08
mov eax, dword [esi]
push edi
push dword [ebp - 0x818]
mov ecx, esi
call dword [eax + 0xc]
cmp dword [ebp - 0x81c], ebx
je 0x106a1e9
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x814]
call fcn.01074d4a
ret 0x18