Function at 0x140102c60
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r12, rdx
mov r15, rcx
mov r14b, 1
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov r8d, VariantTimeToDosDateTime
lea rdx, str.IntelMaxVol
lea rcx, [rbp + 0x80]
call fcn.14005e050
mov rdi, qword [r15 + 0x108]
mov rbx, qword [rdi + 8]
mov rsi, rdi
cmp byte [rbx + 0x19], 0
jne 0x140102d16
nop dword [rax + rax]
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x80]
call fcn.140096e20
test al, al
je 0x140102d0a
mov rbx, qword [rbx + 0x10]
jmp 0x140102d10
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140102cf0
cmp rdi, rsi
je 0x140102d2f
lea rdx, [rdi + 0x20]
lea rcx, [rbp + 0x80]
call fcn.140096e20
test al, al
je 0x140102d32
mov rdi, rsi
lea rcx, [rbp + 0x80]
call fcn.140046190
cmp rdi, qword [r15 + 0x108]
je 0x140102ebb
lea rdx, [rdi + 0x40]
lea rcx, [rbp + 0x80]
call fcn.140045fb0
nop
cmp qword [rbp + 0x90], 0
je 0x140102eaf
call fcn.1402384dc
mov rdi, rax
lea rbx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae rbx, qword [rbp + 0x80]
xor esi, esi
mov dword [rax], esi
lea r8d, [rsi + 0xa]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call fcn.14024a640
cmp rbx, qword [rbp + 0x70]
je 0x140102eea
cmp dword [rdi], 0x22
je 0x140102ef7
ror ax, 8
movzx eax, ax
bswap eax
mov dword [rbp + 0x7c], eax
mov ebx, 0x80004005
mov dword [rbp + 0x78], esi
mov qword [rbp + 0x70], rsi
lea rax, [rbp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x140102e3b
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 3]
xor r8d, r8d
lea rdx, str.MaximumFakeVolume
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
sete r14b
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae rdx, qword [rbp + 0x80]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rcx, [rsp + 0x60]
call fcn.14003d5c0
nop
lea rcx, [r15 + 0xb0]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.Write_Intel_custom_mic_gain_registry:_MaximumFakeVolume__s
movzx r8d, r14b
mov edx, 1
call fcn.14011e570
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140102eaf
call fcn.1402384fc
nop
lea rcx, [rbp + 0x80]
call fcn.140046190
movzx eax, r14b
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, str.invalid_stoi_argument
call fcn.1401e5d18
int3
lea rcx, str.stoi_argument_out_of_range
call fcn.1401e5d60
int3