Function at 0x416fc0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c92e7
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x50c4d8]
xor eax, esp
mov dword [esp + 0x54c], eax
push esi
push edi
mov eax, dword [0x50c4d8]
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.0049a790
add esp, 0xc
lea eax, [esp + 0x34c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4eead4]
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.0049a790
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.0040ef90
push str._setup_
push eax
lea eax, [esp + 0x134]
mov dword [esp + 0x570], 0
push eax
call fcn.00411140
add esp, 0xc
mov byte [esp + 0x568], 2
cmp dword [esp + 0xd0], 8
jb 0x417103
push dword [esp + 0xbc]
call fcn.00473460
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 0x41715d
xor ecx, ecx
jmp 0x417171
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417162
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xac]
call fcn.00407100
lea ecx, [esp + 0xa4]
mov byte [esp + 0x568], 3
call fcn.0040f290
mov byte [esp + 0x568], 2
cmp dword [esp + 0xb8], 8
jb 0x4171b4
push dword [esp + 0xa4]
call fcn.00473460
add esp, 4
lea eax, [esp + 0x144]
push eax
lea edx, [esp + 0x130]
lea ecx, [esp + 0xf0]
call fcn.00411240
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 0x4ed69c
lea edx, [esp + 0xf0]
lea ecx, [esp + 0xc0]
call fcn.00411240
add esp, 4
push str.dnuninst.exe
push eax
lea eax, [esp + 0x10c]
mov byte [esp + 0x570], 5
push eax
call fcn.00411140
add esp, 0xc
mov byte [esp + 0x568], 7
cmp dword [esp + 0xd0], 8
jb 0x417254
push dword [esp + 0xbc]
call fcn.00473460
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 0x4172d3
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.004204c0
add esp, 0x14
lea eax, [edi + 4]
lea ecx, [esp + 0xec]
cmp ecx, eax
je 0x4172eb
push 0xffffffffffffffff
push 0
push eax
call fcn.00407870
mov eax, dword [esp + 0xfc]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x417303
push str.invalid_string_position
call fcn.00444385
cmp dword [esp + 0x100], 8
lea eax, [esp + 0xec]
cmovae eax, dword [esp + 0xec]
cmp word [eax + ecx*2], 0x5c
jne 0x4173a8
push ecx
push 0
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xf8]
call fcn.004106b0
mov esi, eax
lea eax, [esp + 0xec]
cmp eax, esi
je 0x41738f
cmp dword [esp + 0x100], 8
jb 0x417362
push dword [esp + 0xec]
call fcn.00473460
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.00407020
cmp dword [esp + 0xb8], 8
jb 0x4173a8
push dword [esp + 0xa4]
call fcn.00473460
add esp, 4
sub esp, 8
lea ecx, [esp + 0x14]
call fcn.004181a0
mov byte [esp + 0x568], 8
lea ecx, [esp + 0xc]
cmp byte [edi], 0
mov edx, str._silencedelete
jne 0x4173cf
mov edx, str._delete
call fcn.00418c10
mov edx, 0x4ed790
lea ecx, [esp + 0xc]
call fcn.00418c10
mov edx, str._path
mov ecx, eax
call fcn.00418c10
mov edx, 0x4eebdc
mov ecx, eax
call fcn.00418c10
lea edx, [esp + 0xec]
mov ecx, eax
call fcn.00418ed0
mov edx, 0x4ed78c
mov ecx, eax
call fcn.00418c10
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x10]
call fcn.00418270
mov byte [esp + 0x568], 9
cmp dword [eax + 0x14], 8
jb 0x417435
mov eax, dword [eax]
push eax
push str.para_is__s
push 0x66
push str.SimulatorUninstallCore::runProxy
call fcn.004204c0
add esp, 0x10
mov byte [esp + 0x568], 8
cmp dword [esp + 0xd0], 8
jb 0x41746b
push dword [esp + 0xbc]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4e9c80
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00407100
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.00407100
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.00407100
sub esp, 0x10
mov byte [esp + 0x578], 0xc
lea eax, [esp + 0xcc]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xe4]
push eax
call fcn.0040fe50
add esp, 0x14
cmp dword [esp + 0xe8], 8
jb 0x417555
push dword [esp + 0xd4]
call fcn.00473460
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 0x41758e
push dword [esp + 0xa4]
call fcn.00473460
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 0x4175cf
push dword [esp + 0xbc]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4e9c80
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00407100
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.00407100
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.00407100
sub esp, 0x10
mov byte [esp + 0x578], 0xf
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040fe50
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x4176b9
push dword [esp + 0xa4]
call fcn.00473460
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 0x4176f2
push dword [esp + 0xd4]
call fcn.00473460
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 0x417733
push dword [esp + 0xbc]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4e9c80
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00407100
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.00407100
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.00407100
sub esp, 0x10
mov byte [esp + 0x578], 0x12
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040fe50
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x41781d
push dword [esp + 0xa4]
call fcn.00473460
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 0x417856
push dword [esp + 0xd4]
call fcn.00473460
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 0x417897
push dword [esp + 0xbc]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4e9c80
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00407100
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.00407100
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.00407100
sub esp, 0x10
mov byte [esp + 0x578], 0x15
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040fe50
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x417981
push dword [esp + 0xa4]
call fcn.00473460
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 0x4179ba
push dword [esp + 0xd4]
call fcn.00473460
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 0x4179fb
push dword [esp + 0xbc]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4e9c80
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00407100
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.00407100
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.00407100
sub esp, 0x10
mov byte [esp + 0x578], 0x18
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040fe50
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x417ae5
push dword [esp + 0xa4]
call fcn.00473460
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 0x417b1e
push dword [esp + 0xd4]
call fcn.00473460
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 0x417b5f
push dword [esp + 0xbc]
call fcn.00473460
add esp, 4
push 0x4e9c80
lea ecx, [esp + 0xd8]
call fcn.00407230
push str._F__IM_ldrecord.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x19
call fcn.00407230
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x1a
call fcn.00407230
sub esp, 0x10
mov byte [esp + 0x578], 0x1b
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.0040fe50
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x417be4
push dword [esp + 0xbc]
call fcn.00473460
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 0x417c1d
push dword [esp + 0xa4]
call fcn.00473460
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 0x417c5e
push dword [esp + 0xd4]
call fcn.00473460
add esp, 4
push 0x4e9c80
lea ecx, [esp + 0xd8]
call fcn.00407230
push str._F__IM_dndscd.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x1c
call fcn.00407230
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x1d
call fcn.00407230
sub esp, 0x10
mov byte [esp + 0x578], 0x1e
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.0040fe50
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x417ce3
push dword [esp + 0xbc]
call fcn.00473460
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 0x417d1c
push dword [esp + 0xa4]
call fcn.00473460
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 0x417d5d
push dword [esp + 0xd4]
call fcn.00473460
add esp, 4
push 0x4e9c80
lea ecx, [esp + 0xd8]
call fcn.00407230
push str._F__IM_fynews.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x1f
call fcn.00407230
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x20
call fcn.00407230
sub esp, 0x10
mov byte [esp + 0x578], 0x21
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.0040fe50
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x417de2
push dword [esp + 0xbc]
call fcn.00473460
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 0x417e1b
push dword [esp + 0xa4]
call fcn.00473460
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 0x417e5c
push dword [esp + 0xd4]
call fcn.00473460
add esp, 4
push 0x4e9c80
lea ecx, [esp + 0xd8]
call fcn.00407230
push str._F__IM_ldnews.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x22
call fcn.00407230
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x23
call fcn.00407230
sub esp, 0x10
mov byte [esp + 0x578], 0x24
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.0040fe50
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x417ee1
push dword [esp + 0xbc]
call fcn.00473460
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 0x417f1a
push dword [esp + 0xa4]
call fcn.00473460
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 0x417f5b
push dword [esp + 0xd4]
call fcn.00473460
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.00407230
lea eax, [esp + 0xbc]
mov byte [esp + 0x568], 0x25
push eax
lea ecx, [esp + 0x10]
call fcn.00418270
push ecx
mov edx, eax
mov byte [esp + 0x56c], 0x26
lea ecx, [esp + 0xa8]
call fcn.0040fba0
add esp, 4
cmp dword [esp + 0xd0], 8
jb 0x417fcb
push dword [esp + 0xbc]
call fcn.00473460
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 0x418004
push dword [esp + 0xa4]
call fcn.00473460
add esp, 4
lea ecx, [esp + 0xc]
call fcn.004180c0
cmp dword [esp + 0x118], 8
jb 0x418026
push dword [esp + 0x104]
call fcn.00473460
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 0x41805f
push dword [esp + 0xec]
call fcn.00473460
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 0x418098
push dword [esp + 0x12c]
call fcn.00473460
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.00491c63
mov esp, ebp
pop ebp
ret