joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400081b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401ff978]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x260]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
mov rdi, qword [rsi + 0x278]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140007f30]
mov rcx, rdi
call rbx
lea rax, [rsp + 0x30]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400081a0]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f84b0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140016ad0
Capabilities:
Query service status
Stop service

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x254
mov eax, dword [rcx + rdx]
mov r8d, 0x250
test al, 1
jne 0x140016b17
or eax, 1
mov dword [rcx + rdx], eax
mov ecx, r8d
add rcx, rdx
call fcn.14000cb50
nop
cmp byte [r8 + rdx + 1], 0
je 0x140016b5d
lea rdx, str.unsigned_long___cdecl_MinifilterStopCommand::Execute_int_wchar_t____
lea rdi, [0x14020f300]
mov rcx, rdi
call fcn.14000de20
mov rax, qword [0x14020f300]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.14000daf0
movzx edx, al
mov rcx, rdi
call fcn.14000d9a0
mov rcx, rdi
call fcn.14000d8a0
mov rcx, qword [rbx + 8]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.14001ddf0
Function at 0x140017090
Capabilities:
Query service status
Stop service

Disassembly:
mov rcx, qword [rcx + 8]
jmp fcn.14001ddf0

Function at 0x140017150
Capabilities:
Start service

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x254
mov eax, dword [rcx + rdx]
mov r8d, 0x250
test al, 1
jne 0x140017197
or eax, 1
mov dword [rcx + rdx], eax
mov ecx, r8d
add rcx, rdx
call fcn.14000cb50
nop
cmp byte [r8 + rdx + 1], 0
je 0x1400171dd
lea rdx, str.Starting_service
lea rdi, [0x14020f300]
mov rcx, rdi
call fcn.14000de20
mov rax, qword [0x14020f300]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.14000daf0
movzx edx, al
mov rcx, rdi
call fcn.14000d9a0
mov rcx, rdi
call fcn.14000d8a0
mov rcx, qword [rbx + 8]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x14001dc70
Function at 0x14001e370
Capabilities:
Modify service

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x190
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x1401ff978]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x90]
call fcn.140119b70
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x90]
call fcn.14001ed30
nop
xor ebp, ebp
mov ebx, ebp
cmp qword [rdi], rbx
je 0x14001e403
mov rax, qword [rdi]
nop dword [rax]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14001c5a0
mov rcx, rax
call fcn.14001ef60
inc ebx
mov rax, qword [rdi + rbx*8]
test rax, rax
jne 0x14001e3e0
lea rcx, [rsp + 0x90]
call fcn.14001ef60
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x90]
call fcn.14001ec60
cmp qword [rax + 0x18], 8
jb 0x14001e42c
mov rax, qword [rax]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
or r9d, 0xffffffff
or r8d, r9d
or edx, r9d
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
sete bl
mov r8, qword [rsp + 0x80]
cmp r8, 8
jb 0x14001e488
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.1400120e0
test bl, bl
je 0x14001e556
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov eax, 0x254
mov ecx, dword [rax + rdx]
mov r8d, 0x250
test cl, 1
jne 0x14001e4c9
or ecx, 1
mov dword [rax + rdx], ecx
mov ecx, r8d
add rcx, rdx
call fcn.14000cb50
nop
cmp byte [r8 + rdx + 1], 0
je 0x14001e556
lea rdx, str.ChangeServiceConfig_returned_0x
lea rdi, [0x14020f300]
mov rcx, rdi
call fcn.14000de20
mov rax, qword [0x14020f300]
movsxd rcx, dword [rax + 4]
add rcx, rdi
and dword [rcx + 0x18], 0xfffff9ff
or dword [rcx + 0x18], 0x800
mov edx, ebx
mov rcx, rdi
call fcn.140016e50
mov rax, qword [0x14020f300]
movsxd rdx, dword [rax + 4]
add rdx, rdi
and dword [rdx + 0x18], 0xfffff3ff
or dword [rdx + 0x18], 0x200
mov rax, qword [0x14020f300]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.14000daf0
movzx edx, al
mov rcx, rdi
call fcn.14000d9a0
mov rcx, rdi
call fcn.14000d8a0
nop
lea rcx, [rsp + 0x118]
call fcn.14001ec90
nop
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x118]
call fcn.1400f3640
nop
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400f84b0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001e850
Capabilities:
Query service status

Disassembly:
push rbx
sub rsp, 0x170
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1401ff978]
xor rax, rsp
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14001e936
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.14000f0b0
xor eax, eax
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], 7
mov word [rsp + 0x138], ax
lea rdx, str.Cannot_query_service_state_0x
lea rcx, [rsp + 0x50]
call fcn.140015a20
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
and dword [rsp + rdx + 0x68], 0xfffff9ff
or dword [rsp + rdx + 0x68], 0x800
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140019f70
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
and dword [rsp + rcx + 0x68], 0xfffff3ff
or dword [rsp + rcx + 0x68], 0x200
lea rcx, [rsp + 0x50]
call fcn.14000f980
nop
lea rcx, [rsp + 0x40]
call fcn.14000eac0
mov eax, ebx
jmp 0x14001e938
xor eax, eax
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1400f84b0
add rsp, 0x170
pop rbx
ret

Function at 0x14001e960
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rax, qword [0x1401ff978]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x254
mov eax, dword [rcx + rdx]
mov r8d, 0x250
test al, 1
jne 0x14001e9b6
or eax, 1
mov dword [rcx + rdx], eax
mov ecx, r8d
add rcx, rdx
call fcn.14000cb50
nop
cmp byte [r8 + rdx + 1], 0
je 0x14001e9fc
lea rdx, str.Waiting_for_the_pending_service_stop...
lea rbx, [0x14020f300]
mov rcx, rbx
call fcn.14000de20
mov rax, qword [0x14020f300]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000daf0
movzx edx, al
mov rcx, rbx
call fcn.14000d9a0
mov rcx, rbx
call fcn.14000d8a0
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov ebx, eax
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14001e850
cmp dword [rsp + 0x2c], 1
je 0x14001ea83
nop dword [rax + rax]
mov eax, 0xcccccccd
mul dword [rsp + 0x40]
shr edx, 3
mov ecx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14001e850
test eax, eax
jne 0x14001ea85
cmp dword [rsp + 0x2c], 1
je 0x14001ea77
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x7530
ja 0x14001ea64
cmp dword [rsp + 0x2c], 1
jne 0x14001ea20
jmp 0x14001ea83
lea rcx, str.Service_stop_timed_out._n
call fcn.14000e0d0
mov eax, 0x41d
jmp 0x14001ea85
lea rcx, str.Service_stopped_successfully._n
call fcn.14000e0d0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400f84b0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14001eaa0
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401ff978]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov rbx, rcx
mov qword [rdx], rbp
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14001ead8
call fcn.1400f84e0
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea rsi, [rbx + 0x20]
mov qword [rsp + 0x28], rsi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x14001eba2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xea
jne 0x14001eba4
mov ecx, dword [rsp + 0x30]
call fcn.1400f957c
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14001eb31
mov eax, 0xe
jmp 0x14001eba4
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.140119b70
mov r8, qword [rbx + 0x10]
lea rax, [rsp + 0x30]
mov r9d, dword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x28], rsi
mov qword [rbx + 0x18], r8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x14001eb84
mov rcx, qword [rbx + 0x10]
call fcn.1400f84e0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rsi], ebp
jmp 0x14001eba2
mov dword [rbx + 0x24], ebp
cmp dword [rsi], ebp
ja 0x14001eb90
mov qword [rdi], rbp
jmp 0x14001eba2
mov rcx, qword [rbx + 0x18]
mov rdx, rdi
mov rcx, qword [rcx]
call fcn.14001dbd0
inc dword [rbx + 0x24]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f84b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140021470
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1400214b4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400214a0
ret
Function at 0x140029910
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401ff978]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor r12d, r12d
mov r14d, r12d
mov qword [rsp + 0x50], r12
lea rax, [0x140210e70]
nop dword [rax + rax]
mov rsi, qword [r14 + rax]
cmp byte [rsi + 0x40], 1
je 0x140029974
cmp byte [rsi + 0x40], 3
jne 0x140029aed
mov qword [rsp + 0x60], r12
lea rdx, [rsi + 8]
cmp qword [rdx + 0x18], 8
jb 0x140029987
mov rdx, qword [rdx]
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebp, eax
test eax, eax
jne 0x140029b04
mov rbx, qword [rsi + 0x28]
mov rdi, qword [rsi + 0x30]
cmp rbx, rdi
je 0x140029ad6
cmp byte [rsi + 0x40], 3
jne 0x140029a2a
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x68], r12d
mov r15, qword [rsp + 0x60]
mov r14, qword [rbx]
mov rax, qword [r14]
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [fcn.140007f30]
mov rcx, r14
call rbp
mov rdx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140029ac4
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rbx]
mov rbp, qword [rax]
mov r14, rbp
mov r12, rax
mov qword [rsp + 0x70], rax
mov rbp, qword [rbp + 8]
mov rcx, rbp
call qword [fcn.140007f30]
mov rcx, r12
call rbp
mov r13, rax
mov rbp, qword [r14]
mov rcx, rbp
call qword [fcn.140007f30]
mov rcx, r12
call rbp
mov r12, rax
mov rbp, qword [r14 + 0x10]
mov rcx, rbp
call qword [fcn.140007f30]
mov r15, qword [rsp + 0x70]
mov rcx, r15
call rbp
mov r14d, eax
mov rdx, qword [r15]
mov rbp, qword [rdx + 0x18]
mov rcx, rbp
call qword [fcn.140007f30]
mov rcx, r15
call rbp
mov rdx, rax
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r12
mov r9d, r14d
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
test eax, eax
jne 0x140029b04
xor r12d, r12d
add rbx, 8
cmp rbx, rdi
jne 0x1400299d2
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140029ae6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [0x140210e70]
add r14, 8
mov qword [rsp + 0x50], r14
cmp r14, 0x60
jb 0x140029960
xor eax, eax
jmp 0x140029b1c
call fcn.140029860
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140029b1a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f84b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140029b50
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1401ff978]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp byte [rcx + 0x41], 2
jne 0x140029bc7
cmp qword [rcx + 0x20], 8
lea rdx, [rcx + 8]
mov qword [rsp + 0x30], 0
jb 0x140029b82
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0x1000b
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140029bdc
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov ebx, eax
test eax, eax
jne 0x140029bdc
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140029bc7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f84b0
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140029bec
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f84b0
add rsp, 0x40
pop rbx
ret

