joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ecc20
Capabilities:
Check processdebugport

Disassembly:
jmp 0x1400ecc20
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x48], 7
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x48]
mov edx, 0x34
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1400eccf4
mov eax, dword [rsp + 0x4c]
shr eax, 3
and eax, 1
test eax, eax
je 0x1400eccae
mov dword [rsp + 0x60], 1
jmp 0x1400eccb6
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x88]
movzx ecx, byte [rsp + 0x60]
mov byte [rax], cl
mov eax, dword [rsp + 0x4c]
shr eax, 4
and eax, 1
test eax, eax
je 0x1400eccdd
mov dword [rsp + 0x64], 1
jmp 0x1400ecce5
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x90]
movzx ecx, byte [rsp + 0x64]
mov byte [rax], cl
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404b9360]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x70
pop rdi
ret
Function at 0x140128800
Capabilities:
Enumerate gui resources

Disassembly:
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 rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x80]
call fcn.140128740
mov ecx, 0xa
call sym.ProcessHacker.exe_PhCreateList
mov qword [rsp + 0x38], rax
call fcn.140013a60
mov qword [rsp + 0x40], rax
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
lea r8, [rsp + 0x38]
lea rdx, [0x1401286d0]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumDesktopsW]
mov dword [rsp + 0x20], 0
jmp 0x140128887
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x14012891f
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + rax*8]
call fcn.140008600
mov r9, rax
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0xffffffff
je 0x14012891a
mov ecx, 8
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rcx + rax*8]
mov qword [rdx], rax
movsxd rax, dword [rsp + 0x54]
mov r9, qword [rsp + 0x58]
mov r8, rax
mov edx, 0x151
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14012887d
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhDereferenceObject
mov rcx, qword [rsp + 0x40]
call sym.ProcessHacker.exe_PhDereferenceObject
mov rcx, rsp
lea rdx, [0x1404c97e0]
call fcn.140015750
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x70
pop rdi
ret
Function at 0x140128e80
Capabilities:
Create process on windows

Disassembly:
jmp 0x140128e80
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x20]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x28], 0
movzx ecx, byte [rsp + 0xf8]
call fcn.14001a440
mov qword [rsp + 0x28], rax
mov r8d, 0x70
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400139e0
mov dword [rsp + 0x40], 0x70
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x28]
call fcn.140008600
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x44], 0x400
mov dword [rsp + 0x70], 0xa
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0xf8]
test eax, eax
je 0x140128f5a
lea rax, str.runas
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140128f8c
cmp qword [rsp + 0xa8], 0
je 0x140128f82
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
mov dword [rsp + 0x20], 0
jmp 0x140128f95
call fcn.140010ff0
mov dword [rsp + 0x20], eax
cmp qword [rsp + 0x28], 0
je 0x140128fa7
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404c9a30]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xd0
pop rdi
ret
Function at 0x1401373a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x30]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0xe0]
and eax, 4
test eax, eax
jne 0x140137522
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x58]
mov rax, qword [rax + 0x10]
mov rdx, rax
lea rcx, [0x1405d5828]
call sym.ProcessHacker.exe_PhConcatStringRef2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, 0xfffffffffffffffd
mov edx, 1
lea rcx, [rsp + 0x38]
call sym.ProcessHacker.exe_PhOpenKey
test eax, eax
jl 0x1401374f9
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x94], 0
lea rax, [rsp + 0x94]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtQueryKey]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140137499
cmp dword [rsp + 0x50], 0x80000005
jne 0x1401374af
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0xc8], rcx
jmp 0x1401374ee
lea r8, [rsp + 0xb8]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhQueryKey
test eax, eax
jl 0x1401374ee
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0xc8], rax
mov rcx, qword [rsp + 0xb8]
call sym.ProcessHacker.exe_PhFree
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhDereferenceObject
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0xe0]
or eax, 4
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0xe0], eax
mov rcx, rsp
lea rdx, [0x1404cf130]
call fcn.140015750
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xe0
pop rdi
ret
Function at 0x140140b00
Capabilities:
Capture screenshot

Disassembly:
jmp 0x140140b00
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x50]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0x28]
mov eax, dword [rax + 0x30]
sub eax, ecx
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0x2c]
mov eax, dword [rax + 0x34]
sub eax, ecx
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140140baa
jmp 0x140140d1e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x58], rax
mov r8d, dword [rsp + 0x84]
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x68], rax
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SetBkMode]
movzx eax, byte [0x1405e7bb8]
test eax, eax
je 0x140140c54
mov eax, dword [0x1405e7ae0]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 1
je 0x140140c24
jmp 0x140140c52
mov edx, 0x2b2b2b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_FillRect]
jmp 0x140140c82
mov edx, 0xffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_FillRect]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xc0]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0xc0]
mov r8d, dword [rax + 0x2c]
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x28]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rsp
lea rdx, [0x1404d0a80]
call fcn.140015750
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xb0
pop rdi
ret
Function at 0x140142170
Capabilities:
Hide graphical window

Disassembly:
jmp 0x140142170
push rdi
sub rsp, 0x50
cmp dword [0x1405e3828], 0
jne 0x140142184
jmp 0x14014228f
mov dword [0x1405e3828], 0
mov qword [0x1405e3830], 0
mov dword [rsp + 0x30], 0
jmp 0x1401421ad
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [0x1405e37a8]
mov eax, dword [rax]
cmp dword [rsp + 0x30], eax
jae 0x14014225d
mov eax, dword [rsp + 0x30]
mov rcx, qword [0x1405e37a8]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x38], rax
movsxd rax, dword [0x1405e3828]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x18]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov r8, rax
mov edx, 3
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
call qword [0x140613010]
mov r8d, 3
mov edx, 3
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x40]
call fcn.14000f3f0
xor edx, edx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0xa8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0xa0], 0
je 0x140142258
xor edx, edx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0xa0]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1401421a3
xor edx, edx
mov rcx, qword [0x1405e3838]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, qword [0x1405e3848]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, qword [0x1405e3840]
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140016d70
add rsp, 0x50
pop rdi
ret
Function at 0x140146450
Capabilities:
Hide graphical window

Disassembly:
jmp 0x140146450
push rdi
sub rsp, 0x30
movzx eax, byte [0x1405e3988]
test eax, eax
jne 0x14014646b
mov dword [rsp + 0x24], 1
jmp 0x140146473
mov dword [rsp + 0x24], 0
cmp dword [rsp + 0x24], 0
je 0x140146484
mov dword [rsp + 0x28], 5
jmp 0x14014648c
mov dword [rsp + 0x28], 0
mov edx, dword [rsp + 0x28]
mov rcx, qword [0x1405e3940]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x20], 0
jmp 0x1401464b1
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [0x1405e39a0]
cmp dword [rsp + 0x20], eax
jae 0x1401464f5
movzx eax, byte [0x1405e3988]
test eax, eax
je 0x1401464d2
mov dword [rsp + 0x2c], 5
jmp 0x1401464da
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [0x1405e3978]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1401464a7
add rsp, 0x30
pop rdi
ret
Function at 0x140148c50
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140148c50
push rbx
push rsi
push rdi
sub rsp, 0x130
lea rdi, [rsp + 0x20]
mov ecx, 0x44
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov r8d, 0x31
lea rdx, [rsp + 0x78]
mov ecx, 0x69
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jl 0x140148cc6
mov dword [rsp + 0x64], 0x30
mov eax, dword [rsp + 0x64]
mov edx, eax
lea rcx, [rsp + 0x78]
call sym.ProcessHacker.exe_PhZeroExtendToUtf16Ex
mov qword [rsp + 0x28], rax
jmp 0x140148d91
mov eax, 4
imul rax, rax, 0
lea rax, [rsp + rax + 0xc8]
mov qword [rsp + 0x110], rax
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov r8, qword [rsp + 0x110]
mov dword [r8], eax
mov dword [r8 + 4], ebx
mov dword [r8 + 8], ecx
mov dword [r8 + 0xc], edx
mov eax, 4
imul rax, rax, 4
lea rax, [rsp + rax + 0xc8]
mov qword [rsp + 0x118], rax
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov r8, qword [rsp + 0x118]
mov dword [r8], eax
mov dword [r8 + 4], ebx
mov dword [r8 + 8], ecx
mov dword [r8 + 0xc], edx
mov eax, 4
imul rax, rax, 8
lea rax, [rsp + rax + 0xc8]
mov qword [rsp + 0x120], rax
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov r8, qword [rsp + 0x120]
mov dword [r8], eax
mov dword [r8 + 4], ebx
mov dword [r8 + 8], ecx
mov dword [r8 + 0xc], edx
mov dword [rsp + 0x64], 0x30
mov eax, dword [rsp + 0x64]
mov edx, eax
lea rcx, [rsp + 0xc8]
call sym.ProcessHacker.exe_PhZeroExtendToUtf16Ex
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.140016ad0
lea rax, [rsp + 0x48]
mov rdi, rax
mov rsi, qword [rsp + 0x28]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, 2
lea rdx, [0x1405d59e0]
lea rcx, [rsp + 0x48]
call sym.ProcessHacker.exe_PhTrimStringRef
lea rcx, [rsp + 0x48]
call fcn.1400070e0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400040d0
mov rax, qword [rsp + 0x28]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404d1e00]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x130
pop rdi
pop rsi
pop rbx
ret
Function at 0x140149280
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

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 0x140150820
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140150820
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
lea rdi, [rsp + 0x20]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov r8d, 0x28
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1400139e0
mov eax, dword [rsp + 0x68]
and eax, 0xffffff00
or eax, 3
mov dword [rsp + 0x68], eax
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400139e0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x3c], 0x16
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x28
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rsp + 0x38]
mov ecx, 0x6d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1401508e3
xor al, al
jmp 0x140150a17
cmp qword [rsp + 0x78], 0
je 0x1401508f6
cmp qword [rsp + 0x80], 0
jne 0x1401508fd
xor al, al
jmp 0x140150a17
mov eax, dword [rsp + 0x70]
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1404d31a0]
movsd qword [rsp + 0x98], xmm0
mov rax, qword [rsp + 0x78]
test rax, rax
jl 0x140150928
cvtsi2sd xmm0, rax
jmp 0x140150941
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movaps xmm0, xmm1
movsd xmm1, qword [rsp + 0x98]
mulsd xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x80]
test rax, rax
jl 0x140150965
cvtsi2sd xmm1, rax
jmp 0x14015097e
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm2, rcx
addsd xmm2, xmm2
movaps xmm1, xmm2
divsd xmm0, xmm1
movsd qword [rsp + 0xa0], xmm0
movsd xmm0, qword [rsp + 0xa0]
subsd xmm0, qword [rsp + 0x98]
movsd qword [rsp + 0xa8], xmm0
movsd xmm0, qword [rsp + 0x98]
mulsd xmm0, qword [0x1404d3190]
mulsd xmm0, qword [0x1404d3190]
mov rax, qword [rsp + 0xd0]
movsd qword [rax], xmm0
movsd xmm0, qword [rsp + 0xa0]
mulsd xmm0, qword [0x1404d3190]
mulsd xmm0, qword [0x1404d3190]
mov rax, qword [rsp + 0xd8]
movsd qword [rax], xmm0
movsd xmm0, qword [rsp + 0xa8]
mulsd xmm0, qword [0x1404d3190]
mulsd xmm0, qword [0x1404d3190]
mov rax, qword [rsp + 0xe0]
movsd qword [rax], xmm0
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404d2e40]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xc0
pop rdi
ret
Function at 0x14016f560
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14016f560
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rcx, [0x1405e90f0]
call fcn.140019ec0
lea rcx, [0x1405e3ed0]
call qword [sym.imp.ntdll.dll_RtlInitializeSListHead]
mov r8d, 0x200
mov edx, 0xd0
lea rcx, [0x1405e3ee0]
call sym.ProcessHacker.exe_PhInitializeFreeList
mov r8d, 0x40
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400139e0
lea rax, [rsp + 0x30]
mov qword [0x1405e3eb0], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x1405e8740]
lea rdx, [rsp + 0x30]
mov qword [rcx + rax], rdx
xor r8d, r8d
xor edx, edx
lea rcx, str.Type
call sym.ProcessHacker.exe_PhCreateObjectType
mov qword [0x1405e3eb0], rax
mov rax, qword [0x1405e3eb0]
movzx eax, byte [rax + 2]
mov rcx, qword [0x1405e3eb0]
mov word [rcx - 0xa0], ax
mov rax, qword [0x1405e3eb0]
mov dword [rax + 4], 1
xor r8d, r8d
xor edx, edx
lea rcx, str.Alloc
call sym.ProcessHacker.exe_PhCreateObjectType
mov qword [0x1405e3eb8], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1405e3f04], eax
cmp dword [0x1405e3f04], 0xffffffff
jne 0x14016f663
xor al, al
jmp 0x14016f665
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404dbeb0]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x90
pop rdi
ret

