joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400771c8
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r14, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rcx + 8], ebx
lea rax, vtable.std::time_get_unsigned_short_int__class_std::istreambuf_iterator_unsigned_short_int__struct_std::char_traits_unsigned_short_int___.0
mov qword [rcx], rax
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], rbx
mov qword [rcx + 0x20], rbx
mov qword [r11 + 0x18], rcx
lea rcx, [r11 - 0x58]
call fcn.140069a60
lea r15, [rdi + 0x2c]
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [r15 + 0x20], xmm0
mov eax, dword [rax + 0x28]
mov dword [r15 + 0x28], eax
call fcn.1400d4b5c
mov rbp, rax
lea rsi, [r14 + 8]
test rax, rax
je 0x14007725a
mov rdx, rax
mov rcx, rsi
call fcn.140048e4c
mov rcx, rbp
call fcn.1400be81c
lea rcx, str.:Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:Wednesday:Thu:Thursday:Fri:Friday:Sat:Saturday
cmp qword [rsi], rbx
cmovne rcx, qword [rsi]
mov r8, r15
call fcn.140074b04
mov qword [rdi + 0x10], rax
call fcn.1400d4ca8
mov rbp, rax
lea rsi, [r14 + 0x18]
test rax, rax
je 0x140077298
mov rdx, rax
mov rcx, rsi
call fcn.140048e4c
mov rcx, rbp
call fcn.1400be81c
lea rcx, [0x140134390]
cmp qword [rsi], rbx
cmovne rcx, qword [rsi]
mov r8, r15
call fcn.140074b04
mov qword [rdi + 0x18], rax
mov r8, r15
lea rcx, [0x1401346a0]
call fcn.140074b04
mov qword [rdi + 0x20], rax
mov dword [rsp + 0x90], ebx
call fcn.1400d2f14
mov esi, 2
mov r9d, esi
lea r8, [rsp + 0x90]
lea edx, [rsi + 0x20]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x90]
sub ecx, 0x30
je 0x140077311
sub ecx, 1
je 0x14007730a
cmp ecx, 1
jne 0x140077313
lea ebx, [rsi + 1]
jmp 0x140077313
mov ebx, 1
jmp 0x140077313
mov ebx, esi
mov dword [rdi + 0x28], ebx
mov rax, rdi
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007b4d8
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov rbx, rdx
mov rsi, rcx
xor edi, edi
mov dword [rcx + 8], edi
lea rax, vtable.std::time_get_wchar_t__class_std::istreambuf_iterator_wchar_t__struct_std::char_traits_wchar_t___.0
mov qword [rcx], rax
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x20], rdi
mov qword [r11 + 0x18], rcx
lea rcx, [r11 - 0x38]
call fcn.140069a60
movups xmm0, xmmword [rax]
movups xmmword [rsi + 0x2c], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x3c], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rsi + 0x4c], xmm0
mov eax, dword [rax + 0x28]
mov dword [rsi + 0x54], eax
mov rcx, rbx
call fcn.14006f458
mov rcx, rax
call fcn.14006f71c
mov qword [rsi + 0x10], rax
mov rcx, rbx
call fcn.14006f500
mov rcx, rax
call fcn.14006f71c
mov qword [rsi + 0x18], rax
lea rcx, str.:AM:am:PM:pm
call fcn.14006f71c
mov qword [rsi + 0x20], rax
mov dword [rsp + 0x70], edi
call fcn.1400d2f14
lea ebx, [rdi + 2]
mov r9d, ebx
lea r8, [rsp + 0x70]
lea edx, [rdi + 0x22]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x70]
sub ecx, 0x30
je 0x14007b5b6
sub ecx, 1
je 0x14007b5af
cmp ecx, 1
jne 0x14007b5b8
lea edi, [rbx + 1]
jmp 0x14007b5b8
mov edi, 1
jmp 0x14007b5b8
mov edi, ebx
mov dword [rsi + 0x28], edi
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140088834
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov dword [rax + 8], ecx
push rdi
sub rsp, 0x20
and qword [rdx], 0
lea r8, [rax + 8]
and dword [rax + 8], 0
mov rsi, rdx
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14008895a
call fcn.1400b4f5c
mov ebx, eax
test eax, eax
jns 0x14008895a
cmp eax, 0x800700ea
jne 0x14008895f
mov eax, dword [rsp + 0x30]
mov ecx, 0xffffffff
add rax, rax
cmp rax, rcx
ja 0x140088935
mov ecx, eax
call qword [sym.imp.mpclient.dll_MpAllocMemory]
mov rbx, rax
test rax, rax
je 0x140088910
xor edi, edi
lea r8, [rsp + 0x30]
mov rdx, rax
lea ecx, [rdi + 4]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14008890b
call fcn.1400b4f5c
mov edi, eax
test eax, eax
jns 0x14008890b
mov rcx, qword [0x140158280]
lea rdx, [0x140158280]
cmp rcx, rdx
je 0x1400888fb
test byte [rcx + 0x1c], 1
je 0x1400888fb
mov rcx, qword [rcx + 0x10]
lea r8, [0x140134b20]
mov edx, 0x5e
mov r9d, eax
call fcn.1400059f4
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov eax, edi
jmp 0x140088992
mov qword [rsi], rbx
jmp 0x140088904
mov rcx, qword [0x140158280]
lea rdx, [0x140158280]
mov ebx, 0x8007000e
cmp rcx, rdx
je 0x140088990
test byte [rcx + 0x1c], 1
je 0x140088990
mov edx, 0x5d
jmp 0x14008897d
mov ebx, 0x80070216
mov rcx, qword [0x140158280]
lea rdx, [0x140158280]
cmp rcx, rdx
je 0x140088990
test byte [rcx + 0x1c], 1
je 0x140088990
mov edx, 0x5b
jmp 0x14008897d
mov ebx, 0x8000ffff
mov rcx, qword [0x140158280]
lea rdx, [0x140158280]
cmp rcx, rdx
je 0x140088990
test byte [rcx + 0x1c], 1
je 0x140088990
mov edx, 0x5a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140134b20]
mov r9d, ebx
call fcn.1400059f4
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400889a4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x14015da88]
xor rax, rsp
mov qword [rbp + 0x380], rax
and qword [rcx], 0
lea r8, [rsp + 0x40]
and qword [rsp + 0x38], 0
xor edi, edi
and dword [rsp + 0x30], edi
xorps xmm0, xmm0
mov r14, rdx
mov rsi, rcx
mov r13d, 0x400
xor ebx, ebx
lea r9d, [rdi + 0x10]
mov ecx, r13d
lea edx, [rdi + 0x58]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140088a85
mov eax, 0x800
test word [rsp + 0x4e], ax
je 0x140088a85
lea r9d, [rdi + 2]
mov edx, 0x20001009
lea r8, [rsp + 0x30]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140088a85
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
lea ecx, [r13 - 1]
and ax, cx
cmp ax, 0xd
jne 0x140088a5e
cmp dword [rsp + 0x30], 8
lea eax, [rdi + 0x20]
cmove ebx, eax
jmp 0x140088a80
mov eax, dword [rsp + 0x30]
cmp eax, 0x17
ja 0x140088a71
mov ecx, 0x800c42
bt ecx, eax
jb 0x140088a7b
mov edi, 1
cmp eax, 0xc
jne 0x140088a85
mov ebx, 0x20
mov edi, 1
or ebx, edi
lea rax, [rbp + 0x170]
mov edi, 0x104
xor r9d, r9d
mov dword [rsp + 0x28], edi
mov r8, r14
mov edx, ebx
mov qword [rsp + 0x20], rax
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
test eax, eax
jne 0x140088af0
call fcn.1400b4f5c
mov ebx, eax
mov rcx, qword [0x140158280]
lea rdx, [0x140158280]
cmp rcx, rdx
je 0x140088ae9
test byte [rcx + 0x1c], 1
je 0x140088ae9
mov edx, 0x5f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140134b20]
mov r9d, ebx
call fcn.1400059f4
mov eax, ebx
jmp 0x140088b7b
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], edi
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8, r14
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
test eax, eax
jne 0x140088b3a
call fcn.1400b4f5c
mov ebx, eax
mov rcx, qword [0x140158280]
lea rdx, [0x140158280]
cmp rcx, rdx
je 0x140088ae9
test byte [rcx + 0x1c], 1
je 0x140088ae9
mov edx, 0x60
jmp 0x140088ad6
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x170]
lea rdx, [0x1401203a8]
lea rcx, [rsp + 0x38]
call fcn.1400b4ccc
mov ebx, eax
test eax, eax
jns 0x140088b71
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140088ae9
call fcn.1400e9470
jmp 0x140088ae9
mov rax, qword [rsp + 0x38]
mov qword [rsi], rax
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1400e9450
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x490
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008a89c
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov rax, qword [0x14015da88]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r8
mov rsi, rdx
mov r14, rcx
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x14008a8f8
test byte [rcx + 0x1c], 4
je 0x14008a8f8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140134c48]
mov edx, 0x1b
call fcn.1400056e0
or rbx, 0xffffffffffffffff
mov byte [rsi], 0
xor edi, edi
mov edx, dword [r14 + 8]
mov ecx, 0x18
inc edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x14008a94f
test byte [rcx + 0x1c], 4
je 0x14008a94f
mov rcx, qword [rcx + 0x10]
mov r9, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebp
call fcn.14008a844
cmp rbx, 0xffffffffffffffff
jne 0x14008a9a2
cmp ebp, 0x18
jne 0x14008a95f
cmp edi, 5
jb 0x14008a901
call fcn.1400b4f5c
mov edi, eax
test eax, eax
jns 0x14008a9a2
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x14008a99b
test byte [rcx + 0x1c], 1
je 0x14008a99b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140134c48]
mov edx, 0x1d
mov r9d, edi
call fcn.1400059f4
mov eax, edi
jmp 0x14008aaba
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x434
call fcn.1400eb6e0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x14008aa0c
mov r9d, 8
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
lea rax, [0x14008aaf0]
mov rdx, r15
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 7]
call fcn.1400f7f58
test rax, rax
jne 0x14008aa76
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14008a9cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x14008aa7b
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x14008aa7b
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x14008aa5e
test byte [rcx + 0x1c], 1
je 0x14008aa5e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140134c48]
mov edx, 0x1f
mov r9d, edi
call fcn.1400059f4
cmp rbx, 0xffffffffffffffff
je 0x14008a99b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14008a99b
mov byte [rsi], 1
jmp 0x14008aaa9
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x14008aaa9
test byte [rcx + 0x1c], 4
je 0x14008aaa9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140134c48]
mov edx, 0x20
call fcn.1400056e0
cmp rbx, 0xffffffffffffffff
je 0x14008aab8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400e9450
mov rbx, qword [rsp + 0x4d8]
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008c4f4
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 8]
mov rbx, rcx
test rax, rax
je 0x14008c509
and dword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14008c53f
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14008c53f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14008c53f
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14008c53f
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rdx], ecx
add rsp, 0x20
pop rbx
ret

Function at 0x140092670
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r9
mov rsi, rcx
test rdx, rdx
je 0x14009272e
test r8d, r8d
je 0x14009272e
test r9, r9
je 0x14009272e
mov rcx, qword [rcx + 8]
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov ebx, eax
or ebx, 0x10000000
jge 0x1400926ec
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x1400926e8
test byte [rcx + 0x1c], 1
je 0x1400926e8
mov edx, 0xa
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401354f8]
mov r9d, ebx
call fcn.1400059f4
mov eax, ebx
jmp 0x140092733
mov r8d, dword [rsi + 0x1c]
xor r9d, r9d
mov rcx, qword [rsi + 8]
mov rdx, rdi
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov ebx, eax
or ebx, 0x10000000
jge 0x14009272a
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x1400926e8
test byte [rcx + 0x1c], 1
je 0x1400926e8
mov edx, 0xb
jmp 0x1400926d5
xor eax, eax
jmp 0x140092733
mov eax, 0x80070057
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140099b40
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 1
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rax
call fcn.1400fc570
mov rdi, rax
mov eax, dword [rbx + 0x5c]
cmp dword [rdi + 0x5c], eax
je 0x140099b82
xor al, al
jmp 0x140099c74
mov rax, qword [rdi + 0x14]
cmp rax, qword [rbx + 0x14]
jne 0x140099c6e
mov rax, qword [rdi + 0x1c]
cmp rax, qword [rbx + 0x1c]
jne 0x140099c6e
mov eax, dword [rbx + 0x58]
cmp dword [rdi + 0x58], eax
je 0x140099bad
xor al, al
jmp 0x140099c74
mov eax, dword [rbx + 0x60]
cmp dword [rdi + 0x60], eax
je 0x140099bbc
xor al, al
jmp 0x140099c74
mov eax, dword [rbx + 0x10]
cmp dword [rdi + 0x10], eax
je 0x140099bcb
xor al, al
jmp 0x140099c74
lea rdx, [rdi + 0x28]
lea rcx, [rbx + 0x28]
call fcn.14004dae0
test al, al
je 0x140099be3
xor al, al
jmp 0x140099c74
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rbx + 0x48]
test rcx, rcx
jne 0x140099bf7
test rdx, rdx
jne 0x140099bfc
jmp 0x140099c0c
test rdx, rdx
jne 0x140099c00
xor al, al
jmp 0x140099c74
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x140099c0c
jmp 0x140099c74
mov rcx, qword [rdi + 0x50]
mov rdx, qword [rbx + 0x50]
test rcx, rcx
jne 0x140099c20
test rdx, rdx
jne 0x140099c25
jmp 0x140099c35
test rdx, rdx
jne 0x140099c29
xor al, al
jmp 0x140099c74
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x140099c35
jmp 0x140099c74
mov rdx, qword [rdi + 0x68]
mov rcx, qword [rbx + 0x68]
test rdx, rdx
jne 0x140099c4b
test rcx, rcx
jne 0x140099c50
mov al, 1
jmp 0x140099c74
test rcx, rcx
jne 0x140099c54
xor al, al
jmp 0x140099c74
mov rax, qword [rcx]
movabs r10, 0xf1a836783456b170
mov rax, qword [rax + 0x20]
call qword [case.0x1400bdf0e.0]
nop
jmp 0x140099c74
xor al, al
jmp 0x140099c74
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14009fa44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push r14
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
and qword [rcx], 0
and dword [rcx + 8], 0
lea r14, [rcx + 0x10]
xor edx, edx
lea r8d, [rdx + 0x58]
mov rcx, r14
call fcn.1400eb6e0
mov rcx, qword [rbx]
test rcx, rcx
je 0x14009fa8f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [rbx], 0
mov r8d, 0x20
mov rdx, rdi
mov rcx, rbx
call fcn.1400b45b8
test eax, eax
js 0x14009fc05
lea r8, str.PACKEDBINARY
lea rdx, str.ETWSRC
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14009fc0d
mov rdx, rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14009fc51
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x14009fc5f
mov rdx, rsi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp eax, 8
ja 0x14009fb36
lea rdx, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, rdx
je 0x14009fc9b
test byte [rcx + 0x1c], 1
je 0x14009fc9b
mov edx, 0xb
mov r9d, eax
jmp 0x14009fc8b
mov r9d, dword [rdi]
mov eax, 0x1fa2093b
cmp r9d, eax
je 0x14009fb82
lea rdx, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, rdx
je 0x14009fc9b
test byte [rcx + 0x1c], 1
je 0x14009fc9b
mov edx, 0xc
mov dword [rsp + 0x20], eax
lea r8, [0x140136140]
mov rcx, qword [rcx + 0x10]
call fcn.14009f920
jmp 0x14009fc9b
mov r9d, dword [rdi + 4]
mov dword [rbx + 8], r9d
add rdi, 8
add esi, 0xfffffff8
cmp r9d, esi
jb 0x14009fc6d
mov rcx, r14
call fcn.1400aa410
test eax, eax
jne 0x14009fbc9
mov qword [rbx + 0x50], r14
mov qword [r14], rdi
mov dword [rbx + 0x18], esi
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
lea rdx, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, rdx
je 0x14009fbfa
test byte [rcx + 0x1c], 1
je 0x14009fbfa
mov edx, 0xe
mov r9d, eax
lea r8, [0x140136140]
mov rcx, qword [rcx + 0x10]
call fcn.140005700
mov ecx, 0x8000ffff
call fcn.1400b3d74
int3
mov ecx, eax
call fcn.1400b3d74
int3
call fcn.14009f918
mov ebx, eax
lea rdx, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, rdx
je 0x14009fc49
test byte [rcx + 0x1c], 1
je 0x14009fc49
mov edx, 0xa
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x140136140]
mov rcx, qword [rcx + 0x10]
call fcn.140005648
mov ecx, ebx
call fcn.1400b3d74
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b3e6c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b3e6c
int3
lea rdx, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, rdx
je 0x14009fc9b
test byte [rcx + 0x1c], 1
je 0x14009fc9b
mov edx, 0xd
lea r8, [0x140136140]
mov rcx, qword [rcx + 0x10]
call fcn.140008180
mov ecx, 0x8007070c
call fcn.1400b3d74
int3
Function at 0x1400a14e8
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 [0x14015da88]
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 0x1400a1532
mov eax, 0x80070057
jmp 0x1400a169d
mov dword [r8], r14d
lea r13, [0x140158350]
mov rdi, r14
lea r15, [0x140158280]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400a1559
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp - 0x18], r14
test byte [rdi + r13], 0x20
je 0x1400a1676
mov rcx, qword [rdi + r13 + 8]
test rcx, rcx
je 0x1400a15b7
lea rdx, [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
jne 0x1400a160f
call fcn.1400b4f5c
mov rcx, qword [0x140158280]
cmp rcx, r15
je 0x1400a15af
test byte [rcx + 0x1c], 1
je 0x1400a15af
mov rcx, qword [rcx + 0x10]
lea r8, [0x140136588]
mov edx, 0xb
mov r9d, eax
call fcn.1400059f4
mov ebx, r14d
jmp 0x1400a1676
cmp dword [rdi + r13], 1
jne 0x1400a160f
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 0x1400a16c5
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 0x1400a162c
mov ebx, r14d
jmp 0x1400a166c
call fcn.1400b4f5c
mov ebx, eax
mov rcx, qword [0x140158280]
cmp rcx, r15
je 0x1400a1664
test byte [rcx + 0x1c], 1
je 0x1400a1664
mov rcx, qword [rcx + 0x10]
lea r8, [0x140136588]
mov edx, 0xa
mov r9d, eax
call fcn.1400059f4
mov rcx, qword [0x140158280]
test ebx, ebx
js 0x1400a16fd
cmp dword [rbp - 0x20], r14d
jne 0x1400a16f8
add rdi, 0x10
cmp rdi, 0x90
jb 0x1400a1546
mov eax, dword [rbp - 0x20]
mov dword [rsi], eax
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400a169b
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400e9450
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.1400b4f5c
mov ebx, eax
mov rcx, qword [0x140158280]
cmp rcx, r15
je 0x1400a168c
test byte [rcx + 0x1c], 1
je 0x1400a168c
mov edx, 0xc
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140136588]
call fcn.1400059f4
jmp 0x1400a168c
mov ebx, r14d
jmp 0x1400a1687
cmp rcx, r15
je 0x1400a168c
test byte [rcx + 0x1c], 1
je 0x1400a168c
mov edx, 0xd
mov r9d, ebx
jmp 0x1400a16e6
Function at 0x1400a1c8c
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 0x1400a1cf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x80070005
jne 0x1400a1cf2
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400a1ce3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x1400a1cf2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400a1ccd
xor ecx, ecx
mov eax, ecx
add rsp, 0x20
pop rbx
ret

Function at 0x1400a1cfc
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.1400a1dfc
lea rbp, [0x140158280]
test eax, eax
jns 0x1400a1d54
mov rcx, qword [0x140158280]
cmp rcx, rbp
je 0x1400a1d54
test byte [rcx + 0x1c], 2
je 0x1400a1d54
mov rcx, qword [rcx + 0x10]
lea r8, [0x140136598]
mov edx, 0xe
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005648
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400a1da6
call fcn.1400b4f5c
mov ebx, eax
mov rcx, qword [0x140158280]
cmp rcx, rbp
je 0x1400a1de2
test byte [rcx + 0x1c], 1
je 0x1400a1de2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140136598]
mov dword [rsp + 0x28], eax
mov edx, 0xf
mov r9, rsi
mov qword [rsp + 0x20], rdi
call fcn.1400131d8
jmp 0x1400a1de2
mov rcx, rdi
call fcn.1400a1dfc
mov ebx, eax
test eax, eax
jns 0x1400a1de2
mov rcx, qword [0x140158280]
cmp rcx, rbp
je 0x1400a1de2
test byte [rcx + 0x1c], 1
je 0x1400a1de2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140136598]
mov edx, 0x10
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140005648
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 0x1400a1dfc
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 0x1400a1e5b
call fcn.1400b4f5c
mov ebx, eax
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x1400a1eaa
test byte [rcx + 0x1c], 1
je 0x1400a1eaa
mov rcx, qword [rcx + 0x10]
lea r8, [0x140136598]
mov edx, 0x1c
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005648
jmp 0x1400a1eaa
test dil, 7
je 0x1400a1eaa
and edi, 0xffffb1a8
mov rcx, rsi
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400a1eaa
call fcn.1400b4f5c
mov ebx, eax
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x1400a1eaa
test byte [rcx + 0x1c], 1
je 0x1400a1eaa
mov rcx, qword [rcx + 0x10]
mov r9, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
call fcn.14009f888
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret