joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402cc0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x402d0c
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x402d03
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x402d0e
add rax, 0x28
cmp rax, r9
jne 0x402cf0
xor eax, eax
ret

Function at 0x402d10
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x402da0
mov rdx, qword [0x004058a0]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x402d8e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x402d8e
cmp word [rax + 0x18], 0x20b
jne 0x402d8e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402da0
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x402d79
add r12, 0x28
cmp r12, rsi
je 0x402da0
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x402d70
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x402db0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x004058a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x402dd0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x402dd8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402dd0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x402e25
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x402e1c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402dd0
add rax, 0x28
cmp rax, r9
jne 0x402e08
xor eax, eax
ret

Function at 0x402e30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x004058a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402e50
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x402e58
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x402e50
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x402e70
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x004058a0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x402e90
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x402e98
ret
cmp word [rdx + 0x18], 0x20b
jne 0x402e90
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x402ed8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x402ecf
test rcx, rcx
je 0x402e90
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x402ec0
xor eax, eax
ret

Function at 0x402ee0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x004058a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402f00
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x402f08
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x402f20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x004058a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402f40
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x402f48
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x402f40
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x402f40
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x402f84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402f98
add rax, 0x28
cmp r9, rax
jne 0x402f70
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x402fb0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x004058a0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x402fd2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x402fe0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402fd2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x402fd2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x402fd2
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x40302d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x403040
add rdx, 0x28
cmp r10, rdx
jne 0x403018
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x40304f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x40305f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x403036
test ecx, ecx
jg 0x403048
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001198
Capabilities:
Delete registry key

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x14000123c
mov rbx, qword [rcx]
cmp qword [rdi], 0
je 0x140001215
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
test rax, rax
je 0x140001235
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
test rax, rax
je 0x140001235
and qword [rsp + 0x28], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [0x14001f740]
nop
jmp 0x140001225
cmp dword [rdi + 8], 0
je 0x140001235
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov eax, 1
jmp 0x140001225
cmp byte [0x140033338], 0
jne 0x140001289
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
test rax, rax
je 0x140001275
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov r10, rax
mov qword [0x140033330], rax
jmp 0x14000127c
mov r10, qword [0x140033330]
mov eax, 1
mov byte [0x140033338], al
jmp 0x140001290
mov r10, qword [0x140033330]
mov rdx, rsi
mov rcx, qword [rbx]
test r10, r10
je 0x14000121e
xor r9d, r9d
mov r8d, dword [rbx + 8]
mov rax, r10
call qword [0x14001f740]
nop
jmp 0x140001225

Function at 0x140001490
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140031020]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r9d, dword [rcx + 8]
xor r14d, r14d
mov rsi, rdx
mov qword [rsp + 0x48], r14
mov r8, rdx
mov qword [rsp + 0x40], r14
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x40]
call fcn.140001390
jmp 0x140001502
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140001490
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
jne 0x140001570
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], pe_nt_image_headers64
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400014f3
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001559
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov rdx, rsi
mov dword [rsp + 0x48], r14d
mov rcx, rdi
call fcn.140001198
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x14000157b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140018430
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400015bc
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140031020]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400333b8], eax
jg 0x14000176f
cmp byte [0x1400333bc], 0
jne 0x140001723
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
and qword [rsp + 0x78], rax
and dword [rbp - 0x80], eax
and qword [rbp - 0x78], rax
mov r9d, 0x2011f
lea r8, str.SoftwareMicrosoftTAEFReboot
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x78]
call fcn.140001390
test eax, eax
jne 0x140001713
lea r8, str.Resume_Command
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x70]
call qword [sym.imp.Wex.Common.dll_class_TAEF::Common::String___cdecl_TAEF::Common::RegistryUtilities::QueryStringValue_class_ATL::CRegKey____ptr64__unsigned_short_int_const____ptr64_]
nop
call fcn.140001984
cmp qword [rbp - 0x60], 0
je 0x140001709
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x50], 0x68
xor edx, edx
lea r8d, [rax + 0x60]
lea rcx, [rbp - 0x48]
call fcn.14001a1b0
mov dword [rbp - 0x14], 4
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x200
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001740
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x70]
call fcn.140001d00
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140001723
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140018430
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r9d, 0x5a
lea r8, str.E:BA163_s_srcWex.ServicesResumeTestsManager.cpp
lea rdx, str.Could_not_resume_suspended_test_suite_after_reboot
call fcn.140001a60
nop
lea rcx, [0x1400333b8]
call fcn.140018878
cmp dword [0x1400333b8], 0xffffffff
jne 0x140001606
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov ebx, 1
mov r9d, ebx
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWTTProxyReboot
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400017bf
xor bl, bl
jmp 0x1400017ca
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [0x1400333bc], bl
lea rcx, [0x1400333b8]
call fcn.140018818
jmp 0x140001606
Function at 0x140001eb0
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rdi, rcx
lea rcx, [rax - 0x30]
call qword [sym.imp.Wex.Common.dll_class_std::filesystem::path___cdecl_TAEF::Common::ProcessInformation::GetExecutableFileName_void_]
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.Wex.Common.dll_class_std::filesystem::path___cdecl_TAEF::Common::FileInfo::GetDirectory_class_std::filesystem::path_const____ptr64_]
cmp qword [rax + 0x18], 8
jb 0x140001eed
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.140001d00
nop
lea rcx, [rsp + 0x58]
call fcn.140001d00
test ebx, ebx
je 0x140001fc7
mov rax, qword [rdi + 8]
mov qword [rax + 8], rdi
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x14001f740]
test al, al
je 0x140001f88
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rax, qword [rax]
call qword [0x14001f740]
or ebx, 0xffffffff
mov edx, ebx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x140001f99
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [0x14001f740]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rax, qword [rax]
call qword [0x14001f740]
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r9d, 0x3a
lea r8, str.E:BA163_s_srcWex.ServicesService.cpp
lea rdx, str.Failed_to_wait_for_the_service_to_be_stopped.
call fcn.140001a60
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r9d, 0x2d
lea rdx, str.Failed_to_set_the_current_directory_to_the_executable_directory.
call fcn.1400028d4
int3
Function at 0x140003c4c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
xor r9d, r9d
lea r8d, [r9 + 0x65]
lea rdx, str.HELP_TEXT
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x140003ce2
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140003d09
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140003cc8
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.Wex.Common.dll_public:_void___cdecl_TAEF::Common::String::constructor_char_const____ptr64____ptr64]
nop
cmp qword [rax + 0x18], 8
jb 0x140003caf
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.Wex.Common.dll_void___cdecl_TAEF::Common::Console::Write_unsigned_short_int_const____ptr64_]
nop
lea rcx, [rsp + 0x38]
call fcn.140001d00
add rsp, 0x68
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140004294
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r9d, 0x3b
lea rdx, str.Failed_to_find_the_help_resource__unable_to_display_help_info.
call fcn.140004244
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r9d, 0x3e
lea rdx, str.Failed_to_load_the_help_resource__unable_to_display_help_info.
call fcn.140004244
int3

Function at 0x1400067d0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140031020]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp edx, 4
je 0x140006807
add rcx, 0x10
cmp qword [rcx + 0x18], 8
jb 0x1400067ff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
jmp 0x14000687e
movdqa xmm0, xmmword [0x140026480]
movdqu xmmword [rsp + 0x48], xmm0
xor eax, eax
mov word [rsp + 0x38], ax
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x14001f740]
mov r9, rax
lea r8, str.Running__s...
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.140001cc0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.Wex.Common.dll_void___cdecl_TAEF::Common::Console::WriteLine_unsigned_short_int_const____ptr64_]
nop
lea rcx, [rsp + 0x38]
call fcn.140001d00
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140018430
add rsp, 0x68
ret
Function at 0x140006b08
Capabilities:
Get token privileges

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x140031020]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
mov qword [r11 - 0x28], rcx
and dword [rsp + 0x30], 0
and dword [rsp + 0x48], 0
lea rax, [r11 - 0x20]
mov qword [r11 - 0x48], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140006b69
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140006bde
xor eax, eax
mov qword [rbx], rax
mov ecx, dword [rsp + 0x48]
call fcn.1400186dc
mov qword [rbx], rax
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x48]
mov r8, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140006bc4
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140018430
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140007008
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r9d, 0x37
lea r8, str.E:BA163_s_srcWex.CommonIncToken.h
lea rdx, str.Failed_to_get_the_length_of_the_TokenUser_for_the_specified_token.
call fcn.140001a60
int3
Function at 0x140006e58
Capabilities:
Compare security identifiers
List user accounts for group

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x140031020]
xor rax, rsp
mov qword [rbp + 0x4f], rax
and qword [rbp + 0x3f], 0
mov rdx, rcx
lea rcx, [rbp + 0x3f]
call fcn.140006b08
nop
and qword [rbp + 0x2f], 0
and dword [rbp + 0x37], 0
and dword [rbp + 0x47], 0
and qword [rsp + 0x38], 0
lea rax, [rbp + 0x47]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x37]
mov qword [rsp + 0x28], rax
or dword [rsp + 0x20], 0xffffffff
lea r9, [rbp + 0x2f]
mov r8d, 2
lea rdx, str.Remote_Taef_Users
xor ecx, ecx
call qword [sym.imp.samcli.dll_NetLocalGroupGetMembers]
cmp eax, 0x8ac
je 0x140006f1a
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140006f81
xor ebx, ebx
cmp dword [rbp + 0x37], ebx
jbe 0x140006f1a
mov rax, qword [rbp + 0x2f]
mov rdx, qword [rax + rbx*8]
mov rax, qword [rbp + 0x3f]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x140006f5b
inc ebx
cmp ebx, dword [rbp + 0x37]
jb 0x140006efa
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x140006f2e
call qword [sym.imp.netutils.dll_NetApiBufferFree]
and qword [rbp + 0x2f], 0
mov rcx, qword [rbp + 0x3f]
test rcx, rcx
je 0x140006f3c
call fcn.140018410
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140018430
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbp
ret
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x140006f6f
call qword [sym.imp.netutils.dll_NetApiBufferFree]
and qword [rbp + 0x2f], 0
mov rcx, qword [rbp + 0x3f]
test rcx, rcx
je 0x140006f7d
call fcn.140018410
mov al, 1
jmp 0x140006f3e
lfence
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
lea rcx, [rbp - 1]
call fcn.1400015a4
nop
lea r9, str.Remote_Taef_Users
lea r8, str.Failed_to_get_the_members_of_the__s_group.
lea rdx, [rbp + 0x1f]
mov rcx, rax
call fcn.140001cc0
mov rdx, rax
mov r9d, 0x64
lea r8, str.E:BA163_s_srcWex.ServicesTeRemoteUserGroup.cpp
mov ecx, ebx
call fcn.140001a0c
int3
Function at 0x140008458
Capabilities:
Delete user account group

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140031020]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, str.TeService::AfterUninstall
call qword [sym.imp.Wex.Common.dll_void___cdecl_TAEF::Common::Trace::WriteLine_unsigned_short_int_const____ptr64_]
lea rdx, str.Remote_Taef_Users
xor ecx, ecx
call qword [sym.imp.samcli.dll_NetLocalGroupDel]
mov ebx, eax
test eax, eax
je 0x1400084ae
cmp eax, 0x8ac
jne 0x1400085b1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], rax
and qword [rbp + 0x2f], rax
and dword [rbp + 0x37], eax
and qword [rbp + 0x3f], rax
mov r9d, 0x2001f
lea r8, str.SoftwareMicrosoftTAEFService
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x2f]
call fcn.140001390
cmp eax, 2
je 0x14000853b
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008567
lea rdx, str.StaticEndpoint
lea rcx, [rbp + 0x2f]
call fcn.140015954
lea rdx, str.TestFolder
lea rcx, [rbp + 0x2f]
call fcn.140015954
lea rdx, str.LocalEndpoint
lea rcx, [rbp + 0x2f]
call fcn.140015954
lea rdx, str.LocalOnly
lea rcx, [rbp + 0x2f]
call fcn.140015954
nop
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x14000854a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140018430
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret
lfence
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
lea rcx, [rbp - 0x11]
call fcn.1400015a4
nop
lea r9, str.SoftwareMicrosoftTAEFService
lea r8, str.Failed_to_open_the_TE.Service_registry_key_in_HKLM_s.
lea rdx, [rbp + 0x1f]
mov rcx, rax
call fcn.140001cc0
mov rdx, rax
mov r9d, 0xd3
lea r8, str.E:BA163_s_srcWex.ServicesTeServiceSettings.cpp
mov ecx, ebx
call fcn.140001a0c
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
lea rcx, [rbp - 0x31]
call fcn.1400015a4
nop
lea r9, str.Remote_Taef_Users
lea r8, str.Failed_to_delete_the__s_group
lea rdx, [rbp + 0xf]
mov rcx, rax
call fcn.140001cc0
movzx ecx, bx
or ecx, 0x80070000
test ebx, ebx
cmovle ecx, ebx
mov r9d, 0x3b
lea r8, str.E:BA163_s_srcWex.ServicesTeRemoteUserGroup.cpp
mov rdx, rax
call fcn.140001a0c
int3

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movabs rbx, 0xcbf29ce484222325
xor r8d, r8d
mov r9, rbx
mov ecx, r8d
mov r10, rdx
movabs rdi, 0x100000001b3
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, rdi
cmp rcx, 4
jb 0x14000e06a
mov rdx, rbx
mov rcx, r8
movzx eax, byte [r10 + rcx + 4]
inc rcx
xor rdx, rax
imul rdx, rdi
cmp rcx, 2
jb 0x14000e084
imul r11, r9, 0x1f
mov r9, r8
mov rcx, rbx
movzx eax, byte [r10 + r9 + 6]
inc r9
xor rcx, rax
imul rcx, rdi
cmp r9, 2
jb 0x14000e0a4
lea rax, [rdx + 0x3c1]
add rax, r11
imul rax, rax, 0x1f
add rax, rcx
movzx ecx, byte [r10 + r8 + 8]
inc r8
imul rax, rax, 0x1f
xor rcx, rbx
imul rcx, rdi
add rax, rcx
cmp r8, 8
jne 0x14000e0cb
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret