joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140039540
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xf], 0
je 0x140039563
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xe
jb 0x140039550
mov byte [rcx + 0xf], 0
ret

Function at 0x140039570
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x140039593
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x140039580
mov byte [rcx + 6], 0
ret

Function at 0x1400395a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x1400395c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x1400395b0
mov byte [rcx + 0xa], 0
ret

Function at 0x1400395d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x1400395f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 6
jb 0x1400395e0
mov byte [rcx + 7], 0
ret

Function at 0x140039600
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x140039623
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x140039610
mov byte [rcx + 8], 0
ret

Function at 0x140039630
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x140039653
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x140039640
mov byte [rcx + 0x19], 0
ret

Function at 0x140039670
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x140039693
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x140039680
mov byte [rcx + 9], 0
ret

Function at 0x1400396a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x1400396c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x1400396b0
mov byte [rcx + 4], 0
ret

Function at 0x1400396d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x1400396f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x1400396e0
mov byte [rcx + 5], 0
ret
Function at 0x14003a510
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14003a571
lea r8, [r9 + 8]
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 0x14003a530
mov ecx, dword [r9]
jmp 0x14003a658
cmp ecx, 0x4e0
jb 0x14003a658
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
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 rbx, 1
jne 0x14003a590
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
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 rbx, 1
jne 0x14003a5e0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
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
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
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
add rsp, 8
ret
Function at 0x14003bb5c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003bba6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003bba6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003bba6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003bba6
cmp dword [rcx + 0x84], 0xe
jbe 0x14003bba6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003bba8
xor al, al
add rsp, 0x28
ret
Function at 0x140009b50
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, edx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, edi
mov rcx, rbp
mov ebx, eax
call fcn.14002d800
test al, al
je 0x140009bd1
lea esi, [rdi + 0x3a98]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, ebx
cmp esi, ecx
ja 0x140009b99
sub ebx, eax
cmp esi, ebx
jbe 0x140009bbb
mov edx, edi
lea rcx, str.ERROR:_Process_Hand___timeout__u_n
call fcn.140003cb0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x5b4
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, edi
mov rcx, rbp
mov ebx, eax
call fcn.14002d800
test al, al
jne 0x140009b85
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000eb08
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx]
mov rdi, rcx
cmp rbx, rcx
je 0x14000eb7d
mov rsi, qword [rbx + 0x10]
test rsi, rsi
je 0x14000eb72
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000eb69
mov rcx, qword [0x140060048]
lea rax, [0x140060048]
cmp rcx, rax
je 0x14000eb69
test byte [rcx + 0x1c], 1
je 0x14000eb69
mov rcx, qword [rcx + 0x10]
lea r8, [0x140048308]
mov edx, 0xa
mov r9, rsi
call fcn.140008ba4
mov rcx, rsi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000eb22
mov rbx, qword [rdi]
mov esi, 0x18
cmp rbx, rdi
je 0x14000ebb5
mov rdx, qword [rbx]
mov rcx, rbx
mov rbx, rdx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov rdx, rsi
call fcn.140034674
mov rax, qword [rdi + 0x10]
dec rax
mov qword [rdi + 0x10], rax
cmp rbx, rdi
jne 0x14000eb87
jmp 0x14000ebb9
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14000ebe8
mov rbx, qword [rdi]
jmp 0x14000ebe3
mov rdx, qword [rbx]
mov rcx, rbx
mov rbx, rdx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov rdx, rsi
call fcn.140034674
dec qword [rdi + 0x10]
cmp rbx, rdi
jne 0x14000ebc3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140012184
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140062860]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, r8
lea r10, str.Reporting
xor r8d, r8d
mov rdi, rdx
mov rbx, rcx
mov r9, qword [r8 + r10]
mov rax, rdi
sub r9, rdi
movzx ecx, word [rax]
movzx edx, word [rax + r9]
sub ecx, edx
jne 0x1400121cc
add rax, 2
test edx, edx
jne 0x1400121b8
test ecx, ecx
jne 0x1400121f3
mov r9, qword [r8 + r10 + 8]
mov rax, rsi
sub r9, rsi
movzx ecx, word [rax]
movzx edx, word [rax + r9]
sub ecx, edx
jne 0x1400121ef
add rax, 2
test edx, edx
jne 0x1400121db
test ecx, ecx
je 0x14001222e
add r8, 0x10
cmp r8, 0x170
jb 0x1400121ae
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
mov rax, qword [rax + 0x88]
call qword [0x14003b4b0]
test eax, eax
jns 0x140012227
lfence
jmp 0x140012238
cmp dword [rsp + 0x28], 0
je 0x140012233
mov byte [rbx], 1
jmp 0x140012236
mov byte [rbx], 0
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140034650
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001411c
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r14, rdx
mov rdi, rcx
and qword [rax + 8], 0
and qword [rax + 0x18], 0
test rcx, rcx
jne 0x140014233
xor ebx, ebx
mov qword [rax + 0x20], rbx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [0x14004cc90]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140051750]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x14001429f
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x40], rdx
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14003b4b0]
mov esi, eax
test eax, eax
js 0x14001424f
mov rax, qword [rsp + 0x80]
and qword [rsp + 0x80], 0
mov qword [r14], rax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140014208
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14003b4b0]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140014222
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14003b4b0]
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop
mov rbx, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x140014299
jmp 0x140014152
lea rcx, [0x140060048]
mov rdx, qword [0x140060048]
cmp rdx, rcx
je 0x14001428e
test byte [rdx + 0x1c], 1
je 0x14001428e
lfence
mov edx, 0x15
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x14004ccd0]
mov rcx, qword [0x140060048]
mov rcx, qword [rcx + 0x10]
call fcn.14000319c
lfence
mov ecx, esi
call fcn.14002e5b4
nop
call fcn.140013988
nop
lea rcx, [0x140060048]
mov rax, qword [0x140060048]
cmp rax, rcx
je 0x1400142da
test byte [rax + 0x1c], 1
je 0x1400142da
lfence
mov edx, 0x14
mov r9d, esi
lea r8, [0x14004ccd0]
mov rcx, qword [0x140060048]
mov rcx, qword [rcx + 0x10]
call fcn.1400012f0
lfence
mov ecx, esi
call fcn.14002e5b4
int3
Function at 0x140016820
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140062860]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor eax, eax
and dword [rsp + 0x30], eax
mov rsi, rcx
lea rcx, str._nState_of__s_service:_n
mov dword [rsp + 0x58], eax
movups xmmword [rsp + 0x38], xmm0
mov rbp, rdx
xor ebx, ebx
movups xmmword [rsp + 0x48], xmm0
xor edi, edi
call fcn.140003e20
xor edx, edx
lea r8d, [rbx + 1]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
je 0x1400168d6
lea r8d, [rdi + 4]
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x1400168d6
lea rcx, [rsp + 0x30]
mov r9d, 0x24
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x38]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1400168d6
movups xmm0, xmmword [rsp + 0x38]
mov eax, dword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov dword [rsi + 0x20], eax
xor esi, esi
jmp 0x1400168dd
call fcn.14002e738
mov esi, eax
test rdi, rdi
je 0x1400168eb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x1400168f9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140034650
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400254b8
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 8], ecx
push rdi
sub rsp, 0x20
xor ebp, ebp
lea r8, [rax + 8]
mov rsi, rdx
mov qword [rdx], rbp
xor edx, edx
mov dword [rax + 8], ebp
mov ebx, ebp
lea ecx, [rbp + 4]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x1400255e2
call fcn.14002e738
mov edi, eax
test eax, eax
jns 0x1400255e2
cmp eax, 0x800700ea
cmove edi, ebp
test edi, edi
js 0x1400255e7
mov eax, dword [rsp + 0x30]
mov ecx, 0xffffffff
add rax, rax
cmp rax, rcx
ja 0x1400255bd
mov ecx, eax
call qword [sym.imp.mpclient.dll_MpAllocMemory]
mov rbx, rax
neg rax
sbb edi, edi
not edi
and edi, 0x8007000e
test rbx, rbx
jne 0x14002556d
mov rcx, qword [0x140060048]
lea rax, [0x140060048]
cmp rcx, rax
je 0x140025622
test byte [rcx + 0x1c], 1
je 0x140025622
lea edx, [rbp + 0x4c]
jmp 0x140025605
lfence
lea r8, [rsp + 0x30]
mov rdx, rbx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x1400255b2
call fcn.14002e738
mov edi, eax
test eax, eax
jns 0x1400255b2
mov rcx, qword [0x140060048]
lea rax, [0x140060048]
cmp rcx, rax
je 0x140025622
test byte [rcx + 0x1c], 1
je 0x140025622
mov edx, 0x4d
jmp 0x140025605
mov rax, rbx
mov rbx, rbp
mov qword [rsi], rax
jmp 0x140025622
mov rcx, qword [0x140060048]
lea rax, [0x140060048]
mov edi, 0x80070216
cmp rcx, rax
je 0x140025622
test byte [rcx + 0x1c], 1
je 0x140025622
mov edx, 0x4a
jmp 0x140025605
mov edi, 0x8000ffff
mov rcx, qword [0x140060048]
lea rax, [0x140060048]
cmp rcx, rax
je 0x140025622
test byte [rcx + 0x1c], 1
je 0x140025622
mov edx, 0x49
lfence
mov rcx, qword [0x140060048]
lea r8, [0x140051cb0]
mov r9d, edi
mov rcx, qword [rcx + 0x10]
call fcn.1400012f0
test rbx, rbx
je 0x140025630
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140025648
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x140062860]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor ebx, ebx
lea r8, [rsp + 0x40]
and qword [rcx], rbx
xorps xmm0, xmm0
and dword [rsp + 0x30], ebx
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x38], rbx
mov r13d, 0x400
lea r9d, [rbx + 0x10]
lea edx, [rbx + 0x58]
mov ecx, r13d
xor esi, esi
xor edi, edi
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14002572f
mov eax, 0x800
test word [rsp + 0x4e], ax
je 0x14002572f
lea r9d, [rbx + 2]
mov edx, 0x20001009
lea r8, [rsp + 0x30]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14002572f
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
lea ecx, [r13 - 1]
and ax, cx
cmp ax, 0xd
jne 0x140025708
cmp dword [rsp + 0x30], 8
lea eax, [rbx + 0x20]
cmove edi, eax
jmp 0x14002572a
mov eax, dword [rsp + 0x30]
cmp eax, 0x17
ja 0x14002571b
mov ecx, 0x800c42
bt ecx, eax
jb 0x140025725
mov esi, 1
cmp eax, 0xc
jne 0x14002572f
mov edi, 0x20
mov esi, 1
or edi, esi
lea rax, [rbp + 0x170]
mov esi, 0x104
xor r9d, r9d
mov dword [rsp + 0x28], esi
mov r8, r15
mov edx, edi
mov qword [rsp + 0x20], rax
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
test eax, eax
jne 0x14002578a
call fcn.14002e738
mov edi, eax
mov rcx, qword [0x140060048]
lea rax, [0x140060048]
cmp rcx, rax
je 0x14002581b
test byte [rcx + 0x1c], 1
je 0x14002581b
mov edx, 0x4e
jmp 0x1400257d2
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], esi
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8, r15
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
test eax, eax
jne 0x1400257e7
call fcn.14002e738
mov edi, eax
mov rcx, qword [0x140060048]
lea rax, [0x140060048]
cmp rcx, rax
je 0x14002581b
test byte [rcx + 0x1c], 1
je 0x14002581b
mov edx, 0x4f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140051cb0]
mov r9d, edi
call fcn.1400012f0
jmp 0x14002581b
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x170]
lea rdx, str._ls__ls
lea rcx, [rsp + 0x38]
call fcn.14002e7c4
mov edi, eax
test eax, eax
jns 0x140025811
mov rbx, qword [rsp + 0x38]
jmp 0x14002581b
mov rax, qword [rsp + 0x38]
xor edi, edi
mov qword [r14], rax
test rbx, rbx
je 0x140025828
mov rcx, rbx
call fcn.140034674
mov eax, edi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140034650
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x1400273d4
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140062860]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
mov rsi, r8
mov dword [rbp - 0x20], r14d
mov ebx, r14d
mov qword [rbp - 0x18], r14
test r8, r8
jne 0x14002741e
mov eax, 0x80070057
jmp 0x140027589
mov dword [r8], r14d
lea r13, [0x1400600e0]
mov rdi, r14
lea r15, [0x140060048]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140027445
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp - 0x18], r14
test byte [rdi + r13], 0x20
je 0x140027562
mov rcx, qword [rdi + r13 + 8]
test rcx, rcx
je 0x1400274a3
lea rdx, [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
jne 0x1400274fb
call fcn.14002e738
mov rcx, qword [0x140060048]
cmp rcx, r15
je 0x14002749b
test byte [rcx + 0x1c], 1
je 0x14002749b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400520b8]
mov edx, 0xb
mov r9d, eax
call fcn.1400012f0
mov ebx, r14d
jmp 0x140027562
cmp dword [rdi + r13], 1
jne 0x1400274fb
lea rax, [rbp - 0x18]
mov dword [rbp - 0x10], r14d
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], r14d
mov r9d, 0x220
mov dword [rsp + 0x40], r14d
mov r8d, 0x20
mov dword [rsp + 0x38], r14d
mov dl, 2
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400275b1
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
mov dword [rbp - 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140027518
mov ebx, r14d
jmp 0x140027558
call fcn.14002e738
mov ebx, eax
mov rax, qword [0x140060048]
cmp rax, r15
je 0x140027550
test byte [rax + 0x1c], 1
je 0x140027550
mov rcx, qword [rax + 0x10]
lea r8, [0x1400520b8]
mov edx, 0xa
mov r9d, ebx
call fcn.1400012f0
mov rax, qword [0x140060048]
test ebx, ebx
js 0x1400275e9
cmp dword [rbp - 0x20], r14d
jne 0x1400275e4
add rdi, 0x10
cmp rdi, 0x90
jb 0x140027432
mov eax, dword [rbp - 0x20]
mov dword [rsi], eax
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140027587
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140034650
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.14002e738
mov ebx, eax
mov rcx, qword [0x140060048]
cmp rcx, r15
je 0x140027578
test byte [rcx + 0x1c], 1
je 0x140027578
mov edx, 0xc
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400520b8]
call fcn.1400012f0
jmp 0x140027578
mov ebx, r14d
jmp 0x140027573
cmp rax, r15
je 0x140027578
test byte [rax + 0x1c], 1
je 0x140027578
lfence
mov rcx, qword [0x140060048]
mov edx, 0xd
mov r9d, ebx
jmp 0x1400275d2
Function at 0x14002817c
Capabilities:
Delete file
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400281e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x80070005
jne 0x1400281e2
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400281d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x1400281e2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400281bd
xor ecx, ecx
mov eax, ecx
add rsp, 0x20
pop rbx
ret

