Function at 0x140095690
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x14027ef78]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rdx
mov qword [rbp - 0x69], rdx
mov r12, rcx
mov qword [rbp - 0x49], rdx
lea r14, [0x14027fe70]
mov rcx, qword [0x14027fe70]
cmp rcx, r14
je 0x140095708
test byte [rcx + 0x44], 2
je 0x140095708
cmp byte [rcx + 0x41], 4
jb 0x140095708
mov edx, 0x36
lea r8, [0x1401fb098]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
xor r15d, r15d
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x41]
call fcn.14000c670
nop
mov rdx, qword [r12 + 0x28]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140095740
lea rcx, [rbp - 0x41]
call fcn.140015e90
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r9d, 0x1000b
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSession_Manager
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x14009580f
mov rcx, qword [0x14027fe70]
cmp rcx, r14
je 0x1400957b5
test byte [rcx + 0x44], 2
je 0x1400957b5
cmp byte [rcx + 0x41], 2
jb 0x1400957b5
mov edx, 0x37
mov r9d, eax
lea r8, [0x1401fb098]
mov rcx, qword [rcx + 0x38]
call fcn.14001f1d0
nop
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x1400957cf
inc r8
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
call fcn.14000c430
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r15w
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x1400957f8
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.14000c430
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
mov eax, ebx
jmp 0x140095cf3
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, str.bootexecute
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x14009587a
mov rcx, qword [0x14027fe70]
cmp rcx, r14
je 0x14009586b
test byte [rcx + 0x44], 2
je 0x14009586b
cmp byte [rcx + 0x41], 2
jb 0x14009586b
mov edx, 0x38
mov r9d, eax
lea r8, [0x1401fb098]
mov rcx, qword [rcx + 0x38]
call fcn.14001f1d0
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x1400957b5
mov ecx, dword [rbp - 0x51]
call fcn.14017e024
mov rdi, rax
mov qword [rbp - 0x71], rax
test rax, rax
jne 0x140095925
mov rcx, qword [0x14027fe70]
cmp rcx, r14
je 0x1400958bd
test byte [rcx + 0x44], 2
je 0x1400958bd
cmp byte [rcx + 0x41], 2
jb 0x1400958bd
lea edx, [rax + 0x39]
lea r8, [0x1401fb098]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x1400958e2
inc r8
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
call fcn.14000c430
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r15w
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x14009590b
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.14000c430
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
mov eax, 0xe
jmp 0x140095cf3
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, str.bootexecute
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x1400959cc
mov rcx, qword [0x14027fe70]
cmp rcx, r14
je 0x140095981
test byte [rcx + 0x44], 2
je 0x140095981
cmp byte [rcx + 0x41], 2
jb 0x140095981
mov edx, 0x3a
mov r9d, eax
lea r8, [0x1401fb098]
mov rcx, qword [rcx + 0x38]
call fcn.14001f1d0
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, rdi
call fcn.14017e02c
nop
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x1400959ae
inc r8
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
call fcn.14000c430
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r15w
mov rcx, rsi
call fcn.140005c60
jmp 0x140095808
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r15
mov rbx, rdi
mov rcx, qword [0x14027fe70]
cmp rcx, r14
je 0x140095a0b
test byte [rcx + 0x44], 2
je 0x140095a0b
cmp byte [rcx + 0x41], 5
jb 0x140095a0b
mov edx, 0x3b
mov r9, rdi
lea r8, [0x1401fb098]
mov rcx, qword [rcx + 0x38]
call fcn.14002c990
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x21]
call fcn.14003a020
mov r13d, dword [rbp - 0x31]
inc r13d
cmp word [rdi], 0
je 0x140095af2
xor esi, esi
nop dword [rax + rax]
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], 7
mov word [rbp - 1], si
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140095a44
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.140009360
nop
mov r9, qword [r12 + 0x28]
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], 0
jne 0x140095a65
lea rcx, [rbp - 1]
mov r15, qword [rbp - 1]
mov rdi, qword [rbp + 0x17]
cmp rdi, 8
cmovae rcx, r15
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov r14, qword [rbp + 0xf]
mov rdx, r14
call fcn.140095350
cmp rax, 0xffffffffffffffff
jne 0x140095abf
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x21]
call fcn.14003a020
mov eax, dword [rbp + 0xf]
inc eax
add r13d, eax
mov rdi, qword [rbp + 0x17]
mov r14, qword [rbp + 0xf]
mov r15, qword [rbp - 1]
lea rbx, [rbx + r14*2]
add rbx, 2
cmp rdi, 8
jb 0x140095add
lea r8, [rdi + 1]
mov rdx, r15
lea rcx, [rbp - 1]
call fcn.14000c430
cmp word [rbx], 0
jne 0x140095a30
mov rsi, qword [rbp - 0x69]
mov rdi, qword [rbp - 0x71]
xor r15d, r15d
lea r14d, [r13 + 1]
mov ecx, r14d
add rcx, rcx
call fcn.14017e024
mov r12, rax
test rax, rax
jne 0x140095bd0
mov rcx, qword [0x14027fe70]
lea rax, [0x14027fe70]
cmp rcx, rax
je 0x140095b41
test byte [rcx + 0x44], 2
je 0x140095b41
cmp byte [rcx + 0x41], 2
jb 0x140095b41
lea edx, [r12 + 0x3c]
lea r8, [0x1401fb098]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, rdi
call fcn.14017e02c
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140095b93
movzx r9d, byte [rbp - 0x79]
lea r8, [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
call fcn.14003b9f0
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x21]
sub r8, rdx
sar r8, 5
lea rcx, [rbp - 0x21]
call fcn.1400390c0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r15
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x140095bad
inc r8
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
call fcn.14000c430
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r15w
mov rcx, rsi
call fcn.140005c60
mov eax, 0xe
jmp 0x140095cf3
mov r15, r12
mov rbx, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x19]
cmp rbx, rdi
je 0x140095c16
cmp qword [rbx + 0x18], 8
jb 0x140095bec
mov r8, qword [rbx]
jmp 0x140095bef
mov r8, rbx
mov edx, r14d
mov rcx, r15
call fcn.14018c31c
mov rdx, qword [rbx + 0x10]
lea eax, [rdx + 1]
lea r15, [r15 + rax*2]
or eax, 0xffffffff
sub eax, edx
add r14d, eax
add rbx, 0x20
cmp rbx, rdi
jne 0x140095be0
xor ebx, ebx
mov word [r15], bx
lea eax, [r13*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, dword [rbp - 9]
xor r8d, r8d
lea rdx, str.bootexecute
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, r12
call fcn.14017e02c
mov rcx, qword [rbp - 0x71]
call fcn.14017e02c
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140095ca0
movzx r9d, byte [rbp - 0x79]
lea r8, [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
call fcn.14003b9f0
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x21]
sub r8, rdx
sar r8, 5
lea rcx, [rbp - 0x21]
call fcn.1400390c0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rbx
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x140095cba
inc r8
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
call fcn.14000c430
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], bx
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x140095ce2
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.14000c430
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], bx
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14017e000
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret