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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x45d06c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x38]
mov eax, dword [edi + 0x1c]
lea edx, [edi + 0x3c]
sub eax, dword [edi + 0x18]
sar eax, 4
inc eax
push eax
call fcn.00411bff
pop ecx
xor ebx, ebx
mov dword [ebp - 0x58], 0x45987c
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], bl
call fcn.00423036
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0xe4]
call fcn.004230f0
test al, al
jne 0x411e1a
lea ecx, [ebp - 0xe4]
call fcn.004230b2
jmp 0x411f8e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [ebp - 0xe4]
call fcn.00423359
test eax, eax
je 0x411e45
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x1388
ja 0x411e0a
cmp byte [edi + 0x54], bl
jne 0x411e22
cmp byte [edi + 0x54], bl
je 0x411e5d
lea ecx, [ebp - 0xe4]
call fcn.004234f8
mov byte [ebp - 0xe5], al
jmp 0x411e63
mov byte [ebp - 0xe5], bl
lea ecx, [ebp - 0xe4]
call fcn.004230b2
cmp byte [ebp - 0xe5], bl
je 0x411f8e
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10], ebx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], bl
call fcn.00403419
lea ecx, [ebp - 0x58]
call fcn.00423020
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
push dword [ebp - 0x10]
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov esi, eax
test esi, esi
je 0x411ebc
mov eax, dword [esi]
push esi
call dword [eax + 4]
movsd xmm0, qword [0x459220]
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], ebx
movsd qword [ebp - 0xf4], xmm0
call fcn.00414f08
mulsd xmm0, qword [0x459218]
lea ecx, [ebp - 0xfc]
push esi
movaps xmm2, xmm0
call fcn.004154c7
test al, al
jne 0x411f4e
xor eax, eax
mov dword [ebp - 0x64], ebx
push str.Failed_to_load_a_background_slide_bitmap_from_data_downloaded_from
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 0x5c], bl
call fcn.004011fd
cmp dword [ebp - 0x24], 8
mov ecx, eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.0040258c
lea eax, [ebp - 0x74]
push eax
push eax
push 0x6b
push str.lite_installer::BackgroundSlidesPack::DownloadImage
push 1
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x74]
call fcn.00402561
jmp 0x411f6d
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0xfc]
push eax
lea ecx, [edi + 0x18]
call fcn.00411fc1
push edi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x411f7c
call fcn.00414d9d
test esi, esi
je 0x411f86
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x20]
call fcn.004025ed
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x58], 0x45987c
call fcn.004025ed
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x58], 0x459828
call fcn.00402561
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429462
mov esp, ebp
pop ebp
ret 4