Function at 0x180001780
Capabilities:
Create process on windows
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x648]
sub rsp, 0x720
mov rax, qword [rcx]
mov r14, rdx
xor r13d, r13d
lea rdx, [rsp + 0x40]
mov r15, r9
mov dword [rsp + 0x40], r13d
mov r12, r8
mov rsi, rcx
call qword [rax + 0x38]
test eax, eax
js 0x180001a2b
mov edi, r13d
cmp dword [rsp + 0x40], r13d
jbe 0x180001a2b
mov rax, qword [rsi]
lea r8, [rsp + 0x50]
mov edx, edi
mov qword [rsp + 0x50], r13
mov rcx, rsi
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], r13
mov edx, 0x80058000
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rax, [rbp - 0x10]
mov dword [rsp + 0x78], r13d
lea rdx, [0x18001e340]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
mov word [rbp - 0x10], r13w
call fcn.1800011b8
mov rcx, qword [rsp + 0x48]
mov edx, r13d
cmp word [rcx], r13w
je 0x18000184b
mov rax, rcx
inc edx
lea rax, [rax + 2]
cmp word [rax], r13w
jne 0x18000183f
movsxd rax, edx
lea rdx, [rcx + rax*2]
jmp 0x18000185e
cmp word [rdx], 0x2e
je 0x180001865
sub rdx, 2
cmp rdx, rcx
jne 0x180001854
jmp 0x180001869
add rdx, 2
lea rcx, [rsp + 0x70]
call fcn.1800011b8
lea rax, [rsp + 0x58]
mov r9d, 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x10]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180001a09
mov rcx, qword [rsp + 0x58]
lea r9, [rbp + 0x650]
mov qword [rsp + 0x38], r13
lea r8, [rbp + 0x200]
mov qword [rsp + 0x30], r13
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rbp + 0x650], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, 1
cmp eax, 0x103
je 0x180001a09
test eax, eax
jne 0x180001931
lea rcx, [rbp + 0x200]
mov rax, r14
mov edx, r13d
cmp word [r14], r13w
je 0x180001927
movzx r8d, word [rcx]
test r8w, r8w
je 0x180001927
cmp word [rax], r8w
jne 0x180001927
cmp edx, 0x104
jae 0x180001927
add rax, 2
add rcx, 2
inc edx
cmp word [rax], r13w
jne 0x1800018ff
movzx ecx, word [rcx]
movzx eax, word [rax]
cmp eax, ecx
je 0x180001971
mov rcx, qword [rsp + 0x58]
lea r9, [rbp + 0x650]
mov qword [rsp + 0x38], r13
lea r8, [rbp + 0x200]
mov qword [rsp + 0x30], r13
mov edx, ebx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rbp + 0x650], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc ebx
jmp 0x1800018dd
lea rax, [rbp + 0x410]
mov dword [rsp + 0x68], r13d
mov rdx, r15
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
mov word [rbp + 0x410], r13w
call fcn.1800011b8
lea rdx, [0x18001e390]
lea rcx, [rsp + 0x60]
call fcn.1800011b8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.1800011b8
lea rdx, [0x18001e398]
lea rcx, [rsp + 0x60]
call fcn.1800011b8
mov ebx, 0x70
lea rcx, [rbp - 0x80]
mov r8d, ebx
xor edx, edx
call fcn.1800042f0
lea rax, [rbp + 0x410]
mov dword [rbp - 0x80], ebx
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x80]
lea rax, str.open
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
inc edi
cmp edi, dword [rsp + 0x40]
jb 0x1800017db
lea r11, [rsp + 0x720]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret