Function at 0x43546e
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4354ab
cmp dword [0x4c12e0], 0
je 0x4354ab
cmp dword [0x4c3630], 0
je 0x4354ab
mov eax, dword [ecx]
push str.In_CCleanUp::CopyCleanupToInstaller__
push ecx
call dword [eax + 0x10]
pop ecx
pop ecx
xor edi, edi
push edi
push dword [esi + 0xc]
call fcn.0044261e
pop ecx
pop ecx
test eax, eax
je 0x4354e9
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4357b7
cmp dword [0x4c12e0], edi
je 0x4357b7
push dword [esi + 0xc]
mov eax, dword [ecx]
push str.File__s_does_not_exist._Nothing_to_copy_over
push ecx
call dword [eax + 0x14]
add esp, 0xc
jmp 0x4357b7
push ebx
push edi
mov ebx, 0x208
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.00444c88
add esp, 0xc
test eax, eax
je 0x435796
push 0x497acc
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.00465e4f
push str.cleanup.ini
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x494bc0
push eax
call fcn.004134fa
lea eax, [ebp - 0x61c]
push 1
push eax
call fcn.0044261e
add esp, 0x24
test eax, eax
je 0x435589
lea eax, [ebp - 0x61c]
push eax
call fcn.004447fc
pop ecx
mov ecx, dword [esi + 0x10]
test eax, eax
jne 0x4355df
test ecx, ecx
je 0x435589
cmp dword [0x4c12e0], edi
je 0x435589
cmp dword [0x4c3630], edi
je 0x435589
mov eax, dword [ecx]
lea edx, [ebp - 0x61c]
push edx
push str...Created_directory__s
push ecx
call dword [eax + 0x10]
add esp, 0xc
push dword [esi + 0xc]
lea eax, [ebp - 0x20c]
push 0x496090
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004660fd
add esp, 0x14
test eax, eax
jne 0x435610
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4357b6
cmp dword [0x4c12e0], edi
je 0x4357b6
mov eax, dword [ecx]
push str.File__s_is_already_at_the_destination_location___s_._Not_doing_anything
push ecx
call dword [eax + 0x18]
jmp 0x435792
test ecx, ecx
je 0x4357b6
cmp dword [0x4c12e0], edi
je 0x4357b6
push dword [esi + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 0x61c]
push edx
push str.Unable_to_create_installer_folder__s_for_cleanup_ini._Not_copying_ini_file__s
push ecx
call dword [eax + 0x14]
add esp, 0x10
jmp 0x4357b6
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0044261e
pop ecx
pop ecx
mov ecx, dword [esi + 0x10]
test eax, eax
je 0x4356c2
test ecx, ecx
je 0x43565a
cmp dword [0x4c12e0], edi
je 0x43565a
cmp dword [0x4c3630], edi
je 0x43565a
mov eax, dword [ecx]
lea edx, [ebp - 0x20c]
push edx
lea edx, [ebp - 0x414]
push edx
push str...File__s_does_not_exist._Directly_moving_from_source__s
push ecx
call dword [eax + 0x10]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x435726
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x435726
cmp dword [0x4c12e0], edi
je 0x435726
mov ecx, dword [edx]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push str...There_was_an_error_when_moving_file__s_to__s._Error:__d
push edx
call dword [ecx + 0x14]
add esp, 0x14
jmp 0x435726
test ecx, ecx
je 0x4356f2
cmp dword [0x4c12e0], edi
je 0x4356f2
cmp dword [0x4c3630], edi
je 0x4356f2
mov eax, dword [ecx]
lea edx, [ebp - 0x20c]
push edx
lea edx, [ebp - 0x414]
push edx
push str...File__s_already_exists._We_need_to_append_the_contents_of_the_current_file__s__to_this_file
push ecx
call dword [eax + 0x10]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004381e0
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00442d8e
pop ecx
pop ecx
cmp dword [esi + 0xc], edi
je 0x435734
push dword [esi + 0xc]
call fcn.0045f1d9
pop ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x435760
cmp dword [0x4c12e0], edi
je 0x435760
cmp dword [0x4c3630], edi
je 0x435760
mov eax, dword [ecx]
lea edx, [ebp - 0x414]
push edx
push str...Set_new_cleanup_workfile_to__s
push ecx
call dword [eax + 0x10]
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call fcn.00465f76
pop ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x4357b6
cmp dword [0x4c12e0], edi
je 0x4357b6
cmp dword [0x4c3630], edi
je 0x4357b6
mov eax, dword [ecx]
push str.CCleanUp::CopyCleanupToInstaller___returns
push ecx
call dword [eax + 0x10]
pop ecx
pop ecx
jmp 0x4357b6
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4357b6
cmp dword [0x4c12e0], edi
je 0x4357b6
push dword [esi + 0xc]
mov eax, dword [ecx]
push str.Could_not_get_the_path_to_common_files_folder._Not_copying_ini_file__s
push ecx
call dword [eax + 0x14]
add esp, 0xc
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00458eeb
leave
ret