Function at 0x14002a2a0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14002a2b9
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
jne 0x14002a357
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
cmp eax, 2
jne 0x14002a31b
xor edi, edi
mov rcx, qword [0x1402005b8]
lea rax, [0x1402005b8]
cmp rcx, rax
je 0x14002a357
test dword [rcx + 0x44], 0x100
je 0x14002a357
cmp byte [rcx + 0x41], 4
jb 0x14002a357
cmp qword [rbx + 0x18], 8
jb 0x14002a302
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
mov r9, rbx
call fcn.14001cf40
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [0x1402005b8]
lea rax, [0x1402005b8]
cmp rcx, rax
je 0x14002a357
test dword [rcx + 0x44], 0x100
je 0x14002a357
cmp byte [rcx + 0x41], 2
jb 0x14002a357
cmp qword [rbx + 0x18], 8
jb 0x14002a347
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
mov r9, rbx
mov dword [rsp + 0x20], edi
call fcn.14002a020
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14002a890
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1401ff978]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r15d, r9d
mov r14d, r8d
mov ebp, edx
mov rsi, rcx
mov rbx, qword [rsp + 0xd0]
cmp qword [rcx + 8], 0
je 0x14002aa35
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor r12d, r12d
mov qword [r11 - 0x38], r12
mov rdx, qword [rbx + 8]
sub rdx, qword [rbx]
sar rdx, 5
test rdx, rdx
je 0x14002a91e
movabs rax, 0x1fffffffffffffff
cmp rdx, rax
jbe 0x14002a914
call fcn.14001d3b0
int3
lea rcx, [rsp + 0x60]
call fcn.14002ad70
mov rdi, qword [rbx + 8]
mov rbx, qword [rbx]
cmp rbx, rdi
je 0x14002a95c
nop word [rax + rax]
cmp qword [rbx + 0x18], 8
jb 0x14002a93c
mov rax, qword [rbx]
jmp 0x14002a93f
mov rax, rbx
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14002afe0
add rbx, 0x20
cmp rbx, rdi
jne 0x14002a930
cmp qword [rsi + 0x20], 0
je 0x14002a985
lea rax, [rsi + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14002a971
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14002afe0
mov r8, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
sub r8, rbx
sar r8, 3
mov r11d, r12d
test r14d, r14d
sete r11b
cmp ebp, 5
ja case.0x14002a9b6.1
lea rdx, [0x140000000]
mov ecx, dword [rdx + rbp*4 + 0x2aa60]
add rcx, rdx
jmp rcx
movzx r10d, r12w
jmp 0x14002a9e4
mov r10d, 2
jmp 0x14002a9e4
mov r10d, 1
jmp 0x14002a9e4
mov r10d, 8
jmp 0x14002a9e4
mov r10d, 0x10
jmp 0x14002a9e4
mov r10d, 4
mov edx, r15d
call fcn.14002a550
mov r9d, eax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], r8w
mov qword [rsp + 0x20], r12
movzx r8d, r11w
movzx edx, r10w
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
nop
test rbx, rbx
je 0x14002aa35
mov r8, qword [rsp + 0x70]
sub r8, rbx
sar r8, 3
mov rdx, rbx
call fcn.14002af00
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f84b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x14002c890
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 8]
mov rdi, rdx
test rsi, rsi
je 0x14002c8fb
lea rbx, [rdx + 8]
test rbx, rbx
je 0x14002c8fb
cmp byte [rcx + 0x4c], 0
je 0x14002c8fb
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x14002c8fb
cmp byte [rdi + 0x4c], 0
je 0x14002c8fb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x14002c8fb
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400497f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [rcx]
mov r10d, 0x270
mov r9, rcx
cmp eax, r10d
jne 0x14004984e
lea r8, [rcx + 8]
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140049810
jmp 0x140049932
cmp eax, 0x4e0
jb 0x140049932
lea r10, [rcx + 0x9c4]
mov r11d, 0xe3
nop word [rax + rax]
mov edx, dword [r10]
xor edx, dword [r10 + 4]
lea r10, [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub r11, 1
jne 0x140049870
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
nop word [rax + rax]
mov edx, dword [r10]
xor edx, dword [r10 + 4]
lea r10, [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub r11, 1
jne 0x1400498c0
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
mov dword [r9], r11d
mov eax, dword [r9]
mov edx, dword [r9 + rax*4 + 4]
inc eax
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
Function at 0x140067e90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1401ff978]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov r10, r8
mov rsi, rdx
mov r9, rcx
mov qword [rsp + 0x20], rcx
movzx ecx, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [r8 + 1]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 2]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 3]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 4]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 5]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 6]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 7]
xor rcx, rax
imul rcx, rdx
mov r8, qword [r9 + 0x30]
and r8, rcx
shl r8, 4
mov rbx, qword [r9 + 0x18]
mov rax, qword [rbx + r8]
cmp rax, qword [r9 + 8]
jne 0x140067f57
mov rbx, qword [r9 + 8]
jmp 0x140067f5f
mov rbx, qword [rbx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x140067fbf
mov rcx, qword [r10]
nop word [rax + rax]
mov rbx, qword [rbx + 8]
cmp rcx, qword [rbx + 0x10]
je 0x140067f81
cmp rbx, rax
jne 0x140067f70
jmp 0x140067fbf
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140067fa8
call fcn.140035350
mov rcx, rdi
call fcn.1400f87f0
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14006804f
mov rax, qword [rdi]
cmp rbx, rax
je 0x140067ff4
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rcx, qword [r9 + 0x18]
add rcx, r8
mov rax, qword [rcx]
cmp rax, qword [r9 + 8]
jne 0x140068012
mov qword [rcx], rdi
mov rax, qword [r9 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x14006803c
cmp rax, rbx
jne 0x14006801c
mov qword [rcx], rdi
jmp 0x14006803c
mov rax, qword [rcx + 8]
mov rdx, qword [rax]
mov qword [rcx + 8], rdx
cmp rdx, rdi
je 0x14006803c
add r8, qword [r9 + 0x18]
mov rax, qword [r8 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + 8], rdx
mov rcx, r9
call fcn.140068e00
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f84b0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400691f0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x10
mov rax, qword [0x1401ff978]
xor rax, rsp
mov qword [rsp], rax
movzx r9d, byte [r8]
mov r11, rdx
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rbx, r8
movzx eax, byte [r8 + 1]
imul r9, rdx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rdx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rdx
xor r9, rax
movzx eax, byte [r8 + 4]
imul r9, rdx
xor r9, rax
movzx eax, byte [r8 + 5]
imul r9, rdx
xor r9, rax
movzx eax, byte [r8 + 6]
imul r9, rdx
xor r9, rax
movzx eax, byte [r8 + 7]
mov r8, qword [rcx + 0x18]
imul r9, rdx
xor r9, rax
imul r9, rdx
mov rdx, qword [rcx + 0x30]
mov rcx, qword [rcx + 8]
and rdx, r9
mov rax, rdx
add rax, rax
add rdx, rdx
mov rax, qword [r8 + rax*8]
mov r9, qword [r8 + rdx*8]
lea r10, [r8 + rdx*8]
cmp r9, rcx
jne 0x1400692ab
mov rdx, rcx
jmp 0x1400692b2
mov rdx, qword [r10 + 8]
mov rdx, qword [rdx]
cmp rax, rdx
je 0x1400692ff
mov rdx, qword [rbx]
cmp qword [rax + 0x10], rdx
je 0x1400692c5
mov rax, qword [rax]
jmp 0x1400692a1
mov rbx, qword [rbx]
mov rdx, rax
nop dword [rax + rax]
cmp r9, rcx
jne 0x1400692da
mov r8, rcx
jmp 0x1400692e1
mov r8, qword [r10 + 8]
mov r8, qword [r8]
cmp rax, r8
je 0x1400692f1
cmp rbx, qword [rax + 0x10]
jne 0x1400692f1
mov rax, qword [rax]
jmp 0x1400692d0
cmp rdx, rax
je 0x1400692ff
mov qword [r11], rdx
mov qword [r11 + 8], rax
jmp 0x140069306
mov qword [r11], rcx
mov qword [r11 + 8], rcx
mov rax, r11
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.1400f84b0
add rsp, 0x10
pop rbx
ret