joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009a10
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401a1e00
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x50]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 8]
and eax, 8
test eax, eax
je 0x1401a1e62
mov rax, qword [rsp + 0xa0]
add rax, 0x10
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x103
jne 0x1401a1eea
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x1401a1eea
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x1401a1f28
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
add rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 8]
bts eax, 0x1f
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + 8], eax
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404ea550]
call fcn.140015750
mov eax, edi
add rsp, 0x90
pop rdi
ret
Function at 0x140009b80
Capabilities:
Parse pe header

Disassembly:
jmp 0x140250d40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r8d, 0x40
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140009640
jmp 0x140250d9e
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140250db7
mov eax, 0xc000012f
jmp 0x140250efc
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x140250dd4
mov eax, 0xc000007b
jmp 0x140250efc
cmp dword [rsp + 0x28], 0x10000000
jae 0x140250de9
mov eax, dword [rsp + 0x28]
cmp rax, qword [rsp + 0x60]
jb 0x140250df3
mov eax, 0xc000007b
jmp 0x140250efc
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x18], rax
mov r8d, 0x18
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.140009640
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
movzx ecx, word [rcx + 6]
imul rcx, rcx, 0x28
lea rax, [rax + rcx + 0x18]
mov r8, rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.140009640
jmp 0x140250e6c
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
cmp dword [rax], 0x4550
je 0x140250e84
mov eax, 0xc000007b
jmp 0x140250efc
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
mov word [rcx + 0x30], ax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x30]
cmp eax, 0x10b
je 0x140250ec1
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x30]
cmp eax, 0x20b
je 0x140250ec1
mov eax, 0xc000007b
jmp 0x140250efc
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
movzx eax, word [rax + 6]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x28], rax
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x140009e00
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x140227db0
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x10
mov dword [rsp], 0
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
jne 0x140227de1
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
jne 0x140227de1
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x140227deb
mov eax, dword [rsp]
bts eax, 0x13
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
jne 0x140227e1b
mov eax, dword [rsp + 0x20]
and eax, 0x20
test eax, eax
jne 0x140227e1b
mov eax, dword [rsp + 0x20]
and eax, 0x80000000
test eax, eax
jne 0x140227e1b
mov eax, dword [rsp + 0x20]
and eax, 0x20000000
test eax, eax
je 0x140227e25
mov eax, dword [rsp]
bts eax, 0x12
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
and eax, 8
test eax, eax
jne 0x140227e55
mov eax, dword [rsp + 0x20]
and eax, 0x40
test eax, eax
jne 0x140227e55
mov eax, dword [rsp + 0x20]
and eax, 0x40000000
test eax, eax
jne 0x140227e55
mov eax, dword [rsp + 0x20]
and eax, 0x10000000
test eax, eax
je 0x140227e5f
mov eax, dword [rsp]
bts eax, 0x18
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
and eax, 0x10000
test eax, eax
je 0x140227e77
mov eax, dword [rsp]
or eax, 0x10c0000
mov dword [rsp], eax
mov eax, dword [rsp]
add rsp, 0x10
pop rdi
ret

Function at 0x14000a020
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401b6630
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x30], 0x100
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
xor eax, eax
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x52], ax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rsp + 0x48]
mov ecx, 0x58
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1401b6701
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
movzx eax, word [rsp + 0x52]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rsp + 0x48]
mov ecx, 0x58
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1401b6718
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1401b673b
lea rcx, [rsp + 0x50]
call fcn.140009060
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f1320]
call fcn.140015750
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x14000a030
Capabilities:
Read http header

Disassembly:
jmp 0x14025c340
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x68]
mov edx, 0xffff
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14025c3af
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14025c3af
xor eax, eax
jmp 0x14025c417
mov eax, dword [rsp + 0x34]
mov edx, eax
xor ecx, ecx
call sym.ProcessHacker.exe_PhCreateStringEx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
mov r9, qword [rax + 8]
mov r8, qword [rsp + 0x68]
mov edx, 0xffff
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14025c408
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhDereferenceObject
xor eax, eax
jmp 0x14025c417
mov rcx, qword [rsp + 0x48]
call fcn.140016ad0
mov rax, qword [rsp + 0x48]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140518a40]
call fcn.140015750
mov rax, rdi
add rsp, 0x50
pop rdi
ret

Function at 0x14000a040
Capabilities:
Receive http response

Disassembly:
jmp 0x14025c110
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14025c155
mov dword [rsp + 0x20], 1
jmp 0x14025c15d
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x14000a430
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140149280
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x34], 0x100
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x64
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x20], 0xc0000004
jne 0x140149342
cmp dword [rsp + 0x44], 8
jae 0x140149342
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x64
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x1401492ed
cmp dword [rsp + 0x20], 0
jl 0x140149358
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
jmp 0x140149362
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404d1e60]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x60
pop rdi
ret
Function at 0x14000a460
Capabilities:
Delete registry key

Disassembly:
jmp 0x1401bed10
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
lea rdi, [rsp + 0x40]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x120]
mov rdx, rax
lea rcx, [0x1405d6520]
call sym.ProcessHacker.exe_PhConcatStringRef2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.1400117c0
movzx eax, al
test eax, eax
jne 0x1401bed7f
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, 0xc0000106
jmp 0x1401bef25
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0xa4]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rax
xor r8d, r8d
mov edx, 0x30006
lea rcx, [rsp + 0x88]
call sym.ProcessHacker.exe_PhCreateKey
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1401bef17
cmp dword [rsp + 0xa4], 1
jne 0x1401beee2
mov dword [rsp + 0xf4], 1
lea rdx, str.ErrorControl
lea rcx, [rsp + 0xc8]
call fcn.140005530
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xf4]
mov r8d, 4
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call sym.ProcessHacker.exe_PhSetValueKey
lea rdx, [0x1404f94c8]
lea rcx, [rsp + 0xc8]
call fcn.140005530
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xf4]
mov r8d, 4
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call sym.ProcessHacker.exe_PhSetValueKey
lea rdx, str.Type
lea rcx, [rsp + 0xc8]
call fcn.140005530
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xf4]
mov r8d, 4
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call sym.ProcessHacker.exe_PhSetValueKey
lea rdx, str.ImagePath
lea rcx, [rsp + 0xc8]
call fcn.140005530
mov eax, dword [0x1405d6530]
add rax, 2
mov dword [rsp + 0x20], eax
mov r9, qword [str.SystemRoot_system32drivers_ntfs.sys]
mov r8d, 1
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call sym.ProcessHacker.exe_PhSetValueKey
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0xa4], 1
jne 0x1401bef09
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, dword [rsp + 0x40]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f5e70]
call fcn.140015750
mov rax, rdi
add rsp, 0x110
pop rdi
ret
Function at 0x14000a4f0
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 0x14000a620
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401bdc30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x70]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1401bdc81
cmp dword [rsp + 0x58], 3
je 0x1401bdc8b
cmp dword [rsp + 0x58], 4
je 0x1401bdc95
cmp dword [rsp + 0x58], 0xffff
je 0x1401bdc9f
jmp 0x1401bdca9
mov dword [rsp + 0x34], 0
jmp 0x1401bdcb3
mov dword [rsp + 0x34], 1
jmp 0x1401bdcb3
mov dword [rsp + 0x34], 2
jmp 0x1401bdcb3
mov dword [rsp + 0x34], 3
jmp 0x1401bdcb3
mov eax, 0xc0000003
jmp 0x1401bddc8
mov eax, dword [rsp + 0x34]
lea rcx, [0x1405d6698]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, 4
lea rdx, [rsp + 0x70]
mov ecx, 0x6b
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x30], 0xc0000004
jne 0x1401bdd76
cmp dword [rsp + 0x54], 8
jae 0x1401bdd76
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, 4
lea rdx, [rsp + 0x70]
mov ecx, 0x6b
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x1401bdd0e
cmp dword [rsp + 0x30], 0
jge 0x1401bdd8d
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x1401bddc8
cmp dword [rsp + 0x44], 0x100000
ja 0x1401bdda9
mov eax, dword [rsp + 0x34]
lea rcx, [0x1405d6698]
mov edx, dword [rsp + 0x44]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x44]
mov dword [rax], ecx
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f55e0]
call fcn.140015750
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x14000adf0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401b61a0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x54], 0
mov eax, dword [0x1405d6564]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1401b6265
cmp dword [rsp + 0x54], 0xa
jae 0x1401b6265
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x1401b6208
cmp dword [rsp + 0x20], 0
jge 0x1401b62e3
mov eax, dword [0x1405d6564]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1401b62e3
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x30]
shl eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x10000000
jbe 0x1401b62d1
mov eax, 0xc000009a
jmp 0x1401b631f
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x1401b6286
cmp dword [rsp + 0x20], 0
jge 0x1401b62fa
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1401b631f
cmp dword [rsp + 0x30], 0x200000
ja 0x1401b630e
mov eax, dword [rsp + 0x30]
mov dword [0x1405d6564], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f1260]
call fcn.140015750
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x14000aeb0
Capabilities:
Continue service

Disassembly:
jmp 0x140031150
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 0x40
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400311e2
lea r8, [rsp + 0x48]
mov edx, 3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400311d7
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 0x1400312ca
call fcn.140010ff0
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 8]
lea rcx, str.Unable_to_continue
call fcn.140002440
lea r9, [rsp + 0x84]
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xc0]
call fcn.140004440
movzx eax, al
test eax, eax
je 0x1400312a1
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x14003129f
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 2
mov rcx, qword [rax + 8]
call fcn.140014c30
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jl 0x140031271
mov byte [rsp + 0x38], 1
jmp 0x14003129a
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, [0x1403c9518]
mov rcx, qword [rsp + 0xc0]
call fcn.140034aa0
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x1400312ca
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, [0x1403c9518]
mov rcx, qword [rsp + 0xc0]
call fcn.140034aa0
movzx eax, byte [rsp + 0x38]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1403c5f30]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xb0
pop rdi
ret
Function at 0x14000b500
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