Function at 0x417790
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6636
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x5094d8]
xor eax, esp
mov dword [esp + 0x54c], eax
push esi
push edi
mov eax, dword [0x5094d8]
xor eax, esp
push eax
lea eax, [esp + 0x560]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
push 0x206
push eax
mov word [esp + 0x354], ax
lea eax, [esp + 0x356]
push eax
call fcn.00497a40
add esp, 0xc
lea eax, [esp + 0x34c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4eb8e4]
movq xmm0, qword [str.00000]
push 0x1fc
mov dword [esp + 0x150], eax
lea eax, [esp + 0x154]
push 0
push eax
movq qword [esp + 0x150], xmm0
call fcn.00497a40
add esp, 0xc
mov dword [esp + 0x11c], 0
lea eax, [esp + 0x11c]
mov dword [esp + 0x128], 0
xorps xmm0, xmm0
movq qword [esp + 0x120], xmm0
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x104
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x124]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [esp + 0xbc]
call fcn.0040f8e0
push str._setup_
push eax
lea eax, [esp + 0x134]
mov dword [esp + 0x570], 0
push eax
call fcn.00411bd0
add esp, 0xc
mov byte [esp + 0x568], 2
cmp dword [esp + 0xd0], 8
jb 0x4178d3
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], 7
cmp dword [esp + 0x140], 8
lea edx, [esp + 0x12c]
mov dword [esp + 0xb4], eax
cmovae edx, dword [esp + 0x12c]
mov word [esp + 0xa4], ax
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
cmp word [edx], ax
jne 0x41792d
xor ecx, ecx
jmp 0x417941
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417932
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xac]
call fcn.00407a10
lea ecx, [esp + 0xa4]
mov byte [esp + 0x568], 3
call fcn.0040fbe0
mov byte [esp + 0x568], 2
cmp dword [esp + 0xb8], 8
jb 0x417984
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
lea eax, [esp + 0x144]
push eax
lea edx, [esp + 0x130]
lea ecx, [esp + 0xf0]
call fcn.00411cd0
add esp, 4
mov byte [esp + 0x568], 4
lea eax, [esp + 0xec]
cmp dword [esp + 0x100], 8
cmovae eax, dword [esp + 0xec]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x4ea57c
lea edx, [esp + 0xf0]
lea ecx, [esp + 0xc0]
call fcn.00411cd0
add esp, 4
push str.dnuninst.exe
push eax
lea eax, [esp + 0x10c]
mov byte [esp + 0x570], 5
push eax
call fcn.00411bd0
add esp, 0xc
mov byte [esp + 0x568], 7
cmp dword [esp + 0xd0], 8
jb 0x417a24
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
cmp dword [esp + 0x118], 8
mov word [esp + 0xbc], ax
lea eax, [esp + 0x104]
cmovae eax, dword [esp + 0x104]
push 0
push eax
lea eax, [esp + 0x354]
mov dword [esp + 0xd4], 0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x417aa3
cmp dword [esp + 0x118], 8
lea esi, [esp + 0x104]
cmovae esi, dword [esp + 0x104]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.uninstall__prepare_uninstall__copy_file_fail_dest_file_is__s__last_error_is__d
push 0x50
push str.SimulatorUninstallCore::runProxy
call fcn.004209c0
add esp, 0x14
lea eax, [edi + 4]
lea ecx, [esp + 0xec]
cmp ecx, eax
je 0x417abb
push 0xffffffffffffffff
push 0
push eax
call fcn.00408180
mov eax, dword [esp + 0xfc]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x417ad3
push str.invalid_string_position
call fcn.00441916
cmp dword [esp + 0x100], 8
lea eax, [esp + 0xec]
cmovae eax, dword [esp + 0xec]
cmp word [eax + ecx*2], 0x5c
jne 0x417b78
push ecx
push 0
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xf8]
call fcn.00411140
mov esi, eax
lea eax, [esp + 0xec]
cmp eax, esi
je 0x417b5f
cmp dword [esp + 0x100], 8
jb 0x417b32
push dword [esp + 0xec]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0x100], 7
push esi
lea ecx, [esp + 0xf0]
mov dword [esp + 0x100], 0
mov word [esp + 0xf0], ax
call fcn.00407930
cmp dword [esp + 0xb8], 8
jb 0x417b78
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
sub esp, 8
lea ecx, [esp + 0x14]
call fcn.00418870
mov byte [esp + 0x568], 8
lea ecx, [esp + 0xc]
cmp byte [edi], 0
mov edx, str._silencedelete
jne 0x417b9f
mov edx, str._delete
call fcn.004192e0
mov edx, 0x4ea670
lea ecx, [esp + 0xc]
call fcn.004192e0
mov edx, str._path
mov ecx, eax
call fcn.004192e0
mov edx, 0x4eb9ec
mov ecx, eax
call fcn.004192e0
lea edx, [esp + 0xec]
mov ecx, eax
call fcn.004195a0
mov edx, 0x4ea66c
mov ecx, eax
call fcn.004192e0
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x10]
call fcn.00418940
mov byte [esp + 0x568], 9
cmp dword [eax + 0x14], 8
jb 0x417c05
mov eax, dword [eax]
push eax
push str.para_is__s
push 0x66
push str.SimulatorUninstallCore::runProxy
call fcn.004209c0
add esp, 0x10
mov byte [esp + 0x568], 8
cmp dword [esp + 0xd0], 8
jb 0x417c3b
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4e6c88
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00407a10
mov byte [esp + 0x568], 0xa
lea ecx, [esp + 0xa4]
push 0x17
xor eax, eax
mov dword [esp + 0xbc], 7
push str._F__IM_LdVBoxSVC.exe__T
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
call fcn.00407a10
mov byte [esp + 0x568], 0xb
lea ecx, [esp + 0xd4]
push 8
xor eax, eax
mov dword [esp + 0xec], 7
push str.taskkill
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
call fcn.00407a10
sub esp, 0x10
mov byte [esp + 0x578], 0xc
lea eax, [esp + 0xcc]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xe4]
push eax
call fcn.004108e0
add esp, 0x14
cmp dword [esp + 0xe8], 8
jb 0x417d25
push dword [esp + 0xd4]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xe8], 7
cmp dword [esp + 0xb8], 8
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
jb 0x417d5e
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
xor eax, eax
mov byte [esp + 0x568], 8
cmp dword [esp + 0xd0], 8
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
jb 0x417d9f
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4e6c88
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00407a10
mov byte [esp + 0x568], 0xd
lea ecx, [esp + 0xd4]
push 0x18
xor eax, eax
mov dword [esp + 0xec], 7
push str._F__IM_VirtualBox.exe__T
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
call fcn.00407a10
mov byte [esp + 0x568], 0xe
lea ecx, [esp + 0xa4]
push 8
xor eax, eax
mov dword [esp + 0xbc], 7
push str.taskkill
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
call fcn.00407a10
sub esp, 0x10
mov byte [esp + 0x578], 0xf
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.004108e0
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x417e89
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], 7
cmp dword [esp + 0xe8], 8
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
jb 0x417ec2
push dword [esp + 0xd4]
call fcn.00470760
add esp, 4
xor eax, eax
mov byte [esp + 0x568], 8
cmp dword [esp + 0xd0], 8
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
jb 0x417f03
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4e6c88
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00407a10
mov byte [esp + 0x568], 0x10
lea ecx, [esp + 0xd4]
push 0x18
xor eax, eax
mov dword [esp + 0xec], 7
push str._F__IM_VBoxManage.exe__T
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
call fcn.00407a10
mov byte [esp + 0x568], 0x11
lea ecx, [esp + 0xa4]
push 8
xor eax, eax
mov dword [esp + 0xbc], 7
push str.taskkill
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
call fcn.00407a10
sub esp, 0x10
mov byte [esp + 0x578], 0x12
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.004108e0
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x417fed
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], 7
cmp dword [esp + 0xe8], 8
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
jb 0x418026
push dword [esp + 0xd4]
call fcn.00470760
add esp, 4
xor eax, eax
mov byte [esp + 0x568], 8
cmp dword [esp + 0xd0], 8
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
jb 0x418067
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4e6c88
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00407a10
mov byte [esp + 0x568], 0x13
lea ecx, [esp + 0xd4]
push 0x11
xor eax, eax
mov dword [esp + 0xec], 7
push str._F__IM_adb.exe__T
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
call fcn.00407a10
mov byte [esp + 0x568], 0x14
lea ecx, [esp + 0xa4]
push 8
xor eax, eax
mov dword [esp + 0xbc], 7
push str.taskkill
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
call fcn.00407a10
sub esp, 0x10
mov byte [esp + 0x578], 0x15
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.004108e0
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x418151
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], 7
cmp dword [esp + 0xe8], 8
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
jb 0x41818a
push dword [esp + 0xd4]
call fcn.00470760
add esp, 4
xor eax, eax
mov byte [esp + 0x568], 8
cmp dword [esp + 0xd0], 8
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
jb 0x4181cb
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4e6c88
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00407a10
mov byte [esp + 0x568], 0x16
lea ecx, [esp + 0xd4]
push 0xf
xor eax, eax
mov dword [esp + 0xec], 7
push str._F__IM_aapt.exe
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
call fcn.00407a10
mov byte [esp + 0x568], 0x17
lea ecx, [esp + 0xa4]
push 8
xor eax, eax
mov dword [esp + 0xbc], 7
push str.taskkill
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
call fcn.00407a10
sub esp, 0x10
mov byte [esp + 0x578], 0x18
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.004108e0
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x4182b5
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], 7
cmp dword [esp + 0xe8], 8
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
jb 0x4182ee
push dword [esp + 0xd4]
call fcn.00470760
add esp, 4
xor eax, eax
mov byte [esp + 0x568], 8
cmp dword [esp + 0xd0], 8
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
jb 0x41832f
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
push 0x4e6c88
lea ecx, [esp + 0xd8]
call fcn.00407b40
push str._F__IM_ldrecord.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x19
call fcn.00407b40
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x1a
call fcn.00407b40
sub esp, 0x10
mov byte [esp + 0x578], 0x1b
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.004108e0
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x4183b4
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
cmp dword [esp + 0xb8], 8
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
jb 0x4183ed
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
xor eax, eax
mov byte [esp + 0x568], 8
cmp dword [esp + 0xe8], 8
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
jb 0x41842e
push dword [esp + 0xd4]
call fcn.00470760
add esp, 4
push 0x4e6c88
lea ecx, [esp + 0xd8]
call fcn.00407b40
push str._F__IM_fynews.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x1c
call fcn.00407b40
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x1d
call fcn.00407b40
sub esp, 0x10
mov byte [esp + 0x578], 0x1e
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.004108e0
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x4184b3
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
cmp dword [esp + 0xb8], 8
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
jb 0x4184ec
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
xor eax, eax
mov byte [esp + 0x568], 8
cmp dword [esp + 0xe8], 8
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
jb 0x41852d
push dword [esp + 0xd4]
call fcn.00470760
add esp, 4
push 0x4e6c88
lea ecx, [esp + 0xd8]
call fcn.00407b40
push str._F__IM_ldnews.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x1f
call fcn.00407b40
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x20
call fcn.00407b40
sub esp, 0x10
mov byte [esp + 0x578], 0x21
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.004108e0
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x4185b2
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
cmp dword [esp + 0xb8], 8
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
jb 0x4185eb
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
xor eax, eax
mov byte [esp + 0x568], 8
cmp dword [esp + 0xe8], 8
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
jb 0x41862c
push dword [esp + 0xd4]
call fcn.00470760
add esp, 4
cmp dword [esp + 0x118], 8
lea eax, [esp + 0x104]
lea ecx, [esp + 0xa4]
cmovae eax, dword [esp + 0x104]
push eax
call fcn.00407b40
lea eax, [esp + 0xbc]
mov byte [esp + 0x568], 0x22
push eax
lea ecx, [esp + 0x10]
call fcn.00418940
push ecx
mov edx, eax
mov byte [esp + 0x56c], 0x23
lea ecx, [esp + 0xa8]
call fcn.00410630
add esp, 4
cmp dword [esp + 0xd0], 8
jb 0x41869c
push dword [esp + 0xbc]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
cmp dword [esp + 0xb8], 8
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
jb 0x4186d5
push dword [esp + 0xa4]
call fcn.00470760
add esp, 4
lea ecx, [esp + 0xc]
call fcn.00418790
cmp dword [esp + 0x118], 8
jb 0x4186f7
push dword [esp + 0x104]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0x118], 7
cmp dword [esp + 0x100], 8
mov dword [esp + 0x114], 0
mov word [esp + 0x104], ax
jb 0x418730
push dword [esp + 0xec]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esp + 0x100], 7
cmp dword [esp + 0x140], 8
mov dword [esp + 0xfc], 0
mov word [esp + 0xec], ax
jb 0x418769
push dword [esp + 0x12c]
call fcn.00470760
add esp, 4
mov ecx, dword [esp + 0x560]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x54c]
xor ecx, esp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret