Function at 0x140043d58
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
lea r14, vtable.micro::utils::QString.0
mov qword [rsp + 0x30], r14
and qword [rsp + 0x38], 0
add rcx, 0x68
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x348]
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140043d1b
cmp dword [rax - 8], 0
je 0x140043d1b
mov qword [rsp + 0x20], r14
and qword [rsp + 0x28], 0
lea rcx, [rdi + 0x98]
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x348]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140043d08
cmp dword [rcx - 8], 0
je 0x140043d08
mov r8d, 0x104
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
mov ebx, 1
test eax, eax
jne 0x140043ceb
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rdi + 0x110]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, rbx
jne 0x140043cb7
call fcn.1400ed520
test al, al
je 0x140043cae
lea rdx, [0x14012da68]
mov r8, rdx
mov rax, qword [rsp + 0x38]
test rax, rax
cmovne r8, rax
mov rax, qword [rsp + 0x28]
test rax, rax
cmovne rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
mov rcx, rdi
call fcn.1400440f8
mov qword [rsp + 0x68], r14
and qword [rsp + 0x70], 0
mov byte [rsp + 0x60], bl
and dword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xffffffff80000002
or r8d, 0xffffffff
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerDOS_Devices
lea rcx, [rbp - 0x50]
call fcn.1400e6fc8
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400f0300
mov qword [rsp + 0x78], r14
mov rax, qword [rsp + 0x38]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140043c3c
lock add dword [rax - 0xc], ebx
lea r8, [rsp + 0x78]
lea rdx, [0x140116250]
lea rcx, [rsp + 0x40]
call fcn.140027328
nop
mov qword [rbp - 0x68], r14
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140043c69
lock add dword [rax - 0xc], ebx
mov qword [rbp - 0x78], r14
mov rax, qword [rsp + 0x28]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140043c7f
lock add dword [rax - 0xc], ebx
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x50]
call fcn.1400f03b4
nop
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x40]
call fcn.1400e712c
nop
lea rcx, [rsp + 0x50]
call fcn.1400f02b0
jmp 0x140043d0a
lea rdx, str.Not_enough_privileges._nRun_as_admin.
jmp 0x140043cf2
lea rdx, [0x14012da68]
mov r8, rdx
mov rax, qword [rsp + 0x38]
test rax, rax
cmovne r8, rax
mov rax, qword [rsp + 0x28]
test rax, rax
cmovne rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
mov rcx, rdi
call fcn.1400440f8
jmp 0x140043d0a
lea rdx, str.Drive_already_defined.
lea r8, str.Message
xor r9d, r9d
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140043d0a
xor bl, bl
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x20]
call fcn.1400e712c
jmp 0x140043d1d
xor bl, bl
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call fcn.1400e712c
mov al, bl
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x438]
sub rsp, 0x520
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x418], rax
mov rsi, rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1032
mov rcx, qword [rcx + 0xe0]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x140043db4
xor al, al
jmp 0x140043fa3
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test eax, eax
js 0x140043dad
and dword [rsp + 0x70], 0
mov r14d, SHDoDragDrop
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x74]
call sub.msvcrt.dll_memset
and dword [rsp + 0x78], 0
mov dword [rbp - 0x70], 0x104
lea rax, [rbp - 0x10]
mov qword [rbp - 0x78], rax
movsxd rbx, ebx
lea r9, [rsp + 0x70]
mov r8, rbx
mov edi, 0x1073
mov edx, edi
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_SendMessageW]
and dword [rsp + 0x70], 0
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x74]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x78], 1
mov dword [rbp - 0x70], 0x104
lea rax, [rbp + 0x200]
mov qword [rbp - 0x78], rax
lea r9, [rsp + 0x70]
mov r8, rbx
mov edx, edi
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rbp + 0x200]
lea rdx, [rbp - 0x10]
lea ecx, [r14 - 0x52]
call qword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rsi + 0x110]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 1
jne 0x140043f99
call fcn.1400ed520
test al, al
je 0x140043f7e
lea r14, vtable.micro::utils::QString.0
mov qword [rsp + 0x58], r14
and qword [rsp + 0x60], 0
mov byte [rsp + 0x50], 1
and dword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xffffffff80000002
or r8d, 0xffffffff
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerDOS_Devices
lea rcx, [rsp + 0x30]
call fcn.1400e6fc8
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400f0300
or r8d, 0xffffffff
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x28]
call fcn.1400e6fc8
mov rdi, rax
lea rbx, [0x14012da68]
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
cmovne rdx, rcx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140043f66
cmp qword [rdi + 8], 0
cmovne rbx, qword [rdi + 8]
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rdi], r14
mov rcx, rdi
call fcn.1400e712c
nop
lea rcx, [rsp + 0x40]
call fcn.1400f02b0
jmp 0x140043f99
xor r9d, r9d
lea r8, str.Message
lea rdx, str.Not_enough_privileges._nRun_as_administrator.
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rsi
call fcn.1400440f8
mov al, 1
mov rcx, qword [rbp + 0x418]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp edx, 3
je 0x140043fe2
cmp edx, 0x434
jne fcn.1400eca20
jmp 0x140043abc
jmp 0x140043d58