joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002080
Capabilities:
Modify service

Disassembly:
jmp 0x1401ca420
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rsp + 0x58]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
je 0x1401ca470
mov dword [rsp + 0x34], 1
jmp 0x1401ca478
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404fb4f0]
call fcn.140015750
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x1400027e0
Capabilities:
Map section object

Disassembly:
jmp 0x1401894a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x50]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 5
mov r9d, 0x80
mov r8d, 0x100081
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x68]
call sym.ProcessHacker.exe_PhCreateFile
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140189515
mov eax, dword [rsp + 0x50]
jmp 0x14018965d
cmp dword [0x1405d62d4], 0x3e
jae 0x14018952b
mov dword [rsp + 0xd4], 0x1000000
jmp 0x140189536
mov dword [rsp + 0xd4], 0x11000000
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 5
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x50], 0
jge 0x14018958b
mov eax, dword [rsp + 0x50]
jmp 0x14018965d
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xc8], 0
cmp dword [0x1405d62d4], 0x67
jae 0x1401895b9
mov dword [rsp + 0xd8], 0
jmp 0x1401895c4
mov dword [rsp + 0xd8], 0x40000
mov dword [rsp + 0x48], 2
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xa8]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x50], 0
jl 0x140189659
cmp qword [rsp + 0xf8], 0
je 0x140189659
mov rax, qword [rsp + 0xa8]
or rax, 2
mov rcx, qword [rsp + 0xf8]
mov qword [rcx], rax
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404e2a90]
call fcn.140015750
mov rax, rdi
add rsp, 0xe0
pop rdi
ret
Function at 0x140002ef0
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 0x140003040
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 0x140003270
Capabilities:
Set registry value

Disassembly:
jmp 0x1401b9060
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
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]
cmp qword [rsp + 0x88], 0
je 0x1401b90bf
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
call fcn.1400117c0
movzx eax, al
test eax, eax
jne 0x1401b90bd
mov eax, 0xc0000106
jmp 0x1401b910c
jmp 0x1401b90ce
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.14001b520
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f2590]
call fcn.140015750
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x140003570
Capabilities:
Shutdown system

Disassembly:
jmp 0x14002dd70
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov dword [rsp + 0x30], 0xc0000001
lea rcx, str.EnableWarnings
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x14002ddc6
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.the_computer
lea rdx, str.restart
mov rcx, qword [rsp + 0x80]
call sym.ProcessHacker.exe_PhShowConfirmMessage
movzx eax, al
test eax, eax
jne 0x14002ddc6
jmp 0x14002de94
call fcn.140012bd0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14002de2d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x88], eax
jae 0x14002de23
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rdi, rax
mov rsi, qword [rsp + 0x40]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x50]
call fcn.14000dc50
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call fcn.140017970
cmp dword [rsp + 0x30], 0
jl 0x14002de78
mov dword [rsp + 0x20], 0x80000000
mov r9d, 4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14002de76
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
lea rdx, str.Unable_to_configure_the_boot_application.
mov rcx, qword [rsp + 0x80]
call sym.ProcessHacker.exe_PhShowStatus
jmp 0x14002de94
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
lea rdx, str.Unable_to_configure_the_boot_application.
mov rcx, qword [rsp + 0x80]
call sym.ProcessHacker.exe_PhShowStatus
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140003a10
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401b60d0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov eax, dword [0x1405d6560]
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, 0x10
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1401b6151
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 0x1401b613f
mov eax, 0xc000009a
jmp 0x1401b618d
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x1401b60f4
cmp dword [rsp + 0x20], 0
jge 0x1401b6168
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1401b618d
cmp dword [rsp + 0x30], 0x100000
ja 0x1401b617c
mov eax, dword [rsp + 0x30]
mov dword [0x1405d6560], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x140003ec0
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140177280
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov dword [rsp], 0
cmp qword [rsp + 0x28], 0
jne 0x1401772a3
mov eax, dword [rsp]
jmp 0x1401772e4
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1401772a3
mov eax, dword [rsp]
add rsp, 0x10
pop rdi
ret
Function at 0x140003f00
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401805e0
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
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]
lea rcx, [0x1405d5f60]
call fcn.1400135b0
movzx eax, al
test eax, eax
je 0x140180703
mov r9d, 4
lea r8, [0x1405e3fa0]
mov edx, 0xe
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x14018068a
mov eax, 2
imul rax, rax, 0
lea rcx, [0x1405e3fa0]
mov edx, 0x2e
mov word [rcx + rax], dx
mov qword [rsp + 0x78], 2
cmp qword [rsp + 0x78], 8
jae 0x140180673
jmp 0x140180678
call fcn.140012fb0
lea rax, [0x1405e3fa0]
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
mov word [rax + rdx], cx
mov r9d, 4
lea r8, [0x1405e3fa8]
mov edx, 0xf
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1401806f7
mov eax, 2
imul rax, rax, 0
lea rcx, [0x1405e3fa8]
mov edx, 0x2c
mov word [rcx + rax], dx
mov qword [rsp + 0x80], 2
cmp qword [rsp + 0x80], 8
jae 0x1401806dd
jmp 0x1401806e2
call fcn.140012fb0
lea rax, [0x1405e3fa8]
xor ecx, ecx
mov rdx, qword [rsp + 0x80]
mov word [rax + rdx], cx
lea rcx, [0x1405d5f60]
call sym.ProcessHacker.exe_PhfEndInitOnce
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0xb0]
test eax, eax
je 0x14018072f
mov dword [rsp + 0x88], 3
jmp 0x14018073a
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x50], eax
lea rax, [0x1405e3fa0]
mov qword [rsp + 0x58], rax
lea rax, [0x1405e3fa8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
shl rax, 1
mov rdx, rax
xor ecx, ecx
call sym.ProcessHacker.exe_PhCreateStringEx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x1401807ec
mov rcx, qword [rsp + 0x30]
call sym.ProcessHacker.exe_PhDereferenceObject
xor eax, eax
jmp 0x1401807fb
mov rcx, qword [rsp + 0x30]
call fcn.140016ad0
mov rax, qword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404dea80]
call fcn.140015750
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x140004320
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401b6570
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rsp + 0x30], 0x200
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, 0x90
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1401b65ef
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 0x1401b65dd
mov eax, 0xc000009a
jmp 0x1401b6617
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x1401b6592
cmp dword [rsp + 0x20], 0
jge 0x1401b6606
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1401b6617
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret

Function at 0x1400043e0
Capabilities:
Get thread local storage value

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

Function at 0x1400048a0
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
Function at 0x140004f60
Capabilities:
Read file on windows

