Function at 0x180010c50
Capabilities:
Delete registry key
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov rax, qword [0x180059178]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
xor r8d, r8d
lea rdx, [0x180057480]
mov ecx, 0x13c
call fcn.180025b60
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], ILFindLastID
mov byte [rsp + 0x60], dil
xor r9d, r9d
lea r8, [rsp + 0x60]
mov edx, 0xbf
xor ecx, ecx
call fcn.18000cd80
test al, al
jne 0x180010d36
movups xmm0, xmmword [0x18004b6d0]
movups xmmword [rbp - 0x80], xmm0
movsd xmm1, qword [0x18004b6e0]
movsd qword [rbp - 0x70], xmm1
mov eax, dword [0x18004b6e8]
mov dword [rbp - 0x68], eax
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0xf003f
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_SHRegCreateUSKeyW]
mov ebx, eax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x36]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
test ebx, ebx
jne 0x180010e76
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_SHRegDeleteEmptyUSKeyW]
jmp 0x180010e76
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], ILFindLastID
mov byte [rsp + 0x40], 0
movsd xmm0, qword [0x180057528]
mulsd xmm0, qword [0x180051878]
addsd xmm0, qword [0x180051868]
cvttsd2si rax, xmm0
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xb4
lea r8, [0x1800574a8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1800123c0
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov ecx, 0xa7
call fcn.18000f210
xor ecx, ecx
test al, al
jne 0x180010df4
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
xor edx, edx
call sub.SHELL32.dll_SHGetUnreadMailCountW
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x36]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
jmp 0x180010e23
mov r9d, 0x104
lea r8, [rbp + 0x2c0]
mov edx, 3
call sub.IMM32.dll_ImmGetGuideLineW
xor ecx, ecx
call sub.IMM32.dll_ImmGetOpenStatus
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x50]
call fcn.180027e70
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180010e63
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010e5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010e5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180045a08
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], ILFindLastID
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x180010eb6
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010eb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010eb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180045a08
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.1800461b0
lea r11, [rsp + 0x5e0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret