Function at 0x180012f74
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x100
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov bpl, cl
mov r12b, cl
or r12b, 0x20
lea rcx, [rsp + 0x68]
call fcn.18003a62c
mov r11, qword [rsp + 0x90]
mov rax, qword [r11]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
xor edi, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov r13, qword [rsp + 0x90]
cmp rbx, rdi
je 0x180013006
cmp rbx, qword [rsp + 0x68]
je 0x18001300b
call fcn.180043018
cmp rsi, r13
je 0x1800130d7
cmp rbx, rdi
jne 0x180013023
call fcn.180043018
mov r11, rdi
jmp 0x180013026
mov r11, qword [rbx]
cmp rsi, qword [r11 + 0x28]
jne 0x180013031
call fcn.180043018
mov al, byte [rsi + 0x38]
or al, 0x20
cmp al, r12b
je 0x18001305d
cmp rbx, rdi
jne 0x18001304a
call fcn.180043018
mov r11, rdi
jmp 0x18001304d
mov r11, qword [rbx]
cmp rsi, qword [r11 + 0x28]
jne 0x180013058
call fcn.180043018
mov rsi, qword [rsi]
jmp 0x180012ff2
cmp rbx, rdi
jne 0x18001306c
call fcn.180043018
mov r11, rdi
jmp 0x18001306f
mov r11, qword [rbx]
cmp rsi, qword [r11 + 0x28]
jne 0x18001307a
call fcn.180043018
cmp byte [rsi + 0x3a], dil
je 0x1800130c1
cmp rbx, rdi
jne 0x18001308c
call fcn.180043018
jmp 0x18001308f
mov rdi, qword [rbx]
cmp rsi, qword [rdi + 0x28]
jne 0x18001309a
call fcn.180043018
lea rcx, [rsp + 0x68]
call fcn.18003b448
mov rcx, qword [rsp + 0x68]
call fcn.180043070
lea rcx, str._TryMountUvs_failed:_UvsIsMountedDrive
call fcn.18001e2e0
xor eax, eax
jmp 0x18001335f
lea rcx, [rsp + 0x68]
call fcn.18003b448
mov rcx, qword [rsp + 0x68]
call fcn.180043070
jmp 0x1800130eb
lea rcx, [rsp + 0x68]
call fcn.18003b448
mov rcx, qword [rsp + 0x68]
call fcn.180043070
mov byte [rsp + 0x20], dil
mov byte [rsp + 0x21], dil
lea r8, [rsp + 0x21]
lea rdx, [rsp + 0x20]
mov cl, bpl
call fcn.18003ab6c
cmp al, dil
jne 0x18001311f
lea rcx, str._TryMountUvs_failed:_UvsIsHostDrive
call fcn.18001e2e0
xor eax, eax
jmp 0x18001335f
cmp byte [rsp + 0x20], dil
je 0x180013139
lea rcx, str._TryMountUvs_failed:_already_mounted
call fcn.18001e2e0
xor eax, eax
jmp 0x18001335f
mov dl, bpl
lea rcx, [rsp + 0xd0]
call fcn.180012910
nop
cmp qword [rsp + 0xe8], rdi
jne 0x180013180
lea rcx, [0x180068d60]
call fcn.18001e2e0
nop
cmp qword [rsp + 0xf0], 0x10
jb 0x180013179
mov rcx, qword [rsp + 0xd8]
call fcn.180043070
xor eax, eax
jmp 0x18001335f
and dword [rsp + 0x70], 0xfffffe00
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x48], 1
btr dword [rsp + 0x48], 8
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movsx rax, bpl
mov qword [rsp + 0x40], rax
lea rdx, str.letter
lea rcx, [rsp + 0x68]
call fcn.18002c6ac
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.18002b3d4
lea r11, [rsp + 0x40]
mov qword [rsp + 0x30], r11
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x40]
call fcn.18002b148
mov rbx, rax
lea rdx, [0x180068a5c]
lea rcx, [rsp + 0x68]
call fcn.18002c6ac
mov rcx, rax
mov rdx, rbx
call fcn.18002b3d4
lea r8, str.mounted
lea rdx, str.SoftwareWOW6432Nodeprojonepodlpusbmgr_
mov rsi, 0xffffffff80000002
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
movsx r11d, bpl
movzx edx, r11w
lea rcx, str.try_mount_vus__c
call fcn.18001dfb0
mov ebx, 7
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
lea r8d, [rbx - 2]
lea rdx, str.mount
lea rcx, [rsp + 0x40]
call fcn.18000297c
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.180012520
nop
cmp qword [rsp + 0x60], 8
jb 0x1800132a1
mov rcx, qword [rsp + 0x48]
call fcn.180043070
lea r9, str.mounted
lea r8, str.SoftwareWOW6432Nodeprojonepodlpusbmgr_
mov rdx, rsi
lea rcx, [rsp + 0xa8]
call fcn.18002182c
nop
cmp qword [rsp + 0xc0], rdi
jbe 0x18001330a
lea rcx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 8
cmovae rcx, qword [rsp + 0xb0]
lea rdx, [0x180068db8]
call qword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
cmp eax, edi
jne 0x18001330a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SetVolumeLabelW_failed:_d
call fcn.18001e148
nop
cmp qword [rsp + 0xc8], 8
jb 0x180013322
mov rcx, qword [rsp + 0xb0]
call fcn.180043070
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xc0], rdi
mov word [rsp + 0xb0], di
lea rcx, [rsp + 0x68]
call fcn.18002b33c
nop
cmp qword [rsp + 0xf0], 0x10
jb 0x18001335d
mov rcx, qword [rsp + 0xd8]
call fcn.180043070
xor eax, eax
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.180042bb0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret