Function at 0x180007700
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push r13
push r14
lea rbp, [rsp - 0xca8]
sub rsp, 0xda8
mov rax, qword [0x180034008]
xor rax, rsp
mov qword [rbp + 0xc90], rax
mov r13d, dword [rbp + 0xcf8]
mov r14, rcx
lea rcx, [rbp - 0x10]
xor edx, edx
mov r8d, 0x208
call fcn.18000bfa0
xor edx, edx
lea rcx, [rbp + 0x200]
mov r8d, 0x208
call fcn.18000bfa0
xor edx, edx
lea rcx, [rbp + 0x670]
mov r8d, 0x618
call fcn.18000bfa0
xor edx, edx
lea rcx, [rbp + 0x410]
mov r8d, 0x258
call fcn.18000bfa0
xor esi, esi
mov dword [rsp + 0x5c], 0x104
lea r8, str.1BFA6B3E_7441_4E72_B865_8363000E40F2
mov dword [rsp + 0x58], esi
lea rdx, str.CLSID_sSettings
lea rcx, [rbp + 0x410]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x410]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180007b29
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.Path
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x180007b23
mov qword [rsp + 0xdd8], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0xde0], rdi
lea rdx, str.Custom
mov edi, dword [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], rax
add edi, 2
xor r8d, r8d
mov qword [rsp + 0xde8], r12
inc rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180007859
mov eax, dword [rsp + 0x58]
add rdi, rax
mov ebx, esi
cmp dword [r14 + 0x24], ebx
jbe 0x180007884
mov rcx, qword [r14 + 0x30]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
add rdi, 3
mov eax, eax
add rdi, rax
inc ebx
cmp ebx, dword [r14 + 0x24]
jb 0x180007861
lea r12, [rdi + rdi]
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rdi, rax
test rax, rax
jne 0x1800078de
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
mov rdi, qword [rsp + 0xde0]
mov rbx, qword [rsp + 0xdd8]
mov r12, qword [rsp + 0xde8]
mov rcx, qword [rbp + 0xc90]
xor rcx, rsp
call fcn.180008690
add rsp, 0xda8
pop r14
pop r13
pop rsi
pop rbp
ret
mov word [rax], si
lea rdx, str.Path
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp - 0x10]
mov qword [rsp + 0xda0], r15
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x18002ee98]
mov word [rbp + 0x1f6], si
lea rcx, [rbp + 0x670]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x670]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x18002ee98]
lea rcx, [rbp + 0x670]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rdx, str.Custom
lea rax, [rbp + 0x200]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800079b6
lea rdx, [0x18002ee9c]
lea rcx, [rbp + 0x670]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x670]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [r14 + 0xb10], 0x501
mov eax, 0x64
mov r15d, 4
mov ebx, esi
cmova r15d, eax
cmp dword [r14 + 0x24], ebx
jbe 0x180007b0b
nop word [rax + rax]
mov r8, r12
xor edx, edx
mov rcx, rdi
call fcn.18000bfa0
lea rdx, [rbp + 0x670]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
cmp ebx, dword [r14 + 0x24]
jae 0x180007a65
cmp esi, r15d
jae 0x180007a65
mov rcx, qword [r14 + 0x30]
lea r8, [rbp - 0x10]
mov r9d, 0x104
mov edx, ebx
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea rdx, [0x18002eea0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x18002ee98]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
inc ebx
inc esi
cmp ebx, dword [r14 + 0x24]
jb 0x180007a13
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x68]
call fcn.18000bfa0
xor esi, esi
mov dword [rsp + 0x60], 0x68
lea rax, [rbp - 0x30]
mov dword [rbp - 0x64], 1
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
mov word [rbp - 0x60], r13w
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rsi
mov rdx, rdi
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180007b01
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x180007b01
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor r9d, r9d
mov dword [rsp + 0x28], r13d
mov r8, rdi
mov qword [rsp + 0x20], rsi
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp ebx, dword [r14 + 0x24]
jb 0x1800079f0
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r15, qword [rsp + 0xda0]
xor eax, eax
jmp 0x1800078a9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
jmp 0x1800078c1