joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e0b0
Capabilities:
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xf0
and qword [r11 + 8], 0
mov rax, rcx
mov rcx, qword [0x0002aa30]
mov rbx, qword [rcx + 0x40]
and qword [r11 - 0x38], 0
and qword [r11 - 0x20], 0
and qword [r11 - 0x18], 0
mov dword [r11 - 0x40], 0x30
mov dword [r11 - 0x28], 0x240
mov qword [r11 - 0x30], rax
mov rdi, r9
mov esi, r8d
mov rbp, rdx
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov qword [rbx + 0x13], rax
test rax, rax
jne 0x1e11d
mov rax, qword [rbx + 0xa]
mov qword [rbx + 0x13], rax
mov rax, qword [rbx + 0x13]
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xb8]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 0x800
and qword [rsp + 0x60], 0
and dword [rsp + 0x58], 0
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x100]
mov edx, 0xc0000000
mov dword [rsp + 0x28], 6
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint]
mov ebx, eax
test eax, eax
js 0x1e2a5
and qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x80]
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov rcx, qword [rsp + 0x100]
xor r8d, r8d
mov dl, 1
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov rcx, qword [rsp + 0x100]
lea rdx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwFlushBuffersFile]
mov rcx, qword [rsp + 0x100]
mov edi, 4
lea esi, [rdi + 0x24]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x80]
mov r9d, esi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp dword [rsp + 0x80], 0
jl 0x1e297
mov ecx, 0x1c95a06
mov eax, 0xfa2b0929
lea r8, [rsp + 0x90]
mov dword [rsp + 0xa4], ecx
mov dword [rsp + 0x94], ecx
mov dword [rsp + 0xac], ecx
mov dword [rsp + 0x9c], ecx
mov rcx, qword [rsp + 0x100]
lea rdx, [rsp + 0x80]
mov r9d, esi
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0x90], eax
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0xf0]
mov eax, ebx
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1e2c8
Capabilities:
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xf0
and qword [r11 + 8], 0
mov rax, rcx
mov rcx, qword [0x0002aa30]
mov rbx, qword [rcx + 0x40]
and qword [r11 - 0x38], 0
and qword [r11 - 0x20], 0
and qword [r11 - 0x18], 0
mov dword [r11 - 0x40], 0x30
mov dword [r11 - 0x28], 0x240
mov qword [r11 - 0x30], rax
mov rdi, r9
mov esi, r8d
mov rbp, rdx
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov qword [rbx + 0x13], rax
test rax, rax
jne 0x1e335
mov rax, qword [rbx + 0xa]
mov qword [rbx + 0x13], rax
mov rax, qword [rbx + 0x13]
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xb8]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 0x800
and qword [rsp + 0x60], 0
and dword [rsp + 0x58], 0
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x62
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x100]
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint]
mov ebx, eax
test eax, eax
js 0x1e4bd
and qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x80]
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov rcx, qword [rsp + 0x100]
xor r8d, r8d
mov dl, 1
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov rcx, qword [rsp + 0x100]
lea rdx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwFlushBuffersFile]
mov rcx, qword [rsp + 0x100]
mov edi, 4
lea esi, [rdi + 0x24]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x80]
mov r9d, esi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp dword [rsp + 0x80], 0
jl 0x1e4af
mov ecx, 0x1c95a06
mov eax, 0xfa2b0929
lea r8, [rsp + 0x90]
mov dword [rsp + 0xa4], ecx
mov dword [rsp + 0x94], ecx
mov dword [rsp + 0xac], ecx
mov dword [rsp + 0x9c], ecx
mov rcx, qword [rsp + 0x100]
lea rdx, [rsp + 0x80]
mov r9d, esi
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0x90], eax
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0xf0]
mov eax, ebx
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1f494
Capabilities:
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov rcx, qword [0x0002aa30]
xor ebp, ebp
mov qword [rax + 8], rbp
mov rbx, qword [rcx + 0x40]
mov dword [rax - 0x50], 0x30
mov qword [rax - 0x48], rbp
mov dword [rax - 0x38], 0x40
mov qword [rax - 0x30], rbp
mov qword [rax - 0x28], rbp
lea rax, [0x0002d160]
cmp byte [0x0002a8be], bpl

