Function at 0x1800093b0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x1800737f8]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov eax, dword [0x180067338]
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x44], 0x64
xor esi, esi
lea r8d, [rsi + 7]
lea rdx, str.hTH4l
lea rcx, [rbp + 0x46]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov dword [rbp + 0x52], 0x50
mov eax, dword [0x180067350]
mov dword [rbp + 0x54], eax
movzx eax, word [0x180067354]
mov word [rbp + 0x58], ax
mov word [rbp + 0x98], si
lea r8d, [rsi + 5]
lea rdx, [0x180067368]
lea rcx, [rbp + 0x98]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
lea r8d, [rsi + 4]
lea rdx, [0x180067420]
lea rcx, [rbp + 0xa2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
movabs rax, 0x4e007400650053
mov qword [rbp + 0xaa], rax
movsd xmm0, qword [0x180067482]
movsd qword [rbp + 0xb2], xmm0
movzx eax, word [0x18006748a]
mov word [rbp + 0xba], ax
movsd xmm0, qword [0x1800674c2]
movsd qword [rbp + 0xbc], xmm0
movzx eax, word [0x1800674ca]
mov word [rbp + 0xc4], ax
mov word [rbp + 0xc6], si
lea r8d, [rsi + 2]
lea rdx, [0x18006759e]
lea rcx, [rbp + 0x98]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov bl, 1
movups xmm0, xmmword [str._bcentral_sbedfordshire_b]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [0x1800675b8]
movups xmmword [rbp + 0xe0], xmm1
movups xmm0, xmmword [0x1800675c8]
movups xmmword [rbp + 0xf0], xmm0
mov eax, dword [0x1800675d8]
mov dword [rbp + 0x100], eax
movzx eax, word [0x1800675dc]
mov word [rbp + 0x104], ax
lea r8d, [rsi + 0x65]
lea rdx, [0x180073700]
xor ecx, ecx
call fcn.1800041c0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], ILRemoveLastID
mov byte [rbp - 8], al
lea r9, [rbp - 8]
xor r8d, r8d
lea edx, [rsi + 0x7f]
xor ecx, ecx
call fcn.1800183b0
test al, al
jne 0x18000962a
mov dword [rbp + 0x60], 0x540054
mov eax, 0x56
mov word [rbp + 0x64], ax
movabs rax, 0x4100480043005f
mov qword [rbp + 0x66], rax
mov word [rbp + 0x6e], si
lea r8d, [rsi + 5]
lea rdx, [0x1800675f0]
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov dword [rbp + 0x78], 0x4d0052
movsd xmm0, qword [0x18006761a]
movsd qword [rbp + 0x7c], xmm0
movzx eax, word [0x180067622]
mov word [rbp + 0x84], ax
mov eax, dword [0x18006764c]
mov dword [rbp + 0x86], eax
movzx eax, word [0x180067650]
mov word [rbp + 0x8a], ax
mov dword [rbp + 0x8c], 0x520045
mov word [rbp + 0x90], si
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, str._s_has_X_L_attribute___s_
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp + 0x60]
mov edx, 0x104
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHELL32.dll_PathMakeUniqueName]
jmp 0x1800098c9
movups xmm0, xmmword [str.attach_handled_by_subSession]
movups xmmword [rbp + 0x108], xmm0
movups xmm1, xmmword [0x180067688]
movups xmmword [rbp + 0x118], xmm1
movups xmm0, xmmword [0x180067698]
movups xmmword [rbp + 0x128], xmm0
movsd xmm1, qword [0x1800676a8]
movsd qword [rbp + 0x138], xmm1
movzx eax, word [0x1800676b0]
mov word [rbp + 0x140], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], ILRemoveLastID
mov byte [rbp - 0x28], 0
movups xmmword [rbp + 0x18], xmm0
lea rax, [rbp + 0x108]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
movsd xmm0, qword [0x1800737a8]
mulsd xmm0, qword [0x18006c678]
addsd xmm0, qword [0x18006c660]
cvttsd2si rcx, xmm0
mov dword [rbp - 0x80], ecx
lea rax, [0x180073728]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x120
lea r9, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1800118b0
movzx ebx, bl
test rdi, rdi
cmove ebx, esi
lea r8, [rbp - 0x28]
xor edx, edx
lea ecx, [rdx + 0x6d]
call fcn.180028e40
test al, al
jne 0x18000979d
mov eax, dword [str.cstr]
mov dword [rbp + 0x28], eax
movzx eax, word [0x1800676bc]
mov word [rbp + 0x2c], ax
movzx eax, byte [0x1800676be]
mov byte [rbp + 0x2e], al
mov r8d, 4
lea rdx, [0x1800676c0]
lea rcx, [rbp + 0x2e]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
movzx eax, word [0x1800676c4]
mov word [rbp + 0x31], ax
movsd xmm0, qword [str.PairType]
movsd qword [rbp + 0x33], xmm0
movzx eax, byte [0x1800676d0]
mov byte [rbp + 0x3b], al
lea rdx, [rbp + 0x28]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyA]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ILRemoveLastID]
jmp 0x18000987b
test bl, bl
je 0x1800097fa
mov qword [rsp + 0x20], 0x100
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
je 0x1800097f1
mov qword [rbp - 0x68], rsi
mov r8d, 9
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.dbghelp.dll_ImageDirectoryEntryToDataEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], esi
lea rax, [rbp + 0x18]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 1
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], 0x2000000
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x98]
lea r8, [rbp + 0xd0]
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_AccessCheckByTypeResultListAndAuditAlarmW]
xor r8d, r8d
mov edx, 0xcf
xor ecx, ecx
call fcn.180030080
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1800098b9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800098b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800098b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005fd08
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], ILRemoveLastID
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x180009907
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009902
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009902
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005fd08
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1800604b0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret