Function at 0x414660
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bcbd6
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x4f84d8]
xor eax, esp
mov dword [esp + 0x54c], eax
push esi
push edi
mov eax, dword [0x4f84d8]
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.0048f1a0
add esp, 0xc
lea eax, [esp + 0x34c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4dc63c]
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.0048f1a0
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.0040ddc0
push str._setup_
mov edx, eax
mov dword [esp + 0x56c], 0
lea ecx, [esp + 0x130]
call fcn.00410c80
add esp, 4
mov byte [esp + 0x568], 2
cmp dword [esp + 0xd0], 8
jb 0x4147a3
push dword [esp + 0xbc]
call fcn.00486360
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 0x4147fd
xor ecx, ecx
jmp 0x414811
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414802
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xac]
call fcn.004063e0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x568], 3
call fcn.0040e0d0
mov byte [esp + 0x568], 2
cmp dword [esp + 0xb8], 8
jb 0x414854
push dword [esp + 0xa4]
call fcn.00486360
add esp, 4
lea eax, [esp + 0x144]
push eax
lea edx, [esp + 0x130]
lea ecx, [esp + 0xf0]
call fcn.00410410
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 0x4db7dc
lea edx, [esp + 0xf0]
lea ecx, [esp + 0xc0]
call fcn.00410410
add esp, 4
push str.dnuninst.exe
mov edx, eax
mov byte [esp + 0x56c], 5
lea ecx, [esp + 0x108]
call fcn.00410c80
add esp, 4
mov byte [esp + 0x568], 7
cmp dword [esp + 0xd0], 8
jb 0x4148f4
push dword [esp + 0xbc]
call fcn.00486360
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 0x414973
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 0x4e
push str.SimulatorUninstallCore::runProxy
call fcn.0042c780
add esp, 0x14
lea eax, [edi + 4]
lea ecx, [esp + 0xec]
cmp ecx, eax
je 0x41498b
push 0xffffffffffffffff
push 0
push eax
call fcn.00406a90
mov eax, dword [esp + 0xfc]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x4149a3
push str.invalid_string_position
call fcn.0043a331
cmp dword [esp + 0x100], 8
lea eax, [esp + 0xec]
cmovae eax, dword [esp + 0xec]
cmp word [eax + ecx*2], 0x5c
jne 0x414a48
push ecx
push 0
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xf8]
call fcn.00410b60
mov esi, eax
lea eax, [esp + 0xec]
cmp eax, esi
je 0x414a2f
cmp dword [esp + 0x100], 8
jb 0x414a02
push dword [esp + 0xec]
call fcn.00486360
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.00406310
cmp dword [esp + 0xb8], 8
jb 0x414a48
push dword [esp + 0xa4]
call fcn.00486360
add esp, 4
sub esp, 8
lea ecx, [esp + 0x14]
call fcn.00415740
mov byte [esp + 0x568], 8
lea ecx, [esp + 0xc]
cmp byte [edi], 0
mov edx, str._silencedelete
jne 0x414a6f
mov edx, str._delete
call fcn.004161b0
mov edx, 0x4dbd60
lea ecx, [esp + 0xc]
call fcn.004161b0
mov edx, str._path
mov ecx, eax
call fcn.004161b0
mov edx, 0x4dc744
mov ecx, eax
call fcn.004161b0
lea edx, [esp + 0xec]
mov ecx, eax
call fcn.00416470
mov edx, 0x4dbd64
mov ecx, eax
call fcn.004161b0
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x10]
call fcn.00415810
mov byte [esp + 0x568], 9
cmp dword [eax + 0x14], 8
jb 0x414ad5
mov eax, dword [eax]
push eax
push str.para_is__s
push 0x64
push str.SimulatorUninstallCore::runProxy
call fcn.0042c780
add esp, 0x10
mov byte [esp + 0x568], 8
cmp dword [esp + 0xd0], 8
jb 0x414b0b
push dword [esp + 0xbc]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4db084
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.004063e0
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.004063e0
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.004063e0
sub esp, 0x10
mov byte [esp + 0x578], 0xc
lea eax, [esp + 0xcc]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xe4]
push eax
call fcn.0040f0b0
add esp, 0x14
cmp dword [esp + 0xe8], 8
jb 0x414bf5
push dword [esp + 0xd4]
call fcn.00486360
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 0x414c2e
push dword [esp + 0xa4]
call fcn.00486360
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 0x414c6f
push dword [esp + 0xbc]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4db084
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.004063e0
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.004063e0
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.004063e0
sub esp, 0x10
mov byte [esp + 0x578], 0xf
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040f0b0
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x414d59
push dword [esp + 0xa4]
call fcn.00486360
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 0x414d92
push dword [esp + 0xd4]
call fcn.00486360
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 0x414dd3
push dword [esp + 0xbc]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4db084
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.004063e0
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.004063e0
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.004063e0
sub esp, 0x10
mov byte [esp + 0x578], 0x12
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040f0b0
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x414ebd
push dword [esp + 0xa4]
call fcn.00486360
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 0x414ef6
push dword [esp + 0xd4]
call fcn.00486360
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 0x414f37
push dword [esp + 0xbc]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4db084
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.004063e0
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.004063e0
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.004063e0
sub esp, 0x10
mov byte [esp + 0x578], 0x15
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040f0b0
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x415021
push dword [esp + 0xa4]
call fcn.00486360
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 0x41505a
push dword [esp + 0xd4]
call fcn.00486360
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 0x41509b
push dword [esp + 0xbc]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4db084
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.004063e0
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.004063e0
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.004063e0
sub esp, 0x10
mov byte [esp + 0x578], 0x18
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040f0b0
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x415185
push dword [esp + 0xa4]
call fcn.00486360
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 0x4151be
push dword [esp + 0xd4]
call fcn.00486360
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 0x4151ff
push dword [esp + 0xbc]
call fcn.00486360
add esp, 4
push 0x4db084
lea ecx, [esp + 0xd8]
call fcn.004064e0
push str._F__IM_ldrecord.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x19
call fcn.004064e0
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x1a
call fcn.004064e0
sub esp, 0x10
mov byte [esp + 0x578], 0x1b
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.0040f0b0
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x415284
push dword [esp + 0xbc]
call fcn.00486360
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 0x4152bd
push dword [esp + 0xa4]
call fcn.00486360
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 0x4152fe
push dword [esp + 0xd4]
call fcn.00486360
add esp, 4
push 0x4db084
lea ecx, [esp + 0xd8]
call fcn.004064e0
push str._F__IM_fynews.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x1c
call fcn.004064e0
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x1d
call fcn.004064e0
sub esp, 0x10
mov byte [esp + 0x578], 0x1e
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.0040f0b0
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x415383
push dword [esp + 0xbc]
call fcn.00486360
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 0x4153bc
push dword [esp + 0xa4]
call fcn.00486360
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 0x4153fd
push dword [esp + 0xd4]
call fcn.00486360
add esp, 4
push 0x4db084
lea ecx, [esp + 0xd8]
call fcn.004064e0
push str._F__IM_ldnews.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x1f
call fcn.004064e0
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x20
call fcn.004064e0
sub esp, 0x10
mov byte [esp + 0x578], 0x21
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.0040f0b0
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x415482
push dword [esp + 0xbc]
call fcn.00486360
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 0x4154bb
push dword [esp + 0xa4]
call fcn.00486360
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 0x4154fc
push dword [esp + 0xd4]
call fcn.00486360
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.004064e0
lea eax, [esp + 0xbc]
mov byte [esp + 0x568], 0x22
push eax
lea ecx, [esp + 0x10]
call fcn.00415810
push ecx
mov edx, eax
mov byte [esp + 0x56c], 0x23
lea ecx, [esp + 0xa8]
call fcn.0040eae0
add esp, 4
cmp dword [esp + 0xd0], 8
jb 0x41556c
push dword [esp + 0xbc]
call fcn.00486360
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 0x4155a5
push dword [esp + 0xa4]
call fcn.00486360
add esp, 4
lea ecx, [esp + 0xc]
call fcn.00415660
cmp dword [esp + 0x118], 8
jb 0x4155c7
push dword [esp + 0x104]
call fcn.00486360
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 0x415600
push dword [esp + 0xec]
call fcn.00486360
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 0x415639
push dword [esp + 0x12c]
call fcn.00486360
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.00486203
mov esp, ebp
pop ebp
ret