Function at 0x140170780
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 0x1401707c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1401707c0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1405e3f04]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1401707ea
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov ecx, dword [0x1405e871c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140170811
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x30], rcx
add rsp, 0x30
pop rdi
ret
Function at 0x1401708b0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401708b0
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401708ec
mov byte [0x1405e3f50], 1
xor r8d, r8d
xor edx, edx
lea rcx, str.String
call sym.ProcessHacker.exe_PhCreateObjectType
mov qword [0x1405e3f28], rax
xor r8d, r8d
xor edx, edx
lea rcx, str.Bytes
call sym.ProcessHacker.exe_PhCreateObjectType
mov qword [0x1405e3f30], rax
mov qword [rsp + 0x28], 0x10
mov dword [rsp + 0x30], 0x80
lea r9, [rsp + 0x28]
lea r8, [0x140005040]
mov edx, 1
lea rcx, str.List
call sym.ProcessHacker.exe_PhCreateObjectTypeEx
mov qword [0x1405e3f38], rax
lea r8, [0x140018960]
xor edx, edx
lea rcx, str.PointerList
call sym.ProcessHacker.exe_PhCreateObjectType
mov qword [0x1405e3f40], rax
mov qword [rsp + 0x28], 0x48
mov dword [rsp + 0x30], 0x40
lea r9, [rsp + 0x28]
lea r8, [0x140012390]
mov edx, 1
lea rcx, str.Hashtable
call sym.ProcessHacker.exe_PhCreateObjectTypeEx
mov qword [0x1405e3f48], rax
mov r8d, 0x10
mov edx, 0x10
lea rcx, [0x1405e3f60]
call sym.ProcessHacker.exe_PhInitializeFreeList
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1405e871c], eax
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404dc140]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x60
pop rdi
ret

Function at 0x140170a00
Capabilities:
Create thread

Disassembly:
jmp 0x140170a00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x50]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
lea rcx, [0x1405e3f60]
call sym.ProcessHacker.exe_PhAllocateFromFreeList
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [0x14000b160]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x140170ad4
lea rax, [0x1405e86a0]
lock inc dword [rax]
mov rax, qword [rsp + 0x68]
jmp 0x140170af1
lea rax, [0x1405e86a4]
lock inc dword [rax]
mov rdx, qword [rsp + 0x78]
lea rcx, [0x1405e3f60]
call sym.ProcessHacker.exe_PhFreeToFreeList
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404dc1a0]
call fcn.140015750
mov rax, rdi
add rsp, 0x80
pop rdi
ret