Function at 0x4166a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d830
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5a7464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmm3
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
movsd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x24], edi
mov ecx, dword [eax + 0xc4]
test ecx, ecx
jne 0x4166f1
call fcn.004f3ada
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
call dword [eax + 8]
cmp edi, 0x3e9
jne 0x4167d8
mov ecx, dword [esi]
add ecx, 0x3c
cmp dword [ecx + 0x14], 8
jb 0x41671b
mov ecx, dword [ecx]
call fcn.0044c2d0
mov eax, dword [esi]
mov dword [eax + 0xc8], 2
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x3e
xor eax, eax
mov dword [ebp - 0x3c], 7
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
call fcn.00406770
push 0xf
push str.DL_CODE_START_r_n
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call fcn.00406990
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x416779
mov esi, dword [esi]
movzx eax, word [ebp - 0x12]
push 0x4a
push str.CDownloadInstaller::Start::_lambda_1ef34beec4aa6ee6dcdb475b7b5e6dc9_::operator___
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0044d850
mov eax, dword [ebp - 0x3c]
add esp, 0x30
cmp eax, 8
jb 0x416b5a
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00406ed0
jmp 0x416b5a
cmp edi, 0x3ea
jne 0x416885
mov eax, dword [esi]
mov dword [eax + 0xc8], 3
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x50]
call fcn.00406500
push 0x12
push str.DL_CODE_PROGRESS_r_n
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00406990
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x416826
mov esi, dword [esi]
movzx eax, word [ebp - 0x12]
push 0x4f
push str.CDownloadInstaller::Start::_lambda_1ef34beec4aa6ee6dcdb475b7b5e6dc9_::operator___
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0044d850
mov eax, dword [ebp - 0x3c]
add esp, 0x30
cmp eax, 8
jb 0x416b5a
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00406ed0
jmp 0x416b5a
cmp edi, 0x3eb
jne 0x4169d7
mov eax, dword [esi]
mov dword [eax + 0xc8], 4
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x50]
call fcn.00406500
push str.DOWNLOAD_SUCCESS_r_n
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00406470
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x4168d1
mov edi, dword [edi]
movzx eax, word [ebp - 0x12]
push 0x54
push str.CDownloadInstaller::Start::_lambda_1ef34beec4aa6ee6dcdb475b7b5e6dc9_::operator___
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push edi
call fcn.0044d850
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004064c0
mov ecx, dword [esi]
mov ecx, dword [ecx + 8]
call fcn.00417ca0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x3e
xor eax, eax
mov dword [ebp - 0x54], 7
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
call fcn.00406770
push 0x11
push str.DL_CODE_SUCCESS_r_n
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 5
call fcn.00406990
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x416978
mov esi, dword [esi]
movzx eax, word [ebp - 0x26]
push 0x6d
push str.CDownloadInstaller::Start::_lambda_1ef34beec4aa6ee6dcdb475b7b5e6dc9_::operator___
push eax
movzx eax, word [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0044d850
mov eax, dword [ebp - 0x54]
add esp, 0x30
cmp eax, 8
jb 0x416b5a
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00406ed0
jmp 0x416b5a
cmp edi, 0x3ec
jne 0x416ac1
mov eax, dword [esi]
mov dword [eax + 0xc8], 5
mov eax, dword [esi]
add eax, 0x54
cmp dword [eax + 0x14], 8
jb 0x4169fc
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
cmp dword [0x5aea7c], 0
je 0x416a24
cmp dword [0x5aea80], 8
mov eax, 0x5aea6c
cmovae eax, dword [0x5aea6c]
push eax
call edi
mov eax, dword [esi]
add eax, 0x54
cmp eax, 0x5aea6c
je 0x416a3f
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x5aea6c
call fcn.00406870
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x50]
call fcn.00406500
push str.DL_CODE_FAIL_r_n
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00406470
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x416a73
mov esi, dword [esi]
movzx eax, word [ebp - 0x12]
push 0x5f
push str.CDownloadInstaller::Start::_lambda_1ef34beec4aa6ee6dcdb475b7b5e6dc9_::operator___
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0044d850
add esp, 0x30
lea ecx, [ebp - 0x50]
call fcn.004064c0
jmp 0x416b5a
cmp edi, 0x3ed
jne 0x416b5a
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x50]
call fcn.00406500
push str.DL_CODE_RETRY_r_n
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.00406470
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x416b01
mov edi, dword [edi]
movzx eax, word [ebp - 0x12]
push 0x65
push str.CDownloadInstaller::Start::_lambda_1ef34beec4aa6ee6dcdb475b7b5e6dc9_::operator___
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push edi
call fcn.0044d850
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004064c0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00508494
mov esp, ebp
pop ebp
ret 8