Function at 0x417030
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c9827
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.0049ac40
add esp, 0xc
lea eax, [esp + 0x34c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4ef244]
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.0049ac40
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.0040efa0
push str._setup_
push eax
lea eax, [esp + 0x134]
mov dword [esp + 0x570], 0
push eax
call fcn.00411150
add esp, 0xc
mov byte [esp + 0x568], 2
cmp dword [esp + 0xd0], 8
jb 0x417173
push dword [esp + 0xbc]
call fcn.00473980
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 0x4171cd
xor ecx, ecx
jmp 0x4171e1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4171d2
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.0040f2a0
mov byte [esp + 0x568], 2
cmp dword [esp + 0xb8], 8
jb 0x417224
push dword [esp + 0xa4]
call fcn.00473980
add esp, 4
lea eax, [esp + 0x144]
push eax
lea edx, [esp + 0x130]
lea ecx, [esp + 0xf0]
call fcn.00411250
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 0x4eddec
lea edx, [esp + 0xf0]
lea ecx, [esp + 0xc0]
call fcn.00411250
add esp, 4
push str.dnuninst.exe
push eax
lea eax, [esp + 0x10c]
mov byte [esp + 0x570], 5
push eax
call fcn.00411150
add esp, 0xc
mov byte [esp + 0x568], 7
cmp dword [esp + 0xd0], 8
jb 0x4172c4
push dword [esp + 0xbc]
call fcn.00473980
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 0x417343
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 0x53
push str.SimulatorUninstallCore::runProxy
call fcn.00420530
add esp, 0x14
lea eax, [edi + 4]
lea ecx, [esp + 0xec]
cmp ecx, eax
je 0x41735b
push 0xffffffffffffffff
push 0
push eax
call fcn.00407870
mov eax, dword [esp + 0xfc]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x417373
push str.invalid_string_position
call fcn.004448b5
cmp dword [esp + 0x100], 8
lea eax, [esp + 0xec]
cmovae eax, dword [esp + 0xec]
cmp word [eax + ecx*2], 0x5c
jne 0x417418
push ecx
push 0
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xf8]
call fcn.004106c0
mov esi, eax
lea eax, [esp + 0xec]
cmp eax, esi
je 0x4173ff
cmp dword [esp + 0x100], 8
jb 0x4173d2
push dword [esp + 0xec]
call fcn.00473980
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 0x417418
push dword [esp + 0xa4]
call fcn.00473980
add esp, 4
sub esp, 8
lea ecx, [esp + 0x14]
call fcn.00418210
mov byte [esp + 0x568], 8
lea ecx, [esp + 0xc]
cmp byte [edi], 0
mov edx, str._silencedelete
jne 0x41743f
mov edx, str._delete
call fcn.00418c80
mov edx, 0x4edee0
lea ecx, [esp + 0xc]
call fcn.00418c80
mov edx, str._path
mov ecx, eax
call fcn.00418c80
mov edx, 0x4ef34c
mov ecx, eax
call fcn.00418c80
lea edx, [esp + 0xec]
mov ecx, eax
call fcn.00418f40
mov edx, 0x4ededc
mov ecx, eax
call fcn.00418c80
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x10]
call fcn.004182e0
mov byte [esp + 0x568], 9
cmp dword [eax + 0x14], 8
jb 0x4174a5
mov eax, dword [eax]
push eax
push str.para_is__s
push 0x69
push str.SimulatorUninstallCore::runProxy
call fcn.00420530
add esp, 0x10
mov byte [esp + 0x568], 8
cmp dword [esp + 0xd0], 8
jb 0x4174db
push dword [esp + 0xbc]
call fcn.00473980
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.0040fe60
add esp, 0x14
cmp dword [esp + 0xe8], 8
jb 0x4175c5
push dword [esp + 0xd4]
call fcn.00473980
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 0x4175fe
push dword [esp + 0xa4]
call fcn.00473980
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 0x41763f
push dword [esp + 0xbc]
call fcn.00473980
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.0040fe60
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x417729
push dword [esp + 0xa4]
call fcn.00473980
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 0x417762
push dword [esp + 0xd4]
call fcn.00473980
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 0x4177a3
push dword [esp + 0xbc]
call fcn.00473980
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.0040fe60
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x41788d
push dword [esp + 0xa4]
call fcn.00473980
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 0x4178c6
push dword [esp + 0xd4]
call fcn.00473980
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 0x417907
push dword [esp + 0xbc]
call fcn.00473980
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.0040fe60
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x4179f1
push dword [esp + 0xa4]
call fcn.00473980
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 0x417a2a
push dword [esp + 0xd4]
call fcn.00473980
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 0x417a6b
push dword [esp + 0xbc]
call fcn.00473980
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.0040fe60
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x417b55
push dword [esp + 0xa4]
call fcn.00473980
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 0x417b8e
push dword [esp + 0xd4]
call fcn.00473980
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 0x417bcf
push dword [esp + 0xbc]
call fcn.00473980
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.0040fe60
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x417c54
push dword [esp + 0xbc]
call fcn.00473980
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 0x417c8d
push dword [esp + 0xa4]
call fcn.00473980
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 0x417cce
push dword [esp + 0xd4]
call fcn.00473980
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.0040fe60
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x417d53
push dword [esp + 0xbc]
call fcn.00473980
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 0x417d8c
push dword [esp + 0xa4]
call fcn.00473980
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 0x417dcd
push dword [esp + 0xd4]
call fcn.00473980
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.0040fe60
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x417e52
push dword [esp + 0xbc]
call fcn.00473980
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 0x417e8b
push dword [esp + 0xa4]
call fcn.00473980
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 0x417ecc
push dword [esp + 0xd4]
call fcn.00473980
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.0040fe60
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x417f51
push dword [esp + 0xbc]
call fcn.00473980
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 0x417f8a
push dword [esp + 0xa4]
call fcn.00473980
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 0x417fcb
push dword [esp + 0xd4]
call fcn.00473980
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.004182e0
push ecx
mov edx, eax
mov byte [esp + 0x56c], 0x26
lea ecx, [esp + 0xa8]
call fcn.0040fbb0
add esp, 4
cmp dword [esp + 0xd0], 8
jb 0x41803b
push dword [esp + 0xbc]
call fcn.00473980
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 0x418074
push dword [esp + 0xa4]
call fcn.00473980
add esp, 4
lea ecx, [esp + 0xc]
call fcn.00418130
cmp dword [esp + 0x118], 8
jb 0x418096
push dword [esp + 0x104]
call fcn.00473980
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 0x4180cf
push dword [esp + 0xec]
call fcn.00473980
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 0x418108
push dword [esp + 0x12c]
call fcn.00473980
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.004921c3
mov esp, ebp
pop ebp
ret