Function at 0x140038160
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov r15, rdx
mov r13, rcx
xor edi, edi
mov dword [rbp + 0x77], edi
mov dword [rbp + 0x67], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1400381db
mov dword [r15], eax
mov byte [r15 + 0x18], dil
jmp 0x14003847b
mov eax, dword [rbp + 0x67]
inc eax
mov dword [rbp + 0x67], eax
mov ecx, eax
mov eax, 2
mul rcx
mov rbx, rax
mov rax, 0xffffffffffffffff
cmovo rbx, rax
mov rcx, rbx
call fcn.14000d720
mov rsi, rax
test rax, rax
je 0x14003821a
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14007c620
jmp 0x14003821d
mov rsi, rdi
mov qword [rbp - 0x11], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov r12, rdi
mov qword [rbp + 7], rdi
mov eax, dword [rbp + 0x77]
mov edx, eax
test eax, eax
je 0x140038249
lea rcx, [rbp - 9]
call fcn.140052080
mov eax, dword [rbp + 0x77]
mov r12, qword [rbp + 7]
mov r14d, edi
mov rbx, qword [rbp - 1]
test eax, eax
je 0x1400382f3
nop dword [rax + rax]
mov eax, dword [rbp + 0x67]
mov dword [rbp + 0x7f], eax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x7f]
mov r8, rsi
mov edx, r14d
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140038362
mov qword [rbp - 0x19], rsi
cmp rbx, r12
je 0x1400382ca
mov r8d, dword [rbp + 0x7f]
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, rsi
mov rcx, rbx
call fcn.14002b6e0
add rbx, 0x20
mov qword [rbp - 1], rbx
jmp 0x1400382e6
lea r9, [rbp + 0x7f]
lea r8, [rbp - 0x19]
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.1400545a0
mov r12, qword [rbp + 7]
mov rbx, qword [rbp - 1]
inc r14d
cmp r14d, dword [rbp + 0x77]
jb 0x140038260
mov qword [r15], rdi
mov qword [r15 + 8], rdi
mov qword [r15 + 0x10], rdi
mov r13, qword [rbp - 9]
cmp r13, rbx
je 0x14003842b
mov r14, rbx
sub r14, r13
sar r14, 5
movabs rax, 0x7ffffffffffffff
cmp r14, rax
ja 0x140038499
shl r14, 5
cmp r14, 0x1000
jb 0x1400383c6
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x140038499
call fcn.14000d720
test rax, rax
je 0x1400384a5
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400383d6
mov dword [r15], eax
mov byte [r15 + 0x18], 0
mov rdi, qword [rbp - 9]
test rdi, rdi
je 0x1400383af
mov rdx, rbx
mov rcx, rdi
call fcn.140030250
sub r12, rdi
and r12, 0xffffffffffffffe0
mov rax, rdi
cmp r12, 0x1000
jb 0x1400383a6
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003849f
mov rcx, rdi
call fcn.14000d9d0
nop
test rsi, rsi
je 0x14003847b
mov rcx, rsi
call fcn.14000d9d0
nop
jmp 0x14003847b
test r14, r14
je 0x1400383d6
mov rcx, r14
call fcn.14000d720
mov rdi, rax
mov qword [r15], rdi
mov qword [r15 + 8], rdi
lea rax, [rdi + r14]
mov qword [r15 + 0x10], rax
mov qword [rbp + 0x7f], r15
mov rdi, qword [r15]
mov r14, r13
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], r15
nop dword [rax + rax]
mov rdx, r14
mov rcx, rdi
call fcn.14004fde0
add rdi, 0x20
mov qword [rbp + 0x17], rdi
add r14, 0x20
cmp r14, rbx
jne 0x140038400
mov rdx, rdi
mov rcx, rdi
call fcn.140030250
mov qword [r15 + 8], rdi
mov byte [r15 + 0x18], 1
test r13, r13
je 0x14003846d
mov rdx, rbx
mov rcx, r13
call fcn.140030250
sub r12, r13
and r12, 0xffffffffffffffe0
mov rax, r13
cmp r12, 0x1000
jb 0x140038464
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400384ab
mov rcx, r13
call fcn.14000d9d0
nop
test rsi, rsi
je 0x14003847b
mov rcx, rsi
call fcn.14000d9d0
nop
mov rax, r15
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001160
nop
call fcn.140080484
nop
call fcn.140080484
nop
call fcn.140080484
int3