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

Disassembly:
push 0x840
mov eax, 0x505efd
call fcn.00503d95
mov dword [ebp - 0x820], edx
mov eax, ecx
mov dword [ebp - 0x814], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [eax]
inc dword [0x5186dc]
mov dword [ebp - 0x840], ecx
mov ecx, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov dword [ebp - 0x844], ecx
mov ecx, 0x9bf
mov dword [ebp - 0x834], ebx
mov dword [ebp - 0x82c], ebx
call fcn.004cf8b9
mov ecx, 0x931
mov esi, eax
call fcn.004cf8b9
push ebx
push esi
push eax
push dword [ebp - 0x820]
mov ecx, edi
call dword [0x51cbac]
mov esi, dword [ebp - 0x814]
mov ecx, esi
call edi
mov dword [ebp - 0x818], eax
mov eax, dword [esi]
push 0x7f02
push ebx
mov esi, dword [eax + 0x20]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, esi
call dword [0x51cbac]
mov ecx, dword [ebp - 0x814]
call esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x840]
mov ecx, dword [ebp - 0x820]
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x82c]
push eax
push dword [ebp - 0x844]
call fcn.00486280
mov dword [ebp - 0x81c], eax
mov eax, dword [ebp - 0x814]
push edi
mov eax, dword [eax]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x51cbac]
mov edi, dword [ebp - 0x814]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x81c]
test eax, eax
je 0x48974a
push eax
push 0xe3d013f
push dword [ebp - 0x820]
call dword [sym.imp.certcli.dll_Ordinal_359]
mov eax, dword [edi]
mov ecx, 0x933
mov esi, dword [eax + 8]
call fcn.004cf8b9
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [0x51cbac]
mov ecx, edi
call esi
push 0x402f38
push 0x204
call fcn.00503b69
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x848], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x4896fe
mov dword [esi], ebx
jmp 0x489700
mov esi, ebx
or dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x48971d
push 0x8007000e
push 0xe45013f
call dword [sym.imp.certcli.dll_Ordinal_357]
jmp 0x489a68
xor eax, eax
mov dword [esi], 4
lea ecx, [esi + 4]
mov word [ecx], ax
mov eax, dword [ebp - 0x81c]
push eax
call fcn.004884a9
push esi
push dword [ebp - 0x818]
mov ecx, edi
call fcn.00486efe
jmp 0x489a68
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x830]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ecx, eax
mov eax, dword [edi]
push ecx
push dword [ebp - 0x818]
mov dword [ebp - 0x83c], ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x51cbac]
mov ecx, edi
call esi
mov eax, dword [edi]
mov ecx, 0x932
mov esi, dword [eax + 8]
call fcn.004cf8b9
push eax
push dword [ebp - 0x818]
mov ecx, esi
call dword [0x51cbac]
mov ecx, edi
call esi
mov ecx, 0x9bf
call fcn.004cf8b9
mov dword [ebp - 0x838], eax
test eax, eax
jne 0x4897c0
mov eax, 0x41e26c
mov dword [ebp - 0x838], eax
mov esi, eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x4897c5
sub esi, ecx
sar esi, 1
cmp esi, 0x10000
jb 0x4897eb
push 0x80070216
push 0xe6c013f
jmp 0x489712
add esi, 0x10
mov dword [ebp - 0x848], esi
lea eax, [esi + esi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x828], eax
test eax, eax
jne 0x489818
push 0x8007000e
push 0xe72013f
jmp 0x489712
mov ecx, dword [ebp - 0x82c]
mov edi, ebx
mov dword [ebp - 0x824], ebx
cmp dword [ecx], ebx
jbe 0x489a5e
mov edx, dword [ebp - 0x834]
mov eax, edx
mov ecx, dword [ecx + 4]
inc edx
push 0x40ee84
push eax
push dword [0x5186dc]
mov dword [ebp - 0x834], edx
mov edx, dword [ecx + edi*8]
push dword [0x519a48]
mov dword [ebp - 0x81c], ecx
mov ecx, dword [ecx + edi*8 + 4]
call fcn.00459997
test eax, eax
je 0x489874
push eax
push 0xe80013f
call dword [sym.imp.certcli.dll_Ordinal_357]
push dword [ebp - 0x820]
lea eax, [ebp - 0x810]
push edi
push dword [ebp + 8]
push 0x41e200
push 0x400
push eax
call fcn.0043ec15
mov ecx, dword [ebp - 0x828]
add esp, 0x18
xor eax, eax
mov edx, esi
mov word [ebp - 0x12], ax
push dword [ebp - 0x838]
call fcn.0043eb7d
mov esi, dword [ebp - 0x814]
mov ecx, 0x934
mov eax, dword [esi]
mov dword [ebp - 0x830], eax
call fcn.004cf8b9
push dword [ebp - 0x83c]
test edi, edi
mov edi, dword [ebp - 0x830]
push dword [ebp - 0x828]
push eax
lea eax, [ebp - 0x810]
push eax
jne 0x4898fc
push dword [ebp - 0x818]
mov ecx, dword [edi + 0x18]
call dword [0x51cbac]
mov ecx, esi
call dword [edi + 0x18]
jmp 0x489910
mov ecx, dword [edi + 4]
call dword [0x51cbac]
mov ecx, esi
call dword [edi + 4]
mov dword [ebp - 0x818], eax
mov eax, dword [esi]
push 0x7f02
push ebx
mov esi, dword [eax + 0x20]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, esi
call dword [0x51cbac]
mov ecx, dword [ebp - 0x814]
call esi
mov ecx, dword [ebp - 0x81c]
mov edi, eax
mov eax, dword [ebp - 0x824]
mov edx, dword [ebp - 0x840]
push dword [ecx + eax*8]
push dword [ecx + eax*8 + 4]
mov ecx, dword [ebp - 0x844]
call fcn.0048808f
mov ebx, eax
mov eax, dword [ebp - 0x814]
push edi
mov eax, dword [eax]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x51cbac]
mov edi, dword [ebp - 0x814]
mov ecx, edi
call esi
mov eax, dword [edi]
push ebx
push dword [ebp - 0x818]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x51cbac]
mov ecx, edi
call esi
push 0x402f38
push 0x204
call fcn.00503b69
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x84c], esi
mov dword [ebp - 4], 1
xor ebx, ebx
test esi, esi
je 0x4899ba
mov dword [esi], ebx
jmp 0x4899bc
mov esi, ebx
or dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x4899dc
push 0x8007000e
push 0xeb2013f
call dword [sym.imp.certcli.dll_Ordinal_357]
mov edi, dword [ebp - 0x824]
jmp 0x489a3d
push 0x200
lea eax, [esi + 4]
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x81c]
add esp, 0xc
mov edi, dword [ebp - 0x824]
mov dword [esi], 3
push dword [eax + edi*8]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [ebp - 0x81c]
mov ecx, eax
mov dword [esi + 8], ecx
mov eax, dword [edx + edi*8]
mov dword [esi + 4], eax
push dword [edx + edi*8]
push dword [edx + edi*8 + 4]
push ecx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x814]
add esp, 0xc
push esi
push dword [ebp - 0x818]
call fcn.00486efe
mov ecx, dword [ebp - 0x82c]
inc edi
mov esi, dword [ebp - 0x848]
mov dword [ebp - 0x824], edi
cmp edi, dword [ecx]
jb 0x48982e
mov eax, dword [ebp - 0x828]
xor ebx, ebx
inc ebx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x82c]
test eax, eax
je 0x489a79
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
call fcn.00503d32
ret 0xc