Function at 0x42f050
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4561c6
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
push str.task:_lu__download_error_code:_d_n
push str.CBizInstallerMgr::OnDownloadComplete
mov ebx, str.CBizInstallerMgr::OnDownloadComplete
mov edi, 3
mov ecx, 0x106
mov edx, str.R:TempViewMiscSetup3BackupDownloaderNetworkBizInstallerMgr.cpp
call fcn.0040e5f0
mov edx, dword [esi + 0xbc]
lea ecx, [esi + 0xd4]
add esp, 0x10
lea ebx, [ebp - 0x88]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x90], ecx
call fcn.00428ef0
mov eax, dword [esi + 0xd8]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
cmp ecx, eax
je 0x42f0f8
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0xe0]
jmp 0x42f0fa
xor eax, eax
cmp eax, dword [ebp + 8]
jne 0x42f237
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x49f044]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
sete cl
mov dword [0x49f044], eax
mov byte [0x49f042], cl
mov edx, dword [esi + 0xbc]
push edx
lea eax, [esi + 0xc8]
push eax
call fcn.004362f0
cmp edi, ebx
jne 0x42f1da
mov edx, dword [esi + 0xc0]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], ebx
call fcn.0041dc70
add esp, 4
test eax, eax
je 0x42f197
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
call fcn.0041c8a0
test eax, eax
je 0x42f1cb
lea ecx, [ebp - 0x84]
push ecx
mov dword [ebp - 0x84], 0x45f78c
push 0x119
jmp 0x42f1ad
lea edx, [ebp - 0x84]
push edx
mov dword [ebp - 0x84], 0x45f79c
push 0x11e
mov ebx, str.CBizInstallerMgr::OnDownloadComplete
push str.R:TempViewMiscSetup3BackupDownloaderNetworkBizInstallerMgr.cpp
mov edx, 0x45a7a8
mov edi, 3
mov ecx, ebx
call fcn.00407520
add esp, 0xc
mov eax, dword [esi + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42f20e
lea ecx, [ebp - 0x84]
push ecx
mov ebx, str.CBizInstallerMgr::OnDownloadComplete
push 0x126
push str.R:TempViewMiscSetup3BackupDownloaderNetworkBizInstallerMgr.cpp
mov edx, 0x45a7a8
mov edi, 3
mov ecx, ebx
mov dword [ebp - 0x84], 0x45f7ac
call fcn.00407520
add esp, 0xc
push esi
call fcn.004302f0
push 1
lea edx, [esi + 0x9c]
push edx
push esi
call fcn.00431670
mov dword [esi + 0xc4], 1
mov eax, 1
jmp 0x42f956
mov edi, dword [esi + 0x14]
mov ecx, dword [ebp - 0x90]
lea ebx, [ebp - 0x84]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x84], edi
call fcn.00428ef0
mov eax, dword [ebp - 0x88]
xor ebx, ebx
cmp eax, dword [ebp - 0x8c]
je 0x42f272
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xe0]
jmp 0x42f274
xor eax, eax
cmp eax, dword [ebp + 8]
jne 0x42f522
push edi
lea eax, [esi + 0xc8]
push eax
call fcn.004362f0
cmp dword [ebp + 0xc], ebx
je 0x42f345
xor ecx, ecx
mov dword [esi + 0x90], 1
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x48]
push 0x65
push edx
mov dword [ebp - 4], ebx
call fcn.00417480
mov ecx, dword [esi + 0x98]
add esp, 0x18
mov edi, 8
cmp ecx, ebx
je 0x42f2e4
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x42f2dc
lea eax, [ebp - 0x48]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
add esi, 0x18
cmp dword [esi + 0x14], edi
jb 0x42f2ee
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x84]
push ecx
mov ebx, str.CBizInstallerMgr::OnDownloadComplete
push 0x143
push str.R:TempViewMiscSetup3BackupDownloaderNetworkBizInstallerMgr.cpp
mov edx, 0x45a7a8
mov edi, 3
mov ecx, ebx
mov dword [ebp - 0x84], 0x45f7c0
call fcn.00407520
add esp, 0xc
cmp dword [ebp - 0x34], 8
jb 0x42f33b
mov edx, dword [ebp - 0x48]
push edx
call fcn.0043e7d7
add esp, 4
mov eax, 1
jmp 0x42f956
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], al
lea ebx, [esi + 0x18]
mov byte [ebp - 4], 2
cmp dword [ebx + 0x14], 8
jb 0x42f37a
mov eax, dword [ebx]
jmp 0x42f37c
mov eax, ebx
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x80]
call fcn.004189d0
add esp, 4
cmp dword [ebx + 0x14], 8
mov edi, eax
jb 0x42f395
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x42f414
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
push ecx
push ecx
push ecx
push ecx
lea edx, [ebp - 0x48]
push 0x66
push edx
mov byte [ebp - 4], 3
call fcn.00417480
mov ecx, dword [esi + 0x98]
add esp, 0x18
test ecx, ecx
je 0x42f3e8
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x42f3e0
lea eax, [ebp - 0x48]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
mov dword [esi + 0x90], 1
lea esi, [ebp - 0x48]
call fcn.00401410
lea esi, [ebp - 0x64]
call fcn.0042a5f0
lea esi, [ebp - 0x80]
call fcn.00401410
mov eax, 1
jmp 0x42f956
lea ecx, [ebp - 0x64]
push ecx
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [esi + 0x70]
call fcn.00413190
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], ebx
call fcn.00418d90
add esp, 4
cmp eax, ebx
jne 0x42f4b9
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x48]
push 0x2710
push edx
mov byte [ebp - 4], 5
call fcn.00417480
mov ecx, dword [esi + 0x98]
add esp, 0x18
cmp ecx, ebx
je 0x42f49f
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x42f497
lea eax, [ebp - 0x48]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
mov dword [esi + 0x90], 1
lea esi, [ebp - 0x48]
call fcn.00401410
lea esi, [ebp - 0x2c]
jmp 0x42f3f5
cmp eax, 2
jne 0x42f4df
lea edx, [ebp - 0x80]
push edx
lea ecx, [esi + 0x34]
mov edx, esi
call fcn.004347a0
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x90], eax
lea esi, [ebp - 0x2c]
jmp 0x42f3f5
lea eax, [ebp - 0x64]
push eax
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [esi + 0x70]
call fcn.00413190
xor edi, edi
push edi
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [esi + 0x54]
or eax, 0xffffffff
call fcn.00401690
mov edx, dword [ebp - 0x88]
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
lea esi, [ebp - 0x2c]
jmp 0x42f3f5
mov edi, dword [esi + 0x50]
mov ecx, dword [ebp - 0x90]
lea ebx, [ebp - 0x84]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x84], edi
call fcn.00428ef0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x8c]
je 0x42f55b
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xe0]
jmp 0x42f55d
xor eax, eax
cmp eax, dword [ebp + 8]
jne 0x42f781
push edi
lea eax, [esi + 0xc8]
push eax
call fcn.004362f0
cmp dword [ebp + 0xc], 0
je 0x42f62e
lea eax, [esi + 0x34]
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x42f58c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
push ecx
push ecx
push ecx
push ecx
lea edx, [ebp - 0x2c]
push 0x3e9
push edx
mov dword [ebp - 4], 6
call fcn.00417480
mov ecx, dword [esi + 0x98]
add esp, 0x18
test ecx, ecx
je 0x42f5e0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x42f5d8
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
lea ecx, [ebp - 0x84]
push ecx
mov ebx, str.CBizInstallerMgr::OnDownloadComplete
push 0x193
push str.R:TempViewMiscSetup3BackupDownloaderNetworkBizInstallerMgr.cpp
mov edx, 0x45a7a8
mov edi, 3
mov ecx, ebx
mov dword [ebp - 0x84], 0x45f7ec
call fcn.00407520
mov dword [esi + 0x90], 1
add esp, 0xc
lea esi, [ebp - 0x2c]
call fcn.00401410
lea eax, [edi - 2]
jmp 0x42f956
lea edi, [esi + 0x34]
mov ebx, 8
cmp dword [edi + 0x14], ebx
jb 0x42f63f
mov ecx, dword [edi]
jmp 0x42f641
mov ecx, edi
lea edx, [esi + 0x70]
call fcn.004194d0
cmp eax, 1
jne 0x42f6c2
cmp dword [edi + 0x14], ebx
jb 0x42f655
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 7
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
push edx
push edx
push edx
push edx
mov dword [ebp - 4], eax
push 0x3ea
lea eax, [ebp - 0x2c]
push eax
call fcn.00417480
mov ecx, dword [esi + 0x98]
add esp, 0x18
test ecx, ecx
je 0x42f6a6
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x42f69e
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
mov dword [esi + 0x90], 1
lea esi, [ebp - 0x2c]
call fcn.00401410
mov eax, 1
jmp 0x42f956
cmp eax, 2
jne 0x42f6fb
cmp dword [edi + 0x14], ebx
jb 0x42f6ce
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
push ecx
push ecx
push ecx
push ecx
push 0x3eb
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
push edx
jmp 0x42f681
test eax, eax
jne 0x42f763
cmp dword [edi + 0x14], ebx
jb 0x42f706
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
push edi
push edi
push edi
push edi
lea edx, [ebp - 0x2c]
push 0x2710
push edx
mov dword [ebp - 4], 9
call fcn.00417480
mov ecx, dword [esi + 0x98]
add esp, 0x18
cmp ecx, edi
je 0x42f758
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x42f750
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
mov dword [esi + 0x94], edi
jmp 0x42f6a6
mov dword [esi + 0x94], 1
mov dword [esi + 0x90], 0
mov eax, 1
jmp 0x42f956
mov edi, dword [esi + 0x9c]
cmp edi, dword [esi + 0xa0]
je 0x42f7da
nop
mov ecx, dword [edi]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x90]
lea ebx, [ebp - 0x84]
lea eax, [ebp - 0x88]
call fcn.00428ef0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x8c]
je 0x42f7c8
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 0xe0]
jmp 0x42f7ca
xor eax, eax
cmp eax, dword [ebp + 8]
je 0x42f817
add edi, 0x20
cmp edi, dword [esi + 0xa0]
jne 0x42f790
mov edi, dword [esi + 0xac]
cmp edi, dword [esi + 0xb0]
je 0x42f954
mov edx, dword [ebp - 0x90]
mov ebx, dword [edx + 4]
mov eax, dword [ebx + 4]
cmp byte [eax + 0x15], 0
mov edx, dword [edi]
mov ecx, ebx
jne 0x42f906
cmp dword [eax + 0xc], edx
jae 0x42f8f8
mov eax, dword [eax + 8]
jmp 0x42f8fc
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x18]
mov dword [edi + 0xc], eax
mov dword [ecx + 0xc], eax
mov ebx, dword [edi + 0x18]
mov dword [edi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x14]
cmp dword [ebp + 0xc], 0
mov dword [ebx + 0x14], eax
jne 0x42f8e0
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x14], 0
je 0x42f8e0
mov eax, dword [0x4690e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4690e4
call edx
add eax, 0x10
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xa
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [ebp - 0x8c]
push edx
call eax
mov eax, dword [ebp - 0x8c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.00408970
add eax, 0x10
mov dword [ebx], eax
call fcn.00433010
cmp eax, 0xffffffff
je 0x42f8b7
mov ecx, dword [edi + 0x18]
xor edx, edx
div dword [ecx + 0x14]
imul eax, eax, 0x3e8
mov dword [ecx + 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x8c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f8e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
push ecx
lea eax, [esi + 0xc8]
push eax
call fcn.004362f0
mov ecx, edi
call fcn.004317e0
jmp 0x42f956
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0x42f806
mov dword [ebp - 0x84], ecx
cmp ecx, ebx
je 0x42f91d
cmp edx, dword [ecx + 0xc]
jb 0x42f91d
lea eax, [ebp - 0x84]
jmp 0x42f929
mov dword [ebp - 0x88], ebx
lea eax, [ebp - 0x88]
mov eax, dword [eax]
cmp eax, dword [esi + 0xd8]
je 0x42f93e
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xe0]
jmp 0x42f940
xor eax, eax
cmp eax, dword [ebp + 8]
je 0x42f974
add edi, 0x20
cmp edi, dword [esi + 0xb0]
jne 0x42f7f5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x18]
mov dword [edi + 0xc], eax
mov dword [ecx + 0xc], eax
mov ebx, dword [edi + 0x18]
mov dword [edi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x14]
cmp dword [ebp + 0xc], 0
mov dword [ebx + 0x14], eax
jne 0x42fa3d
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x14], 0
je 0x42fa3d
mov eax, dword [0x4690e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4690e4
call edx
add eax, 0x10
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], 0xb
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [ebp - 0x90]
push edx
call eax
mov eax, dword [ebp - 0x90]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.00408970
add eax, 0x10
mov dword [ebx], eax
call fcn.00433010
cmp eax, 0xffffffff
je 0x42fa14
mov ecx, dword [edi + 0x18]
xor edx, edx
div dword [ecx + 0x14]
imul eax, eax, 0x3e8
mov dword [ecx + 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fa3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
push ecx
lea eax, [esi + 0xc8]
push eax
call fcn.004362f0
mov ecx, edi
call fcn.00431950
jmp 0x42f956