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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
and dword [ebp - 4], 0
push esi
push edi
lea edi, [ebp - 0x48]
call fcn.004383dc
mov eax, dword [0x50e594]
mov ecx, 0x50e594
call dword [eax + 0xc]
add eax, 0x10
push 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00429ad4
test eax, eax
mov edi, 0x51049c
jne 0x43819f
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
push 0
push str.GetDebugPrivilege_return:_d_GetLassError_return:_d
call fcn.0042ac5c
add esp, 0xc
call esi
push eax
push 0
push str.GetDebugPrivilege_return:_d_GetLassError_return:_d
mov esi, edi
call fcn.004452e2
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push dword [ebx + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00424f5f
test eax, eax
jne 0x4381c7
mov eax, 0xe0000029
call fcn.0042ac4d
jmp 0x438361
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], ecx
je 0x43823e
mov eax, dword [ebx + 0x80]
cmp eax, ecx
je 0x4381ea
push dword [ebx + 0x58]
push 0x4f2918
push ecx
push ecx
call eax
add esp, 0x10
push str.StopAllProgress...
mov esi, edi
call fcn.004452e2
pop ecx
lea eax, [ebp - 0x48]
call fcn.004250c1
push eax
push str.StopAllProgress_return:_d
mov dword [ebp - 4], eax
call fcn.004452e2
cmp dword [ebp - 4], 0
pop ecx
pop ecx
jne 0x438237
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x438230
push dword [ebx + 0x58]
push 0x4f2958
push 1
push 0
call eax
add esp, 0x10
mov eax, 0xe0000003
jmp 0x4381bd
mov dword [ebp - 4], 0x14
push str.ClearFiles...
mov esi, edi
call fcn.004452e2
pop ecx
lea eax, [ebp - 0x48]
call fcn.00425391
push str.ClearFiles_end
call fcn.004452e2
push dword [ebx + 0x18]
call fcn.0042952c
push str.install_begin...
call fcn.004452e2
xor esi, esi
push esi
call fcn.0042a752
mov eax, dword [ebx + 0x18]
add esp, 0x10
cmp dword [eax - 0xc], esi
je 0x438290
push eax
lea eax, [ebx + 0x5c]
call fcn.00439e48
test eax, eax
je 0x438290
inc esi
push 1
call fcn.0042a752
test esi, esi
pop ecx
jne 0x4382ea
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x4382e0
cmp dword [ebx + 0x78], esi
push dword [ebx + 0x58]
je 0x4382c7
push 0x4f299c
push 7
push dword [ebp - 4]
call eax
add esp, 0x10
mov eax, 0xe000000d
jmp 0x4381bd
push 0x4f29ac
push 2
push dword [ebp - 4]
call eax
add esp, 0x10
mov eax, 0xe0000002
jmp 0x4381bd
mov eax, 0xe0000030
jmp 0x4381bd
lea esi, [ebx + 0x5c]
call fcn.00439e25
mov eax, dword [ebx + 0xc]
neg eax
sbb eax, eax
and eax, 0xa
add eax, 0xa
add dword [ebp - 4], eax
mov eax, ebx
call fcn.00437b98
test eax, eax
jne 0x438333
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x438329
push dword [ebx + 0x58]
push 0x4f29c0
push 3
push dword [ebp - 4]
call eax
add esp, 0x10
mov eax, 0xe0000007
jmp 0x4381bd
cmp dword [ebx + 0xc], 0
jne 0x43834e
push 0xa
lea eax, [ebx + 0xc8]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp dword [ebx + 0xc], 0
je 0x438353
call fcn.0042aa60
mov eax, ebx
call fcn.004393f4
mov dword [ebx + 0x10], 1
xor esi, esi
cmp dword [ebx + 0x10], esi
jne 0x438372
mov eax, 0xefffffff
call fcn.0042ac4d
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [ebp - 8]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebx + 0x80]
cmp eax, esi
je 0x43839d
cmp dword [ebx + 0x10], esi
je 0x43839d
push dword [ebx + 0x58]
push 0x4f29d0
push esi
push 0x64
call eax
add esp, 0x10
push dword [ebx + 0x7c]
mov esi, edi
push dword [ebx + 0x10]
push str.install_end__return:_d__install_cost_time:_dms
call fcn.004452e2
push dword [ebx + 0x10]
push str.install_thread_end:_d
call fcn.0042ac5c
add esp, 0x14
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
lea edi, [ebp - 0x48]
call fcn.00438422
pop edi
pop esi
leave
ret