joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002b380
Capabilities:
Delete registry key
Set registry value
Unload driver

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rdx, rax
lea rcx, [0x140133ae8]
call sym.ProcessHacker.exe_PhConcatStringRef2
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.140023330
movzx eax, al
test eax, eax
jne 0x14002b3d5
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, 0xc0000106
jmp 0x14002b55d
mov rax, qword [rsp + 0x58]
lea rcx, [rsp + 0x48]
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 + 0x50]
call sym.ProcessHacker.exe_PhCreateKey
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x14002b54f
cmp dword [rsp + 0x48], 1
jne 0x14002b523
mov dword [rsp + 0x40], 1
lea rdx, str.ErrorControl
lea rcx, [rsp + 0x60]
call fcn.140020210
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
lea rdx, [0x1401110c0]
lea rcx, [rsp + 0x60]
call fcn.140020210
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
lea rdx, str.Type
lea rcx, [rsp + 0x60]
call fcn.140020210
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
lea rdx, str.ImagePath
lea rcx, [rsp + 0x60]
call fcn.140020210
movzx eax, word [0x140133a40]
add eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [str.SystemRoot_system32drivers_ntfs.sys]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x48], 1
jne 0x14002b544
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, dword [rsp + 0x44]
add rsp, 0x88
ret
Function at 0x14002c7f0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0x800
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xc0000004
jne 0x14002c871
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14002c87e
mov eax, dword [rsp + 0x24]
jmp 0x14002c88f
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x14002c920
Capabilities:
Get system information on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 5
je 0x14002c94f
cmp dword [rsp + 0x2c], 0x39
je 0x14002c959
cmp dword [rsp + 0x2c], 0x94
je 0x14002c963
jmp 0x14002c96d
mov dword [rsp + 0x28], 0
jmp 0x14002c977
mov dword [rsp + 0x28], 1
jmp 0x14002c977
mov dword [rsp + 0x28], 2
jmp 0x14002c977
mov eax, 0xc0000003
jmp 0x14002ca35
mov eax, dword [rsp + 0x28]
lea rcx, [0x140133b60]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x30], rax
xor eax, eax
cmp eax, 1
je 0x14002c9f1
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xc0000023
je 0x14002c9d1
cmp dword [rsp + 0x24], 0xc0000004
jne 0x14002c9ed
mov rcx, qword [rsp + 0x30]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x30], rax
jmp 0x14002c9ef
jmp 0x14002c9f1
jmp 0x14002c999
cmp dword [rsp + 0x24], 0
jge 0x14002ca08
mov rcx, qword [rsp + 0x30]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x24]
jmp 0x14002ca35
cmp dword [rsp + 0x20], 0x40000
ja 0x14002ca24
mov eax, dword [rsp + 0x28]
lea rcx, [0x140133b60]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov eax, dword [rsp + 0x24]
add rsp, 0x48
ret
Function at 0x14002ca40
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [0x14013384c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
xor eax, eax
cmp eax, 1
je 0x14002cadb
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x20]
mov r8d, 0x10
lea rdx, [rsp + 0x30]
mov ecx, 0x35
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xc0000023
je 0x14002cabb
cmp dword [rsp + 0x24], 0xc0000004
jne 0x14002cad7
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x14002cad9
jmp 0x14002cadb
jmp 0x14002ca6f
cmp dword [rsp + 0x24], 0
jge 0x14002caf2
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x24]
jmp 0x14002cb17
cmp dword [rsp + 0x20], 0x20000
ja 0x14002cb06
mov eax, dword [rsp + 0x20]
mov dword [0x14013384c], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x24]
add rsp, 0x48
ret

Function at 0x14002cc30
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, dword [0x140133a3c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x10
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xc0000004
jne 0x14002ccb0
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1000000
jbe 0x14002cc9e
mov eax, 0xc000009a
jmp 0x14002ccec
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x14002cc53
cmp dword [rsp + 0x24], 0
jge 0x14002ccc7
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x24]
jmp 0x14002ccec
cmp dword [rsp + 0x20], 0x100000
ja 0x14002ccdb
mov eax, dword [rsp + 0x20]
mov dword [0x140133a3c], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x14002cd00
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, dword [0x140133a38]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xc0000004
jne 0x14002cd80
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1000000
jbe 0x14002cd6e
mov eax, 0xc000009a
jmp 0x14002cdbc
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x14002cd23
cmp dword [rsp + 0x24], 0
jge 0x14002cd97
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x24]
jmp 0x14002cdbc
cmp dword [rsp + 0x20], 0x200000
ja 0x14002cdab
mov eax, dword [rsp + 0x20]
mov dword [0x140133a38], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x14002cdd0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0x200
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x12
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xc0000004
jne 0x14002ce4e
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1000000
jbe 0x14002ce3c
mov eax, 0xc000009a
jmp 0x14002ce76
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x14002cdf1
cmp dword [rsp + 0x24], 0
jge 0x14002ce65
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x24]
jmp 0x14002ce76
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x14002ce80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x24], 0x100
mov eax, dword [rsp + 0x24]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
xor eax, eax
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x24]
mov word [rsp + 0x3a], ax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rsp + 0x30]
mov ecx, 0x58
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x14002cf34
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
movzx eax, word [rsp + 0x3a]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rsp + 0x30]
mov ecx, 0x58
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x14002cf4b
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x14002cf72
movzx eax, word [rsp + 0x38]
mov edx, eax
mov rcx, qword [rsp + 0x40]
call sym.ProcessHacker.exe_PhCreateStringEx
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x14002d8c0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov byte [rsp + 0x61], 1
mov dword [rsp + 0x68], 0x400
mov eax, dword [rsp + 0x68]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x70], rax
xor eax, eax
cmp eax, 1
je 0x14002da83
xor eax, eax
cmp eax, 1
je 0x14002d9de
movzx eax, byte [rsp + 0x61]
mov byte [rsp + 0x50], al
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtQueryDirectoryFile]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x103
jne 0x14002d99d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jl 0x14002d99d
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x80000005
je 0x14002d9b1
cmp dword [rsp + 0x64], 0xc0000004
jne 0x14002d9d7
mov rcx, qword [rsp + 0x70]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x68]
shl eax, 1
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x70], rax
jmp 0x14002d9d9
jmp 0x14002d9de
jmp 0x14002d903
cmp dword [rsp + 0x64], 0x80000006
jne 0x14002d9f5
mov dword [rsp + 0x64], 0
jmp 0x14002da83
cmp dword [rsp + 0x64], 0
jge 0x14002da01
jmp 0x14002da83
mov dword [rsp + 0x6c], 0
mov byte [rsp + 0x60], 1
xor eax, eax
cmp eax, 1
je 0x14002da6e
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xb0]
movzx eax, al
test eax, eax
jne 0x14002da4b
mov byte [rsp + 0x60], 0
jmp 0x14002da6e
mov rax, qword [rsp + 0x78]
cmp dword [rax], 0
je 0x14002da6a
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
jmp 0x14002da6c
jmp 0x14002da6e
jmp 0x14002da0e
movzx eax, byte [rsp + 0x60]
test eax, eax
jne 0x14002da79
jmp 0x14002da83
mov byte [rsp + 0x61], 0
jmp 0x14002d8f8
mov rcx, qword [rsp + 0x70]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x64]
add rsp, 0x98
ret
Function at 0x14002f2a0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x140110f20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14002f358
lea rdx, str.NtGetNextProcess
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140e68], rax
lea rdx, str.NtGetNextThread
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140e60], rax
lea rdx, str.NtQueryInformationEnlistment
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140e70], rax
lea rdx, str.NtQueryInformationResourceManager
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140e80], rax
lea rdx, str.NtQueryInformationTransaction
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140e78], rax
lea rdx, str.NtQueryInformationTransactionManager
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140e88], rax
mov al, 1
add rsp, 0x38
ret

Function at 0x140030cc0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
sub rsp, 0x70
mov dword [rsp + 0x20], 0
mov r8d, 0x200
mov edx, 0x50
lea rcx, [0x14013baf0]
call sym.ProcessHacker.exe_PhInitializeFreeList
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rax, [rsp + 0x30]
mov qword [0x14013bae0], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Type
lea rcx, [0x14013bae0]
call sym.ProcessHacker.exe_PhCreateObjectType
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140030d2c
mov eax, dword [rsp + 0x20]
jmp 0x140030d96
mov rax, qword [0x14013bae0]
mov rcx, qword [0x14013bae0]
mov qword [rax - 0x10], rcx
mov rax, qword [0x14013bae0]
mov dword [rax + 0x18], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Alloc
lea rcx, [0x14013bad8]
call sym.ProcessHacker.exe_PhCreateObjectType
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140030d76
mov eax, dword [rsp + 0x20]
jmp 0x140030d96
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14013d11c], eax
cmp dword [0x14013d11c], 0xffffffff
jne 0x140030d92
mov eax, 0xc000009a
jmp 0x140030d96
mov eax, dword [rsp + 0x20]
add rsp, 0x70
pop rdi
ret

Function at 0x1400313e0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x14013d11c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140031409
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
add rsp, 0x28
ret
Function at 0x140035bb0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x18], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x18], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x18], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x18], 0x10325476
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x18], 0xc3d2e1f0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x2c], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x2c], 0
ret

Function at 0x1400367a0
Capabilities:
Identify system language via api

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov eax, dword [rsp + 0x50]
shr eax, 0x10
and eax, 0xfff
cmp eax, 7
je 0x1400367f3
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [rsp + 0x20], eax
lea rcx, [0x140110f20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x20]
mov r8d, ecx
mov edx, 0xb
mov rcx, rax
call sym.ProcessHacker.exe_PhGetMessage
mov qword [rsp + 0x28], rax
jmp 0x140036808
mov eax, dword [rsp + 0x50]
and eax, 0xffff
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140036817
xor eax, eax
jmp 0x1400368b5
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jne 0x14003682c
mov rax, qword [rsp + 0x28]
jmp 0x1400368b5
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
movzx eax, word [rcx + rax]
cmp eax, 0x7b
jne 0x1400368b0
mov r8w, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140015e60
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1400368b0
xor edx, edx
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov ecx, 2
div rcx
sub rax, qword [rsp + 0x30]
dec rax
mov rcx, qword [rsp + 0x30]
inc rcx
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x28]
call fcn.140006f30
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhDereferenceObject
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x1400368c0
Capabilities:
Identify system language via api

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [rsp + 0x20], eax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
mov r8d, ecx
mov edx, 0xb
mov rcx, rax
call sym.ProcessHacker.exe_PhGetMessage
add rsp, 0x38
ret
Function at 0x140038600
Capabilities:
Get geographical location

Disassembly:
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [0x140134398]
call fcn.14000c1b0
movzx eax, al
test eax, eax
je 0x1400386d5
mov r9d, 4
lea r8, [0x14013d398]
mov edx, 0xe
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140038679
mov eax, 2
imul rax, rax, 0
lea rcx, [0x14013d398]
mov edx, 0x2e
mov word [rcx + rax], dx
mov eax, 2
imul rax, rax, 1
lea rcx, [0x14013d398]
xor edx, edx
mov word [rcx + rax], dx
mov r9d, 4
lea r8, [0x14013d390]
mov edx, 0xf
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400386c9
mov eax, 2
imul rax, rax, 0
lea rcx, [0x14013d390]
mov edx, 0x2c
mov word [rcx + rax], dx
mov eax, 2
imul rax, rax, 1
lea rcx, [0x14013d390]
xor edx, edx
mov word [rcx + rax], dx
lea rcx, [0x140134398]
call sym.ProcessHacker.exe_PhfEndInitOnce
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x1400386fe
mov dword [rsp + 0x30], 3
jmp 0x140038706
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
lea rax, [0x14013d398]
mov qword [rsp + 0x50], rax
lea rax, [0x14013d390]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
shl eax, 1
mov eax, eax
mov edx, eax
xor ecx, ecx
call sym.ProcessHacker.exe_PhCreateStringEx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x1400387b5
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhDereferenceObject
xor eax, eax
jmp 0x1400387c4
mov rcx, qword [rsp + 0x38]
call fcn.140009bb0
mov rax, qword [rsp + 0x38]
add rsp, 0x78
ret

Function at 0x140038880
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400388df
mov eax, dword [rsp + 0x20]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
mov r9, qword [rsp + 0x28]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1400388dd
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
xor eax, eax
jmp 0x1400388e8
jmp 0x1400388e3
xor eax, eax
jmp 0x1400388e8
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x140039530
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14013bae8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14003955c
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhReferenceObject
mov rax, qword [rsp + 0x28]
jmp 0x14003962a
mov dword [rsp + 0x20], 0x40
mov eax, dword [rsp + 0x20]
shl eax, 1
mov eax, eax
mov edx, eax
xor ecx, ecx
call sym.ProcessHacker.exe_PhCreateStringEx
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jbe 0x1400395da
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 1
mov eax, eax
mov edx, eax
xor ecx, ecx
call sym.ProcessHacker.exe_PhCreateStringEx
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400395ef
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhDereferenceObject
xor eax, eax
jmp 0x14003962a
mov rcx, qword [rsp + 0x28]
call fcn.140009bb0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rcx, [0x14013bae8]
xor eax, eax
mov rdx, qword [rsp + 0x30]
lock cmpxchg qword [rcx], rdx
test rax, rax
jne 0x140039625
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhReferenceObject
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret