joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a490
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
sub rsp, 0x288
mov ecx, dword [0x14015dac4]
xor ebx, ebx
mov rsi, qword [0x14015ccc0]
mov edi, edx
mov r12, qword [0x14015ccb8]
mov dword [rsp + 0x50], ebx
mov qword [rax - 0x50], rbx
mov qword [rax - 0x48], rbx
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov ecx, dword [0x14015dac4]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x268], rax
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
jne 0x14007a4fe
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov qword [rsp + 0x2b8], rbp
lea r9, [rsp + 0x2c0]
mov qword [rsp + 0x280], r13
lea r8, [rsp + 0x40]
mov qword [rsp + 0x278], r14
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x270], r15
mov rcx, r12
lea r15d, [rdi + 1]
mov dword [rsp + 0x2b0], r15d
call fcn.1400c91e0
mov ebp, dword [rsp + 0x2c0]
lea rcx, [rsp + 0x2c0]
mov r8d, ebp
mov edx, r15d
call fcn.1400c8c20
mov r13, qword [rsp + 0x40]
mov r14, qword [rsp + 0x2c0]
test ebp, ebp
je 0x14007a5c2
mov rdi, rbx
mov r15d, ebp
nop word [rax + rax]
mov rcx, qword [rdi + r13]
or rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rcx + rdx*2], bx
jne 0x14007a590
add rdx, rdx
call sym.ProcessHacker.exe_PhCreateStringEx
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov rcx, qword [r14]
mov qword [rdi + rcx], rax
add rdi, 8
sub r15, 1
jne 0x14007a580
mov r15d, dword [rsp + 0x2b0]
mov rdi, qword [rsp + 0x48]
mov dword [rsp + 0x2c0], 1
cmp dword [rsi], ebx
jbe 0x14007a614
nop word [rax + rax]
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x2c0]
mov eax, ebx
mov r9, r14
mov dword [rsp + 0x30], ebp
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
mov rcx, r12
mov rdx, qword [rdx + rax*8]
call fcn.14007a2b0
inc ebx
cmp ebx, dword [rsi]
jb 0x14007a5e0
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, r13
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r9d, dword [rsp + 0x2c8]
mov r8d, ebp
mov edx, r15d
mov rcx, r14
call fcn.1400c8d00
lea rcx, [rsp + 0x50]
mov rbx, rax
call sym.ProcessHacker.exe_PhDrainAutoPool
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov r15, qword [rsp + 0x270]
lea rcx, [rsp + 0x50]
mov r14, qword [rsp + 0x278]
mov r13, qword [rsp + 0x280]
mov rbp, qword [rsp + 0x2b8]
cmp rax, rcx
je 0x14007a69d
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rdx, qword [rsp + 0x268]
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
jne 0x14007a6c1
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r8, qword [rsp + 0x260]
test r8, r8
je 0x14007a6dd
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rbx
add rsp, 0x288
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140085640
Capabilities:
Create service
Delete service
Start service

Disassembly:
push rbp
push r13
sub rsp, 0x98
xor edx, edx
mov r13, rcx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
jne 0x140085685
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x14008584f
movzx eax, ax
or eax, 0xc0070000
add rsp, 0x98
pop r13
pop rbp
ret
mov rdx, qword [0x14015f348]
lea rcx, str.__s___ras___s_
mov r8, qword [r13 + 0x48]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xc8], rsi
mov rdx, qword [rdx + 8]
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r14
call sym.ProcessHacker.exe_PhFormatString
mov rdx, qword [r13 + 0x48]
mov rbx, rax
lea rax, [0x14010bbf8]
mov r9d, 0xf01ff
mov qword [rsp + 0x60], rax
mov r8, rdx
lea rax, str.LocalSystem
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov rcx, rbp
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov r14, rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
or esi, 0xffffffff
lea rcx, [rbx - 0x10]
mov edx, esi
mov edi, eax
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x140085742
call fcn.1400ae900
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test r14, r14
jne 0x140085764
test edi, edi
jle 0x14008575d
movzx edi, di
or edi, 0xc0070000
mov eax, edi
jmp 0x14008582f
mov qword [rsp + 0x80], r15
call fcn.1400854b0
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rdx, qword [r13 + 0x48]
lea rcx, str.BaseNamedObjects_
call sym.ProcessHacker.exe_PhConcatStrings2
mov r15, rax
mov edi, 0xa
movzx ecx, word [rax]
mov word [rsp + 0x70], cx
movzx ecx, word [rax]
mov word [rsp + 0x72], cx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x78], rcx
nop dword [rax]
lea rcx, [rsp + 0x70]
call fcn.140060070
mov ebx, eax
test eax, eax
jns 0x1400857f1
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0xc0], 0xfffffffffff85ee0
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtDelayExecution]
add edi, 0xffffffff
jne 0x1400857c0
lea rcx, [r15 - 0x10]
lock xadd dword [rcx + 8], esi
mov r15, qword [rsp + 0x80]
cmp esi, 1
jne 0x14008580c
call fcn.1400ae900
test ebx, ebx
js 0x140085824
mov rdx, r13
mov ecx, 0xc
call fcn.140060450
mov ebx, eax
call fcn.1400601f0
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x88]
add rsp, 0x98
pop r13
pop rbp
ret
Function at 0x1400a7a80
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov eax, ecx
mov edi, ecx
and eax, 0xfff0000
cmp eax, 0x70000
je 0x1400a7ac5
call qword [sym.imp.KERNEL32.DLL_GetUserDefaultLangID]
lea rcx, [0x140126110]
movzx ebx, ax
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov r9d, edi
mov r8d, ebx
mov rcx, rax
mov edx, 0xb
call sym.ProcessHacker.exe_PhGetMessage
jmp 0x1400a7acd
movzx ecx, cx
call sym.ProcessHacker.exe_PhGetWin32Message
mov rbx, rax
test rax, rax
je 0x1400a7ba6
cmp qword [rax], 0
je 0x1400a7ba6
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhCountStringZ
or edi, 0xffffffff
lea rdx, [rax + rax]
mov qword [rbx], rdx
cmp rdx, 4
jb 0x1400a7b3f
mov rcx, qword [rbx + 8]
mov rax, rdx
shr rax, 1
cmp word [rcx + rax*2 - 4], 0xd
jne 0x1400a7b3f
cmp word [rcx + rax*2 - 2], 0xa
jne 0x1400a7b3f
add rdx, 0xfffffffffffffffc
call sym.ProcessHacker.exe_PhCreateStringEx
mov rcx, rbx
mov rbx, rax
test rcx, rcx
je 0x1400a7b3f
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a7b3f
call fcn.1400ae900
mov rax, qword [rbx + 8]
cmp word [rax], 0x7b
jne 0x1400a7ba6
movups xmm0, xmmword [rbx]
mov edx, 0xa
xor r8d, r8d
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
call sym.ProcessHacker.exe_PhFindCharInStringRef
cmp rax, 0xffffffffffffffff
je 0x1400a7ba6
mov rcx, qword [rsp + 0x28]
lea r8, [rax + rax]
mov rdx, qword [rsp + 0x20]
add rcx, 2
sub rdx, r8
add rcx, r8
sub rdx, 2
call sym.ProcessHacker.exe_PhCreateStringEx
mov rcx, rbx
mov rbx, rax
test rcx, rcx
je 0x1400a7ba6
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400a7ba6
call fcn.1400ae900
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a7bc0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call qword [sym.imp.KERNEL32.DLL_GetUserDefaultLangID]
lea rcx, str.kernel32.dll
movzx ebx, ax
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov r9d, edi
mov r8d, ebx
mov rcx, rax
mov edx, 0xb
call sym.ProcessHacker.exe_PhGetMessage
mov rbx, rax
test rax, rax
je 0x1400a7c65
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhCountStringZ
lea rdx, [rax + rax]
mov qword [rbx], rdx
cmp rdx, 4
jb 0x1400a7c62
mov rcx, qword [rbx + 8]
mov rax, rdx
shr rax, 1
cmp word [rcx + rax*2 - 4], 0xd
jne 0x1400a7c62
cmp word [rcx + rax*2 - 2], 0xa
jne 0x1400a7c62
add rdx, 0xfffffffffffffffc
call sym.ProcessHacker.exe_PhCreateStringEx
mov rdi, rax
test rbx, rbx
je 0x1400a7c65
lea rcx, [rbx - 0x10]
or edx, 0xffffffff
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400a7c65
call fcn.1400ae900
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a9500
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
xor r14d, r14d
lea r15, [0x14015dad8]
test byte [0x140155948], 1
lea r12, [0x14015daf0]
movzx edi, r8b
mov esi, edx
mov rbp, rcx
jne 0x1400a960b
lock bts qword [0x140155948], 0x1f
jae 0x1400a9569
test byte [0x140155948], 1
jne 0x1400a960b
xor edx, edx
lea rcx, [0x140155948]
call sym.ProcessHacker.exe_PhfWaitForEvent
jmp 0x1400a960b
mov r9d, 4
mov r8, r15
mov ecx, 0x400
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
jne 0x1400a958f
mov dword [0x14015dad8], 0x2e
mov r9d, 4
mov r8, r12
mov ecx, 0x400
lea edx, [r9 + 0xb]
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
jne 0x1400a95b5
mov dword [0x14015daf0], 0x2c
lock bts qword [0x140155948], 0
jb 0x1400a960b
mov rbx, qword [0x140155950]
test rbx, rbx
je 0x1400a95d8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rax, 0xfffffffffffffffe
lock xadd qword [0x140155948], rax
shr rax, 1
and eax, 0x7fff
cmp rax, 1
jne 0x1400a960b
test rbx, rbx
je 0x1400a960b
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov qword [0x140155950], r14
neg dil
mov dword [rsp + 0x28], r14d
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], esi
sbb eax, eax
mov dword [rsp + 0x34], r14d
and eax, 3
mov qword [rsp + 0x40], r15
mov r8, rbp
mov dword [rsp + 0x38], eax
xor edx, edx
mov qword [rsp + 0x48], r12
mov ecx, 0x400
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.DLL_GetNumberFormatW]
mov rbx, qword [0x14015e0c8]
mov esi, eax
lea ecx, [rax + rax]
mov edi, ecx
lea rdx, [rcx + 0x12]
mov rcx, rbx
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
lea r9, [rsp + 0x30]
movzx edx, byte [rbx + 2]
mov r8, rbp
mov word [rax], dx
lea rbx, [rax + 0x10]
lea rax, [rbx + 0x10]
mov qword [rbx], rdi
mov qword [rbx + 8], rax
xor edx, edx
mov word [rax + rdi], r14w
mov ecx, 0x400
mov rax, qword [rbx + 8]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_GetNumberFormatW]
test eax, eax
jne 0x1400a96d1
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a96cd
call fcn.1400ae900
xor eax, eax
jmp 0x1400a96e3
mov rcx, qword [rbx + 8]
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
mov qword [rbx], rax
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400a9790
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rdx, [rsp + 0x38]
mov rsi, rcx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x1400a9817
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8d, edi
mov edx, 4
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, edi
xor edx, edx
mov r9, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1400a9804
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400aa470
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14015b1b0]
test rax, rax
je 0x1400aa489
lock inc dword [rax - 8]
add rsp, 0x38
ret
mov qword [rsp + 0x48], rbx
mov edx, 0x92
mov rbx, qword [0x14015e0c8]
mov qword [rsp + 0x50], rbp
mov rcx, rbx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], r14
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
xor ebp, ebp
movzx ecx, byte [rbx + 2]
lea rbx, [rax + 0x10]
mov word [rax], cx
lea rax, [rbx + 0x10]
mov qword [rbx + 8], rax
mov qword [rbx], 0x80
lea edx, [rbp + 0x40]
mov word [rax + 0x80], bp
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
or esi, 0xffffffff
mov r14d, eax
cmp eax, 0x40
jbe 0x1400aa564
mov qword [rsp + 0x28], rdi
lea rcx, [rbx - 0x10]
mov edx, esi
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400aa511
call fcn.1400ae900
mov rbx, qword [0x14015e0c8]
lea eax, [r14 + r14]
lea rdx, [rax + 0x12]
mov edi, eax
mov rcx, rbx
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
mov edx, r14d
movzx ecx, byte [rbx + 2]
lea rbx, [rax + 0x10]
mov word [rax], cx
lea rax, [rbx + 0x10]
mov qword [rbx + 8], rax
mov qword [rbx], rdi
mov word [rax + rdi], bp
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
mov rdi, qword [rsp + 0x28]
mov r14d, eax
mov rbp, qword [rsp + 0x50]
test r14d, r14d
mov r14, qword [rsp + 0x20]
jne 0x1400aa597
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x1400aa586
call fcn.1400ae900
mov rbx, qword [rsp + 0x48]
xor eax, eax
mov rsi, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rcx, qword [rbx + 8]
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
mov qword [rbx], rax
xor eax, eax
lock cmpxchg qword [0x14015b1b0], rbx
jne 0x1400aa5b7
lock inc dword [rbx - 8]
mov rsi, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x1400abf90
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0xa0
cmp byte [0x14015b348], 0
mov rbx, rdx
mov rsi, rcx
je 0x1400abfb5
mov rax, qword [0x14015b308]
jmp 0x1400abfee
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x1400ac0d1
lea rdx, str.SHOpenFolderAndSelectItems
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x14015b308], rax
lock or dword [rsp], 0
mov byte [0x14015b348], 1
test rax, rax
je 0x1400ac0d1
cmp byte [0x14015b1df], 0
je 0x1400ac009
mov rax, qword [0x14015b318]
jmp 0x1400ac042
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x1400ac0d1
lea rdx, str.SHParseDisplayName
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x14015b318], rax
lock or dword [rsp], 0
mov byte [0x14015b1df], 1
test rax, rax
je 0x1400ac0d1
call fcn.1400c2190
lea rcx, [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0xc8]
mov rcx, rbx
xor edx, edx
call rax
test eax, eax
js 0x1400ac0a9
call fcn.1400c2130
mov rcx, qword [rsp + 0xc8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call rax
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rsi
ret
mov r9, rbx
lea r8, str.The_location___s__could_not_be_found.
mov edx, 0x10
mov rcx, rsi
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rsi
ret
mov rdx, rbx
mov qword [rsp + 0xb0], rdi
lea rcx, str._select_
call sym.ProcessHacker.exe_PhConcatStrings2
xor edx, edx
mov dword [rsp + 0x30], 0x70
lea rcx, [rsp + 0x34]
mov rdi, rax
mov rbx, qword [rax + 8]
lea r8d, [rdx + 0x6c]
call fcn.1400e43c0
lea rax, str.explorer.exe
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x60], 5
mov qword [rsp + 0x38], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea rcx, [rdi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
mov rdi, qword [rsp + 0xb0]
cmp eax, 1
jne 0x1400ac14e
call fcn.1400ae900
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rsi
ret

Function at 0x1400ac160
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rbx, rdx
mov dword [rsp + 0x20], 0x70
xor edx, edx
mov rdi, rcx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.1400e43c0
lea rax, str.properties
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x50], 5
mov dword [rsp + 0x24], 0xc
mov qword [rsp + 0x28], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x1400ad620
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x28
mov dword [rcx], edx
test edx, edx
je 0x1400ad678
sub edx, 1
je 0x1400ad64a
cmp edx, 1
je 0x1400ad640
mov ecx, 0xc00000f0
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
xor eax, eax
mov dword [rcx + 4], eax
add rsp, 0x28
ret
xor eax, eax
mov dword [rcx + 0x1c], 0x67452301
mov qword [rcx + 0x30], rax
mov dword [rcx + 0x20], 0xefcdab89
mov dword [rcx + 0x24], 0x98badcfe
mov dword [rcx + 0x28], 0x10325476
mov dword [rcx + 0x2c], 0xc3d2e1f0
add rsp, 0x28
ret
xor eax, eax
mov dword [rcx + 0xc], 0x67452301
mov qword [rcx + 4], rax
mov dword [rcx + 0x10], 0xefcdab89
mov dword [rcx + 0x14], 0x98badcfe
mov dword [rcx + 0x18], 0x10325476
add rsp, 0x28
ret

Function at 0x1400ad6a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r9, rdx
mov r11, rcx
mov edx, dword [rcx]
test edx, edx
je 0x1400ad723
sub edx, 1
je 0x1400ad713
cmp edx, 1
je 0x1400ad6c6
mov ecx, 0xc000000d
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r10d, r8d
mov r8d, dword [rcx + 4]
not r8d
test r10, r10
je 0x1400ad707
mov qword [rsp + 0x20], rbx
lea rbx, [0x140135af0]
movsx ecx, byte [r9]
lea r9, [r9 + 1]
mov eax, r8d
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rbx + rdx*4]
xor r8d, eax
sub r10, 1
jne 0x1400ad6e1
mov rbx, qword [rsp + 0x20]
not r8d
mov dword [r11 + 4], r8d
add rsp, 0x28
ret
add rcx, 4
mov rdx, r9
add rsp, 0x28
jmp fcn.1400e2780
add rcx, 4
mov rdx, r9
add rsp, 0x28
jmp fcn.1400e0970

Function at 0x1400ae420
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x60
lea rcx, [0x14015b1e0]
call qword [sym.imp.ntdll.dll_RtlInitializeSListHead]
lea rcx, [0x14015b1f0]
call qword [sym.imp.ntdll.dll_RtlInitializeSListHead]
xor eax, eax
mov dword [0x14015b204], 0x200
mov qword [rsp + 0x20], rax
lea rcx, str.Type
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x20]
mov qword [0x14015b1c8], rax
lea rax, [rsp + 0x20]
mov qword [0x14015e100], rax
mov dword [0x14015b200], ebx
mov qword [0x14015b208], 0x40
call sym.ProcessHacker.exe_PhCreateObjectType
xor r8d, r8d
mov qword [0x14015b1c8], rax
xor edx, edx
movzx ecx, byte [rax + 2]
mov word [rax - 0x10], cx
lea rcx, str.Alloc
mov dword [rax + 4], 1
call sym.ProcessHacker.exe_PhCreateObjectType
mov qword [0x14015b1d0], rax
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x14015dac4], eax
mov ecx, 0xc000009a
cmove ebx, ecx
mov eax, ebx
add rsp, 0x60
pop rbx
ret
Function at 0x1400aead0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov dword [rcx], eax
mov qword [rcx + 0x208], rax
mov qword [rcx + 0x210], rax
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov ecx, dword [0x14015dac4]
mov rdx, rbx
mov qword [rbx + 0x218], rax
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
jne 0x1400aeb1d
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rsp, 0x20
pop rbx
ret

Function at 0x1400aeb30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.ProcessHacker.exe_PhDrainAutoPool
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
cmp rax, rbx
je 0x1400aeb5b
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rdx, qword [rbx + 0x218]
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
jne 0x1400aeb7e
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r8, qword [rbx + 0x210]
test r8, r8
je 0x1400aeb9f
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
xor edx, edx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ntdll.dll_RtlFreeHeap]
add rsp, 0x20
pop rbx
ret

Function at 0x1400aec90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rbx, rax
test rdi, rdi
jne 0x1400aecbe
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rax]
cmp eax, 0x40
jae 0x1400aecda
mov qword [rbx + rax*8 + 8], rdi
mov rax, rdi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp qword [rbx + 0x210], 0
jne 0x1400aed0d
mov dword [rbx + 0x20c], 0x40
mov edx, 4
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8d, 0x200
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x20c]
cmp dword [rbx + 0x208], eax
jne 0x1400aed4a
mov r8, qword [rbx + 0x210]
add eax, eax
mov r9d, eax
mov edx, 4
mov dword [rbx + 0x20c], eax
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
shl r9, 3
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov qword [rbx + 0x210], rax
mov ecx, dword [rbx + 0x208]
mov rax, qword [rbx + 0x210]
mov qword [rax + rcx*8], rdi
mov rax, rdi
inc dword [rbx + 0x208]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret