joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400056a0
Capabilities:
Suspend thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rdi, rdx
xor r15b, r15b
xor edx, edx
mov r12d, r8d
mov r13, rcx
mov sil, 1
mov r14d, edx
test r8d, r8d
je 0x1400058f1
mov qword [rsp + 0x1b0], rbx
nop dword [rax]
mov rax, qword [rdi]
mov qword [rsp + 0x50], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov rcx, qword [0x14015c480]
test rcx, rcx
je 0x140005756
mov dword [rsp + 0x48], edx
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x18
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
xor edx, edx
lea rax, [rsp + 0x60]
mov dword [rsp + 0x68], 2
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x58]
mov dword [rsp + 0x28], 0x99992193
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
jmp 0x14000578d
mov qword [rbp - 0x80], rdx
lea r9, [rsp + 0x50]
mov dword [rbp - 0x70], edx
lea r8, [rsp + 0x78]
mov qword [rbp - 0x78], rdx
lea rcx, [rbp + 0xc8]
xorps xmm0, xmm0
mov dword [rsp + 0x78], 0x30
mov edx, 2
movdqu xmmword [rbp - 0x68], xmm0
call qword [sym.imp.ntdll.dll_NtOpenThread]
mov ebx, eax
test eax, eax
js 0x1400057b9
mov rcx, qword [rbp + 0xc8]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSuspendThread]
mov rcx, qword [rbp + 0xc8]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x1400058bd
xor sil, sil
test r15b, r15b
jne 0x14000588e
mov rax, qword [rdi]
lea rcx, str.Unable_to_suspend_thread__u
mov edx, dword [rax]
call fcn.1400015b0
lea r9, [rbp + 0xc0]
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call fcn.140001740
test al, al
je 0x14000588e
cmp byte [rbp + 0xc0], r15b
je 0x140005889
mov rcx, qword [0x140160340]
test rcx, rcx
jne 0x140005844
mov ebx, 0xc0000037
mov rax, qword [rdi]
lea rdx, str.suspend
lea rcx, str.Unable_to__s_thread__u
mov r8d, dword [rax]
call fcn.1400015b0
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowContinueStatus
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x1400058bd
mov rax, qword [rdi]
lea r8, [rbp - 0x40]
mov dword [rbp - 0x18], 0xa
mov qword [rbp - 8], 2
mov qword [rbp - 0x40], 0xb00088
mov rdx, qword [rax]
mov qword [rbp - 0x10], rdx
lea rdx, [rbp - 0x40]
call qword [sym.imp.ntdll.dll_NtRequestWaitReplyPort]
mov ebx, dword [rbp - 0x14]
test eax, eax
cmovs ebx, eax
test ebx, ebx
js 0x140005812
mov sil, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x1400058bd
mov r15b, 1
jmp 0x1400058bd
mov rax, qword [rdi]
lea rdx, str.suspend
lea rcx, str.Unable_to__s_thread__u
mov r8d, dword [rax]
call fcn.1400015b0
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowContinueStatus
test al, al
je 0x1400058d2
inc r14d
add rdi, 8
mov edx, 0
cmp r14d, r12d
jb 0x1400056e0
mov rbx, qword [rsp + 0x1b0]
movzx eax, sil
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx eax, sil
jmp 0x1400058de
Function at 0x140005900
Capabilities:
Resume thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rdi, rdx
xor r15b, r15b
xor edx, edx
mov r12d, r8d
mov r13, rcx
mov sil, 1
mov r14d, edx
test r8d, r8d
je 0x140005b51
mov qword [rsp + 0x1b0], rbx
nop dword [rax]
mov rax, qword [rdi]
mov qword [rsp + 0x50], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov rcx, qword [0x14015c480]
test rcx, rcx
je 0x1400059b6
mov dword [rsp + 0x48], edx
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x18
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
xor edx, edx
lea rax, [rsp + 0x60]
mov dword [rsp + 0x68], 2
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x58]
mov dword [rsp + 0x28], 0x99992193
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
jmp 0x1400059ed
mov qword [rbp - 0x80], rdx
lea r9, [rsp + 0x50]
mov dword [rbp - 0x70], edx
lea r8, [rsp + 0x78]
mov qword [rbp - 0x78], rdx
lea rcx, [rbp + 0xc8]
xorps xmm0, xmm0
mov dword [rsp + 0x78], 0x30
mov edx, 2
movdqu xmmword [rbp - 0x68], xmm0
call qword [sym.imp.ntdll.dll_NtOpenThread]
mov ebx, eax
test eax, eax
js 0x140005a19
mov rcx, qword [rbp + 0xc8]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov rcx, qword [rbp + 0xc8]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x140005b1d
xor sil, sil
test r15b, r15b
jne 0x140005aee
mov rax, qword [rdi]
lea rcx, str.Unable_to_resume_thread__u
mov edx, dword [rax]
call fcn.1400015b0
lea r9, [rbp + 0xc0]
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call fcn.140001740
test al, al
je 0x140005aee
cmp byte [rbp + 0xc0], r15b
je 0x140005ae9
mov rcx, qword [0x140160340]
test rcx, rcx
jne 0x140005aa4
mov ebx, 0xc0000037
mov rax, qword [rdi]
lea rdx, str.resume
lea rcx, str.Unable_to__s_thread__u
mov r8d, dword [rax]
call fcn.1400015b0
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowContinueStatus
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140005b1d
mov rax, qword [rdi]
lea r8, [rbp - 0x40]
mov dword [rbp - 0x18], 0xa
mov qword [rbp - 8], 3
mov qword [rbp - 0x40], 0xb00088
mov rdx, qword [rax]
mov qword [rbp - 0x10], rdx
lea rdx, [rbp - 0x40]
call qword [sym.imp.ntdll.dll_NtRequestWaitReplyPort]
mov ebx, dword [rbp - 0x14]
test eax, eax
cmovs ebx, eax
test ebx, ebx
js 0x140005a72
mov sil, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140005b1d
mov r15b, 1
jmp 0x140005b1d
mov rax, qword [rdi]
lea rdx, str.resume
lea rcx, str.Unable_to__s_thread__u
mov r8d, dword [rax]
call fcn.1400015b0
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowContinueStatus
test al, al
je 0x140005b32
inc r14d
add rdi, 8
mov edx, 0
cmp r14d, r12d
jb 0x140005940
mov rbx, qword [rsp + 0x1b0]
movzx eax, sil
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx eax, sil
jmp 0x140005b3e
Function at 0x14000a840
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14000a87b
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14000a87b
cmp word [rcx + 0x18], 0x43
jne 0x14000a87b
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14000a87b
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.ProcessHacker.exe_PhCopyListView
add rsp, 0x20
pop rbx
ret