Function at 0x20808
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x00026100]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
and qword [rsp + 0x30], 0
mov ebx, 0x114
lea rcx, [rsp + 0x90]
mov r8, rbx
xor edx, edx
call fcn.000231f0
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x90], ebx
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp dword [rsp + 0x94], 6
lea rcx, [rsp + 0x68]
lea rdx, [0x00023df0]
jae 0x20876
lea rdx, [0x00023e40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0x40], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
cmp byte [0x0002a8be], 0
lea rsi, [0x0002d1b0]
mov qword [rsp + 0x48], rsi
lea rbx, [0x0002cf30]
mov dword [rsp + 0x38], 0x30
mov dword [rsp + 0x50], 0x40
jne 0x208bf
mov qword [rsp + 0x48], rbx
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x60
mov dword [rsp + 0x20], 1
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
js 0x208fa
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x20913
cmp byte [0x0002a8be], 0
lea rcx, [rsp + 0x68]
mov rdx, rsi
jne 0x2090e
mov rdx, rbx
call fcn.0001cb30
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.00021bd0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rsi
ret

Function at 0x20a74
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x70
and qword [rax + 0x20], 0
mov edi, r8d
mov ebx, edx
call fcn.00020b88
and qword [0x0002ae58], 0
lea rcx, [0x0002cec0]
mov edx, 1
mov dword [0x00027694], ebx
mov dword [0x00027734], edi
mov byte [0x0002aa2c], 0
call qword [sym.imp.ntoskrnl.exe_KeInitializeTimerEx]
lea rcx, [0x0002cec0]
xor r9d, r9d
mov rdx, 0xffffffffca5b1700
mov r8d, 0x15f90
call qword [sym.imp.ntoskrnl.exe_KeSetTimerEx]
and qword [rsp + 0x30], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
lea rax, [0x0002093c]
mov ebx, 0x1fffff
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x98]
xor r9d, r9d
mov edx, ebx
mov dword [rsp + 0x40], 0x30
mov dword [rsp + 0x58], 0x200
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
js 0x20b74
mov rcx, qword [rsp + 0x98]
and qword [rsp + 0x28], 0
lea rax, [0x0002ae58]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x98]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x20c00
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
xor edi, edi
mov qword [r11 + 0x10], rdi
cmp byte [0x0002a8be], dil
jne 0x20dbc
mov dword [rsp + 0x50], 0x30
lea rax, [0x0002d800]
mov qword [r11 - 0x30], rdi
mov dword [rsp + 0x68], 0x200
mov qword [r11 - 0x28], rax
lea rax, [r11 + 8]
mov qword [r11 - 0x58], rax
lea r8, [r11 - 0x38]
lea rcx, [r11 + 0x10]
xor r9d, r9d
mov edx, 0xf003f
mov dword [rsp + 0x28], edi
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x68], rdi
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp qword [rsp + 0x98], rdi
je 0x20dbc
lea rdx, [0x00023ca0]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x90], 1
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x98]
mov edi, 4
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0x40]
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
lea rdx, [0x00023c90]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x90], 1
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0x40]
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
lea rdx, [0x00023cc0]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x90], 1
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0x40]
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
lea rdx, [0x00023cd0]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x90], 1
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
or rcx, 0xffffffffffffffff
lea rdx, [0x00023ce0]
xor eax, eax
mov r9d, 1
mov rdi, rdx
xor r8d, r8d
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
add rsp, 0x80
pop rdi
ret
Function at 0x21344
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x70
and qword [rax + 8], 0
and qword [0x0002ce88], 0
and dword [0x0002ce90], 0
mov ebx, 1
lea rcx, [0x0002ce98]
xor r8d, r8d
mov edx, ebx
mov dword [0x0002ce80], ebx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rcx, [0x0002cf00]
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
and qword [rsp + 0x30], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
lea rax, [0x00020fec]
mov ebx, 0x1fffff
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x80]
xor r9d, r9d
mov edx, ebx
mov dword [rsp + 0x40], 0x30
mov dword [rsp + 0x58], 0x200
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
js 0x2142a
mov rcx, qword [rsp + 0x80]
and qword [rsp + 0x28], 0
lea rax, [0x0002cf18]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x80]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
add rsp, 0x70
pop rbx
ret

Function at 0x2f064
Capabilities:
Check os version
Create device object

Disassembly:
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.0002f008
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp fcn.00012e5c
Function at 0x1400195b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
xor r9d, r9d
mov rbx, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x140019602
xor eax, eax
lea r8, [0x1400199b0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x140019625
add rsp, 0x50
pop rbx
ret
lea rdx, str.Could_not_create_named_pipe_server__stop_event_could_not_be_created.
lea rcx, [rsp + 0x30]
call fcn.1400070a0
lea rdx, [0x1403079f8]
lea rcx, [rsp + 0x30]
call fcn.1401419e8
int3
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Could_not_create_named_pipe_server__dedicated_thread_could_not_be_created.
lea rcx, [rsp + 0x30]
call fcn.1400070a0
lea rdx, [0x1403079f8]
lea rcx, [rsp + 0x30]
call fcn.1401419e8
int3

Function at 0x140019a00
Capabilities:
Create pipe

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0xc0
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, r8
mov rbx, rcx
mov qword [rcx + 0x1000], rdx
mov qword [rcx + 0x1008], 0xffffffffffffffff
xor eax, eax
mov qword [rcx + 0x1030], rax
xor r9d, r9d
mov edx, 1
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x1028], rax
test rax, rax
jne 0x140019a83
lea rdx, str.Could_not_create_event_while_trying_to_create_named_pipe_server_instance.
lea rcx, [rsp + 0x88]
call fcn.1400070a0
lea rdx, [0x1403079f8]
lea rcx, [rsp + 0x88]
call fcn.1401419e8
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea edx, [rax + 1]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x50], 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov rcx, rdi
call fcn.140018b20
mov rcx, rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x3e8
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov edx, 0x40000003
mov r9d, 0xff
mov r8d, 6
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rbx + 0x1008], rax
cmp rax, 0xffffffffffffffff
jne 0x140019b65
lea rdx, str.Could_not_create_named_pipe_while_trying_to_create_named_pipe_server_instance.
lea rcx, [rsp + 0xa0]
call fcn.1400070a0
lea rdx, [0x1403079f8]
lea rcx, [rsp + 0xa0]
call fcn.1401419e8
mov rcx, rbx
call fcn.140019e10
nop
mov rax, rbx
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
Function at 0x140019bb0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rbx, rcx
mov dword [rax + 0x10], 0
test byte [rcx + 0x1030], 0x10
je 0x140019c9b
lea rdx, [rcx + 0x1010]
xor r9d, r9d
lea r8, [rax + 0x10]
mov rcx, qword [rcx + 0x1008]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
setne dl
mov ecx, dword [rbx + 0x1030]
sub ecx, 0x11
je 0x140019c89
cmp ecx, 1
je 0x140019c32
lea rdx, str.Invalid_pipe_instance_state_while_handling_event_signal_with_pending_I_O.
lea rcx, [rsp + 0x38]
call fcn.1400070a0
lea rdx, [0x1403079f8]
lea rcx, [rsp + 0x38]
call fcn.1401419e8
int3
test dl, dl
je 0x140019d6c
mov eax, dword [rsp + 0x88]
test eax, eax
je 0x140019d6c
mov dword [rbx + 0x1034], eax
mov r8d, dword [rbx + 0x1034]
mov rdx, rbx
lea rcx, [rsp + 0x90]
call fcn.140018930
nop
mov rdx, rax
mov rcx, qword [rbx + 0x1000]
call fcn.140019930
nop
lea rcx, [rsp + 0x90]
call fcn.140018d10
jmp 0x140019d3d
test dl, dl
je 0x140019d6c
mov dword [rbx + 0x1030], 0x12
mov eax, dword [rbx + 0x1030]
and eax, 0xffffffef
cmp eax, 2
je 0x140019ccc
lea rdx, str.Invalid_pipe_instance_state_while_handling_event_signal_state_transition.
lea rcx, [rsp + 0x50]
call fcn.1400070a0
lea rdx, [0x1403079f8]
lea rcx, [rsp + 0x50]
call fcn.1401419e8
int3
lea rax, [rbx + 0x1010]
mov qword [rsp + 0x20], rax
lea r9, [rbx + 0x1034]
mov r8d, 0x1000
mov rdx, rbx
mov rcx, qword [rbx + 0x1008]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
test al, al
je 0x140019d53
cmp dword [rbx + 0x1034], 0
je 0x140019d6c
mov r8d, dword [rbx + 0x1034]
mov rdx, rbx
lea rcx, [rsp + 0x90]
call fcn.140018930
nop
mov rdx, rax
mov rcx, qword [rbx + 0x1000]
call fcn.140019930
nop
lea rcx, [rsp + 0x90]
call fcn.140018d10
nop
jmp 0x140019d47
mov dword [rbx + 0x1030], 2
jmp 0x140019d7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140019d6c
mov dword [rbx + 0x1030], 0x12
jmp 0x140019d7c
mov rcx, rbx
call fcn.140019ee0
mov rcx, rbx
call fcn.140019e10
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret
Function at 0x140019e10
Capabilities:
Connect pipe

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
lea rdx, [rcx + 0x1010]
mov rcx, qword [rcx + 0x1008]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x140019e76
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x140019e55
cmp eax, 0x3e5
jne 0x140019e99
mov dword [rbx + 0x1030], 0x11
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rbx + 0x1028]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x140019ebc
mov dword [rbx + 0x1030], 2
add rsp, 0x40
pop rbx
ret
lea rdx, str.ConnectNamedPipe_returned_non_null_value_while_trying_to_connect_named_pipe_server_instance.
lea rcx, [rsp + 0x20]
call fcn.1400070a0
lea rdx, [0x1403079f8]
lea rcx, [rsp + 0x20]
call fcn.1401419e8
int3
lea rdx, str.Failed_trying_to_connect_named_pipe_server_instance.
lea rcx, [rsp + 0x20]
call fcn.1400070a0
lea rdx, [0x1403079f8]
lea rcx, [rsp + 0x20]
call fcn.1401419e8
int3
lea rdx, str.Could_not_set_event_while_trying_to_connect_named_pipe_server_instance.
lea rcx, [rsp + 0x20]
call fcn.1400070a0
lea rdx, [0x1403079f8]
lea rcx, [rsp + 0x20]
call fcn.1401419e8
int3
Function at 0x14001a2f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0x20
movzx r9d, byte [r8]
mov rbp, rcx
movabs rcx, 0x100000001b3
mov qword [rsp + 0x58], rdi
movabs rax, 0xcbf29ce484222325
mov r14, r8
xor r9, rax
mov r12, rdx
movzx eax, byte [r8 + 1]
mov r15, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x18]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 4]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 5]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 6]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 7]
imul r9, rcx
xor r9, rax
imul r9, rcx
and r15, r9
add r15, r15
mov rbx, qword [rbx + r15*8]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbp + 8]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.140007230
mov rcx, qword [rbp + 0x18]
mov rax, qword [rsp + 0x50]
cmp qword [rcx + r15*8], rax
jne 0x14001a3e4
mov rax, qword [rbp + 8]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
call fcn.140007230
mov rax, qword [rsp + 0x68]
jmp 0x14001a3ec
mov rax, qword [rcx + r15*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14001a4aa
mov rax, qword [r14]
cmp qword [rbx + 0x10], rax
je 0x14001a403
mov rbx, qword [rbx]
jmp 0x14001a3a0
mov rdi, rbx
nop word [rax + rax]
mov rax, qword [rbp + 8]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.140007230
mov rcx, qword [rbp + 0x18]
mov rax, qword [rsp + 0x50]
cmp qword [rcx + r15*8], rax
jne 0x14001a454
mov rax, qword [rbp + 8]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
call fcn.140007230
mov rax, qword [rsp + 0x68]
jmp 0x14001a45c
mov rax, qword [rcx + r15*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14001a46f
mov rax, qword [rbx + 0x10]
cmp qword [r14], rax
jne 0x14001a46f
mov rbx, qword [rbx]
jmp 0x14001a410
cmp rdi, rbx
je 0x14001a4aa
lea rdx, [rbp + 8]
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x50]
call fcn.140007230
mov rbx, qword [rsp + 0x50]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rdi
call fcn.140007230
mov rax, qword [rsp + 0x68]
mov qword [r12], rax
jmp 0x14001a4d0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 8]
call fcn.14001a210
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 8]
mov rbx, qword [rax]
call fcn.14001a210
mov rcx, qword [rax]
mov qword [r12], rcx
mov rdi, qword [rsp + 0x58]
mov rax, r12
mov qword [r12 + 8], rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
Function at 0x14001a720
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r14
sub rsp, 0x20
movzx r9d, byte [r8 + 0x10]
mov rsi, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov r14, rdx
movzx eax, byte [r8 + 0x11]
lea rdx, [rsp + 0x40]
mov rbx, qword [rsi + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x12]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x13]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x14]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x15]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x16]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x17]
imul r9, rcx
xor r9, rax
imul r9, rcx
lea rcx, [rsi + 8]
and rbx, r9
call fcn.14001a830
mov r8, rbx
mov rcx, rsi
mov rdx, qword [rax]
call fcn.14001a860
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + 8]
mov rbx, qword [rcx]
mov qword [rax], rbx
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 1
dec qword [rsi + 0x10]
lea r8d, [rdx + 0x17]
call fcn.1400074b0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.14001a830
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov qword [r14], rax
mov rax, r14
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret