joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3778
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rsp + 0x70]
xor ebp, ebp
mov dword [rsp + 0x70], eax
mov rsi, r9
mov r10, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1400a37a7
mov r10, qword [rcx]
lea rax, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x30], rax
mov rcx, r10
mov qword [rsp + 0x28], r9
lea rax, [rsp + 0x58]
mov r9d, 0xffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [rsp + 0x58]
mov r8d, 2
mov ebx, eax
cmp dword [rsp + 0x70], r8d
jae 0x1400a37ee
lea ecx, [rdx - 1]
cmp ecx, 1
cmovbe ebx, r8d
cmp ebx, 0x3f2
je 0x1400a384a
cmp ebx, 0x3fa
je 0x1400a384a
cmp ebx, 6
je 0x1400a384a
test ebx, ebx
jne 0x1400a3840
lea eax, [rdx - 1]
cmp eax, 1
ja 0x1400a381f
mov eax, dword [rsp + 0x70]
shr rax, 1
mov word [rsi + rax*2 - 2], bp
mov edx, dword [rsp + 0x58]
movzx ecx, byte [rsp + 0x78]
cmp edx, ecx
je 0x1400a3840
sub edx, 1
je 0x1400a3838
cmp edx, 1
jne 0x1400a383d
cmp ecx, edx
jne 0x1400a383d
jmp 0x1400a3840
cmp ecx, r8d
je 0x1400a3840
mov ebx, r8d
mov rcx, rdi
call fcn.1400a4154
jmp 0x1400a3859
mov rdx, rdi
lea rcx, [0x14033eaa0]
call fcn.1400a3008
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400a3870
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor r14d, r14d
mov r12, r9
mov esi, r14d
mov r13d, r8d
mov rbp, rcx
or edi, 0xffffffff
test esi, esi
jne 0x1400a38b9
cmp dword [0x14033e590], r14d
je 0x1400a3a03
lea r15d, [rdi + 3]
jmp 0x1400a38d5
cmp esi, 1
jne 0x1400a3a03
mov rcx, rbp
call fcn.1400a3140
test al, al
je 0x1400a3a03
mov r15d, r14d
cmp dword [0x14033e5c0], r14d
mov bl, r14b
je 0x1400a38f0
lea rcx, [0x14033f088]
mov bl, 1
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsp + 0x40], r14
movzx r9d, word [rbp + 0x18]
lea r8, [rsp + 0x40]
mov rcx, qword [rbp + 0x10]
lea rdx, [rsp + 0x38]
shr r9d, 1
and r9d, 0x10
mov qword [rsp + 0x20], r14
or r9d, r15d
mov qword [rsp + 0x38], r14
call fcn.1400a2174
mov edi, eax
test eax, eax
jne 0x1400a39e9
mov rcx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
mov dword [r12], r13d
test rcx, rcx
jne 0x1400a3941
mov rcx, qword [r14]
mov rax, qword [rsp + 0x88]
lea r9, [rsp + 0x30]
mov rdx, qword [rsp + 0xa0]
xor r8d, r8d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp eax, 0x3f2
je 0x1400a397e
cmp eax, 0x3fa
je 0x1400a397e
cmp eax, 6
jne 0x1400a39b0
mov rax, qword [rbp + 0x10]
mov rdx, r14
movzx ecx, word [rax + 0xa]
and ecx, 0xf
lea rax, [rcx + rcx*2]
lea rcx, [0x140331750]
and qword [rcx + rax*8], 0
lea rcx, [0x14033eaa0]
call fcn.1400a3008
xor r14d, r14d
jmp 0x1400a38f5
mov rcx, r14
call fcn.1400a4154
xor r14d, r14d
test edi, edi
jne 0x1400a39e9
movzx ecx, word [rbp + 0x18]
mov eax, ecx
and eax, 0xf
cmp dword [rsp + 0x30], eax
je 0x1400a3a2e
cmp dword [rsp + 0x30], 3
jne 0x1400a39e4
cmp dword [r12], 4
jne 0x1400a39e4
and cl, 0xf
cmp cl, 4
je 0x1400a3a2e
mov edi, 2
cmp dword [0x14033e5c0], r14d
je 0x1400a3a03
test bl, bl
je 0x1400a3a03
lea rcx, [0x14033f088]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc esi
cmp esi, 2
jl 0x1400a389f
mov eax, edi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rsp + 0xa8]
mov dword [rax], 1
cmp dword [0x14033e5c0], r14d
je 0x1400a3a56
test bl, bl
je 0x1400a3a56
lea rcx, [0x14033f088]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1400a3a10
Function at 0x1400a4478
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rsi, rcx
mov rax, qword [rcx + 0x10]
test byte [rax + 0xa], 0xf
je 0x1400a44a5
mov eax, 0xa0
jmp 0x1400a45b8
and qword [rsp + 0x68], 0
xor bl, bl
mov byte [rsp + 0x60], bl
cmp dword [0x14033e5c0], 0
je 0x1400a44ce
mov bl, 1
mov byte [rsp + 0x60], bl
lea rcx, [0x14033f088]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
movzx r9d, word [rsi + 0x18]
shr r9d, 1
and r9d, 0x10
mov rcx, qword [rsi + 0x10]
and qword [rsp + 0x20], 0
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rcx + 0xc]
call fcn.1400a2174
mov edi, eax
test eax, eax
jne 0x1400a459c
mov rdx, qword [rsi + 0x10]
mov rdx, qword [rdx]
mov r14, qword [rsp + 0x68]
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp eax, 0x3f2
je 0x1400a4529
cmp eax, 0x3fa
je 0x1400a4529
cmp eax, 6
jne 0x1400a4580
mov rax, qword [rsi + 0x10]
movzx ecx, word [rax + 0xa]
and ecx, 0xf
lea rax, [rcx + rcx*2]
lea rcx, [0x140331750]
and qword [rcx + rax*8], 0
mov rdx, r14
lea rcx, [0x14033eaa0]
call fcn.1400a3008
and qword [rsp + 0x68], 0
cmp dword [0x14033e5c0], 0
je 0x1400a44ab
test bl, bl
je 0x1400a44ab
lea rcx, [0x14033f088]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400a44ab
mov rcx, r14
call fcn.1400a4154
xor r8d, r8d
mov rdx, qword [rsi + 0x10]
lea rcx, [0x14033eaa0]
call fcn.1400a2f5c
nop
cmp dword [0x14033e5c0], 0
je 0x1400a45b6
test bl, bl
je 0x1400a45b6
lea rcx, [0x14033f088]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400a45c8
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov r14, rcx
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
xor bl, bl
mov byte [rsp + 0x60], bl
cmp dword [0x14033e5c0], 0
je 0x1400a460f
mov bl, 1
mov byte [rsp + 0x60], bl
lea rcx, [0x14033f088]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
movzx r9d, word [r14 + 0x18]
shr r9d, 1
and r9d, 0x10
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
mov rcx, qword [r14 + 0x10]
call fcn.1400a2174
mov edi, eax
test eax, eax
jne 0x1400a46df
mov rdx, qword [r14]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
test rdx, rdx
jne 0x1400a465c
test rcx, rcx
jne 0x1400a4658
mov rcx, qword [rsi]
xor edx, edx
jmp 0x1400a4664
test rcx, rcx
jne 0x1400a4664
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
cmp eax, 0x3f2
je 0x1400a467f
cmp eax, 0x3fa
je 0x1400a467f
cmp eax, 6
jne 0x1400a46d6
mov rax, qword [r14 + 0x10]
movzx ecx, word [rax + 0xa]
and ecx, 0xf
lea rax, [rcx + rcx*2]
lea rcx, [0x140331750]
and qword [rcx + rax*8], 0
mov rdx, rsi
lea rcx, [0x14033eaa0]
call fcn.1400a3008
and qword [rsp + 0x68], 0
cmp dword [0x14033e5c0], 0
je 0x1400a45ec
test bl, bl
je 0x1400a45ec
lea rcx, [0x14033f088]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400a45ec
mov rcx, rsi
call fcn.1400a4154
nop
cmp dword [0x14033e5c0], 0
je 0x1400a46f9
test bl, bl
je 0x1400a46f9
lea rcx, [0x14033f088]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x1400a4dd4
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x60
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rdi, r9
mov rsi, r8
mov r14d, edx
mov rbx, rcx
call fcn.1400a43a4
test eax, eax
jne 0x1400a4e10
mov eax, 2
jmp 0x1400a4ea6
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400a50fc
mov ebx, eax
test eax, eax
je 0x1400a4e42
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a4e3e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400a4ea6
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov edx, r14d
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test rbx, rbx
je 0x1400a4e9d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1400a4ea6
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x1400a4ec0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x60
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rdi, r9
mov rsi, r8
mov r14d, edx
mov rbx, rcx
call fcn.1400a43a4
test eax, eax
jne 0x1400a4efc
mov eax, 2
jmp 0x1400a4f92
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400a50fc
mov ebx, eax
test eax, eax
je 0x1400a4f2e
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a4f2a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400a4f92
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov edx, r14d
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test rbx, rbx
je 0x1400a4f89
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1400a4f92
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret

