Function at 0x4235c0
Capabilities:
Copy file
Delete file

Disassembly:
push 0x4bc
mov eax, 0x4ad91b
call fcn.00469d7c
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.00414da1
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.0041f8ee
test eax, eax
jne 0x42362f
inc eax
jmp 0x423b18
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.0041cc30
push 0x250
lea eax, [ebp - 0x260]
push esi
push eax
call fcn.004821b0
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 0x4237b7
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.00414670
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.0044447d
test eax, eax
je 0x42377b
cmp dword [ebp - 0x240], 0x800
jbe 0x42377b
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.0042f307
mov ebx, eax
pop ecx
lea ecx, [ebp - 0x4b8]
test ebx, ebx
jne 0x423726
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 0x423798
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.00414670
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, 0x515e58
call fcn.0040a2d0
jmp 0x4237b7
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.00414670
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4b8]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [0x515f40], 0
je 0x4237c7
xor eax, eax
jmp 0x423b18
test esi, esi
jne 0x4239c1
call fcn.0044ff01
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, 0x515e58
push eax
call fcn.0040d70c
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4c4]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x4b8]
mov ecx, 0x515e58
push eax
call fcn.0040ce2c
mov ecx, dword [ebp - 0x4c0]
push 1
push esi
push esi
push esi
push dword [ebp - 0x4bc]
push edi
call fcn.00422947
test eax, eax
je 0x4239a7
push 0x250
lea eax, [ebp - 0x4b0]
push esi
push eax
call fcn.004821b0
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 0x423978
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.00414670
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.0044447d
test eax, eax
je 0x423962
cmp dword [ebp - 0x490], 0x800
jbe 0x423962
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.0042f307
mov ebx, eax
pop ecx
lea ecx, [ebp - 0x4bc]
test ebx, ebx
jne 0x423910
push str.valid_after_BB_download:
inc esi
call fcn.00402829
mov byte [ebp - 4], 8
jmp 0x423986
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.00414670
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, 0x515e58
call fcn.0040a2d0
jmp 0x4239a7
push str.not_msi_or_invalid_size:
lea ecx, [ebp - 0x4bc]
call fcn.00402829
mov byte [ebp - 4], 0xa
jmp 0x423986
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.00414670
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 0x423b16
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 0x423a71
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.00414e8a
pop ecx
lea eax, [ebp - 0x4b1]
mov byte [ebp - 0x4b1], 0
push eax
push esi
push str.Transfer_Manifest_Failed
mov ecx, 0x515e58
call fcn.0040a2d0
xor esi, esi
jmp 0x423a9e
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.00414670
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 0x423afa
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.00414670
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.00469d26
ret 4