Function at 0x14000b500
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xe0
mov r14, rcx
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b66d
lea rdx, str.DebugSetProcessKillOnExit
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14000b66d
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b66d
lea rdx, str.DebugActiveProcessStop
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14000b66d
mov rcx, qword gs:[0x30]
mov qword [rsp + 0xf0], rbp
mov qword [rsp + 0xf8], rsi
xor sil, sil
mov rdx, qword [rcx + 0x60]
mov rcx, qword gs:[0x30]
movzx ebp, byte [rdx + 1]
mov rdx, qword [rcx + 0x60]
lea rcx, [rsp + 0x70]
mov byte [rdx + 1], sil
xor edx, edx
lea r8d, [rdx + 0x68]
call fcn.1400e3c20
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov rcx, r14
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000b626
xor ecx, ecx
call rdi
mov ecx, dword [rsp + 0x60]
call rbx
mov sil, 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000b636
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000b646
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword gs:[0x30]
movzx eax, sil
mov rsi, qword [rsp + 0xf8]
mov rdx, qword [rcx + 0x60]
mov byte [rdx + 1], bpl
mov rbp, qword [rsp + 0xf0]
jmp 0x14000b66f
xor al, al
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140021930
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
xor edx, edx
lea rcx, str.ProcessHacker
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x14002199c
mov r8d, dword [0x1401604a8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x1388
mov edx, 0x8063
mov rcx, rbx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp qword [rsp + 0x50], 0x1119
jne 0x14002199c
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x40
pop rbx
ret
Function at 0x140022610
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rdx, qword [rcx + 0x20]
lea rcx, [0x140160460]
movzx eax, word [rdx + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rdx + 0x78]
xor edx, edx
mov qword [rsp + 0x48], rax
lea r8d, [rdx + 0x68]
call fcn.1400e3c20
xor ebx, ebx
lea rax, [0x140022090]
mov qword [rsp + 0x28], rbx
lea rdx, [0x140153d20]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 3]
lea r8d, [rbx + 0x1c]
call sym.ProcessHacker.exe_PhParseCommandLine
test al, al
je 0x140022687
mov eax, dword [0x140160460]
bt eax, 0xe
jae 0x1400226af
lea r8, str.Command_line_options:_n_n_c_n_ctype_command_type_n_cobject_command_object_n_caction_command_action_n_cvalue_command_value_n_debug_n_elevate_n_help_n_hide_n_installkph_n_newinstance_n_nokph_n_noplugins_n_nosettings_n_plugin_pluginname:value_n_priority_rhnl_n_s_n_selectpid_pid_to_select_n_selecttab_name_of_tab_to_select_n_settings_filename_n_sysinfo__section_name__n_uninstallkph_n_v_n
mov edx, 0x40
xor ecx, ecx
call sym.ProcessHacker.exe_PhShowMessage
mov eax, dword [0x140160460]
bt eax, 0xe
jae 0x1400226af
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test al, 0x20
je 0x140022710
mov rcx, qword [0x1401604d0]
lea rdx, str.kprocesshacker.sys
mov rcx, qword [rcx + 8]
call sym.ProcessHacker.exe_PhConcatStrings2
mov dword [rsp + 0x70], ebx
lea r8, [rsp + 0x70]
mov byte [rsp + 0x74], 1
mov rdx, qword [rax + 8]
call fcn.1400bfeb0
mov ebx, eax
test eax, eax
jns 0x140022707
test dword [0x140160460], 0x2000
jne 0x140022707
xor r9d, r9d
lea rdx, str.Unable_to_install_KProcessHacker
mov r8d, eax
xor ecx, ecx
call sym.ProcessHacker.exe_PhShowStatus
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test al, 0x40
je 0x140022748
call fcn.1400c0000
mov ebx, eax
test eax, eax
jns 0x14002273f
test dword [0x140160460], 0x2000
jne 0x14002273f
xor r9d, r9d
lea rdx, str.Unable_to_uninstall_KProcessHacker
mov r8d, eax
xor ecx, ecx
call sym.ProcessHacker.exe_PhShowStatus
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
bt eax, 0xc
jae 0x140022798
lea rcx, [rsp + 0x50]
call sym.ProcessHacker.exe_PhGetOwnTokenAttributes
test byte [rax + 8], 1
jne 0x140022792
mov qword [rsp + 0x38], rbx
mov r9d, 5
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov dword [rsp + 0x28], 5
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 1
call fcn.14000b0c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x140160460]
test al, al
jns 0x1400227a6
add rsp, 0x60
pop rbx
jmp fcn.140010b60
add rsp, 0x60
pop rbx
ret
Function at 0x1400266b0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
call fcn.14007a2b0
cmp byte [0x14015abc6], 0
je 0x1400266c7
call fcn.14008bf20
cmp byte [0x14015aed2], 0
je 0x1400266d5
call fcn.14003b700
call fcn.14003f290
mov edx, dword [0x14015d43c]
lea rcx, str.IconNotifyMask
call sym.ProcessHacker.exe_PhSetIntegerSetting
mov r8, qword [sym.ProcessHacker.exe_PhMainWndHandle]
lea rdx, str.MainWindowSize
lea rcx, str.MainWindowPosition
call sym.ProcessHacker.exe_PhSaveWindowPlacementToSetting
call fcn.140026730
mov rcx, qword [0x14015aea8]
test rcx, rcx
je 0x140026724
mov rcx, qword [rcx + 8]
add rsp, 0x28
jmp fcn.14008a1d0
add rsp, 0x28
ret
Function at 0x140041de0
Capabilities:
Check mutex on windows

