joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800311c0
Capabilities:
Resume thread

Disassembly:
jmp 0x1800311c0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
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]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x31], 0
mov dword [rsp + 0x34], 0
jmp 0x180031220
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x34], eax
jae 0x180031398
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
mov r8, qword [rax]
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.180012810
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x18003127a
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x38], 0
jge 0x180031393
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x180031359
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax]
call fcn.180001d20
mov edx, eax
lea rcx, str.Unable_to_resume_thread__lu
call fcn.180010960
lea r9, [rsp + 0x64]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
call fcn.180004330
movzx eax, al
test eax, eax
je 0x180031359
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x180031352
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
xor r8d, r8d
mov edx, 3
mov rcx, qword [rax]
call fcn.18001a500
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x18003131a
mov byte [rsp + 0x30], 1
jmp 0x18003134b
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
mov r8, qword [rcx + rax*8]
lea rdx, str.resume
mov rcx, qword [rsp + 0xa0]
call fcn.180033e10
call sym.ProcessMonitor.dll_PhUiDisconnectFromPhSvc
jmp 0x180031357
mov byte [rsp + 0x31], 1
jmp 0x180031393
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
mov r8, qword [rcx + rax*8]
lea rdx, str.resume
mov rcx, qword [rsp + 0xa0]
call fcn.180033e10
movzx eax, al
test eax, eax
jne 0x180031393
jmp 0x180031398
jmp 0x180031216
movzx eax, byte [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18039b090]
call fcn.180014e20
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x90
pop rdi
ret
Function at 0x180039f80
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x140
lea rdi, [rsp + 0x50]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rcx, [0x18058e338]
call fcn.180012d60
movzx eax, al
test eax, eax
je 0x18003a1e0
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f0003
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtCreateEvent]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x18003a054
mov r8, qword [rsp + 0x68]
lea rdx, [0x18003ac60]
lea rcx, [rsp + 0x88]
call sym.ProcessMonitor.dll_PhCreateThreadEx
test eax, eax
jl 0x18003a049
mov rcx, qword [rsp + 0x88]
call fcn.18003a9f0
movzx eax, al
test eax, eax
je 0x18003a02e
lea rdx, [0x18058e348]
mov rcx, qword [rsp + 0x88]
call fcn.18003abd0
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f0003
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtCreateEvent]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x18003a0e5
mov r8, qword [rsp + 0x68]
lea rdx, [0x18003acf0]
lea rcx, [rsp + 0x88]
call sym.ProcessMonitor.dll_PhCreateThreadEx
test eax, eax
jl 0x18003a0da
mov rcx, qword [rsp + 0x88]
call fcn.18003a9f0
movzx eax, al
test eax, eax
je 0x18003a0bf
lea rdx, [0x18058e34c]
mov rcx, qword [rsp + 0x88]
call fcn.18003abd0
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xa8]
call sym.ProcessMonitor.dll_PhCreatePipe
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x18003a1d4
mov r8, qword [rsp + 0xa8]
lea rdx, [0x18003ad90]
lea rcx, [rsp + 0x88]
call sym.ProcessMonitor.dll_PhCreateThreadEx
test eax, eax
jl 0x18003a1b8
mov dword [rsp + 0xe4], 0
mov rcx, qword [rsp + 0x88]
call fcn.18003a9f0
movzx eax, al
test eax, eax
je 0x18003a160
lea rdx, [0x18058e350]
mov rcx, qword [rsp + 0x88]
call fcn.18003abd0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [0x18058e338]
call sym.ProcessMonitor.dll_PhfEndInitOnce
mov rcx, rsp
lea rdx, [0x1803a0810]
call fcn.180014e20
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x140
pop rdi
ret
Function at 0x18003d910
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x18003d910
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 0x18003d9c3
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0xffffff65
jne 0x18003d9c3
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 0x18003d993
cmp dword [rsp + 0x28], 0x43
je 0x18003d96c
jmp 0x18003d9c3
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x18003d991
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x18003d991
mov rcx, qword [rsp + 0x48]
call sym.ProcessMonitor.dll_PhCopyListView
jmp 0x18003d9c3
mov eax, dword [rsp + 0x50]
and eax, 2
test eax, eax
je 0x18003d9c3
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x18003d9c3
mov r8d, 2
mov edx, 2
mov rcx, qword [rsp + 0x48]
call sym.ProcessMonitor.dll_PhSetStateAllListViewItems
add rsp, 0x30
pop rdi
ret
Function at 0x18004bdf0
Capabilities:
Get graphical window text

Disassembly:
jmp 0x18004bdf0
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 [0x1805a6200]
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 0x18004bf46
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 0x18004bf46
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, [0x1803a7500]
call fcn.180014e20
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x590
pop rdi
ret
Function at 0x180067e50
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x180067e50
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryMutant]
add rsp, 0x30
pop rdi
ret

Function at 0x180067ea0
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x180067ea0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0
mov r9d, 0x10
mov r8, qword [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryMutant]
add rsp, 0x30
pop rdi
ret

Function at 0x180072380
Capabilities:
Hide graphical window