Function at 0x1400281ec
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
call fcn.1400282fc
lea rbp, [0x140060048]
test eax, eax
jns 0x14002824e
mov rdx, qword [0x140060048]
cmp rdx, rbp
je 0x14002824e
test byte [rdx + 0x1c], 2
je 0x14002824e
lfence
mov rcx, qword [0x140060048]
lea r8, [0x140052130]
mov edx, 0xe
mov dword [rsp + 0x20], eax
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.14000319c
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14002829d
call fcn.14002e738
mov ebx, eax
mov rcx, qword [0x140060048]
cmp rcx, rbp
je 0x1400282e3
test byte [rcx + 0x1c], 1
je 0x1400282e3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140052130]
mov dword [rsp + 0x28], eax
mov edx, 0xf
mov r9, rsi
mov qword [rsp + 0x20], rdi
call fcn.14000a488
jmp 0x1400282e3
mov rcx, rdi
call fcn.1400282fc
mov ebx, eax
test eax, eax
jns 0x1400282e3
mov rax, qword [0x140060048]
cmp rax, rbp
je 0x1400282e3
test byte [rax + 0x1c], 1
je 0x1400282e3
lfence
mov rcx, qword [0x140060048]
lea r8, [0x140052130]
mov edx, 0x10
mov dword [rsp + 0x20], ebx
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.14000319c
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400282fc
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14002835b
call fcn.14002e738
mov ebx, eax
mov rcx, qword [0x140060048]
lea rax, [0x140060048]
cmp rcx, rax
je 0x1400283aa
test byte [rcx + 0x1c], 1
je 0x1400283aa
mov rcx, qword [rcx + 0x10]
lea r8, [0x140052130]
mov edx, 0x16
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.14000319c
jmp 0x1400283aa
test dil, 7
je 0x1400283aa
and edi, 0xffffb1a8
mov rcx, rsi
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400283aa
call fcn.14002e738
mov ebx, eax
mov rcx, qword [0x140060048]
lea rax, [0x140060048]
cmp rcx, rax
je 0x1400283aa
test byte [rcx + 0x1c], 1
je 0x1400283aa
mov rcx, qword [rcx + 0x10]
mov r9, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
call fcn.1400280ec
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret