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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm6
mov ebp, r9d
mov rbx, r8
mov rsi, rdx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov ecx, SafeArrayCopy
call fcn.140125da0
mov rdi, rax
lea rax, fcn.14004eae0
mov qword [rdi], rax
mov byte [rdi + 0x10], 0
movaps xmm6, xmmword [0x1401bc9e0]
movaps xmmword [rsp + 0x40], xmm6
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x40], SafeArrayCopy
mov qword [rsp + 0x48], 0
movzx eax, bpl
mov dword [rsp + 0x50], eax
cmp byte [rbx + 0x17], 0
jns 0x14004d8de
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 0x14004d9e8
mov r14, rax
mov r15, qword [rsp + 0x140]
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], r12
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 r15, r15
je 0x14004d9a9
movabs r13, 0x7fffffffffffffff
lea rdx, str.NamedMutexImpl
lea r8, str.....operadesktopwindowsos_operationsos_operations_impl.cc
lea r12, [rsp + 0x20]
mov rcx, r12
mov r9d, 0xd7
call fcn.1400f2140
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
call fcn.1400e51a0
mov byte [rsp + 0x60], 1
mov edx, 0xffffffff
cmp r15, r13
je 0x14004d9c7
lea rax, [r15 + r13]
add rax, 2
cmp rax, 2
jae 0x14004d9a9
lea rdx, [r13 + 1]
test r15, r15
cmovns rdx, r13
jmp 0x14004d9c7
movabs rcx, 0x20c49ba5e353f7cf
mov rax, r15
imul rcx
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add 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 0x14004d9e8
mov rcx, rbx
call fcn.1400e5410
mov qword [rsi], rdi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140126950
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14004e000
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x1400849e0
mov rdx, qword [rdx]
jmp 0x1400849e0
sub rsp, 0x38
mov rcx, qword [rcx]
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 0x14004e2f0
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 [0x1401e8038]
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.140087240
mov edx, dword [rdi + 0x78]
mov rcx, qword [rdi + 0x48]
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 + 0x78]
test eax, eax
je 0x14004e391
add rdi, 0x60
mov rcx, rdi
call fcn.14018a970
mov qword [rsi], 0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140126950
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 [0x1401bc9e0]
movaps xmmword [r14], xmm0
lea r8, [0x1401c6956]
mov rcx, r14
call fcn.140026b90
movzx eax, byte [r14 + 0x17]
mov rcx, r14
test al, al
jns 0x14004e3d8
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov word [rcx + rax*2], 0
movzx r8d, byte [rdi + 0x47]
test r8b, r8b
js 0x14004e3ee
and r8d, 0x7f
jmp 0x14004e3f6
mov r8, qword [rdi + 0x38]
mov rbx, qword [rdi + 0x30]
mov rcx, r14
mov rdx, rbx
call fcn.14007e160
cmp byte [rsp + 0x57], 0
jns 0x14004e40d
mov r14, qword [rsp + 0x40]
mov ecx, 0x50
call fcn.140125da0
mov rbx, rax
mov ebp, dword [rdi + 0x28]
lea r15, [rsp + 0x68]
mov rcx, r15
mov rdx, r14
call fcn.140161540
mov rdi, qword [rdi + 8]
lea rax, fcn.14004df40
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], ebp
lea r14, [rbx + 0x18]
mov rcx, r14
call fcn.140084810
mov rcx, rbx
add rcx, 0x30
cmp byte [r15 + 0x17], 0
js 0x14004e4af
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.140084910
mov dword [rbx + 0x48], eax
cmp byte [rsp + 0x7f], 0
jns 0x14004e492
mov rcx, qword [rsp + 0x68]
call fcn.140125ddc
mov qword [rsi], rbx
cmp byte [rsp + 0x57], 0
jns 0x14004e36e
mov rcx, qword [rsp + 0x40]
call fcn.140125ddc
jmp 0x14004e36e
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
call fcn.14007ddd0
cmp byte [rsp + 0x7f], 0
jns 0x14004e4cc
mov r15, qword [rsp + 0x68]
jmp 0x14004e46d
lea r15, [rsp + 0x68]
jmp 0x14004e46d
Function at 0x140065880
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rax, [0x1401bf350]
mov qword [rcx], rax
cmp byte [rcx + 0x38], 0
je 0x140065923
lea rcx, str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
mov edx, VarR8FromUI1
call fcn.1400f2090
test eax, eax
jg 0x1400659e7
lea rdi, [rsi + 0x20]
mov rcx, rdi
call fcn.14008a850
test al, al
jne 0x1400658e2
mov rcx, rdi
call fcn.14018d2a0
cmp byte [rsi + 0x3a], 0
je 0x140065993
lea rcx, [rsi + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401bc9e0]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.1400f3740
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
jmp 0x14006597d
cmp qword [rsi + 0x40], 0
je 0x140065993
lea rdi, [rsi + 0x40]
mov rcx, qword [0x140201ef8]
test rcx, rcx
jne 0x140065949
call fcn.1400471c0
mov rcx, rax
mov qword [0x140201ef8], rax
mov rdx, rdi
call fcn.140048160
jmp 0x140065993
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x140065989
mov rcx, rdi
mov rdx, rbx
call fcn.1400f3740
mov rcx, rdi
mov rdx, rbx
call fcn.1400f2dd0
mov rcx, rbx
call fcn.1400f2d50
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140065958
jmp 0x140065953
lea rcx, [rsp + 0x40]
call fcn.1400f2d50
mov rdi, qword [rsi + 0x40]
mov qword [rsi + 0x40], 0
test rdi, rdi
je 0x1400659b4
mov rcx, rdi
call fcn.1400491a0
mov rcx, rdi
call fcn.140125ddc
lea rcx, [rsi + 0x20]
call fcn.1400f2d50
add rsi, 8
mov rcx, rsi
call fcn.1400f2d50
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140126950
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.140096e70
lea rcx, [rsp + 0x50]
lea rdx, str.Actual_removal_of
mov r8d, shutdown
call fcn.140161780
lea rdx, [rsi + 0x20]
mov rcx, rax
call fcn.140091ca0
mov rcx, rdi
call fcn.1400974b0
jmp 0x1400658ca
Function at 0x140068570
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [0x1401bf390]
mov qword [rcx], rax
cmp byte [rcx + 0x40], 0
je 0x140068612
lea rcx, [rsi + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401bc9e0]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.1400f3740
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
jmp 0x1400685fc
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x140068608
mov rcx, rdi
mov rdx, rbx
call fcn.1400f3740
mov rcx, rdi
mov rdx, rbx
call fcn.1400f2dd0
mov rcx, rbx
call fcn.1400f2d50
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x1400685d7
jmp 0x1400685d2
lea rcx, [rsp + 0x40]
call fcn.1400f2d50
lea rcx, [rsi + 0x28]
call fcn.1400f2d50
lea rcx, [rsi + 0x10]
call fcn.1400f2d50
mov rcx, qword [rsi + 8]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x1401e8ec8]
jne 0x140068643
call fcn.1400d27d0
mov qword [rsi + 8], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140126950
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140077760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x1400777cb
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [0x140215008]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rsi], rdi
test al, al
jns 0x1400777ad
call fcn.140125ddc
jmp 0x1400777ad
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.1400d7d70
lea rdx, [0x140202d50]
mov rcx, rbx
call fcn.1400d88b0
mov r14, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x14007780b
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140215008]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1401bc9e0]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x140215008]
movzx eax, byte [rbx + 0x17]
test al, al
js 0x14007784e
mov edx, eax
and edx, 0x7f
jmp 0x140077852
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400777bd
test al, al
cmovns rcx, rbx
mov r14, rcx
jmp 0x1400778ae
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x140215008]
cmp eax, 0xffffffff
jne 0x140077884
xor edi, edi
inc r14
movzx eax, byte [rbp - 9]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [rbp - 0x20]
mov r8, rbx
cmovs rdx, qword [rbp - 0x18]
cmovs r8, rcx
add rdx, r8
cmp r14, rdx
je 0x1400777bd
test rdi, rdi
je 0x140077882
mov al, byte [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x14007786a
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x140077884
Function at 0x14007f2a0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14007f301
test r12, r12
je 0x14007f418
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140126950
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14007f366
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14007f34f
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140129230
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
mov r12, r14
jmp 0x14007f2ce
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r15d, 1
cmovne r15, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, r15
shr rax, 0x3d
jne 0x14007f444
lea rcx, [r15*8]
call fcn.140125da0
mov rdx, r15
and rdx, 0xfffffffffffffffc
mov rcx, r12
sub rcx, rbx
mov r9, r12
lea rdx, [rax + rdx*2]
mov r8, rdx
sub r9, rbx
je 0x14007f3e3
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x14007f418
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14007f3cb
lea r9, [rax + r15*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x30]
mov qword [rcx], r14
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r12
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r12
call fcn.1400d31c0
mov r12, qword [rsi + 0x10]
jmp 0x14007f2ce
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401623d0
call fcn.140161690
int3
Function at 0x14007f7c0
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, [0x1401bf3f8]
mov qword [rcx], rax
add rcx, 8
call fcn.1400dccd0
lea rcx, [rsi + 0x10]
call fcn.1400dccd0
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.1400dccd0
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.1400a05c0
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.140024cf0
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 0x14007f9bb
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.1400f7c20
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14007f9df
call fcn.140082440
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.1400824f0
mov qword [0x140203e88], 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 0x14007f9fd
test dword [reloc.WS2_32.dll_recv], edx
jne 0x14007f9f2
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.1400a0360
jmp 0x14007f97c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x140215008]
jmp 0x14007f989
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x14007f9d4
cmp rax, 0x40
mov eax, 0x100
jmp 0x14007f973
Function at 0x1400813b0
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 0x1400813e0
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x140081417
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400db200
lea rax, [rdx - 1]
test rdx, rax
jne 0x1400813ee
mov rdi, rdx
jmp 0x1400813c5
mov rcx, rdx
call fcn.1400d74d0
mov rdi, rax
jmp 0x1400813c5
mov rcx, rdx
call fcn.1400d74d0
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x1400813ce
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
jae 0x14008140f
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x140081439
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14008143e
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1401452cc
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1401c2530]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x1400813fb
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 0x1400813fb
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 0x140081403

Function at 0x140082c30
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140203eb0]
mov ecx, dword [0x1401f78b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140082c90
lea rsi, [0x140203ea8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140126950
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140203eb0]
call fcn.140125f00
cmp dword [0x140203eb0], 0xffffffff
jne 0x140082c6c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401298e0
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.140125da0
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140203ef8]
mov ecx, dword [0x1401f78b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140082d50
lea r8, [0x140203ec8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140082e50
mov qword [0x140203ea8], rsi
lea rcx, [0x140203eb0]
call fcn.140125f98
jmp 0x140082c6c
lea rcx, [0x140203ef8]
call fcn.140125f00
cmp dword [0x140203ef8], 0xffffffff
jne 0x140082d21
xorps xmm0, xmm0
movups xmmword [0x140203ee8], xmm0
movups xmmword [0x140203ed8], xmm0
movups xmmword [0x140203ec8], xmm0
lea rcx, [0x140203ec8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140203ef8]
call fcn.140125f98
jmp 0x140082d21
Function at 0x140082da0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140203ef8]
mov ecx, dword [0x1401f78b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140082ddb
movzx eax, word [0x140203ec8]
cmp eax, 9
jne 0x140082e23
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140203ef8]
call fcn.140125f00
cmp dword [0x140203ef8], 0xffffffff
jne 0x140082dc5
xorps xmm0, xmm0
movups xmmword [0x140203ee8], xmm0
movups xmmword [0x140203ed8], xmm0
movups xmmword [0x140203ec8], xmm0
lea rcx, [0x140203ec8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140203ef8]
call fcn.140125f98
jmp 0x140082dc5
test eax, eax
je 0x140082dd6
cmp eax, 6
jne 0x140082e33
mov eax, 2
jmp 0x140082dd6
cmp eax, 0xc
jne 0x140082e3f
mov eax, 3
jmp 0x140082dd6
mov eax, 4
jmp 0x140082dd6
Function at 0x1400846a0
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 [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rcx + 8]
lea rax, [r14 + 1]
cmp rax, 1
ja 0x140084726
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 0x140084726
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1400847c2
mov rax, r14
inc rax
cmp rax, 2
jb 0x14008471a
mov qword [rdi + 8], r14
call fcn.1400f2160
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400847ea
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 0x1400847dd
lea rcx, [rdi + 0x68]
mov rdx, rsi
call fcn.1400f2950
lea rbx, [rdi + 0x10]
lea rdx, str.StartWatching
lea r8, [0x1401ce460]
lea r14, [rsp + 0x28]
mov rcx, r14
mov r9d, 0x66
call fcn.1400f2140
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov r8, rdi
mov r9, r14
call fcn.1400dba10
mov edi, eax
mov rcx, rsi
call fcn.1400f29c0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140126950
mov eax, edi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.1400f2160
mov rcx, qword [rdi + 8]
call fcn.1400db920
mov qword [rdi + 8], 0
jmp 0x140084705
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1400847ee
xor edi, edi
jmp 0x1400847a0
call fcn.1400f2160
mov rcx, qword [rdi + 8]
call fcn.1400db920
mov qword [rdi + 8], 0
jmp 0x1400847ea

Function at 0x1400849e0
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x1400849e0
mov rdx, qword [rdx]
jmp 0x1400849e0
sub rsp, 0x38
mov rcx, qword [rcx]
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 0x140084a10
Capabilities:
Delete registry key

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x140084ade
mov r14d, r8d
mov rdi, rdx
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], r15
xor eax, eax
mov qword [rsp + 0x40], rax
mov r12d, dword [rsi + 8]
mov r9d, r12d
or r9d, 0x10001
lea rdx, [rsp + 0x48]
mov qword [rdx], rax
mov qword [rsp + 0x20], rdx
mov rdx, rdi
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140084abe
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rbx
and r12d, 0x300
mov dword [rsp + 0x38], r12d
test r14b, r14b
je 0x140084ae5
test rbx, rbx
je 0x140084aaf
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsi + 8]
mov rcx, qword [rsi]
mov rdx, rdi
call fcn.140084b40
mov ebp, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140126950
mov eax, ebp
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ebp, 6
jmp 0x140084ac0
lea rdi, [rsp + 0x48]
mov qword [rdi], r15
mov dword [rdi + 8], 0xaaaaaaaa
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.140084ce0
cmp byte [rdi], 0
je 0x140084b11
mov ebp, dword [rsp + 0x4c]
test rbx, rbx
je 0x140084ac0
jmp 0x140084b2c
mov r8d, dword [rsi + 8]
lea rdx, [0x1401c5a14]
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebp, eax
jmp 0x140084b0a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140084ac0