Disassembly:
push rdi
sub rsp, 0x40
mov r8, qword [rdx + 8]
mov rax, rdx
mov rdi, rcx
mov edx, 1
lea rcx, [rsp + 0x60]
call qword [rax]
test eax, eax
js 0x140041f13
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x50], rbx
xor edx, edx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 8]
call qword [sym.imp.ntdll.dll_NtQueryMutant]
mov edx, 0x440
mov rcx, rdi
test eax, eax
js 0x140041e59
mov r8d, dword [rsp + 0x68]
lea r9d, [rbx + 1]
call qword [sym.imp.USER32.dll_SetDlgItemInt]
cmp byte [rsp + 0x6d], bl
lea rax, str.True
lea r8, str.False
cmovne r8, rax
jmp 0x140041e6d
lea r8, [0x140128ad8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea r8, [0x140128ad8]
mov edx, 0x441
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3c
jb 0x140041eee
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x30]
mov r9d, 0x10
mov qword [rsp + 0x20], rbx
lea edx, [r9 - 0xf]
call qword [sym.imp.ntdll.dll_NtQueryMutant]
test eax, eax
js 0x140041eee
cmp qword [rsp + 0x30], rbx
je 0x140041ee5
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhGetClientIdName
mov edx, 0x41e
mov rcx, rdi
mov rbx, rax
mov r8, qword [rax + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140041f03
call fcn.1400ae580
jmp 0x140041f03
lea r8, [0x14012c230]
jmp 0x140041ef5
lea r8, [0x140128ad8]
mov edx, 0x41e
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140041ff0
Capabilities:
Map section object

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov r8, qword [rdx + 8]
lea r15, [0x140128ad8]
xor ebx, ebx
mov r14, rdx
mov rbp, rcx
mov qword [rax + 0x20], rbx
lea rcx, [rax + 0x10]
mov rdi, r15
mov esi, ebx
lea edx, [rbx + 5]
call qword [r14]
test eax, eax
jns 0x140042049
mov r8, qword [r14 + 8]
lea edx, [rbx + 5]
lea rcx, [rsp + 0xc8]
call qword [r14]
test eax, eax
js 0x1400421f7
mov rcx, qword [rsp + 0xc8]
lea r8, [rsp + 0x58]
mov r9d, 0x18
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQuerySection]
test eax, eax
js 0x1400420eb
mov ecx, dword [rsp + 0x60]
bt ecx, 0x1b
jae 0x140042080
lea rdi, [0x14012c5d8]
jmp 0x1400420af
bt ecx, 0x17
jae 0x14004208f
lea rdi, [0x140128210]
jmp 0x1400420af
bt ecx, 0x18
jae 0x14004209e
lea rdi, [0x14012c610]
jmp 0x1400420af
and ecx, 0x4000000
lea rdi, str.Reserve
cmove rdi, r15
movzx eax, byte [0x140159800]
lea rcx, [rsp + 0x70]
xor r8d, r8d
mov byte [rsp + 0x7a], al
mov rax, qword [rsp + 0x68]
mov dword [rsp + 0x70], 0x10c
mov qword [rsp + 0x80], rax
lea edx, [r8 + 1]
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov rsi, rax
mov rcx, qword [rsp + 0xc8]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 2
lea r8, [rsp + 0xd0]
mov dword [rsp + 0x40], ebx
xor r9d, r9d
mov dword [rsp + 0x38], 1
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x50], 1
mov qword [rsp + 0xd0], rbx
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
js 0x14004219e
mov rdx, qword [rsp + 0xd0]
lea r8, [rsp + 0xd8]
or rcx, 0xffffffffffffffff
call sym.ProcessHacker.exe_PhGetProcessMappedFileName
mov rdx, qword [rsp + 0xd0]
or rcx, 0xffffffffffffffff
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
test ebx, ebx
mov rbx, qword [rsp + 0xd8]
js 0x14004219e
mov rcx, rbx
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov rcx, rbx
call sym.ProcessHacker.exe_PhResolveDevicePrefix
test rax, rax
je 0x14004219e
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov rbx, rax
mov r8, rdi
mov edx, 0x408
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
test rsi, rsi
je 0x1400421b8
mov r15, qword [rsi + 8]
mov r8, r15
mov edx, 0x44a
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
test rbx, rbx
je 0x1400421d4
mov r8, qword [rbx + 8]
jmp 0x1400421db
lea r8, [0x14012c230]
mov edx, 0x3ee
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140042f30
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
cmp byte [0x14015d712], cl
movzx edi, dl
movzx ebx, cl
jne 0x140042f5f
test cl, cl
je 0x1400430b2
cmp byte [0x14015d6af], dl
je 0x1400430b2
mov r8, qword [0x140154500]
mov rax, qword [str.SoftwareMicrosoftWindowsCurrentVersionRun]
mov word [rsp + 0x40], r8w
mov word [rsp + 0x42], r8w
mov qword [rsp + 0x48], rax
cmp r8, 0xfffe
ja 0x1400430b2
xor r8d, r8d
lea rax, [rsp + 0xa8]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
lea rcx, [r8 - 9]
call fcn.1400bed90
test eax, eax
js 0x1400430b2
lea r8, [rsp + 0x50]
mov qword [rsp + 0x90], rsi
mov edx, 0x20006
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rsp + 0xa8]
mov esi, eax
test rcx, rcx
je 0x140042feb
call qword [sym.imp.ntdll.dll_NtClose]
test esi, esi
mov rsi, qword [rsp + 0x90]
js 0x1400430b2
mov dword [rsp + 0x30], 0x220020
lea rax, str.Process_Hacker_2
mov qword [rsp + 0x38], rax
test bl, bl
je 0x140043091
mov r8, qword [0x1401604c8]
lea r9, [0x14012d8b4]
lea rdx, [0x14012d8b4]
mov ecx, 3
mov r8, qword [r8 + 8]
call sym.ProcessHacker.exe_PhConcatStrings
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov rcx, rax
test dil, dil
je 0x140043061
mov rcx, qword [rax + 8]
lea rdx, str.__hide
call sym.ProcessHacker.exe_PhConcatStrings2
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov rcx, rax
mov eax, dword [rcx]
lea rdx, [rsp + 0x30]
add eax, 2
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rcx + 8]
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtSetValueKey]
jmp 0x1400430a4
mov rcx, qword [rsp + 0xa0]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140061880
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, edx
mov ecx, dword [0x140160330]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [rbx + 4]
mov r9d, dword [rbx]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x38]
add r8, r10
add r9, r8
cmp r9, r8
jb 0x1400618d9
cmp r8, r10
jb 0x1400618d9
cmp r9, qword [rcx + 0x40]
ja 0x1400618d9
xor eax, eax
lea edx, [rdi - 1]
and rdx, r8
cmovne r8, rax
mov rax, r8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140061b00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp dword [rcx + 4], 0
mov r14, r8
mov rdi, rcx
je 0x140061bc6
mov ecx, dword [0x140160330]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [rdi + 4]
mov r8d, dword [rdi]
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x38]
add rsi, rdx
lea rax, [r8 + rsi]
cmp rax, rsi
jb 0x140061bc6
cmp rsi, rdx
jb 0x140061bc6
cmp rax, qword [rcx + 0x40]
ja 0x140061bc6
test rsi, rsi
je 0x140061bc6
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
jne 0x140061b78
mov eax, 0xc0000017
jmp 0x140061bcb
mov r8d, dword [rdi]
mov rdx, rsi
mov rcx, rax
call fcn.1400e31d0
cmp dword [rdi], 2
jb 0x140061bad
movzx ecx, byte [rbx + 1]
call qword [sym.imp.ntdll.dll_RtlLengthRequiredSid]
cmp dword [rdi], eax
jb 0x140061bad
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlValidSid]
test al, al
je 0x140061bad
mov qword [r14], rbx
xor eax, eax
jmp 0x140061bcb
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, 0xc0000078
jmp 0x140061bcb
mov eax, 0xc0000005
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140061bf0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x10], dl
push r14
sub rsp, 0x20
cmp dword [rcx + 4], 0
mov r14, r9
mov rsi, rcx
je 0x140061d46
mov ecx, dword [0x140160330]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [rsi + 4]
mov r8d, dword [rsi]
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x38]
add rbx, rdx
lea rax, [r8 + rbx]
cmp rax, rbx
jb 0x140061d46
cmp rbx, rdx
jb 0x140061d46
cmp rax, qword [rcx + 0x40]
ja 0x140061d46
test rbx, rbx
je 0x140061d46
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x140061c7f
mov eax, 0xc0000017
jmp 0x140061d4b
mov r8d, dword [rsi]
mov rdx, rbx
mov rcx, rax
call fcn.1400e31d0
mov edx, dword [rsi]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlValidRelativeSecurityDescriptor]
test al, al
jne 0x140061cbb
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, 0xc0000079
jmp 0x140061d4b
mov eax, dword [rsi]
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov dword [rsp + 0x38], eax
call qword [sym.imp.ntdll.dll_RtlSelfRelativeToAbsoluteSD2]
mov ebx, eax
cmp eax, 0xc0000023
jne 0x140061d25
mov r8d, dword [rsp + 0x38]
mov edx, 4
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsi]
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call fcn.1400e31d0
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rdx, [rsp + 0x38]
mov rcx, rbx
mov rdi, rbx
call qword [sym.imp.ntdll.dll_RtlSelfRelativeToAbsoluteSD2]
mov ebx, eax
test ebx, ebx
jns 0x140061d3f
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
jmp 0x140061d4b
mov qword [r14], rdi
xor eax, eax
jmp 0x140061d4b
mov eax, 0xc0000005
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret