joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031690
Capabilities:
Delete service

Disassembly:
jmp 0x140031690
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov byte [rsp + 0x20], 1
lea r9, str.Deleting_a_service_can_prevent_the_system_from_starting_or_functioning_properly.
mov r8, qword [rax + 8]
lea rdx, [0x1403c9668]
mov rcx, qword [rsp + 0x80]
call sym.ProcessHacker.exe_PhShowConfirmMessage
movzx eax, al
test eax, eax
jne 0x14003170a
xor al, al
jmp 0x140031837
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov edx, 0x10000
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140031750
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x140031745
mov byte [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x140031832
call fcn.140010ff0
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 8]
lea rcx, str.Unable_to_delete
call fcn.140002440
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x80]
call fcn.140004440
movzx eax, al
test eax, eax
je 0x140031809
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x140031807
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov edx, 5
mov rcx, qword [rax + 8]
call fcn.140014c30
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jl 0x1400317d9
mov byte [rsp + 0x38], 1
jmp 0x140031802
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x88]
lea rdx, [0x1403c9668]
mov rcx, qword [rsp + 0x80]
call fcn.140034aa0
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140031832
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x88]
lea rdx, [0x1403c9668]
mov rcx, qword [rsp + 0x80]
call fcn.140034aa0
movzx eax, byte [rsp + 0x38]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1403c60f0]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x70
pop rdi
ret
Function at 0x140031d40
Capabilities:
Suspend thread

Disassembly:
jmp 0x140031d40
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x31], 0
mov dword [rsp + 0x34], 0
jmp 0x140031da0
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x34], eax
jae 0x140031f18
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
mov r8, qword [rax]
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140013040
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x140031dfa
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtSuspendThread]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x38], 0
jge 0x140031f13
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x140031ed9
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax]
call fcn.140001d80
mov edx, eax
lea rcx, str.Unable_to_suspend_thread__lu
call fcn.1400110d0
lea r9, [rsp + 0x64]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
call fcn.140004440
movzx eax, al
test eax, eax
je 0x140031ed9
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x140031ed2
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
xor r8d, r8d
mov edx, 2
mov rcx, qword [rax]
call fcn.14001b180
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x140031e9a
mov byte [rsp + 0x30], 1
jmp 0x140031ecb
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
mov r8, qword [rcx + rax*8]
lea rdx, str.suspend
mov rcx, qword [rsp + 0xa0]
call fcn.140034ba0
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140031ed7
mov byte [rsp + 0x31], 1
jmp 0x140031f13
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
mov r8, qword [rcx + rax*8]
lea rdx, str.suspend
mov rcx, qword [rsp + 0xa0]
call fcn.140034ba0
movzx eax, al
test eax, eax
jne 0x140031f13
jmp 0x140031f18
jmp 0x140031d96
movzx eax, byte [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1403c6300]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x90
pop rdi
ret
Function at 0x140031f50
Capabilities:
Resume thread

Disassembly:
jmp 0x140031f50
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x31], 0
mov dword [rsp + 0x34], 0
jmp 0x140031fb0
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x34], eax
jae 0x140032128
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
mov r8, qword [rax]
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140013040
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x14003200a
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x38], 0
jge 0x140032123
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1400320e9
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax]
call fcn.140001d80
mov edx, eax
lea rcx, str.Unable_to_resume_thread__lu
call fcn.1400110d0
lea r9, [rsp + 0x64]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
call fcn.140004440
movzx eax, al
test eax, eax
je 0x1400320e9
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x1400320e2
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
xor r8d, r8d
mov edx, 3
mov rcx, qword [rax]
call fcn.14001b180
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x1400320aa
mov byte [rsp + 0x30], 1
jmp 0x1400320db
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
mov r8, qword [rcx + rax*8]
lea rdx, str.resume
mov rcx, qword [rsp + 0xa0]
call fcn.140034ba0
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x1400320e7
mov byte [rsp + 0x31], 1
jmp 0x140032123
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
mov r8, qword [rcx + rax*8]
lea rdx, str.resume
mov rcx, qword [rsp + 0xa0]
call fcn.140034ba0
movzx eax, al
test eax, eax
jne 0x140032123
jmp 0x140032128
jmp 0x140031fa6
movzx eax, byte [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1403c63b0]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x90
pop rdi
ret
Function at 0x14003bcd0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x140
lea rdi, [rsp + 0x50]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rcx, [0x1405c4338]
call fcn.1400135b0
movzx eax, al
test eax, eax
je 0x14003bf30
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f0003
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtCreateEvent]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x14003bda4
mov r8, qword [rsp + 0x68]
lea rdx, [0x14003c960]
lea rcx, [rsp + 0x88]
call sym.ProcessHacker.exe_PhCreateThreadEx
test eax, eax
jl 0x14003bd99
mov rcx, qword [rsp + 0x88]
call fcn.14003c6f0
movzx eax, al
test eax, eax
je 0x14003bd7e
lea rdx, [0x1405c4348]
mov rcx, qword [rsp + 0x88]
call fcn.14003c8d0
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f0003
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtCreateEvent]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x14003be35
mov r8, qword [rsp + 0x68]
lea rdx, [0x14003c9f0]
lea rcx, [rsp + 0x88]
call sym.ProcessHacker.exe_PhCreateThreadEx
test eax, eax
jl 0x14003be2a
mov rcx, qword [rsp + 0x88]
call fcn.14003c6f0
movzx eax, al
test eax, eax
je 0x14003be0f
lea rdx, [0x1405c434c]
mov rcx, qword [rsp + 0x88]
call fcn.14003c8d0
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xa8]
call sym.ProcessHacker.exe_PhCreatePipe
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x14003bf24
mov r8, qword [rsp + 0xa8]
lea rdx, [0x14003ca90]
lea rcx, [rsp + 0x88]
call sym.ProcessHacker.exe_PhCreateThreadEx
test eax, eax
jl 0x14003bf08
mov dword [rsp + 0xe4], 0
mov rcx, qword [rsp + 0x88]
call fcn.14003c6f0
movzx eax, al
test eax, eax
je 0x14003beb0
lea rdx, [0x1405c4350]
mov rcx, qword [rsp + 0x88]
call fcn.14003c8d0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [0x1405c4338]
call sym.ProcessHacker.exe_PhfEndInitOnce
mov rcx, rsp
lea rdx, [0x1403cc270]
call fcn.140015750
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x140
pop rdi
ret
Function at 0x14003f630
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14003f630
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
cmp qword [rax], rcx
jne 0x14003f6e3
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0xffffff65
jne 0x14003f6e3
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x41
je 0x14003f6b3
cmp dword [rsp + 0x28], 0x43
je 0x14003f68c
jmp 0x14003f6e3
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x14003f6b1
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x14003f6b1
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhCopyListView
jmp 0x14003f6e3
mov eax, dword [rsp + 0x50]
and eax, 2
test eax, eax
je 0x14003f6e3
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x14003f6e3
mov r8d, 2
mov edx, 2
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhSetStateAllListViewItems
add rsp, 0x30
pop rdi
ret
Function at 0x14004dad0
Capabilities:
Get graphical window text

Disassembly:
jmp 0x14004dad0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x590
lea rdi, [rsp + 0x20]
mov ecx, 0x15c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5a0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov dword [rsp + 0x30], 0xd
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rsp + 0x5a8]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x50], 0x208
lea rax, [rsp + 0x130]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0xb0], 0xd
mov dword [rsp + 0xc0], 0xffffffff
mov eax, dword [rsp + 0x5b0]
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0xb8], 0
mov dword [rsp + 0xd0], 0x208
lea rax, [rsp + 0x360]
mov qword [rsp + 0xc8], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104b
mov rcx, qword [rsp + 0x5a0]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14004dc26
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov edx, 0x104b
mov rcx, qword [rsp + 0x5a0]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14004dc26
mov eax, dword [rsp + 0x5b0]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x5a8]
mov dword [rsp + 0xb4], eax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104c
mov rcx, qword [rsp + 0x5a0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov edx, 0x104c
mov rcx, qword [rsp + 0x5a0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsp
lea rdx, [0x1403d3010]
call fcn.140015750
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x590
pop rdi
ret
Function at 0x140069b10
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x140069b10
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryMutant]
add rsp, 0x30
pop rdi
ret

Function at 0x140069b60
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x140069b60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0
mov r9d, 0x10
mov r8, qword [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryMutant]
add rsp, 0x30
pop rdi
ret

Function at 0x140074280
Capabilities:
Hide graphical window

Disassembly:
jmp 0x140074280
push rdi
sub rsp, 0x30
cmp qword [0x1405dfcf0], 0
jne 0x1400742d9
mov qword [rsp + 0x20], 0
lea r9, [0x14000ce20]
xor r8d, r8d
mov edx, 0xb2
mov rcx, qword [0x1405e4150]
call sym.ProcessHacker.exe_PhCreateDialog
mov qword [0x1405dfcf0], rax
mov rcx, qword [0x1405dfcf0]
call sym.ProcessHacker.exe_PhRegisterDialog
mov edx, 5
mov rcx, qword [0x1405dfcf0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1405dfcf0]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400742fe
mov edx, 9
mov rcx, qword [0x1405dfcf0]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14007430b
mov rcx, qword [0x1405dfcf0]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
add rsp, 0x30
pop rdi
ret
Function at 0x140077390
Capabilities:
Read file on windows

Disassembly:
jmp 0x140077390
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x50]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x120089
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x68]
call sym.ProcessHacker.exe_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14007741c
mov eax, dword [rsp + 0x50]
jmp 0x1400774ce
mov dword [rsp + 0x80], 0x400
mov eax, dword [rsp + 0x80]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtReadFile]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x50], 0
jl 0x1400774c0
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0xa0]
mov dword [rax], ecx
mov eax, dword [rsp + 0x50]
jmp 0x1400774ce
mov rcx, qword [rsp + 0x78]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1403e4300]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xd0
pop rdi
ret

Function at 0x14007cd30
Capabilities:
Hide graphical window

Disassembly:
jmp 0x14007cd30
mov dword [rsp + 0x18], r8d
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
movzx eax, byte [0x1405e00ad]
test eax, eax
je 0x14007cd65
mov edx, 3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [0x1405e00ad], 0
add rsp, 0x20
pop rdi
ret
Function at 0x1400a39a0
Capabilities:
Check processdebugport

Disassembly:
jmp 0x1400a39a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x48], 7
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x48]
mov edx, 0x34
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1400a3a3d
mov eax, dword [rsp + 0x4c]
and eax, 1
test eax, eax
je 0x1400a3a26
mov dword [rsp + 0x60], 1
jmp 0x1400a3a2e
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x88]
movzx ecx, byte [rsp + 0x60]
mov byte [rax], cl
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1403ef280]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x70
pop rdi
ret

Function at 0x1400a3be0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1400a3be0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, 4
mov rdx, qword [rsp + 0x30]
mov ecx, 0xdd
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c2da0
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1400c2da0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov eax, dword [0x1405e8520]
shr eax, 7
and eax, 1
test eax, eax
je 0x1400c2dc9
mov rcx, qword [rsp + 0x40]
call fcn.14000fb50
jmp 0x1400c2e4e
cmp qword [0x1405e0870], 0
jne 0x1400c2e1c
mov qword [rsp + 0x20], 0
lea r9, [0x140017e80]
xor r8d, r8d
mov edx, 0xe3
mov rcx, qword [0x1405e4150]
call sym.ProcessHacker.exe_PhCreateDialog
mov qword [0x1405e0870], rax
mov rcx, qword [0x1405e0870]
call sym.ProcessHacker.exe_PhRegisterDialog
mov edx, 5
mov rcx, qword [0x1405e0870]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1405e0870]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400c2e41
mov edx, 9
mov rcx, qword [0x1405e0870]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400c2e4e
mov rcx, qword [0x1405e0870]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
add rsp, 0x30
pop rdi
ret
Function at 0x1400ce720
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1400ce720
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [0x1405e0b98], 0
jne 0x1400ce79d
cmp dword [0x1405e7bb0], 0
je 0x1400ce748
mov qword [rsp + 0x30], 0
jmp 0x1400ce752
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], 0
lea r9, [0x14001af50]
mov r8, qword [rsp + 0x30]
mov edx, 0x8a
mov rcx, qword [0x1405e4150]
call sym.ProcessHacker.exe_PhCreateDialog
mov qword [0x1405e0b98], rax
mov rcx, qword [0x1405e0b98]
call sym.ProcessHacker.exe_PhRegisterDialog
mov edx, 5
mov rcx, qword [0x1405e0b98]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1405e0b98]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400ce7c2
mov edx, 9
mov rcx, qword [0x1405e0b98]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400ce7cf
mov rcx, qword [0x1405e0b98]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d74c0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400d74c0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rdi, [rsp + 0x30]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x110]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xc8], rax
mov r8b, 2
lea rdx, [0x1405d2148]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlInitializeSid]
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlSubAuthoritySid]
mov dword [rax], 0x20
mov edx, 1
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlSubAuthoritySid]
mov dword [rax], 0x220
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov qword [rsp + 0xe8], rax
lea rcx, [0x1405d7288]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov rcx, qword [rsp + 0xe8]
lea rax, [rcx + rax + 0x48]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rax, 0x28
mov qword [rsp + 0xd0], rax
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
mov eax, dword [rsp + 0x90]
sub rax, 0x28
mov r8d, 2
mov edx, eax
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
mov r9, qword [rsp + 0xc8]
mov r8d, 0x1f0001
mov edx, 2
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
lea r9, [0x1405d7288]
mov r8d, 1
mov edx, 2
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
xor r9d, r9d
mov r8, qword [rsp + 0xd0]
mov dl, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
mov dword [rsp + 0x48], 0x30
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x60], 0x40
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
call sym.ProcessHacker.exe_PhIsExecutingInWow64
movzx eax, al
test eax, eax
je 0x1400d769a
mov qword [rsp + 0xf0], 0xb0
jmp 0x1400d76a6
mov qword [rsp + 0xf0], 0xb0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xf0]
mov r8d, 4
lea rdx, [rsp + 0x48]
lea rcx, [0x1405e8038]
call qword [sym.imp.ntdll.dll_NtCreatePort]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call sym.ProcessHacker.exe_PhFree
cmp dword [rsp + 0x30], 0
jge 0x1400d76ec
mov eax, dword [rsp + 0x30]
jmp 0x1400d7733
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1405e804c], eax
mov dword [rsp + 0xd8], 0
jmp 0x1400d7715
mov eax, dword [rsp + 0xd8]
inc eax
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 2
jae 0x1400d772f
xor edx, edx
lea rcx, [0x14000e0a0]
call sym.ProcessHacker.exe_PhCreateThread2
jmp 0x1400d7705
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404b4470]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x100
pop rdi
ret
Function at 0x1400d7770
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400d7770
push rdi
sub rsp, 0x20
mov ecx, dword [0x1405e804c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x20
pop rdi
ret

Function at 0x1400e9570
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1400e9570
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, Ordinal_345
lea rdx, [0x1405e7ee0]
mov ecx, 2
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jge 0x1400e95a9
mov r8d, Ordinal_345
xor edx, edx
lea rcx, [0x1405e7ee0]
call fcn.1400139e0
mov rax, qword [0x1405e7e40]
mov rcx, qword [0x1405e7ee8]
sub rcx, rax
mov rax, rcx
mov qword [0x1405e7e48], rax
mov rax, qword [0x1405e7ee8]
mov qword [0x1405e7e40], rax
mov rax, qword [0x1405e7e30]
mov rcx, qword [0x1405e7ef0]
sub rcx, rax
mov rax, rcx
mov qword [0x1405e7e38], rax
mov rax, qword [0x1405e7ef0]
mov qword [0x1405e7e30], rax
mov rax, qword [0x1405e7e20]
mov rcx, qword [0x1405e7ef8]
sub rcx, rax
mov rax, rcx
mov qword [0x1405e7e28], rax
mov rax, qword [0x1405e7ef8]
mov qword [0x1405e7e20], rax
add rsp, 0x20
pop rdi
ret