joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006f250
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x170
movaps xmmword [rsp + 0x160], xmm6
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x158], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0xe8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0x108], 0
movabs rax, 0x4000000070
mov qword [rsp + 0xa0], rax
lea rax, str.runas
mov qword [rsp + 0xb0], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], r15
movaps xmm6, xmmword [0x1402184a0]
movaps xmmword [rsp + 0x80], xmm6
lea r14, [rsp + 0x110]
mov rcx, r8
mov rdx, r14
call fcn.1400b8c30
cmp byte [r14 + 0x17], 0
js 0x14006f35d
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x110]
call fcn.14011f120
cmp byte [rsp + 0x97], 0
js 0x14006f37c
lea rax, [rsp + 0x80]
jmp 0x14006f384
mov rdx, qword [rsp + 0x110]
mov r8, qword [rsp + 0x118]
lea rcx, [rsp + 0x80]
call fcn.14009a550
jmp 0x14006f33c
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
mov rcx, rbx
mov rdx, r14
call fcn.1400b9db0
cmp byte [r14 + 0x17], 0
jns 0x14006f3b0
mov r14, qword [rsp + 0x60]
lea rbx, [rsp + 0xa0]
mov qword [rbx + 0x20], r14
mov dword [rbx + 0x30], 5
lea r14, [rsp + 0x110]
mov qword [r14 + 0x40], r15
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.RunElevatedProcess
lea r8, str.....operadesktopwindowsos_operationsos_operations_impl.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x176
call fcn.14011e5c0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401100b0
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14006f4af
mov rdx, qword [rsp + 0x108]
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400a40b0
mov rax, qword [rdi]
mov rax, qword [rax + 0xc0]
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
call qword [case.0x1401bea20.0]
lea rcx, [rsp + 0x110]
call fcn.1401102f0
cmp byte [rsp + 0x77], 0
jns 0x14006f46e
mov rcx, qword [rsp + 0x60]
call fcn.1401536dc
cmp byte [rsp + 0x97], 0
jns 0x14006f485
mov rcx, qword [rsp + 0x80]
call fcn.1401536dc
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1401542e0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x170
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rbx, [rsp + 0x20]
mov rcx, rbx
xor edx, edx
jmp 0x14006f432
Function at 0x14006f520
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 [0x140241038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov ecx, SafeArrayCopy
call fcn.1401536a0
mov rdi, rax
mov qword [rsp + 0x58], r12
lea rax, fcn.140070480
mov qword [rdi], rax
mov byte [rdi + 0x10], 0
movaps xmm6, xmmword [0x1402184a0]
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 0x14006f5b9
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 0x14006f68f
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 0x14006f661
lea rdx, str.NamedMutexImpl
lea r8, str.....operadesktopwindowsos_operationsos_operations_impl.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0xd9
call fcn.14011e5c0
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.1401100b0
mov byte [rsp + 0x60], 1
mov edx, 0xffffffff
movabs rax, 0x7fffffffffffffff
cmp r12, rax
je 0x14006f66e
lea rcx, [rsp + 0x58]
call fcn.14010ec90
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 0x14006f68f
mov rcx, rbx
call fcn.1401102f0
mov qword [rsi], rdi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1401542e0
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 0x14006fc50
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x1400a0c90
mov rdx, qword [rdx]
jmp 0x1400a0c90
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 0x14006ff30
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 [0x140241038]
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.1400a32d0
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 0x14006ffd7
add rdi, 0x68
mov rcx, rdi
call fcn.1401be650
mov qword [rsi], 0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401542e0
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 [0x1402184a0]
movaps xmmword [r14], xmm0
lea r8, [0x14021fad4]
mov rcx, r14
call fcn.140039a50
movzx edx, byte [r14 + 0x17]
test dl, dl
js 0x140070016
and edx, 0x7f
jmp 0x14007001b
mov rdx, qword [rsp + 0x48]
mov rcx, r14
xor r8d, r8d
call fcn.140104c10
movzx r8d, byte [rdi + 0x47]
test r8b, r8b
js 0x140070036
and r8d, 0x7f
jmp 0x14007003e
mov r8, qword [rdi + 0x38]
mov rbx, qword [rdi + 0x30]
mov rcx, r14
mov rdx, rbx
call fcn.14009abd0
cmp byte [rsp + 0x57], 0
jns 0x140070055
mov r14, qword [rsp + 0x40]
mov ecx, 0x58
call fcn.1401536a0
mov rbx, rax
mov ebp, dword [rdi + 0x28]
lea r15, [rsp + 0x68]
mov rcx, r15
mov rdx, r14
call fcn.140191da0
mov rdi, qword [rdi + 8]
lea rax, fcn.14006fb90
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], ebp
lea r14, [rbx + 0x18]
mov rcx, r14
call fcn.1400a13e0
mov rcx, rbx
add rcx, 0x38
cmp byte [r15 + 0x17], 0
js 0x1400700f7
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.1400a0c10
mov dword [rbx + 0x50], eax
cmp byte [rsp + 0x7f], 0
jns 0x1400700da
mov rcx, qword [rsp + 0x68]
call fcn.1401536dc
mov qword [rsi], rbx
cmp byte [rsp + 0x57], 0
jns 0x14006ffb4
mov rcx, qword [rsp + 0x40]
call fcn.1401536dc
jmp 0x14006ffb4
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
call fcn.14009a550
cmp byte [rsp + 0x7f], 0
jns 0x140070114
mov r15, qword [rsp + 0x68]
jmp 0x1400700b5
lea r15, [rsp + 0x68]
jmp 0x1400700b5
Function at 0x140083030
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rax, [0x140216960]
mov qword [rcx], rax
cmp byte [rcx + 0x38], 0
je 0x1400830d3
lea rcx, str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
mov edx, VarR8FromUI1
call fcn.14011e510
test eax, eax
jg 0x140083197
lea rdi, [rsi + 0x20]
mov rcx, rdi
call fcn.1400a6690
test al, al
jne 0x140083092
mov rcx, rdi
call fcn.1401c0f60
cmp byte [rsi + 0x3a], 0
je 0x140083143
lea rcx, [rsi + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1402184a0]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.14011fa50
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
jmp 0x14008312d
cmp qword [rsi + 0x40], 0
je 0x140083143
lea rdi, [rsi + 0x40]
mov rcx, qword [0x140257930]
test rcx, rcx
jne 0x1400830f9
call fcn.140069580
mov rcx, rax
mov qword [0x140257930], rax
mov rdx, rdi
call fcn.14006a470
jmp 0x140083143
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x140083139
mov rcx, rdi
mov rdx, rbx
call fcn.14011fa50
mov rcx, rdi
mov rdx, rbx
call fcn.14011f1a0
mov rcx, rbx
call fcn.14011f120
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140083108
jmp 0x140083103
lea rcx, [rsp + 0x40]
call fcn.14011f120
mov rdi, qword [rsi + 0x40]
mov qword [rsi + 0x40], 0
test rdi, rdi
je 0x140083164
mov rcx, rdi
call fcn.14006b2f0
mov rcx, rdi
call fcn.1401536dc
lea rcx, [rsi + 0x20]
call fcn.14011f120
add rsi, 8
mov rcx, rsi
call fcn.14011f120
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1401542e0
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.1400b3eb0
lea rcx, [rsp + 0x50]
lea rdx, str.Actual_removal_of
mov r8d, shutdown
call fcn.140191ff0
lea rdx, [rsi + 0x20]
mov rcx, rax
call fcn.1400b4a20
mov rcx, rdi
call fcn.1400b4390
jmp 0x14008307a
Function at 0x1400852a0
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [0x1402169a0]
mov qword [rcx], rax
cmp byte [rcx + 0x40], 0
je 0x140085342
lea rcx, [rsi + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1402184a0]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.14011fa50
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
jmp 0x14008532c
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x140085338
mov rcx, rdi
mov rdx, rbx
call fcn.14011fa50
mov rcx, rdi
mov rdx, rbx
call fcn.14011f1a0
mov rcx, rbx
call fcn.14011f120
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140085307
jmp 0x140085302
lea rcx, [rsp + 0x40]
call fcn.14011f120
lea rcx, [rsi + 0x28]
call fcn.14011f120
lea rcx, [rsi + 0x10]
call fcn.14011f120
mov rcx, qword [rsi + 8]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x140251208]
jne 0x140085373
call fcn.1400ea4a0
mov qword [rsi + 8], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401542e0
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14009ba70
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 0x14009baaf
test r15, r15
je 0x14009bb9d
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 0x14009baf9
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.140156bc0
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x14009ba8d
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 0x14009bbc9
lea rcx, [r12*8]
call fcn.1401536a0
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x14009bb6d
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 0x14009bb9d
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x14009bb55
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 0x14009ba8d
mov rcx, r14
call fcn.1401536dc
mov r15, qword [rsi + 0x10]
jmp 0x14009ba8d
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.140194730
call fcn.140191f00
int3
Function at 0x14009bf40
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, [0x140216a08]
mov qword [rcx], rax
add rcx, 8
call fcn.140100260
lea rcx, [rsi + 0x10]
call fcn.140100260
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.140100260
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.1400bc490
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 0x14009c13b
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.1401268a0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14009c15f
call fcn.14009e950
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14009ea00
mov qword [0x1402598b8], 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 0x14009c172
test dword [reloc.WS2_32.dll_recv], edx
jne 0x14009c180
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.1400bc270
jmp 0x14009c0fc
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1401bea20.0]
jmp 0x14009c109
cmp rax, 0x40
mov eax, 0x100
jmp 0x14009c0f3
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x14009c154
Function at 0x14009d9c0
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 0x14009d9f0
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14009da27
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140106660
lea rax, [rdx - 1]
test rdx, rax
jne 0x14009d9fe
mov rdi, rdx
jmp 0x14009d9d5
mov rcx, rdx
call fcn.1401016d0
mov rdi, rax
jmp 0x14009d9d5
mov rcx, rdx
call fcn.1401016d0
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x14009d9de
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
jae 0x14009da1f
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14009da49
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14009da4e
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.140172dbc
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x140207168]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x14009da0b
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 0x14009da0b
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 0x14009da13

Function at 0x14009f140
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402598e0]
mov ecx, dword [0x140251494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009f1a0
lea rsi, [0x1402598d8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401542e0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402598e0]
call fcn.140153800
cmp dword [0x1402598e0], 0xffffffff
jne 0x14009f17c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140157270
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.1401536a0
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140259928]
mov ecx, dword [0x140251494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009f260
lea r8, [0x1402598f8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14009f360
mov qword [0x1402598d8], rsi
lea rcx, [0x1402598e0]
call fcn.140153898
jmp 0x14009f17c
lea rcx, [0x140259928]
call fcn.140153800
cmp dword [0x140259928], 0xffffffff
jne 0x14009f231
xorps xmm0, xmm0
movups xmmword [0x140259918], xmm0
movups xmmword [0x140259908], xmm0
movups xmmword [0x1402598f8], xmm0
lea rcx, [0x1402598f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140259928]
call fcn.140153898
jmp 0x14009f231
Function at 0x14009f2b0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140259928]
mov ecx, dword [0x140251494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009f2eb
movzx eax, word [0x1402598f8]
cmp eax, 9
jne 0x14009f333
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140259928]
call fcn.140153800
cmp dword [0x140259928], 0xffffffff
jne 0x14009f2d5
xorps xmm0, xmm0
movups xmmword [0x140259918], xmm0
movups xmmword [0x140259908], xmm0
movups xmmword [0x1402598f8], xmm0
lea rcx, [0x1402598f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140259928]
call fcn.140153898
jmp 0x14009f2d5
test eax, eax
je 0x14009f2e6
cmp eax, 6
jne 0x14009f343
mov eax, 2
jmp 0x14009f2e6
cmp eax, 0xc
jne 0x14009f34f
mov eax, 3
jmp 0x14009f2e6
mov eax, 4
jmp 0x14009f2e6
Function at 0x1400a0c90
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x1400a0c90
mov rdx, qword [rdx]
jmp 0x1400a0c90
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 0x1400a0d40
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 [0x140241038]
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 0x1400a0db3
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401542e0
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 0x1400a0d85
mov ebp, eax
test eax, eax
jne 0x1400a0d85
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x70]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x1402184a0]
movaps xmmword [r14], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.140191da0
movzx eax, byte [r14 + 0x17]
test al, al
js 0x1400a0e21
and eax, 0x7f
jmp 0x1400a0e26
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400a0e3f
lea rcx, [rsp + 0x70]
call fcn.1401b8d70
cmp word [rax], 0x5c
jne 0x1400a0f6c
movzx r15d, byte [rsp + 0x87]
test r15b, r15b
js 0x1400a0e53
and r15d, 0x7f
jmp 0x1400a0e58
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]
jmp 0x1400a0eaf
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call fcn.14009abd0
cmp byte [rsp + 0x87], 0
mov rdx, r14
jns 0x1400a0ea0
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
mov r8d, esi
call fcn.1400a0d40
test eax, eax
jne 0x1400a0f1c
mov dword [rsp + 0x4c], 0x104
mov edx, 0x104
mov rcx, r12
call fcn.1400a32d0
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 0x1400a0f1c
mov edx, dword [rsp + 0x4c]
mov rcx, r12
xor r8d, r8d
call fcn.140104c10
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140104c10
movzx r8d, byte [rsp + 0x67]
test r8b, r8b
js 0x1400a0e7c
and r8d, 0x7f
mov rdx, r12
jmp 0x1400a0e86
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 0x1400a0f4f
mov rcx, qword [rsp + 0x50]
call fcn.1401536dc
cmp byte [rsp + 0x87], 0
jns 0x1400a0d85
mov rcx, qword [rsp + 0x70]
call fcn.1401536dc
jmp 0x1400a0d85
lea rcx, [rsp + 0x70]
mov dx, 0x5c
call fcn.140104a00
jmp 0x1400a0e3f