Disassembly:
jmp 0x180072380
push rdi
sub rsp, 0x30
cmp qword [0x1805a9980], 0
jne 0x1800723d9
mov qword [rsp + 0x20], 0
lea r9, [0x18000c8d0]
xor r8d, r8d
mov edx, 0xb2
mov rcx, qword [0x1808e91b0]
call sym.ProcessMonitor.dll_PhCreateDialog
mov qword [0x1805a9980], rax
mov rcx, qword [0x1805a9980]
call sym.ProcessMonitor.dll_PhRegisterDialog
mov edx, 5
mov rcx, qword [0x1805a9980]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1805a9980]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1800723fe
mov edx, 9
mov rcx, qword [0x1805a9980]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x18007240b
mov rcx, qword [0x1805a9980]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
add rsp, 0x30
pop rdi
ret
Function at 0x18009a820
Capabilities:
Check processdebugport

Disassembly:
jmp 0x18009a820
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 [0x1805a6200]
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 0x18009a8bd
mov eax, dword [rsp + 0x4c]
and eax, 1
test eax, eax
je 0x18009a8a6
mov dword [rsp + 0x60], 1
jmp 0x18009a8ae
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x88]
movzx ecx, byte [rsp + 0x60]
mov byte [rax], cl
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1803bfdf0]
call fcn.180014e20
mov eax, edi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x70
pop rdi
ret

Function at 0x18009aa60
Capabilities:
Get system information on windows

Disassembly:
jmp 0x18009aa60
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, 4
mov rdx, qword [rsp + 0x30]
mov ecx, 0xdd
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
add rsp, 0x20
pop rdi
ret
Function at 0x1800b6720
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1800b6720
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov eax, dword [0x180c38d60]
shr eax, 7
and eax, 1
test eax, eax
je 0x1800b6749
mov rcx, qword [rsp + 0x40]
call fcn.18000f4b0
jmp 0x1800b67ce
cmp qword [0x1805aa080], 0
jne 0x1800b679c
mov qword [rsp + 0x20], 0
lea r9, [0x180017390]
xor r8d, r8d
mov edx, 0xe3
mov rcx, qword [0x1808e91b0]
call sym.ProcessMonitor.dll_PhCreateDialog
mov qword [0x1805aa080], rax
mov rcx, qword [0x1805aa080]
call sym.ProcessMonitor.dll_PhRegisterDialog
mov edx, 5
mov rcx, qword [0x1805aa080]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1805aa080]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1800b67c1
mov edx, 9
mov rcx, qword [0x1805aa080]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1800b67ce
mov rcx, qword [0x1805aa080]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
add rsp, 0x30
pop rdi
ret
Function at 0x1800c1880
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1800c1880
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [0x1805aa3a8], 0
jne 0x1800c18fd
cmp dword [0x1808ecbe4], 0
je 0x1800c18a8
mov qword [rsp + 0x30], 0
jmp 0x1800c18b2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], 0
lea r9, [0x18001a2d0]
mov r8, qword [rsp + 0x30]
mov edx, 0x8a
mov rcx, qword [0x1808e91b0]
call sym.ProcessMonitor.dll_PhCreateDialog
mov qword [0x1805aa3a8], rax
mov rcx, qword [0x1805aa3a8]
call sym.ProcessMonitor.dll_PhRegisterDialog
mov edx, 5
mov rcx, qword [0x1805aa3a8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1805aa3a8]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1800c1922
mov edx, 9
mov rcx, qword [0x1805aa3a8]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1800c192f
mov rcx, qword [0x1805aa3a8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
add rsp, 0x40
pop rdi
ret
Function at 0x1800ca830
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1800ca830
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rdi, [rsp + 0x30]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x110]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xc8], rax
mov r8b, 2
lea rdx, [0x18059c058]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlInitializeSid]
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlSubAuthoritySid]
mov dword [rax], 0x20
mov edx, 1
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlSubAuthoritySid]
mov dword [rax], 0x220
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov qword [rsp + 0xe8], rax
lea rcx, [0x1805a0f18]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov rcx, qword [rsp + 0xe8]
lea rax, [rcx + rax + 0x48]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rax, 0x28
mov qword [rsp + 0xd0], rax
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
mov eax, dword [rsp + 0x90]
sub rax, 0x28
mov r8d, 2
mov edx, eax
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
mov r9, qword [rsp + 0xc8]
mov r8d, 0x1f0001
mov edx, 2
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
lea r9, [0x1805a0f18]
mov r8d, 1
mov edx, 2
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
xor r9d, r9d
mov r8, qword [rsp + 0xd0]
mov dl, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
mov dword [rsp + 0x48], 0x30
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x60], 0x40
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
call sym.ProcessMonitor.dll_PhIsExecutingInWow64
movzx eax, al
test eax, eax
je 0x1800caa0a
mov qword [rsp + 0xf0], 0xb0
jmp 0x1800caa16
mov qword [rsp + 0xf0], 0xb0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xf0]
mov r8d, 4
lea rdx, [rsp + 0x48]
lea rcx, [0x180c38da8]
call qword [sym.imp.ntdll.dll_NtCreatePort]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call sym.ProcessMonitor.dll_PhFree
cmp dword [rsp + 0x30], 0
jge 0x1800caa5c
mov eax, dword [rsp + 0x30]
jmp 0x1800caaa3
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x180c38dbc], eax
mov dword [rsp + 0xd8], 0
jmp 0x1800caa85
mov eax, dword [rsp + 0xd8]
inc eax
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 2
jae 0x1800caa9f
xor edx, edx
lea rcx, [0x18000da90]
call sym.ProcessMonitor.dll_PhCreateThread2
jmp 0x1800caa75
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180484300]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x100
pop rdi
ret
Function at 0x1800caae0
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1800caae0
push rdi
sub rsp, 0x20
mov ecx, dword [0x180c38dbc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x20
pop rdi
ret
Function at 0x1800d30c0
Capabilities:
Read file on windows

Disassembly:
jmp 0x1800d30c0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x50]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x120089
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x68]
call sym.ProcessMonitor.dll_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1800d314c
mov eax, dword [rsp + 0x50]
jmp 0x1800d31fe
mov dword [rsp + 0x80], 0x400
mov eax, dword [rsp + 0x80]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtReadFile]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x50], 0
jl 0x1800d31f0
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0xa0]
mov dword [rax], ecx
mov eax, dword [rsp + 0x50]
jmp 0x1800d31fe
mov rcx, qword [rsp + 0x78]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804868d0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xd0
pop rdi
ret

Function at 0x1800dfb90
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1800dfb90
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, Ordinal_345
lea rdx, [0x1808ecf20]
mov ecx, 2
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov rax, qword [0x1808ece80]
mov rcx, qword [0x1808ecf28]
sub rcx, rax
mov rax, rcx
mov qword [0x1808ece88], rax
mov rax, qword [0x1808ecf28]
mov qword [0x1808ece80], rax
mov rax, qword [0x1808ece70]
mov rcx, qword [0x1808ecf30]
sub rcx, rax
mov rax, rcx
mov qword [0x1808ece78], rax
mov rax, qword [0x1808ecf30]
mov qword [0x1808ece70], rax
mov rax, qword [0x1808ece60]
mov rcx, qword [0x1808ecf38]
sub rcx, rax
mov rax, rcx
mov qword [0x1808ece68], rax
mov rax, qword [0x1808ecf38]
mov qword [0x1808ece60], rax
add rsp, 0x20
pop rdi
ret
Function at 0x1800e2e70
Capabilities:
Check processdebugport

Disassembly:
jmp 0x1800e2e70
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 [0x1805a6200]
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 0x1800e2f10
mov eax, dword [rsp + 0x4c]
shr eax, 3
and eax, 1
test eax, eax
je 0x1800e2ef9
mov dword [rsp + 0x60], 1
jmp 0x1800e2f01
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x88]
movzx ecx, byte [rsp + 0x60]
mov byte [rax], cl
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18048aba0]
call fcn.180014e20
mov eax, edi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x70
pop rdi
ret

Function at 0x1800e2fc0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1800e2fc0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x6c
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
add rsp, 0x20
pop rdi
ret

Function at 0x1800e3000
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1800e3000
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x53
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
add rsp, 0x20
pop rdi
ret
Function at 0x18011a100
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 [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x80]
call fcn.18011a040
mov ecx, 0xa
call sym.ProcessMonitor.dll_PhCreateList
mov qword [rsp + 0x38], rax
call fcn.180013200
mov qword [rsp + 0x40], rax
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
lea r8, [rsp + 0x38]
lea rdx, [0x180119fd0]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumDesktopsW]
mov dword [rsp + 0x20], 0
jmp 0x18011a187
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 0x18011a21f
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + rax*8]
call fcn.1800082b0
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 0x18011a21a
mov ecx, 8
call sym.ProcessMonitor.dll_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 0x18011a17d
mov rcx, qword [rsp + 0x38]
call sym.ProcessMonitor.dll_PhDereferenceObject
mov rcx, qword [rsp + 0x40]
call sym.ProcessMonitor.dll_PhDereferenceObject
mov rcx, rsp
lea rdx, [0x180499dc0]
call fcn.180014e20
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x70
pop rdi
ret
Function at 0x18011a780
Capabilities:
Create process on windows

Disassembly:
jmp 0x18011a780
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 [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x28], 0
movzx ecx, byte [rsp + 0xf8]
call fcn.1800197f0
mov qword [rsp + 0x28], rax
mov r8d, 0x70
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.180013180
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.1800082b0
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 0x18011a85a
lea rax, str.runas
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x18011a88c
cmp qword [rsp + 0xa8], 0
je 0x18011a882
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
mov dword [rsp + 0x20], 0
jmp 0x18011a895
call fcn.180010890
mov dword [rsp + 0x20], eax
cmp qword [rsp + 0x28], 0
je 0x18011a8a7
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhDereferenceObject
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18049a010]
call fcn.180014e20
mov eax, edi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xd0
pop rdi
ret