Function at 0x140075320
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140106010]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
mov edi, r15d
xor edx, edx
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov dword [rbp - 0x54], 0x104
mov dword [rbp - 0x58], 0x104
lea r9, [rbp - 0x54]
lea r8, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1400755da
mov word [rbp + 0x1b8], r15w
mov word [rbp + 0x3c8], r15w
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r15d
lea r9, [rbp + 0x1c0]
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400755d6
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140075420
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140009140
nop
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140075460
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140009140
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400754b2
mov ebx, r15d
jmp 0x140075533
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x70]
test eax, eax
je 0x140075504
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, r15d
jmp 0x140075533
mov rdx, qword [rbp - 0x68]
call fcn.140075320
mov ebx, eax
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call fcn.140075620
and ebx, eax
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140075575
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140075570
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007560b
call fcn.140091bc0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400755c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400755c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140075605
call fcn.140091bc0
test ebx, ebx
je 0x1400755d6
inc edi
mov edx, edi
mov rcx, r14
jmp 0x14007535a
xor eax, eax
jmp 0x1400755df
mov eax, 1
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140091ba0
mov rbx, qword [rsp + 0x520]
add rsp, 0x4e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14009b188
nop
call fcn.14009b188
nop
int3