Function at 0x140009544
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x660]
sub rsp, 0x760
mov rax, qword [0x140015018]
xor rax, rsp
mov qword [rbp + 0x650], rax
movaps xmm0, xmmword [str._ProgramFiles_Internet_Explorer_]
mov r14, rdx
movaps xmm1, xmmword [0x140012510]
mov rsi, rcx
mov eax, dword [0x140012540]
lea rcx, [rbp + 0x64]
movaps xmmword [rbp + 0x20], xmm0
xor edx, edx
movaps xmm0, xmmword [0x140012520]
mov r8d, 0x1c4
movaps xmmword [rbp + 0x30], xmm1
movaps xmm1, xmmword [0x140012530]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm1
mov dword [rbp + 0x60], eax
call sub.msvcrt.dll_memset
mov r12d, 0x208
lea rcx, [rbp + 0x440]
mov r8d, r12d
xor edx, edx
call sub.msvcrt.dll_memset
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r15d, 0x104
lea r8, [rbp + 0x440]
mov rcx, rax
mov r9d, r15d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
xor edi, edi
test eax, eax
je 0x140009910
lea r8, [rbp + 0x440]
mov edx, r15d
lea rcx, [rbp + 0x20]
call fcn.140001164
mov ebx, eax
test eax, eax
js 0x140009918
mov r8d, r12d
lea rcx, [rbp + 0x230]
xor edx, edx
call sub.msvcrt.dll_memset
mov r9d, r15d
lea r8, [rbp + 0x230]
mov edx, r15d
lea rcx, [rbp + 0x20]
call fcn.140009b9c
mov ebx, eax
test eax, eax
js 0x140009918
lea rax, [rsp + 0x50]
mov r15d, 0xf003f
mov qword [rsp + 0x40], rax
lea r12, str.REG_SZ
lea rax, [rsp + 0x68]
mov r9, r12
mov qword [rsp + 0x38], rax
lea rdx, str.CLSID
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov rcx, 0xffffffff80000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000991c
lea ebx, [rdi + 0x27]
mov rcx, rsi
mov r8d, ebx
lea rdx, [rbp - 0x30]
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov r8d, ebx
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x30]
lea rax, [rsp + 0x58]
mov r9, r12
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000985a
mov rcx, qword [rsp + 0x58]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x28], 0x4e
lea r9d, [rdi + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AppID
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x14000984f
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea r9, str.REG_EXPAND_SZ
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea rdx, str.LocalServer32
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000984f
mov rcx, qword [rsp + 0x60]
lea rdx, str.ThreadingModel
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
or rsi, 0xffffffffffffffff
lea rcx, [rbp + 0x230]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x1400097b1
mov rcx, qword [rsp + 0x60]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [0x140011c10]
lea rax, [rbp + 0x230]
mov r14d, 2
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x140009830
lea rax, [rbp + 0x20]
inc rsi
cmp word [rax + rsi*2], di
jne 0x1400097f9
mov rcx, qword [rsp + 0x60]
lea eax, [rsi*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.ServerExecutable
lea rax, [rbp + 0x20]
mov r9d, r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000984f
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp + 0x20]
call fcn.1400015e4
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000991c
lea rax, [rsp + 0x50]
mov r9, r12
mov qword [rsp + 0x40], rax
lea rdx, str.AppID
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000991c
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x80]
lea rax, [rsp + 0x58]
mov r9, r12
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x140009903
mov rcx, qword [rsp + 0x58]
call fcn.140001514
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140009918
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x14000992a
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
mov eax, edi
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.14000e250
lea r11, [rsp + 0x760]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret