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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x10b5894]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x838], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi]
xor ebx, ebx
inc dword [0x10b580c]
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x1c]
push ebx
push 0x93f
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x828], ebx
mov dword [ebp - 0x810], ebx
add edi, 4
call fcn.0107a681
push eax
push 0x931
call fcn.0107a681
push eax
push dword [ebp - 0x82c]
mov ecx, esi
call dword [edi]
mov edi, dword [esi]
push 0x7f02
push ebx
mov dword [ebp - 0x808], 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 - 0x818], eax
call edi
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x82c]
call fcn.0105b999
cmp eax, ebx
mov dword [ebp - 0x81c], eax
jl 0x105de00
cmp dword [ebp - 0x828], ebx
je 0x105de00
push dword [ebp - 0x818]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
call edi
sub eax, dword [ebp - 0x80c]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, dword [esi]
mov ecx, esi
push eax
push dword [ebp - 0x808]
mov dword [ebp - 0x818], eax
call dword [edx + 0x10]
mov edi, dword [esi]
push 0x932
add edi, 8
call fcn.0107a681
push eax
push dword [ebp - 0x808]
mov ecx, esi
call dword [edi]
push 0x942
call fcn.0107a681
cmp eax, ebx
mov dword [ebp - 0x824], eax
jne 0x105db7b
mov dword [ebp - 0x824], 0x100ade0
mov eax, dword [ebp - 0x824]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x105db84
sub eax, edx
sar eax, 1
add eax, 0x10
mov dword [ebp - 0x81c], eax
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 0x810], eax
jne 0x105dbc3
push 0x8007000e
push 0xaca013f
call fcn.0107ae44
jmp 0x105de8a
push ebx
push dword [ebp - 0x828]
mov dword [ebp - 0x820], ebx
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x80c], edi
je 0x105ddf1
jmp 0x105dbee
mov edi, dword [ebp - 0x80c]
push dword [ebp - 0x82c]
lea eax, [ebp - 0x804]
push dword [ebp - 0x820]
push dword [ebp + 0x14]
push 0x1010dd8
push 0x400
push eax
call fcn.01029706
add esp, 0x18
push 0x10069f0
push dword [ebp - 0x820]
mov word [ebp - 6], bx
push dword [0x10b580c]
push dword [0x10b7ec4]
push dword [edi + 8]
push dword [edi + 4]
call fcn.01037dee
cmp eax, ebx
je 0x105dc4b
push eax
push 0xaeb013f
call fcn.0107ae44
push dword [ebp - 0x834]
push dword [ebp - 0x83c]
push edi
call fcn.0105cdfb
push dword [ebp - 0x824]
mov edi, dword [ebp - 0x810]
push dword [ebp - 0x81c]
mov dword [ebp - 0x814], eax
push edi
call fcn.01028f74
cmp dword [ebp - 0x814], 0xffffffff
je 0x105dcdc
mov eax, dword [ebp - 0x824]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x105dc8d
sub eax, edx
sar eax, 1
mov dword [ebp - 0x830], eax
mov eax, dword [ebp - 0x824]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x105dcaa
push dword [ebp - 0x814]
sub eax, ecx
mov ecx, dword [ebp - 0x81c]
sub ecx, dword [ebp - 0x830]
sar eax, 1
push 0x1010dcc
push ecx
lea eax, [edi + eax*2]
push eax
call fcn.01029706
add esp, 0x10
cmp dword [ebp - 0x820], ebx
push dword [ebp - 0x818]
mov edi, dword [esi]
push dword [ebp - 0x810]
push 0x934
jne 0x105dd13
add edi, 0x14
call fcn.0107a681
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
mov ecx, esi
call dword [edi]
jmp 0x105dd2d
add edi, 4
call fcn.0107a681
push eax
lea eax, [ebp - 0x804]
push eax
mov ecx, esi
call dword [edi]
mov dword [ebp - 0x808], 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 - 0x80c]
mov edi, eax
push dword [ebp - 0x838]
call fcn.0105c0e2
mov dword [ebp - 0x830], eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0x830]
mov eax, dword [esi]
push dword [ebp - 0x808]
mov ecx, esi
call dword [eax + 8]
push 0x204
call fcn.01067fb8
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x105dd99
push 0x8007000e
push 0xb16013f
call fcn.0107ae44
jmp 0x105ddcb
push 0x204
push ebx
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp - 0x80c]
mov dword [edi], 1
call dword [sym.imp.CRYPT32.dll_CertDuplicateCertificateContext]
push edi
push dword [ebp - 0x808]
mov dword [edi + 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp - 0x80c]
inc dword [ebp - 0x820]
push dword [ebp - 0x828]
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
cmp eax, ebx
mov dword [ebp - 0x80c], eax
jne 0x105dbe8
mov dword [ebp - 0x814], 1
jmp 0x105de8a
push dword [ebp - 0x818]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0x81c]
push 0xa94013f
push dword [ebp - 0x82c]
call fcn.0107ae7f
mov edi, dword [esi]
push 0x933
add edi, 8
call fcn.0107a681
push eax
push dword [ebp - 0x808]
mov ecx, esi
call dword [edi]
push 0x204
call fcn.01067fb8
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x105de5f
push 0x8007000e
push 0xa9e013f
call fcn.0107ae44
jmp 0x105de9e
push dword [ebp - 0x81c]
lea eax, [edi + 4]
push 0x100
push eax
mov dword [edi], 4
mov word [eax], bx
call fcn.0105d9ea
mov eax, dword [esi]
push edi
push dword [ebp - 0x808]
mov ecx, esi
call dword [eax + 0xc]
cmp dword [ebp - 0x810], ebx
je 0x105de9e
push dword [ebp - 0x810]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x814]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01068363
leave
ret 0x18