Function at 0x1400a51e4
Capabilities:
Delete registry key

Disassembly:
push rdi
sub rsp, 0x20
and qword [rsp + 0x40], 0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
call fcn.1400a50fc
mov edi, eax
test eax, eax
jne 0x1400a5213
mov rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov edi, eax
cmp qword [rsp + 0x40], 0
je 0x1400a5226
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x1400a607c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 1
mov rbx, rcx
lea r8d, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x1400a60dd
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1400a60dd
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400a60dd
cmp word [rax + 2], si
je 0x1400a60dd
cmp dword [rax + 0x28], 0xfeef04bd
jne 0x1400a60dd
add rax, 0x30
jmp 0x1400a60e4
lea rax, [0x1402404b0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a6348
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x20]
lea r8, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1400a6382
mov rax, qword [rsp + 0x50]
shr rax, 0x14
mov dword [rbx + 4], eax
mov rax, qword [rsp + 0x58]
shr rax, 0x14
mov dword [rbx], eax
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x1400a6ee8
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x102
ja 0x1400a6f2d
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400a6348
jmp 0x1400a6f2f
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140135130
add rsp, 0x240
pop rbx
ret

Function at 0x1400a6f48
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov dword [rcx], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, eax
test eax, eax
jne 0x1400a6f6e
mov ecx, 0x323658
jmp 0x1400a6f89
cmp dword [rbx + 4], 6
jae 0x1400a6f7e
mov ecx, 0x323659
call fcn.140175954
cmp dword [rbx + 0x10], 2
je 0x1400a6f8e
mov ecx, 0x32365a
call fcn.140175954
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a6fd8
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
and qword [rcx], 0
lea r8, [rax + 8]
and dword [rax + 8], 0
mov esi, edx
mov rbx, rcx
xor edx, edx
mov ecx, esi
call sub.Secur32.dll_GetUserNameExW
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1400a706c
mov eax, dword [rsp + 0x30]
cmp rax, 0x3fffffff
ja 0x1400a7021
lea rcx, [rax + rax]
jmp 0x1400a7025
or rcx, 0xffffffffffffffff
xor edx, edx
call fcn.14000e524
mov rdi, rax
test rax, rax
je 0x1400a706c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400a7045
and qword [rbx], 0
call fcn.14000e530
lea r8, [rsp + 0x30]
mov qword [rbx], rdi
mov rdx, rdi
mov ecx, esi
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x1400a706c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400a706c
and qword [rbx], 0
call fcn.14000e530
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400aa654
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
test dl, dl
je 0x1400aa699
test rcx, rcx
je 0x1400aa675
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
and qword [rsp + 0x28], 0
lea r8, [0x1400aa784]
and dword [rsp + 0x20], 0
mov r9, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1400aa76a
and qword [rsp + 0x50], 0
call fcn.1400ae730
test eax, eax
je 0x1400aa774
sub eax, 1
je 0x1400aa6ed
cmp eax, 1
je 0x1400aa6c5
mov dword [0], 1
xor ecx, ecx
int 0x29
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400aa6db
and qword [rsp + 0x50], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call fcn.1400a8e7c
mov rcx, rsi
mov rbx, rax
mov rdi, qword [rax]
call fcn.1400a9b3c
mov r8, rax
lea r9, [rsp + 0x50]
mov edx, 0x2820
mov rcx, rbx
call qword [rdi + 0x18]
test eax, eax
jns 0x1400aa746
call fcn.1400a8e7c
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x58]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x1400aa6ca
test rcx, rcx
je 0x1400aa73f
and qword [rsp + 0x50], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, 1
jmp 0x1400aa6dd
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0xd0]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400aa76a
and qword [rsp + 0x50], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, 2
jmp 0x1400aa6dd
mov dword [0], 1
xor ecx, ecx
int 0x29
nop
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400b93c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
test byte [0x14033f480], 0x20
mov rbx, rcx
je 0x1400b93ea
mov rcx, qword [0x14033f488]
mov r9d, r8d
mov r8d, edx
lea rdx, [0x140241c68]
call fcn.1400d7318
mov ecx, 0x1c135e
call fcn.140175954
prefetchw byte [rbx + 0x10]
mov rax, qword [rbx + 0x10]
mov r8d, 0x7f000
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x30]
mov ecx, edx
shr ecx, 0xc
dec ecx
shl ecx, 0xc
xor ecx, edx
and ecx, r8d
xor edx, ecx
mov dword [rsp + 0x30], edx
mov rcx, qword [rsp + 0x30]
lock cmpxchg qword [rbx + 0x10], rcx
je 0x1400b945a
mov edx, eax
mov qword [rsp + 0x30], rax
shr edx, 0xc
mov rcx, rax
dec edx
shl edx, 0xc
xor edx, eax
and edx, r8d
xor edx, eax
mov dword [rsp + 0x30], edx
mov rdx, qword [rsp + 0x30]
lock cmpxchg qword [rbx + 0x10], rdx
cmp rax, rcx
jne 0x1400b942d
add rsp, 0x20
pop rbx
ret
Function at 0x1400bdc14
Capabilities:
Encode data using xor

Disassembly:
prefetchw byte [rcx + 0x20]
mov edx, dword [rcx + 0x20]
mov r8d, edx
mov eax, edx
and r8d, 0xffffc000
add r8d, 0x4000
xor r8d, edx
and r8d, 0xfffc000
xor edx, r8d
lock cmpxchg dword [rcx + 0x20], edx
mov edx, eax
jne 0x1400bdc1b
ret

Function at 0x1400bee98
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
and qword [rsp + 0x58], 0
mov rbx, rcx
cmp byte [rcx + 0x10], 0
je 0x1400beebd
mov edi, 0x80004005
jmp 0x1400befd3
mov eax, dword [rcx + 0x58]
cmp eax, dword [rcx + 0x54]
ja 0x1400beeec
lea edx, [rax + 5]
add rcx, 0x48
shl rdx, 3
call fcn.14000e538
test rax, rax
jne 0x1400beee4
mov edi, 0x8007000e
jmp 0x1400befd3
add dword [rbx + 0x58], 5
mov qword [rbx + 0x48], rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400befe4
mov edi, eax
test eax, eax
js 0x1400befa5
cmp qword [rbx + 0x60], 0
jne 0x1400bef14
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbx + 0x60], rax
mov rsi, qword [rsp + 0x58]
lock inc dword [rsi + 0xc24]
mov rbp, qword [rsp + 0x58]
lea r8, [0x1400bf4b8]
mov r9, rbp
xor edx, edx
xor ecx, ecx
lea rax, [rbp + 0xbf8]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1400bef80
or eax, 0xffffffff
lock xadd dword [rsi + 0xc24], eax
mov rbx, qword [rsp + 0x58]
cmp eax, 1
jne 0x1400bef79
test rbx, rbx
je 0x1400bef79
mov rcx, rbx
call fcn.1400be9b4
mov rcx, rbx
call fcn.14000e530
mov edi, 0x80004005
jmp 0x1400befaa
mov qword [rbp + 0xbf0], rax
mov ecx, dword [rbx + 0x54]
mov rax, qword [rbx + 0x48]
mov qword [rax + rcx*8], rbp
mov eax, 0x3e
inc dword [rbx + 0x54]
and qword [rsp + 0x58], 0
lock xadd dword [rbx + 0x50], eax
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400befd3
or eax, 0xffffffff
lock xadd dword [rbx + 0xc24], eax
cmp eax, 1
jne 0x1400befd3
mov rcx, qword [rsp + 0x58]
call fcn.1400be9b4
mov rcx, qword [rsp + 0x58]
call fcn.14000e530
mov eax, edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c3248
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x38], rcx
test dl, dl
je 0x1400c327c
mov edx, 1
mov dword [rbp - 0x3c], 0x20
mov dword [rbp - 0x40], edx
jmp 0x1400c32a7
mov qword [rbp - 0x40], 0x20001
mov edx, 3
mov qword [rbp - 0x30], 0x60001
mov qword [rbp - 0x28], rcx
mov dword [rbp - 0x20], reloc.Cabinet.dll_FCIFlushCabinet
mov dword [rbp - 0x1c], 0x20
mov qword [rbp - 0x18], rcx
mov r8d, 0x10
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
setne al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x1400d5444
Capabilities:
Check mutex on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x468
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rax, qword [rsp + 0x4d8]
mov rdi, rcx
mov r12, qword [rsp + 0x4d0]
mov r15d, dword [rsp + 0x4e0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], r9d
mov qword [rsp + 0x40], r8
test rcx, rcx
jne 0x1400d549f
xor eax, eax
jmp 0x1400d55bd
and qword [rcx], 0
mov r8, rdx
mov ebx, 1
lea rcx, [rsp + 0x50]
mov edx, 0x400
mov dword [rsp + 0x20], ebx
mov r9d, r15d
call fcn.1400d6f90
xor ebp, ebp
mov esi, r15d
and dword [rsp + 0x30], ebp
mov r14, rax
shr esi, 0x1a
not esi
and esi, ebx
test r14, r14
je 0x1400d54f2
mov edx, r15d
mov r8, r14
shr edx, 0x17
mov ecx, 0x120001
and edx, ebx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rdi], rax
cmp qword [rdi], rbp
jne 0x1400d5569
test esi, esi
je 0x1400d5569
mov r8d, ebx
lea rdx, [rsp + 0x38]
mov ecx, r15d
xor r13d, r13d
call fcn.1400d6af4
test eax, eax
je 0x1400d5559
mov rcx, qword [rsp + 0x38]
mov edx, r15d
shr edx, 0x19
mov r8, r14
and edx, ebx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rdi], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, ebx
lea rdx, [rsp + 0x38]
mov ecx, r15d
mov r13d, eax
call fcn.1400d6ce4
cmp r13d, 5
jne 0x1400d5559
cmp dword [rsp + 0x30], ebp
jne 0x1400d5559
mov dword [rsp + 0x30], ebx
jmp 0x1400d54d4
cmp qword [rdi], rbp
je 0x1400d5569
cmp r13d, 0xb7
setne bpl
mov rax, qword [rdi]
add rax, rbx
test rax, 0xfffffffffffffffe
jne 0x1400d558d
test esi, esi
je 0x1400d5585
mov ecx, 0x1631e1
call fcn.140175954
and qword [rdi], 0
xor ebp, ebp
xor ebx, ebx
mov r13, qword [rsp + 0x40]
test r13, r13
je 0x1400d55b2
movsxd rdx, dword [rsp + 0x34]
lea r8, [0x14021bfd3]
test r14, r14
mov rcx, r13
cmovne r8, r14
call fcn.140164460
test r12, r12
je 0x1400d55bb
mov dword [r12], ebp
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140135130
add rsp, 0x468
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d691c
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x37], rax
and qword [rbp - 0x31], 0
mov rdi, rcx
and dword [rbp - 0x39], 0
test rcx, rcx
jne 0x1400d6961
mov ecx, 0x15b3c8
jmp 0x1400d69a0
cmp dword [0x14035f7d0], 0
je 0x1400d697c
mov eax, dword [0x14033372c]
mov ebx, 1
mov dword [rcx], eax
jmp 0x1400d6ab4
and dword [rcx], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x31]
mov edx, 0x20008
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400d69ac
mov ecx, 0x15b3c9
call fcn.140175954
xor ebx, ebx
jmp 0x1400d6ab4
mov rcx, qword [rbp - 0x31]
lea rax, [rbp - 0x39]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea ebx, [r9 + 2]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400d69d6
mov ecx, 0x15b3ca
jmp 0x1400d69a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1400d69e8
mov ecx, 0x15b3cb
jmp 0x1400d69a0
mov ecx, dword [rbp - 0x39]
xor edx, edx
call fcn.14000e524
mov rsi, rax
test rax, rax
jne 0x1400d6a01
mov ecx, 0x15b3cc
jmp 0x1400d69a0
mov r9d, dword [rbp - 0x39]
lea rax, [rbp - 0x39]
mov rcx, qword [rbp - 0x31]
mov r8, rsi
mov edx, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1400d6a2f
mov ecx, 0x15b3cd
call fcn.140175954
xor ebx, ebx
jmp 0x1400d6aac
mov ebx, 0x44
lea rcx, [rbp - 0x19]
mov r8d, ebx
xor edx, edx
call fcn.1401380c0
lea r9, [rbp - 0x29]
mov dword [rbp - 0x29], ebx
lea r8, [rbp - 0x19]
xor edx, edx
lea ecx, [rbx - 0x39]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x1400d6a63
mov ecx, 0x15b3ce
jmp 0x1400d6a26
xor r14d, r14d
lea ebx, [r14 + 1]
cmp r14d, dword [rsi]
jae 0x1400d6a9e
mov r15d, r14d
add r15, r15
mov rcx, qword [rsi + r15*8 + 8]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1400d6a97
mov rdx, qword [rsi + r15*8 + 8]
lea rcx, [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1400d6a9c
add r14d, ebx
jmp 0x1400d6a6a
mov dword [rdi], ebx
mov dword [0x14035f7d0], ebx
mov eax, dword [rdi]
mov dword [0x14033372c], eax
mov rcx, rsi
call fcn.14000e530
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400d6ac8
and qword [rbp - 0x31], 0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret