joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006ee90
Capabilities:
Check mutex on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov ebp, r9d
mov rbx, r8
mov rsi, rdx
mov r12, qword [rsp + 0x130]
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov ecx, SafeArrayCopy
call fcn.1401507f0
mov rdi, rax
mov qword [rsp + 0x58], r12
lea rax, fcn.14006fdd0
mov qword [rdi], rax
mov byte [rdi + 0x10], 0
movaps xmm6, xmmword [0x140215460]
movaps xmmword [rsp + 0x40], xmm6
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x40], SafeArrayCopy
mov qword [rsp + 0x48], 0
movzx eax, bpl
mov dword [rsp + 0x50], eax
cmp byte [rbx + 0x17], 0
jns 0x14006ef29
mov rbx, qword [rbx]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 8], rax
test rax, rax
je 0x14006efff
mov r14, rax
lea rbx, [rsp + 0x68]
movaps xmmword [rbx - 8], xmm6
movaps xmmword [rbx + 8], xmm6
movaps xmmword [rbx + 0x18], xmm6
movaps xmmword [rbx + 0x28], xmm6
movaps xmmword [rbx + 0x38], xmm6
mov qword [rbx + 0x48], r15
mov byte [rbx - 8], 0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
mov qword [rbx + 0x40], 0
test r12, r12
je 0x14006efd1
lea rdx, str.NamedMutexImpl
lea r8, str.....operadesktopwindowsos_operationsos_operations_impl.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0xd9
call fcn.14011b550
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.14010e6d0
mov byte [rsp + 0x60], 1
mov edx, 0xffffffff
movabs rax, 0x7fffffffffffffff
cmp r12, rax
je 0x14006efde
lea rcx, [rsp + 0x58]
call fcn.14010d1c0
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
sete byte [rdi + 0x10]
cmp byte [rsp + 0x60], 0
je 0x14006efff
mov rcx, rbx
call fcn.14010e910
mov qword [rsi], rdi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1401513b0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14006f5c0
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x14009f9a0
mov rdx, qword [rdx]
jmp 0x14009f9a0
sub rsp, 0x38
mov rcx, qword [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
add rsp, 0x38
ret
Function at 0x14006f8a0
Capabilities:
Query or enumerate registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea r14, [rsp + 0x64]
mov dword [r14], 0x104
lea rbx, [rcx + 0x30]
mov edx, 0x104
mov rcx, rbx
call fcn.1400a1fe0
mov edx, dword [rdi + 0x88]
mov rcx, qword [rdi + 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm0
mov r8, rax
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc dword [rdi + 0x88]
test eax, eax
je 0x14006f947
add rdi, 0x68
mov rcx, rdi
call fcn.1401bb230
mov qword [rsi], 0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401513b0
mov rax, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdx, [rdi + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x140215460]
movaps xmmword [r14], xmm0
lea r8, [0x14021ca94]
mov rcx, r14
call fcn.140039a50
movzx edx, byte [r14 + 0x17]
test dl, dl
jns 0x14006f986
mov rdx, qword [rsp + 0x48]
mov rcx, r14
xor r8d, r8d
call fcn.140102c80
movzx r8d, byte [rdi + 0x47]
test r8b, r8b
jns 0x14006f9a3
mov r8, qword [rdi + 0x38]
mov rbx, qword [rdi + 0x30]
mov rcx, r14
mov rdx, rbx
call fcn.140099850
cmp byte [rsp + 0x57], 0
jns 0x14006f9ba
mov r14, qword [rsp + 0x40]
mov ecx, 0x58
call fcn.1401507f0
mov rbx, rax
mov ebp, dword [rdi + 0x28]
lea r15, [rsp + 0x68]
mov rcx, r15
mov rdx, r14
call fcn.14018f050
mov rdi, qword [rdi + 8]
lea rax, fcn.14006f500
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], ebp
lea r14, [rbx + 0x18]
mov rcx, r14
call fcn.1400a00e0
mov rcx, rbx
add rcx, 0x38
cmp byte [r15 + 0x17], 0
js 0x14006fa5c
mov rax, qword [rsp + 0x78]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rcx], xmm0
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9d, ebp
call fcn.14009f920
mov dword [rbx + 0x50], eax
cmp byte [rsp + 0x7f], 0
jns 0x14006fa3f
mov rcx, qword [rsp + 0x68]
call fcn.14015082c
mov qword [rsi], rbx
cmp byte [rsp + 0x57], 0
jns 0x14006f924
mov rcx, qword [rsp + 0x40]
call fcn.14015082c
jmp 0x14006f924
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
call fcn.1400991f0
cmp byte [rsp + 0x7f], 0
jns 0x14006fa79
mov r15, qword [rsp + 0x68]
jmp 0x14006fa1a
lea r15, [rsp + 0x68]
jmp 0x14006fa1a
Function at 0x1400827e0
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rax, [0x140212f08]
mov qword [rcx], rax
cmp byte [rcx + 0x38], 0
je 0x1400828c7
lea rcx, str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
mov edx, VarR8FromUI1
call fcn.14011b4a0
test eax, eax
jg 0x140082949
lea rdi, [rsi + 0x20]
mov rcx, rdi
call fcn.1400a53c0
test al, al
jne 0x140082846
mov rcx, rdi
call fcn.1401bdba0
cmp byte [rsi + 0x3a], 0
je 0x1400828f5
lea rcx, [rsi + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140215460]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.14011c9d0
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140082894
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x1400828bb
mov rcx, rdi
mov rdx, rbx
call fcn.14011c9d0
mov rcx, rdi
mov rdx, rbx
call fcn.14011c130
mov rcx, rbx
call fcn.14011c0c0
jmp 0x140082885
lea rcx, [rsp + 0x40]
call fcn.14011c0c0
jmp 0x1400828f5
cmp qword [rsi + 0x40], 0
je 0x1400828f5
lea rdi, [rsi + 0x40]
mov rcx, qword [0x1402548b0]
test rcx, rcx
jne 0x1400828ed
call fcn.140068fb0
mov rcx, rax
mov qword [0x1402548b0], rax
mov rdx, rdi
call fcn.140069e80
mov rdi, qword [rsi + 0x40]
mov qword [rsi + 0x40], 0
test rdi, rdi
je 0x140082916
mov rcx, rdi
call fcn.14006ad40
mov rcx, rdi
call fcn.14015082c
lea rcx, [rsi + 0x20]
call fcn.14011c0c0
add rsi, 8
mov rcx, rsi
call fcn.14011c0c0
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1401513b0
nop
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x25
mov r9d, 0xffffffff
call fcn.1400b2700
lea rcx, [rsp + 0x50]
lea rdx, str.Actual_removal_of
mov r8d, shutdown
call fcn.14018f2a0
lea rdx, [rsi + 0x20]
mov rcx, rax
call fcn.1400b3280
mov rcx, rdi
call fcn.1400b2bf0
jmp 0x14008282e
Function at 0x1400849e0
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [0x140212f48]
mov qword [rcx], rax
cmp byte [rcx + 0x40], 0
je 0x140084a80
lea rcx, [rsi + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140215460]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.14011c9d0
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140084a4f
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x140084a76
mov rcx, rdi
mov rdx, rbx
call fcn.14011c9d0
mov rcx, rdi
mov rdx, rbx
call fcn.14011c130
mov rcx, rbx
call fcn.14011c0c0
jmp 0x140084a40
lea rcx, [rsp + 0x40]
call fcn.14011c0c0
lea rcx, [rsi + 0x28]
call fcn.14011c0c0
lea rcx, [rsi + 0x10]
call fcn.14011c0c0
mov rcx, qword [rsi + 8]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x14024e1c8]
jne 0x140084ab1
call fcn.1400e7e30
mov qword [rsi + 8], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401513b0
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14009a6d0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x14009a70f
test r15, r15
je 0x14009a7fd
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14009a759
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.140153c90
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x14009a6ed
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x14009a829
lea rcx, [r12*8]
call fcn.1401507f0
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x14009a7cd
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x14009a7fd
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x14009a7b5
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x14009a6ed
mov rcx, r14
call fcn.14015082c
mov r15, qword [rsi + 0x10]
jmp 0x14009a6ed
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140191960
call fcn.14018f1b0
int3
Function at 0x14009aba0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x140213958]
mov qword [rcx], rax
add rcx, 8
call fcn.1400fe280
lea rcx, [rsi + 0x10]
call fcn.1400fe280
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.1400fe280
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [reloc.WS2_32.dll_accept]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.1400baa80
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.140038260
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [reloc.OLEAUT32.dll_SysReAllocString], edx
je 0x14009ad9b
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.140123710
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14009adbf
call fcn.14009d5c0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14009d670
mov qword [0x140256838], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [reloc.OLEAUT32.dll_VariantClear], edx
jne 0x14009add2
test dword [reloc.WS2_32.dll_recv], edx
jne 0x14009ade0
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.1400ba870
jmp 0x14009ad5c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1401bb600.0]
jmp 0x14009ad69
cmp rax, 0x40
mov eax, 0x100
jmp 0x14009ad53
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x14009adb4
Function at 0x14009c610
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
jne 0x14009c640
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14009c64e
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140104590
lea rax, [rdx - 1]
test rdx, rax
jne 0x14009c664
mov rdi, rdx
jmp 0x14009c625
jae 0x14009c751
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x14009c671
cvtsi2ss xmm0, rax
jmp 0x14009c686
mov rcx, rdx
call fcn.1400ff960
mov rdi, rax
jmp 0x14009c625
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.14016fe8c
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x140204128]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x14009c739
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x14009c739
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x14009c741
mov rcx, rdx
call fcn.1400ff960
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x14009c62e
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14009de20
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140256860]
mov ecx, dword [0x14024e434]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009de80
lea rsi, [0x140256858]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401513b0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140256860]
call fcn.140150950
cmp dword [0x140256860], 0xffffffff
jne 0x14009de5c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140154340
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1401507f0
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402568a8]
mov ecx, dword [0x14024e434]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009df40
lea r8, [0x140256878]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14009e040
mov qword [0x140256858], rsi
lea rcx, [0x140256860]
call fcn.1401509e8
jmp 0x14009de5c
lea rcx, [0x1402568a8]
call fcn.140150950
cmp dword [0x1402568a8], 0xffffffff
jne 0x14009df11
xorps xmm0, xmm0
movups xmmword [0x140256898], xmm0
movups xmmword [0x140256888], xmm0
movups xmmword [0x140256878], xmm0
lea rcx, [0x140256878]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402568a8]
call fcn.1401509e8
jmp 0x14009df11
Function at 0x14009df90
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1402568a8]
mov ecx, dword [0x14024e434]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009dfcb
movzx eax, word [0x140256878]
cmp eax, 9
jne 0x14009e013
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1402568a8]
call fcn.140150950
cmp dword [0x1402568a8], 0xffffffff
jne 0x14009dfb5
xorps xmm0, xmm0
movups xmmword [0x140256898], xmm0
movups xmmword [0x140256888], xmm0
movups xmmword [0x140256878], xmm0
lea rcx, [0x140256878]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402568a8]
call fcn.1401509e8
jmp 0x14009dfb5
test eax, eax
je 0x14009dfc6
cmp eax, 6
jne 0x14009e023
mov eax, 2
jmp 0x14009dfc6
cmp eax, 0xc
jne 0x14009e02f
mov eax, 3
jmp 0x14009dfc6
mov eax, 4
jmp 0x14009dfc6
Function at 0x14009f9a0
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x14009f9a0
mov rdx, qword [rdx]
jmp 0x14009f9a0
sub rsp, 0x38
mov rcx, qword [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
add rsp, 0x38
ret

Function at 0x14009fa50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor ebp, ebp
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x14009fac3
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401513b0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x90]
mov qword [rax], 0
mov r9d, esi
or r9d, 8
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x14009fa95
mov ebp, eax
test eax, eax
jne 0x14009fa95
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x70]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x140215460]
movaps xmmword [r14], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14018f050
movzx eax, byte [r14 + 0x17]
test al, al
jns 0x14009fb31
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14009fb4a
lea rcx, [rsp + 0x70]
call fcn.1401b5920
cmp word [rax], 0x5c
jne 0x14009fc66
movzx r15d, byte [rsp + 0x87]
test r15b, r15b
jns 0x14009fb5d
mov r15, qword [rsp + 0x78]
xorps xmm6, xmm6
lea r12, [rsp + 0x50]
movaps xmmword [r12], xmm6
mov qword [r12 + 0x10], 0
lea r13, [rsp + 0x4c]
mov rbp, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x4c], 0x104
mov edx, 0x104
mov rcx, r12
call fcn.1400a1fe0
mov rcx, qword [rsp + 0x90]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
xor edx, edx
mov r8, rax
mov r9, r13
call rbp
test eax, eax
jne 0x14009fc16
mov edx, dword [rsp + 0x4c]
mov rcx, r12
xor r8d, r8d
call fcn.140102c80
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140102c80
movzx r8d, byte [rsp + 0x67]
mov rdx, r12
test r8b, r8b
jns 0x14009fbe9
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call fcn.140099850
cmp byte [rsp + 0x87], 0
mov rdx, r14
jns 0x14009fc03
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
mov r8d, esi
call fcn.14009fa50
test eax, eax
je 0x14009fb7f
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebp, eax
cmp byte [rsp + 0x67], 0
jns 0x14009fc49
mov rcx, qword [rsp + 0x50]
call fcn.14015082c
cmp byte [rsp + 0x87], 0
jns 0x14009fa95
mov rcx, qword [rsp + 0x70]
call fcn.14015082c
jmp 0x14009fa95
lea rcx, [rsp + 0x70]
mov dx, 0x5c
call fcn.140102a60
jmp 0x14009fb4a
Function at 0x14009fc90
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14009fd19
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14009fd03
cmp dword [rsp + 0x38], 4
jne 0x14009fd03
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401513b0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x14009fd03

Function at 0x14009fd20
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140151350
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140154340
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14009fde4
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14009fde8
lea rcx, [rsp + 0x840]
call fcn.1401791e4
lea rdx, [rsp + 0x840]
mov rcx, rsi
mov r8, rax
call fcn.1400994a0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401513b0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x14009fdc5
cmp eax, 2
jne 0x14009fe3d
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140154340
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14009fe44
lea rcx, [rsp + 0x40]
call fcn.1401791e4
lea rdx, [rsp + 0x40]
jmp 0x14009fdb8
mov edi, 0x3f4
jmp 0x14009fdc5
mov edi, 0xea
jmp 0x14009fdc5

Function at 0x14009fe50
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.1401791e4
lea eax, [rax*2 + 2]
mov rcx, qword [rbx + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x14009ff70
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rcx + 8]
lea rax, [r14 + 1]
cmp rax, 1
ja 0x14009fff6
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
cmp qword [rdi + 8], rax
je 0x14009fff6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1400a0092
mov rax, r14
inc rax
cmp rax, 2
jb 0x14009ffea
mov qword [rdi + 8], r14
call fcn.14011b570
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400a00d0
mov dword [rsp + 0x20], 1
mov rcx, rbx
mov edx, 1
mov r8d, 0x1000000f
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x1400a00ad
lea rcx, [rdi + 0x68]
mov rdx, rsi
call fcn.14011bc50
lea rbx, [rdi + 0x10]
lea rdx, str.StartWatching
lea r8, [0x140224590]
lea r14, [rsp + 0x28]
mov rcx, r14
mov r9d, 0x1a7
call fcn.14011b550
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov r8, rdi
mov r9, r14
call fcn.140104dc0
mov edi, eax
mov rcx, rsi
call fcn.14011bcc0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401513b0
mov eax, edi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.14011b570
mov rcx, qword [rdi + 8]
call fcn.140104cf0
mov qword [rdi + 8], 0
jmp 0x14009ffd5
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jb 0x1400a00d0
call fcn.14011b570
mov rcx, qword [rdi + 8]
call fcn.140104cf0
mov qword [rdi + 8], 0
xor edi, edi
jmp 0x1400a0070