Function at 0x423452
Capabilities:
Copy file
Delete file

Disassembly:
push 0x4bc
mov eax, 0x4ac7fb
call fcn.00468c4c
mov ebx, ecx
mov dword [ebp - 0x4c0], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x4b8]
push str.DownloadUpgradeManifest...
mov dword [ebp - 0x4bc], eax
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x4b8]
push 0
push 2
pop ecx
call fcn.00414ca1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x4b8]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea edi, [ebx + 0x10]
push edi
push str.UpgradeManifestPath
call fcn.0041f793
test eax, eax
jne 0x4234c1
inc eax
jmp 0x4239aa
push dword [edi]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov edx, dword [ebp - 0x4bc]
lea eax, [ebp - 0x4b8]
push 0xea60
push eax
mov ecx, edi
mov dword [ebp - 0x4b8], 1
mov edx, dword [edx]
xor esi, esi
call fcn.0041cb20
push 0x250
lea eax, [ebp - 0x260]
push esi
push eax
call fcn.00481070
add esp, 0x14
lea eax, [ebp - 0x260]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x423649
push str.download_success_with_BITs:
lea ecx, [ebp - 0x4b8]
call fcn.00402829
push esi
push edi
push 2
lea edx, [ebp - 0x4b8]
mov dword [ebp - 4], 1
pop ecx
call fcn.00414570
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4b8]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, str..msi
mov ecx, edi
call fcn.00443584
test eax, eax
je 0x42360d
cmp dword [ebp - 0x240], 0x800
jbe 0x42360d
mov ecx, dword [edi]
or edx, 0xffffffff
push str.2_16_17_18_19_52_53_54_63_68_81_82_83_84_85_86_87_88_89_90_91_92_93_97
call fcn.0042f13c
mov ebx, eax
pop ecx
lea ecx, [ebp - 0x4b8]
test ebx, ebx
jne 0x4235b8
push str.valid_after_BITs_download:
inc esi
call fcn.00402829
push 2
pop eax
push ebx
mov dword [ebp - 4], eax
mov ecx, eax
push edi
jmp 0x42362a
push str.invalid_after_BITs_download:
call fcn.00402829
xor ecx, ecx
mov dword [ebp - 4], 3
push ebx
push edi
lea edx, [ebp - 0x4b8]
inc ecx
call fcn.00414570
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4b8]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x4b1]
mov byte [ebp - 0x4b1], 0
push eax
push ebx
push str.Signature_Validation_Error
mov ecx, 0x513e58
call fcn.0040a210
jmp 0x423649
push str.not_msi_or_invalid_size:
lea ecx, [ebp - 0x4b8]
call fcn.00402829
push 0
push edi
push 2
mov dword [ebp - 4], 4
pop ecx
lea edx, [ebp - 0x4b8]
call fcn.00414570
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4b8]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [0x513f40], 0
je 0x423659
xor eax, eax
jmp 0x4239aa
test esi, esi
jne 0x423853
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00402899
push str.IDS_TITLE_CHECKING
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 4], 5
call fcn.00402829
lea eax, [ebp - 0x4b8]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x4c4]
mov ecx, 0x513e58
push eax
call fcn.0040d62c
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4c4]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x4b8]
mov ecx, 0x513e58
push eax
call fcn.0040cd50
mov ecx, dword [ebp - 0x4c0]
push 1
push esi
push esi
push esi
push dword [ebp - 0x4bc]
push edi
call fcn.004227d9
test eax, eax
je 0x423839
push 0x250
lea eax, [ebp - 0x4b0]
push esi
push eax
call fcn.00481070
add esp, 0xc
lea eax, [ebp - 0x4b0]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
lea ecx, [ebp - 0x4bc]
cmp ebx, 0xffffffff
je 0x42380a
push str.download_success_with_BB:
call fcn.00402829
push esi
push edi
push 2
lea edx, [ebp - 0x4bc]
mov byte [ebp - 4], 7
pop ecx
call fcn.00414570
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4bc]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, str..msi
mov ecx, edi
call fcn.00443584
test eax, eax
je 0x4237f4
cmp dword [ebp - 0x490], 0x800
jbe 0x4237f4
mov ecx, dword [edi]
or edx, 0xffffffff
push str.2_16_17_18_19_52_53_54_63_68_81_82_83_84_85_86_87_88_89_90_91_92_93_97
call fcn.0042f13c
mov ebx, eax
pop ecx
lea ecx, [ebp - 0x4bc]
test ebx, ebx
jne 0x4237a2
push str.valid_after_BB_download:
inc esi
call fcn.00402829
mov byte [ebp - 4], 8
jmp 0x423818
push str.invalid_after_BB_download:
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 9
push ebx
push edi
lea edx, [ebp - 0x4bc]
inc ecx
call fcn.00414570
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4bc]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x4b1]
mov byte [ebp - 0x4b1], 0
push eax
push ebx
push str.Signature_Validation_Error
mov ecx, 0x513e58
call fcn.0040a210
jmp 0x423839
push str.not_msi_or_invalid_size:
lea ecx, [ebp - 0x4bc]
call fcn.00402829
mov byte [ebp - 4], 0xa
jmp 0x423818
push str.not_found_after_BB_download:
call fcn.00402829
mov byte [ebp - 4], 0xb
push 0
push edi
push 2
lea edx, [ebp - 0x4bc]
pop ecx
call fcn.00414570
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4bc]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4b8]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test esi, esi
je 0x4239a8
mov eax, dword [ebp - 0x4c0]
add eax, 0xc
push str.UpgradeManifest.msi
push eax
lea eax, [ebp - 0x4c4]
push eax
call fcn.00402459
add esp, 0xc
push 0
mov dword [ebp - 4], 0xc
push dword [ebp - 0x4c4]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x423903
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
lea eax, [ebp - 0x4c8]
push str.Copy_Manifest
push eax
call fcn.004023f1
push str._failed:
push eax
lea eax, [ebp - 0x4c0]
mov byte [ebp - 4], 0xd
push eax
call fcn.00402459
add esp, 0x18
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x4c8]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor ecx, ecx
lea edx, [ebp - 0x4c0]
push esi
inc ecx
call fcn.00414d76
pop ecx
lea eax, [ebp - 0x4b1]
mov byte [ebp - 0x4b1], 0
push eax
push esi
push str.Transfer_Manifest_Failed
mov ecx, 0x513e58
call fcn.0040a210
xor esi, esi
jmp 0x423930
push str.Transfered:
lea ecx, [ebp - 0x4c0]
call fcn.00402829
push 0
lea eax, [ebp - 0x4c4]
mov byte [ebp - 4], 0x10
push eax
push 2
lea edx, [ebp - 0x4c0]
pop ecx
call fcn.00414570
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x4c0]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42398c
push str.failed_to_cleanup_file:
lea ecx, [ebp - 0x4c8]
call fcn.00402829
mov byte [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
xor ecx, ecx
lea edx, [ebp - 0x4c8]
push edi
inc ecx
call fcn.00414570
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x4c8]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x4c4]
mov ecx, edi
push eax
call fcn.00402e14
mov ecx, dword [ebp - 0x4c4]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.00468bf6
ret 4