Function at 0x180002490
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f80]
mov eax, 0x2080
call section..text
sub rsp, rax
mov rax, qword [0x180045020]
xor rax, rsp
mov qword [rbp + 0x1f70], rax
lea rdx, str.UninstallBranding:_Handling_branding_file_...
mov r14d, ecx
call fcn.1800040a0
mov r9d, 0x1004
lea r8, [rsp + 0x60]
lea rdx, str.CustomActionData
mov ecx, r14d
call fcn.180004900
mov edi, eax
test eax, eax
jne 0x18000275b
lea rcx, [rsp + 0x60]
call fcn.18000ae70
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rbx, str.custom
call fcn.18000ae70
xor edi, edi
mov r13d, 1
mov rsi, rax
cmp rax, r13
jbe 0x180002547
movzx ecx, word [rsp + rax*2 + 0x5e]
cmp cx, 0x5c
je 0x180002542
cmp cx, 0x2f
jne 0x180002547
mov r15, rdi
jmp 0x180002550
mov r15, r13
nop word [rax + rax]
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x18000255f
cmp ax, 0x2f
jne 0x180002565
add rbx, 2
jmp 0x180002550
mov rcx, rbx
call fcn.18000ae70
lea rcx, [rsi*2 + 1]
mov r12, rax
add rcx, rax
mov eax, 0x5c
cmp rcx, 0x1004
jae 0x18000262e
test r15, r15
je 0x18000259a
mov word [rsp + rsi*2 + 0x60], ax
inc rsi
lea rcx, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rcx + rsi*2]
lea r8, [r12*2 + 2]
call sym.VBoxInstallHelper.dll_nocrt_memcpy
lea rax, [r12 + rsi]
mov qword [rsp + 0x28], 3
mov word [rsp + rax*2 + 0x62], di
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov r12d, 0x614
mov dword [rsp + 0x52], edi
lea rdx, str.RemoveDir:_pwszzDstDir_ls
mov word [rsp + 0x56], di
mov ecx, r14d
mov qword [rsp + 0x20], rdi
movdqu xmmword [rsp + 0x42], xmm0
mov word [rsp + 0x40], r12w
call fcn.1800040a0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x180002634
mov r8d, eax
lea rdx, str.RemoveDir:_Remove_operation_returned_status__x
mov ecx, r14d
call fcn.1800040a0
jmp 0x180002634
mov r12d, 0x614
mov rax, qword [rsp + 0x58]
add rax, rax
cmp rax, 0x2008
jae 0x1800027a6
lea rcx, [rsp + 0x60]
mov word [rsp + rax + 0x60], di
lea rbx, str..custom
call fcn.18000ae70
mov rsi, rax
cmp rax, r13
jbe 0x180002680
movzx eax, word [rsp + rax*2 + 0x5e]
cmp ax, 0x5c
je 0x180002677
cmp ax, 0x2f
jne 0x180002680
mov r13, rdi
nop word [rax + rax]
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x18000268f
cmp ax, 0x2f
jne 0x180002695
add rbx, 2
jmp 0x180002680
mov rcx, rbx
call fcn.18000ae70
lea rcx, [rsi*2 + 1]
mov r15, rax
add rcx, rax
cmp rcx, 0x1004
jae 0x18000279f
test r13, r13
je 0x1800026ca
mov eax, 0x5c
mov word [rsp + rsi*2 + 0x60], ax
inc rsi
lea rcx, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rcx + rsi*2]
lea r8, [r15*2 + 2]
call sym.VBoxInstallHelper.dll_nocrt_memcpy
lea rax, [r15 + rsi]
mov qword [rsp + 0x28], 3
mov word [rsp + rax*2 + 0x62], di
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rdx, str.RemoveDir:_pwszzDstDir_ls
mov dword [rsp + 0x52], edi
mov ecx, r14d
mov word [rsp + 0x56], di
movdqu xmmword [rsp + 0x42], xmm0
mov qword [rsp + 0x20], rdi
mov word [rsp + 0x40], r12w
call fcn.1800040a0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x18000275b
mov r8d, eax
lea rdx, str.RemoveDir:_Remove_operation_returned_status__x
mov ecx, r14d
call fcn.1800040a0
mov edi, 0x1f
mov r8d, edi
lea rdx, str.UninstallBranding:_Handling_done.__rc_u__ignored__
mov ecx, r14d
call fcn.1800040a0
xor eax, eax
mov rcx, qword [rbp + 0x1f70]
xor rcx, rsp
call fcn.180001140
lea r11, [rsp + 0x2080]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edi, 0x6f
jmp 0x18000275b
call fcn.180001179
int3