Disassembly:
jmp 0x140188fe0
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10d0
call fcn.1400056d0
sub rsp, rax
lea rdi, [rsp + 0x50]
mov ecx, 0x420
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x10e0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x10c0], rax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x60], 0x1000
mov eax, dword [rsp + 0x60]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x1000
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x10e0]
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
jl 0x140189113
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1401890aa
jmp 0x140189113
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x60], eax
jae 0x1401890db
mov eax, dword [rsp + 0x60]
shl eax, 1
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhReAllocate
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
lea rdx, [rsp + 0xb0]
call fcn.14000d4b0
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
jmp 0x14018904b
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
inc rcx
cmp rax, rcx
jae 0x140189142
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhReAllocate
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x64], 0
jbe 0x14018918e
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0
movzx eax, byte [rsp + 0x10e8]
test eax, eax
je 0x140189179
mov eax, dword [rsp + 0x64]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhConvertUtf8ToUtf16Ex
mov qword [rsp + 0x50], rax
jmp 0x14018918e
mov eax, dword [rsp + 0x64]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhCreateBytesEx
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhFree
mov rax, qword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404e2870]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x10c0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x10d0
pop rdi
ret
Function at 0x140004f80
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401b5d10
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 5
je 0x1401b5d56
cmp dword [rsp + 0x44], 0x39
je 0x1401b5d60
cmp dword [rsp + 0x44], 0x94
je 0x1401b5d6a
jmp 0x1401b5d74
mov dword [rsp + 0x24], 0
jmp 0x1401b5d7e
mov dword [rsp + 0x24], 1
jmp 0x1401b5d7e
mov dword [rsp + 0x24], 2
jmp 0x1401b5d7e
mov eax, 0xc0000003
jmp 0x1401b5e3c
mov eax, dword [rsp + 0x24]
lea rcx, [0x1405d6550]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
xor eax, eax
cmp eax, 1
je 0x1401b5df8
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000023
je 0x1401b5dd8
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1401b5df4
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
jmp 0x1401b5df6
jmp 0x1401b5df8
jmp 0x1401b5da0
cmp dword [rsp + 0x20], 0
jge 0x1401b5e0f
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1401b5e3c
cmp dword [rsp + 0x34], 0x100000
ja 0x1401b5e2b
mov eax, dword [rsp + 0x24]
lea rcx, [0x1405d6550]
mov edx, dword [rsp + 0x34]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f10d0]
call fcn.140015750
mov rax, rdi
add rsp, 0x50
pop rdi
ret
Function at 0x140005400
Capabilities:
Receive http response

Disassembly:
jmp 0x14025d150
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
lea rdi, [rsp + 0x40]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x98], 0
lea rax, [0x1405e5738]
mov cx, 1
lock xadd word [rax], cx
inc cx
movzx eax, cx
mov word [rsp + 0xe4], ax
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
movzx r8d, word [rsp + 0xe4]
movzx edx, word [rsp + 0x110]
mov rcx, qword [rsp + 0x108]
call fcn.14025d9c0
movzx eax, al
test eax, eax
jne 0x14025d20b
jmp 0x14025d2d8
mov rcx, qword [rsp + 0x100]
call fcn.14000e290
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14025d22a
jmp 0x14025d2d8
mov rcx, qword [rsp + 0x40]
call fcn.1400113b0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14025d246
jmp 0x14025d2d8
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14025d280
jmp 0x14025d2d8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x14025d293
jmp 0x14025d2d8
lea r8, [rsp + 0xd4]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhHttpSocketReadDataToBuffer
movzx eax, al
test eax, eax
jne 0x14025d2b3
jmp 0x14025d2d8
lea r9, [rsp + 0x98]
mov r8d, dword [rsp + 0xd4]
mov rdx, qword [rsp + 0x78]
movzx ecx, word [rsp + 0xe4]
call fcn.14025db80
movzx eax, al
cmp qword [rsp + 0x48], 0
je 0x14025d2eb
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x78], 0
je 0x14025d2fd
mov rcx, qword [rsp + 0x78]
call sym.ProcessHacker.exe_PhFree
cmp qword [rsp + 0x58], 0
je 0x14025d30f
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhFree
mov rax, qword [rsp + 0x98]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140519350]
call fcn.140015750
mov rax, rdi
add rsp, 0xf0
pop rdi
ret

Function at 0x1400055e0
Capabilities:
Lock the desktop

Disassembly:
jmp 0x14002ce40
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
call qword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x14002ce5a
mov al, 1
jmp 0x14002ce79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
xor r8d, r8d
lea rdx, str.Unable_to_lock_the_computer.
mov rcx, qword [rsp + 0x30]
call sym.ProcessHacker.exe_PhShowStatus
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x1400064f0
Capabilities:
Read file on windows

Disassembly:
jmp 0x1401a1ca0
mov qword [rsp + 0x20], r9
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 0x1401a1d07
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_NtReadFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x103
jne 0x1401a1d8f
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 0x1401a1d8f
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x1401a1dcc
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
cmp qword [rsp + 0xb8], 0
je 0x1401a1dcc
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x70]
mov dword [rax], ecx
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404ea4f0]
call fcn.140015750
mov eax, edi
add rsp, 0x90
pop rdi
ret