joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b52ec
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.1400a82a8
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.1400b13b0
mov rcx, rax
call fcn.1400b0a34
mov qword [rsi + 0x10], rax
mov rcx, rbx
call fcn.1400b1458
mov rcx, rax
call fcn.1400b0a34
mov qword [rsi + 0x18], rax
lea rcx, str.:AM:am:PM:pm
call fcn.1400b0a34
mov qword [rsi + 0x20], rax
mov dword [rsp + 0x70], edi
call fcn.14001a6a8
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 0x1400b53ca
sub ecx, 1
je 0x1400b53c3
cmp ecx, 1
jne 0x1400b53cc
lea edi, [rbx + 1]
jmp 0x1400b53cc
mov edi, 1
jmp 0x1400b53cc
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 0x1400c7e18
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 [0x140173950]
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 0x1400c7ef9
mov eax, 0x800
test word [rsp + 0x4e], ax
je 0x1400c7ef9
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 0x1400c7ef9
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
lea ecx, [r13 - 1]
and ax, cx
cmp ax, 0xd
jne 0x1400c7ed2
cmp dword [rsp + 0x30], 8
lea eax, [rdi + 0x20]
cmove ebx, eax
jmp 0x1400c7ef4
mov eax, dword [rsp + 0x30]
cmp eax, 0x17
ja 0x1400c7ee5
mov ecx, 0x800c42
bt ecx, eax
jb 0x1400c7eef
mov edi, 1
cmp eax, 0xc
jne 0x1400c7ef9
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 0x1400c7f64
call fcn.1400fb4fc
mov ebx, eax
mov rcx, qword [0x14016d280]
lea rdx, [0x14016d280]
cmp rcx, rdx
je 0x1400c7f5d
test byte [rcx + 0x1c], 1
je 0x1400c7f5d
mov edx, 0x6a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140145f40]
mov r9d, ebx
call fcn.140044380
mov eax, ebx
jmp 0x1400c7fef
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 0x1400c7fae
call fcn.1400fb4fc
mov ebx, eax
mov rcx, qword [0x14016d280]
lea rdx, [0x14016d280]
cmp rcx, rdx
je 0x1400c7f5d
test byte [rcx + 0x1c], 1
je 0x1400c7f5d
mov edx, 0x6b
jmp 0x1400c7f4a
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x170]
lea rdx, [0x14012dc80]
lea rcx, [rsp + 0x38]
call fcn.1400fb304
mov ebx, eax
test eax, eax
jns 0x1400c7fe5
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400c7f5d
call fcn.140030ba0
jmp 0x1400c7f5d
mov rax, qword [rsp + 0x38]
mov qword [rsi], rax
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140030b80
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x490
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c8018
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 0x1400c813e
call fcn.1400fb4fc
mov ebx, eax
test eax, eax
jns 0x1400c813e
cmp eax, 0x800700ea
jne 0x1400c8143
mov eax, dword [rsp + 0x30]
mov ecx, 0xffffffff
add rax, rax
cmp rax, rcx
ja 0x1400c8119
mov ecx, eax
call qword [sym.imp.mpclient.dll_MpAllocMemory]
mov rbx, rax
test rax, rax
je 0x1400c80f4
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 0x1400c80ef
call fcn.1400fb4fc
mov edi, eax
test eax, eax
jns 0x1400c80ef
mov rcx, qword [0x14016d280]
lea rdx, [0x14016d280]
cmp rcx, rdx
je 0x1400c80df
test byte [rcx + 0x1c], 1
je 0x1400c80df
mov rcx, qword [rcx + 0x10]
lea r8, [0x140145f40]
mov edx, 0x69
mov r9d, eax
call fcn.140044380
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov eax, edi
jmp 0x1400c8176
mov qword [rsi], rbx
jmp 0x1400c80e8
mov ebx, 0x8007000e
mov rcx, qword [0x14016d280]
lea rdx, [0x14016d280]
cmp rcx, rdx
je 0x1400c8174
test byte [rcx + 0x1c], 1
je 0x1400c8174
mov edx, 0x68
jmp 0x1400c8161
mov ebx, 0x80070216
mov rcx, qword [0x14016d280]
lea rdx, [0x14016d280]
cmp rcx, rdx
je 0x1400c8174
test byte [rcx + 0x1c], 1
je 0x1400c8174
mov edx, 0x66
jmp 0x1400c8161
mov ebx, 0x8000ffff
mov rcx, qword [0x14016d280]
lea rdx, [0x14016d280]
cmp rcx, rdx
je 0x1400c8174
test byte [rcx + 0x1c], 1
je 0x1400c8174
mov edx, 0x65
mov rcx, qword [rcx + 0x10]
lea r8, [0x140145f40]
mov r9d, ebx
call fcn.140044380
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400cfadc
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 [0x140173950]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r8
mov rsi, rdx
mov r14, rcx
mov rcx, qword [0x14016d280]
lea rax, [0x14016d280]
cmp rcx, rax
je 0x1400cfb38
test byte [rcx + 0x1c], 4
je 0x1400cfb38
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401464f0]
mov edx, 0x23
call fcn.140044360
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 [0x14016d280]
lea rax, [0x14016d280]
cmp rcx, rax
je 0x1400cfb8f
test byte [rcx + 0x1c], 4
je 0x1400cfb8f
mov rcx, qword [rcx + 0x10]
mov r9, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebp
call fcn.1400cfd24
cmp rbx, 0xffffffffffffffff
jne 0x1400cfbe2
cmp ebp, 0x18
jne 0x1400cfb9f
cmp edi, 5
jb 0x1400cfb41
call fcn.1400fb4fc
mov edi, eax
test eax, eax
jns 0x1400cfbe2
mov rcx, qword [0x14016d280]
lea rax, [0x14016d280]
cmp rcx, rax
je 0x1400cfbdb
test byte [rcx + 0x1c], 1
je 0x1400cfbdb
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401464f0]
mov edx, 0x25
mov r9d, edi
call fcn.140044380
mov eax, edi
jmp 0x1400cfcfb
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x434
call fcn.140032e00
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x1400cfc4c
mov r9d, 8
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
lea rax, [0x1400cfad0]
mov rdx, r15
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 7]
call fcn.14003f798
test rax, rax
jne 0x1400cfcb7
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400cfc0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x12
je 0x1400cfcbc
test eax, eax
jle 0x1400cfc6a
movzx edi, ax
or edi, 0x80070000
test edi, edi
jns 0x1400cfcbc
mov rcx, qword [0x14016d280]
lea rax, [0x14016d280]
cmp rcx, rax
je 0x1400cfc9f
test byte [rcx + 0x1c], 1
je 0x1400cfc9f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401464f0]
mov edx, 0x27
mov r9d, edi
call fcn.140044380
cmp rbx, 0xffffffffffffffff
je 0x1400cfbdb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400cfbdb
mov byte [rsi], 1
jmp 0x1400cfcea
mov rcx, qword [0x14016d280]
lea rax, [0x14016d280]
cmp rcx, rax
je 0x1400cfcea
test byte [rcx + 0x1c], 4
je 0x1400cfcea
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401464f0]
mov edx, 0x28
call fcn.140044360
cmp rbx, 0xffffffffffffffff
je 0x1400cfcf9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140030b80
mov rbx, qword [rsp + 0x4d8]
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d1398
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 0x1400d13ad
and dword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400d13e1
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400d13e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400d13e1
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400d13e1
test eax, eax
jle 0x1400d13df
movzx eax, ax
or eax, 0x80070000
mov dword [rcx], eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400d8a80
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 0x1400d8b3e
test r8d, r8d
je 0x1400d8b3e
test r9, r9
je 0x1400d8b3e
mov rcx, qword [rcx + 8]
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov ebx, eax
or ebx, 0x10000000
jge 0x1400d8afc
mov rcx, qword [0x14016d280]
lea rax, [0x14016d280]
cmp rcx, rax
je 0x1400d8af8
test byte [rcx + 0x1c], 1
je 0x1400d8af8
mov edx, 0xa
mov rcx, qword [rcx + 0x10]
lea r8, [0x140146c38]
mov r9d, ebx
call fcn.140044380
mov eax, ebx
jmp 0x1400d8b43
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 0x1400d8b3a
mov rcx, qword [0x14016d280]
lea rax, [0x14016d280]
cmp rcx, rax
je 0x1400d8af8
test byte [rcx + 0x1c], 1
je 0x1400d8af8
mov edx, 0xb
jmp 0x1400d8ae5
xor eax, eax
jmp 0x1400d8b43
mov eax, 0x80070057
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400dbd3c
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x1400dbe4c
mov eax, dword [rdx + 0x34]
test eax, 0xffffff80
jne 0x1400dbe4c
cmp eax, dword [rcx + 0x5c]
jne 0x1400dbe4c
mov rax, qword [rdx]
cmp rax, qword [rcx + 0x14]
jne 0x1400dbe4c
mov rax, qword [rdx + 8]
cmp rax, qword [rcx + 0x1c]
jne 0x1400dbe4c
mov eax, dword [rdx + 0x30]
test eax, 0xffffffc0
jne 0x1400dbe4c
cmp eax, dword [rcx + 0x58]
jne 0x1400dbe4c
mov ecx, dword [rdx + 0x18]
lea eax, [rcx - 1]
cmp eax, 3
ja 0x1400dbe4c
cmp ecx, dword [rdi + 0x10]
jne 0x1400dbe4c
mov eax, dword [rdi + 0x60]
cmp dword [rdx + 0x38], eax
jne 0x1400dbe4c
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x1400dbe0d
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x1400dbe4c
mov r8d, 0xffff
cmp rax, r8
ja 0x1400dbe4c
movzx ecx, ax
add ecx, ecx
cmp ecx, r8d
ja 0x1400dbe4c
cmp cx, word [rdx]
jne 0x1400dbe4c
lea rcx, [rdi + 0x28]
cmp qword [rcx + 0x18], 8
jb 0x1400dbdfc
mov rcx, qword [rcx]
movzx r8d, word [rdx]
mov rdx, qword [rdx + 8]
call fcn.140033ab0
test eax, eax
jmp 0x1400dbe12
cmp qword [rdx + 0x10], 0
jne 0x1400dbe4c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400dbe27
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1400dbe4c
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1400dbe3a
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1400dbe4c
mov rcx, qword [rbx + 0x20]
mov rdx, qword [rdi + 0x48]
test rcx, rcx
jne 0x1400dbe59
test rdx, rdx
je 0x1400dbe68
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test rdx, rdx
je 0x1400dbe4c
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1400dbe4c
mov rcx, qword [rbx + 0x28]
mov rdx, qword [rdi + 0x50]
test rcx, rcx
jne 0x1400dbe7c
test rdx, rdx
jne 0x1400dbe4c
jmp 0x1400dbe8b
test rdx, rdx
je 0x1400dbe4c
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1400dbe4c
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rdi + 0x68]
test rdx, rdx
je 0x1400dbeca
test rcx, rcx
je 0x1400dbe4c
cmp dword [rdx + 0xc], 0
jbe 0x1400dbed3
mov r8, qword [rcx + 0x28]
sub r8, qword [rcx + 0x20]
mov eax, dword [rdx + 0xc]
sar r8, 3
cmp rax, r8
jne 0x1400dbe4c
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call fcn.140107c30
test al, al
setne al
jmp 0x1400dbe4e
test rcx, rcx
jne 0x1400dbe4c
mov al, 1
jmp 0x1400dbe4e
Function at 0x1400dbee0
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.140107a90
mov rdi, rax
mov eax, dword [rbx + 0x5c]
cmp dword [rdi + 0x5c], eax
je 0x1400dbf22
xor al, al
jmp 0x1400dc009
mov rax, qword [rdi + 0x14]
cmp rax, qword [rbx + 0x14]
jne 0x1400dc003
mov rax, qword [rdi + 0x1c]
cmp rax, qword [rbx + 0x1c]
jne 0x1400dc003
mov eax, dword [rbx + 0x58]
cmp dword [rdi + 0x58], eax
je 0x1400dbf4d
xor al, al
jmp 0x1400dc009
mov eax, dword [rbx + 0x60]
cmp dword [rdi + 0x60], eax
je 0x1400dbf5c
xor al, al
jmp 0x1400dc009
mov eax, dword [rbx + 0x10]
cmp dword [rdi + 0x10], eax
je 0x1400dbf6b
xor al, al
jmp 0x1400dc009
lea rdx, [rdi + 0x28]
lea rcx, [rbx + 0x28]
call fcn.14007f5d0
test al, al
je 0x1400dbf83
xor al, al
jmp 0x1400dc009
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rbx + 0x48]
test rcx, rcx
jne 0x1400dbf97
test rdx, rdx
jne 0x1400dbfff
jmp 0x1400dbfa8
test rdx, rdx
je 0x1400dbfff
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1400dbfa8
jmp 0x1400dc009
mov rcx, qword [rdi + 0x50]
mov rdx, qword [rbx + 0x50]
test rcx, rcx
jne 0x1400dbfbc
test rdx, rdx
jne 0x1400dbffb
jmp 0x1400dbfcd
test rdx, rdx
je 0x1400dbffb
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1400dbfcd
jmp 0x1400dc009
mov rdx, qword [rdi + 0x68]
mov rcx, qword [rbx + 0x68]
test rdx, rdx
jne 0x1400dbfe3
test rcx, rcx
jne 0x1400dbff7
mov al, 1
jmp 0x1400dc009
test rcx, rcx
je 0x1400dbff7
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call fcn.140107c30
nop
jmp 0x1400dc009
xor al, al
jmp 0x1400dc009
xor al, al
jmp 0x1400dc009
xor al, al
jmp 0x1400dc009
xor al, al
jmp 0x1400dc009
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400e7430
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.140032e00
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400e747b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [rbx], 0
mov r8d, 0x20
mov rdx, rdi
mov rcx, rbx
call fcn.1400fa980
test eax, eax
js 0x1400e75f1
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 0x1400e75f9
mov rdx, rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400e763d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x1400e764b
mov rdx, rsi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp eax, 8
ja 0x1400e7522
lea rdx, [0x14016d280]
mov rcx, qword [0x14016d280]
cmp rcx, rdx
je 0x1400e7687
test byte [rcx + 0x1c], 1
je 0x1400e7687
mov edx, 0xb
mov r9d, eax
jmp 0x1400e7677
mov r9d, dword [rdi]
mov eax, 0x1fa2093b
cmp r9d, eax
je 0x1400e756e
lea rdx, [0x14016d280]
mov rcx, qword [0x14016d280]
cmp rcx, rdx
je 0x1400e7687
test byte [rcx + 0x1c], 1
je 0x1400e7687
mov edx, 0xc
mov dword [rsp + 0x20], eax
lea r8, [0x140147dc8]
mov rcx, qword [rcx + 0x10]
call fcn.1400443b4
jmp 0x1400e7687
mov r9d, dword [rdi + 4]
mov dword [rbx + 8], r9d
add rdi, 8
add esi, 0xfffffff8
cmp r9d, esi
jb 0x1400e7659
mov rcx, r14
call fcn.1400f2500
test eax, eax
jne 0x1400e75b5
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, [0x14016d280]
mov rcx, qword [0x14016d280]
cmp rcx, rdx
je 0x1400e75e6
test byte [rcx + 0x1c], 1
je 0x1400e75e6
mov edx, 0xe
mov r9d, eax
lea r8, [0x140147dc8]
mov rcx, qword [rcx + 0x10]
call fcn.140044380
mov ecx, 0x8000ffff
call fcn.1400f9fc4
int3
mov ecx, eax
call fcn.1400f9fc4
int3
call fcn.1400e7dc0
mov ebx, eax
lea rdx, [0x14016d280]
mov rcx, qword [0x14016d280]
cmp rcx, rdx
je 0x1400e7635
test byte [rcx + 0x1c], 1
je 0x1400e7635
mov edx, 0xa
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x140147dc8]
mov rcx, qword [rcx + 0x10]
call fcn.140044694
mov ecx, ebx
call fcn.1400f9fc4
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400fa058
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400fa058
int3
lea rdx, [0x14016d280]
mov rcx, qword [0x14016d280]
cmp rcx, rdx
je 0x1400e7687
test byte [rcx + 0x1c], 1
je 0x1400e7687
mov edx, 0xd
lea r8, [0x140147dc8]
mov rcx, qword [rcx + 0x10]
call fcn.140044380
mov ecx, 0x8007070c
call fcn.1400f9fc4
int3
Function at 0x1400e8ba4
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 [0x140173950]
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 0x1400e8bee
mov eax, 0x80070057
jmp 0x1400e8d5b
mov dword [r8], r14d
lea r13, [0x14016d350]
mov rdi, r14
lea r15, [0x14016d280]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400e8c15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp - 0x18], r14
test byte [rdi + r13], 0x20
je 0x1400e8d34
lea rcx, [0x14016d358]
mov rcx, qword [rdi + rcx]
test rcx, rcx
je 0x1400e8c79
lea rdx, [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
jne 0x1400e8cd5
call fcn.1400fb4fc
mov rcx, qword [0x14016d280]
cmp rcx, r15
je 0x1400e8c71
test byte [rcx + 0x1c], 1
je 0x1400e8c71
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401481e8]
mov edx, 0xb
mov r9d, eax
call fcn.140044380
mov ebx, r14d
jmp 0x1400e8d34
cmp dword [rdi + r13], 1
jne 0x1400e8d34
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 0x1400e8d9d
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 0x1400e8cf2
mov ebx, r14d
jmp 0x1400e8d2e
call fcn.1400fb4fc
mov ebx, eax
mov rcx, qword [0x14016d280]
cmp rcx, r15
je 0x1400e8d2a
test byte [rcx + 0x1c], 1
je 0x1400e8d2a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401481e8]
mov edx, 0xa
mov r9d, eax
call fcn.140044380
mov rcx, qword [0x14016d280]
test ebx, ebx
js 0x1400e8d88
cmp dword [rbp - 0x20], r14d
jne 0x1400e8d83
add rdi, 0x10
cmp rdi, 0xa0
jb 0x1400e8c02
mov eax, dword [rbp - 0x20]
mov dword [rsi], eax
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400e8d59
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140030b80
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
mov ebx, r14d
jmp 0x1400e8d45
cmp rcx, r15
je 0x1400e8d4a
test byte [rcx + 0x1c], 1
je 0x1400e8d4a
mov edx, 0xd
mov r9d, ebx
jmp 0x1400e8dbe
call fcn.1400fb4fc
mov ebx, eax
mov rcx, qword [0x14016d280]
cmp rcx, r15
je 0x1400e8d4a
test byte [rcx + 0x1c], 1
je 0x1400e8d4a
mov edx, 0xc
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401481e8]
call fcn.140044380
jmp 0x1400e8d4a
Function at 0x1400e93c0
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 0x1400e941f
call fcn.1400fb4fc
mov ebx, eax
mov rcx, qword [0x14016d280]
lea rax, [0x14016d280]
cmp rcx, rax
je 0x1400e947a
test byte [rcx + 0x1c], 1
je 0x1400e947a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401481f8]
mov edx, 0x1c
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140044694
jmp 0x1400e947a
test dil, 7
je 0x1400e947a
and edi, 0xffffb1a8
mov rcx, rsi
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400e947a
call fcn.1400fb4fc
mov ebx, eax
mov rcx, qword [0x14016d280]
lea rax, [0x14016d280]
cmp rcx, rax
je 0x1400e947a
test byte [rcx + 0x1c], 1
je 0x1400e947a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401481f8]
mov edx, 0x1d
mov dword [rsp + 0x28], ebx
mov r9, rsi
mov dword [rsp + 0x20], edi
call fcn.140044704
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400e948c
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.1400e93c0
lea rbp, [0x14016d280]
test eax, eax
jns 0x1400e94e4
mov rcx, qword [0x14016d280]
cmp rcx, rbp
je 0x1400e94e4
test byte [rcx + 0x1c], 2
je 0x1400e94e4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401481f8]
mov edx, 0xe
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140044694
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400e9536
call fcn.1400fb4fc
mov ebx, eax
mov rcx, qword [0x14016d280]
cmp rcx, rbp
je 0x1400e9572
test byte [rcx + 0x1c], 1
je 0x1400e9572
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401481f8]
mov dword [rsp + 0x28], eax
mov edx, 0xf
mov r9, rsi
mov qword [rsp + 0x20], rdi
call fcn.140061b5c
jmp 0x1400e9572
mov rcx, rdi
call fcn.1400e93c0
mov ebx, eax
test eax, eax
jns 0x1400e9572
mov rcx, qword [0x14016d280]
cmp rcx, rbp
je 0x1400e9572
test byte [rcx + 0x1c], 1
je 0x1400e9572
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401481f8]
mov edx, 0x10
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140044694
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 0x1400e958c
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 0x1400e95eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400e95b1
movzx eax, ax
or eax, 0x80070000
cmp eax, 0x80070005
jne 0x1400e95ed
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400e95de
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400e95ed
movzx eax, ax
or eax, 0x80070000
jmp 0x1400e95ed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400e95ca
xor eax, eax
add rsp, 0x20
pop rbx
ret