Function at 0x414a30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b9936
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x4f54d8]
xor eax, esp
mov dword [esp + 0x54c], eax
push esi
push edi
mov eax, dword [0x4f54d8]
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.0048bcb0
add esp, 0xc
lea eax, [esp + 0x34c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4d95c8]
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.0048bcb0
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.0040e430
push str._setup_
mov edx, eax
mov dword [esp + 0x56c], 0
lea ecx, [esp + 0x130]
call fcn.004112a0
add esp, 4
mov byte [esp + 0x568], 2
cmp dword [esp + 0xd0], 8
jb 0x414b73
push dword [esp + 0xbc]
call fcn.00464c00
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 0x414bcd
xor ecx, ecx
jmp 0x414be1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414bd2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xac]
call fcn.00406a70
lea ecx, [esp + 0xa4]
mov byte [esp + 0x568], 3
call fcn.0040e740
mov byte [esp + 0x568], 2
cmp dword [esp + 0xb8], 8
jb 0x414c24
push dword [esp + 0xa4]
call fcn.00464c00
add esp, 4
lea eax, [esp + 0x144]
push eax
lea edx, [esp + 0x130]
lea ecx, [esp + 0xf0]
call fcn.00410a80
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 0x4d8800
lea edx, [esp + 0xf0]
lea ecx, [esp + 0xc0]
call fcn.00410a80
add esp, 4
push str.dnuninst.exe
mov edx, eax
mov byte [esp + 0x56c], 5
lea ecx, [esp + 0x108]
call fcn.004112a0
add esp, 4
mov byte [esp + 0x568], 7
cmp dword [esp + 0xd0], 8
jb 0x414cc4
push dword [esp + 0xbc]
call fcn.00464c00
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 0x414d43
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.0042a930
add esp, 0x14
lea eax, [edi + 4]
lea ecx, [esp + 0xec]
cmp ecx, eax
je 0x414d5b
push 0xffffffffffffffff
push 0
push eax
call fcn.00407120
mov eax, dword [esp + 0xfc]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x414d73
push str.invalid_string_position
call fcn.004370e3
cmp dword [esp + 0x100], 8
lea eax, [esp + 0xec]
cmovae eax, dword [esp + 0xec]
cmp word [eax + ecx*2], 0x5c
jne 0x414e18
push ecx
push 0
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xf8]
call fcn.00411180
mov esi, eax
lea eax, [esp + 0xec]
cmp eax, esi
je 0x414dff
cmp dword [esp + 0x100], 8
jb 0x414dd2
push dword [esp + 0xec]
call fcn.00464c00
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.004069a0
cmp dword [esp + 0xb8], 8
jb 0x414e18
push dword [esp + 0xa4]
call fcn.00464c00
add esp, 4
sub esp, 8
lea ecx, [esp + 0x14]
call fcn.00415b10
mov byte [esp + 0x568], 8
lea ecx, [esp + 0xc]
cmp byte [edi], 0
mov edx, str._silencedelete
jne 0x414e3f
mov edx, str._delete
call fcn.00416580
mov edx, 0x4d8d88
lea ecx, [esp + 0xc]
call fcn.00416580
mov edx, str._path
mov ecx, eax
call fcn.00416580
mov edx, 0x4d96d4
mov ecx, eax
call fcn.00416580
lea edx, [esp + 0xec]
mov ecx, eax
call fcn.00416840
mov edx, 0x4d8d8c
mov ecx, eax
call fcn.00416580
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x10]
call fcn.00415be0
mov byte [esp + 0x568], 9
cmp dword [eax + 0x14], 8
jb 0x414ea5
mov eax, dword [eax]
push eax
push str.para_is__s
push 0x64
push str.SimulatorUninstallCore::runProxy
call fcn.0042a930
add esp, 0x10
mov byte [esp + 0x568], 8
cmp dword [esp + 0xd0], 8
jb 0x414edb
push dword [esp + 0xbc]
call fcn.00464c00
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4d80a4
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00406a70
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.00406a70
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.00406a70
sub esp, 0x10
mov byte [esp + 0x578], 0xc
lea eax, [esp + 0xcc]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xe4]
push eax
call fcn.0040f720
add esp, 0x14
cmp dword [esp + 0xe8], 8
jb 0x414fc5
push dword [esp + 0xd4]
call fcn.00464c00
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 0x414ffe
push dword [esp + 0xa4]
call fcn.00464c00
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 0x41503f
push dword [esp + 0xbc]
call fcn.00464c00
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4d80a4
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00406a70
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.00406a70
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.00406a70
sub esp, 0x10
mov byte [esp + 0x578], 0xf
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040f720
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x415129
push dword [esp + 0xa4]
call fcn.00464c00
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 0x415162
push dword [esp + 0xd4]
call fcn.00464c00
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 0x4151a3
push dword [esp + 0xbc]
call fcn.00464c00
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4d80a4
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00406a70
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.00406a70
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.00406a70
sub esp, 0x10
mov byte [esp + 0x578], 0x12
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040f720
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x41528d
push dword [esp + 0xa4]
call fcn.00464c00
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 0x4152c6
push dword [esp + 0xd4]
call fcn.00464c00
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 0x415307
push dword [esp + 0xbc]
call fcn.00464c00
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4d80a4
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00406a70
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.00406a70
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.00406a70
sub esp, 0x10
mov byte [esp + 0x578], 0x15
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040f720
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x4153f1
push dword [esp + 0xa4]
call fcn.00464c00
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 0x41542a
push dword [esp + 0xd4]
call fcn.00464c00
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 0x41546b
push dword [esp + 0xbc]
call fcn.00464c00
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
push eax
push 0x4d80a4
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00406a70
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.00406a70
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.00406a70
sub esp, 0x10
mov byte [esp + 0x578], 0x18
lea eax, [esp + 0xcc]
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xb4]
push eax
call fcn.0040f720
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x415555
push dword [esp + 0xa4]
call fcn.00464c00
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 0x41558e
push dword [esp + 0xd4]
call fcn.00464c00
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 0x4155cf
push dword [esp + 0xbc]
call fcn.00464c00
add esp, 4
push 0x4d80a4
lea ecx, [esp + 0xd8]
call fcn.00406b70
push str._F__IM_ldrecord.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x19
call fcn.00406b70
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x1a
call fcn.00406b70
sub esp, 0x10
mov byte [esp + 0x578], 0x1b
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.0040f720
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x415654
push dword [esp + 0xbc]
call fcn.00464c00
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 0x41568d
push dword [esp + 0xa4]
call fcn.00464c00
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 0x4156ce
push dword [esp + 0xd4]
call fcn.00464c00
add esp, 4
push 0x4d80a4
lea ecx, [esp + 0xd8]
call fcn.00406b70
push str._F__IM_fynews.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x1c
call fcn.00406b70
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x1d
call fcn.00406b70
sub esp, 0x10
mov byte [esp + 0x578], 0x1e
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.0040f720
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x415753
push dword [esp + 0xbc]
call fcn.00464c00
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 0x41578c
push dword [esp + 0xa4]
call fcn.00464c00
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 0x4157cd
push dword [esp + 0xd4]
call fcn.00464c00
add esp, 4
push 0x4d80a4
lea ecx, [esp + 0xd8]
call fcn.00406b70
push str._F__IM_ldnews.exe
lea ecx, [esp + 0xa8]
mov byte [esp + 0x56c], 0x1f
call fcn.00406b70
push str.taskkill
lea ecx, [esp + 0xc0]
mov byte [esp + 0x56c], 0x20
call fcn.00406b70
sub esp, 0x10
mov byte [esp + 0x578], 0x21
lea eax, [esp + 0xe4]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xcc]
push eax
call fcn.0040f720
add esp, 0x14
cmp dword [esp + 0xd0], 8
jb 0x415852
push dword [esp + 0xbc]
call fcn.00464c00
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 0x41588b
push dword [esp + 0xa4]
call fcn.00464c00
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 0x4158cc
push dword [esp + 0xd4]
call fcn.00464c00
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.00406b70
lea eax, [esp + 0xbc]
mov byte [esp + 0x568], 0x22
push eax
lea ecx, [esp + 0x10]
call fcn.00415be0
push ecx
mov edx, eax
mov byte [esp + 0x56c], 0x23
lea ecx, [esp + 0xa8]
call fcn.0040f150
add esp, 4
cmp dword [esp + 0xd0], 8
jb 0x41593c
push dword [esp + 0xbc]
call fcn.00464c00
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 0x415975
push dword [esp + 0xa4]
call fcn.00464c00
add esp, 4
lea ecx, [esp + 0xc]
call fcn.00415a30
cmp dword [esp + 0x118], 8
jb 0x415997
push dword [esp + 0x104]
call fcn.00464c00
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 0x4159d0
push dword [esp + 0xec]
call fcn.00464c00
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 0x415a09
push dword [esp + 0x12c]
call fcn.00464c00
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.00482fe3
mov esp, ebp
pop ebp
ret