Function at 0x140007e24
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x22b0
call fcn.140037420
sub rsp, rax
mov rax, qword [0x1400a1df8]
xor rax, rsp
mov qword [rsp + 0x22a0], rax
mov r13, r8
mov r12, rdx
mov r14, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x60], r9
xor ebx, ebx
mov word [rsp + 0x30], bx
lea rdx, [rsp + 0x2a0]
call fcn.14000d750
lfence
test eax, eax
js 0x1400082a8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x2a0]
call fcn.140011b24
test eax, eax
jne 0x140007eab
mov eax, 0x80020009
jmp 0x1400082a8
lfence
mov rcx, qword [r14]
cmp word [rcx], 9
jb 0x140007ed4
cmp word [rcx], 0xa
jbe 0x140007ec9
cmp word [rcx], 0xd
je 0x140007ec9
cmp word [rcx], 0x20
jne 0x140007ed4
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140007eae
lea rdx, [rsp + 0x2a0]
mov rcx, r14
call fcn.14000d750
test eax, eax
jns 0x140007ef0
lfence
jmp 0x1400082a8
movzx eax, word [rsp + 0x30]
cmp eax, 8
je 0x140008244
cmp eax, 0x11
je 0x14000808e
cmp eax, 0x13
je 0x14000804e
cmp eax, 0x4008
jne 0x14000828e
lea rcx, [rsp + 0x2a0]
call fcn.140048168
lea edi, [rax + 2]
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x190]
call fcn.14003b440
mov qword [rsp + 0x190], rbx
movsxd rcx, edi
test edi, edi
je 0x140007f89
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400082cb
lea rdx, [rcx + rcx]
cmp rdx, 0x100
jbe 0x140007f89
lfence
lea rcx, [rsp + 0x190]
call fcn.1400082e8
mov rdi, qword [rsp + 0x190]
jmp 0x140007f99
lea rdi, [rsp + 0x198]
mov qword [rsp + 0x190], rdi
jmp 0x140007fb4
test rdi, rdi
je 0x140008026
lea rsi, [rsp + 0x2a0]
cmp word [rsp + 0x2a0], bx
je 0x140008004
mov rcx, rsi
call qword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [rsi]
cmp cx, 0x5c
jne 0x140007ff4
cmp word [rax], 0x30
jne 0x140007ff4
mov word [rdi], bx
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov rsi, rax
jmp 0x140007ffb
mov word [rdi], cx
add rsi, 2
add rdi, 2
cmp word [rsi], bx
jne 0x140007fcb
and dword [rdi], 0
mov r8, qword [rsp + 0x190]
mov rdx, r13
mov rcx, r12
call fcn.140010b98
mov esi, eax
mov rdi, qword [rsp + 0x190]
jmp 0x14000802b
mov esi, ILFindLastID
lea rax, [rsp + 0x198]
cmp rdi, rax
je 0x140008281
lea rcx, [rsp + 0x190]
call fcn.14000bdd4
jmp 0x140008281
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x140007ee8
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov r9d, 4
jmp 0x14000826a
lea rcx, [rsp + 0x2a0]
call fcn.140048168
mov rsi, rax
mov dword [rsp + 0x34], eax
test al, 1
jne 0x140008165
cdq
sub eax, edx
sar eax, 1
movsxd r15, eax
mov dword [rsp + 0x38], r15d
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x80]
call fcn.14003b440
mov qword [rsp + 0x80], rbx
mov rdi, r15
mov qword [rsp + 0x58], r15
test r15d, r15d
je 0x14000811a
xor edx, edx
or rax, 0xffffffffffffffff
div rdi
cmp rax, 1
jb 0x1400082d9
cmp rdi, 0x100
jbe 0x14000811a
lfence
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.1400082e8
mov rcx, qword [rsp + 0x80]
jmp 0x14000812a
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x80], rcx
jmp 0x140008153
test rcx, rcx
jne 0x14000816f
lea rcx, [rsp + 0x80]
call fcn.14000bdd4
mov eax, 0x80004005
jmp 0x1400082a8
mov r8, rdi
xor edx, edx
call fcn.14003b440
mov r9d, ebx
movsxd r11, esi
test esi, esi
jle 0x1400081f9
mov r8, rbx
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
movsxd r10, eax
add r10, qword [rsp + 0x80]
movzx edx, word [rsp + r8*2 + 0x2a0]
cmp dx, 0x30
jb 0x1400081d5
cmp dx, 0x39
jbe 0x1400081d0
cmp dx, 0x40
jbe 0x1400081d5
cmp dx, 0x46
jbe 0x1400081cb
cmp dx, 0x60
jbe 0x1400081d5
cmp dx, 0x66
ja 0x1400081d5
sub dl, 0x57
jmp 0x1400081d7
sub dl, 0x37
jmp 0x1400081d7
sub dl, 0x30
jmp 0x1400081d7
mov dl, bl
mov ecx, r9d
and ecx, 1
shl ecx, 2
mov eax, 4
sub eax, ecx
mov cl, al
shl dl, cl
or byte [r10], dl
inc r9d
inc r8
cmp r8, r11
jl 0x140008186
mov dword [rsp + 0x28], r15d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea rax, [rsp + 0x88]
cmp qword [rsp + 0x80], rax
je 0x140008281
lea rcx, [rsp + 0x80]
call fcn.14000bdd4
jmp 0x140008281
lea rcx, [rsp + 0x2a0]
call fcn.140048168
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x2a0]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x14000828e
mov ecx, esi
call fcn.140008fc4
jmp 0x1400082a8
lfence
mov rdx, qword [rsp + 0x60]
mov rcx, r14
call fcn.14000d750
test eax, eax
js 0x140007ee8
xor eax, eax
mov rcx, qword [rsp + 0x22a0]
xor rcx, rsp
call fcn.140037490
add rsp, 0x22b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lfence
mov ecx, 0x80070216
call fcn.140009b24
nop
lfence
mov ecx, 0x80070216
call fcn.140009b24
int3