joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002290
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400022bd
xor eax, eax
jmp 0x140002429
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400022f7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400022f7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002429
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000241c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000233a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002365
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002421
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400023d4
sub eax, 1
je 0x1400023d4
cmp eax, 2
jne 0x14000241c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002421
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002402
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000241c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002421
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400032f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002690
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002763
cmp byte [rcx + 0x71], 0
je 0x140002763
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000275f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002724
sub eax, 1
je 0x140002728
cmp eax, 2
jne 0x14000275f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400032f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002756
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000275f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000270c
xor al, al
jmp 0x14000270c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400032f0
add rsp, 0x60
pop rbx
ret

Function at 0x140003cac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003cf6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003cf6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003cf6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003cf6
cmp dword [rcx + 0x84], 0xe
jbe 0x140003cf6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003cf8
xor al, al
add rsp, 0x28
ret

Function at 0x140001b68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001bb2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001bb2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001bb2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001bb2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001bb2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001bb4
xor al, al
add rsp, 0x28
ret
Function at 0x140028950
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rbx, [rcx + 0x28]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.1401466e0
test eax, eax
jne 0x140028a84
cmp dword [rdi + 0x18], 0
je 0x1400289d7
cmp byte [rdi + 0x20], 0
je 0x140028aad
cmp dword [rdi + 0x18], 0
je 0x140028a8c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rdi + 0x18], eax
je 0x140028a97
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140146344
test eax, eax
jne 0x140028aa2
xorps xmm0, xmm0
movups xmmword [rdi + 0x10], xmm0
mov byte [rdi + 0x20], 0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005b496.0]
mov ecx, 0x10
call fcn.1401449d4
test rax, rax
je 0x140028a09
mov qword [rax], rdi
lea rcx, [0x140028b60]
mov qword [rax + 8], rcx
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140028480]
xor edx, edx
xor ecx, ecx
call fcn.140115eb8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140028ae6
cmp dword [rdi + 0x18], 0
jne 0x140028ae0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm0
jmp 0x140028a5b
mov rcx, rbx
call fcn.140146704
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401449b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
mov ecx, eax
call fcn.140146c6c
nop
mov ecx, 1
call fcn.140146ca8
int3
mov ecx, 5
call fcn.140146ca8
int3
mov ecx, 2
call fcn.140146ca8
int3
lea rdx, str.Start_called_when_worker_thread_active
lea rcx, [rsp + 0x40]
call fcn.140022c70
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140028580
lea rdx, [0x1401cd340]
lea rcx, [rsp + 0x60]
call fcn.140137f0c
nop
call fcn.140115864
nop
mov dword [rsp + 0x48], 0
mov ecx, 6
call fcn.140146ca8
int3

Function at 0x14002a1c0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov ecx, 0x10
call fcn.1401449d4
test rax, rax
je 0x14002a1f5
mov qword [rax], rbx
lea rcx, [0x14002a270]
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140028480]
xor edx, edx
xor ecx, ecx
call fcn.140115eb8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002a251
cmp dword [rbx + 0x28], 0
jne 0x14002a24b
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x20], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0x50
pop rbx
ret
call fcn.140115864
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140146ca8
int3
Function at 0x1400369d0
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 8]
mov rdi, rdx
test rsi, rsi
je 0x140036a3b
lea rbx, [rdx + 8]
test rbx, rbx
je 0x140036a3b
cmp byte [rcx + 0x4c], 0
je 0x140036a3b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x140036a3b
cmp byte [rdi + 0x4c], 0
je 0x140036a3b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x140036a3b
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004d7f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rcx
cmp byte [rcx + 0x71], 0
jne 0x14004d8f4
mov byte [rcx + 0x71], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rax
mov rcx, qword [rcx + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov rax, qword [rax + 0x20]
call qword [case.0x14005b496.0]
nop
cmp dword [rsp + 0x68], 0
jne 0x14004d951
mov ecx, 0x10
call fcn.1401449d4
test rax, rax
je 0x14004d872
mov qword [rax], rbx
lea rcx, [0x14004d620]
mov qword [rax + 8], rcx
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140028480]
xor edx, edx
xor ecx, ecx
call fcn.140115eb8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004d8e1
cmp dword [rbx + 0x10], 0
jne 0x14004d8db
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 8], xmm0
lea rcx, [rsp + 0x68]
call fcn.140021ae0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0xd0
pop rbx
ret
call fcn.140115864
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140146ca8
nop
mov edx, 0x28
lea rcx, [rsp + 0x98]
call fcn.140023760
mov edx, 0xa0010010
lea rcx, [rsp + 0x98]
call fcn.1400217a0
nop
lea rdx, str.Source_already_initialized
lea rcx, [rsp + 0x98]
call fcn.1400221a0
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x40]
call fcn.1400217e0
lea rdx, [0x1401cd6f8]
lea rcx, [rsp + 0x40]
call fcn.140137f0c
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400217e0
lea rdx, [0x1401cd6f8]
lea rcx, [rsp + 0x40]
call fcn.140137f0c
int3
Function at 0x14004dc80
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov rdi, rcx
mov rsi, rdx
shr rsi, 0x38
mov rax, rdx
shr rax, 0x30
mov qword [rsp + 0x30], rax
mov r13, rdx
shr r13, 0x28
mov r12, rdx
shr r12, 0x20
mov r15, rdx
shr r15, 0x18
mov r14, rdx
shr r14, 0x10
mov rbp, rdx
shr rbp, 8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
add rcx, 0x18
lea rdx, [rsp + 0x38]
call fcn.14004bfc0
nop
lea rcx, [0x1401d2a10]
mov rax, qword [0x1401d2a10]
cmp rax, rcx
je 0x14004dd49
test byte [rax + 0x1c], 4
je 0x14004dd49
cmp byte [rax + 0x19], 4
jb 0x14004dd49
mov rcx, qword [rdi + 0x68]
call fcn.14009ca80
mov rcx, qword [0x1401d2a10]
mov edx, SafeArrayDestroy
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x14016c7f0]
mov rcx, qword [rcx + 0x10]
call fcn.14004e7c0
movzx ecx, bl
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, bpl
xor rcx, rax
imul rcx, rdx
movzx eax, r14b
xor rcx, rax
imul rcx, rdx
movzx eax, r15b
xor rcx, rax
imul rcx, rdx
movzx eax, r12b
xor rcx, rax
imul rcx, rdx
movzx eax, r13b
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0x30]
xor rcx, rax
imul rcx, rdx
xor rcx, rsi
imul rcx, rdx
and rcx, qword [rdi + 0x58]
mov r11, qword [rdi + 0x40]
mov r10, rcx
add r10, r10
mov rsi, qword [r11 + r10*8 + 8]
mov rdx, rsi
mov r8, qword [rdi + 0x30]
cmp rsi, r8
je 0x14004de47
mov rax, qword [r11 + r10*8]
cmp rbx, qword [rsi + 0x10]
je 0x14004ddef
nop word [rax + rax]
cmp rdx, rax
je 0x14004de47
mov rdx, qword [rdx + 8]
cmp rbx, qword [rdx + 0x10]
jne 0x14004dde0
test rdx, rdx
je 0x14004de47
add rcx, rcx
mov rax, qword [r11 + rcx*8]
cmp rsi, rdx
jne 0x14004de1b
cmp rax, rdx
jne 0x14004de10
mov qword [r11 + rcx*8], r8
mov qword [r11 + r10*8 + 8], r8
jmp 0x14004de27
mov r8, qword [rdx + 8]
mov qword [r11 + r10*8 + 8], r8
jmp 0x14004de27
cmp rax, rdx
jne 0x14004de27
mov rax, qword [rdx]
mov qword [r11 + rcx*8], rax
mov r8, qword [rdx]
dec qword [rdi + 0x38]
mov rax, qword [rdx + 8]
mov qword [rax], r8
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
lea rcx, [rdi + 0x30]
call fcn.14004cd90
nop
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14004de5b
lea rcx, [rsp + 0x38]
call fcn.14004bf80
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14004dea0
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004dea0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005b496.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004dea0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14005b496.0]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401449b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004e1d0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14004e3af
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14004e0e0
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14004e378
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x14004e2ec
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14004e367
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x14004e329
mov r10, qword [rax]
cmp r10, rcx
je 0x14004e323
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x14004e367
mov r8, rax
cmp r10, rax
je 0x14004e343
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x14004e389
cmp r10, rax
jne 0x14004e331
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x14004e270
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14004e367
lea rcx, str.invalid_hash_bucket_count
call fcn.1401460f4
int3
Function at 0x140050300
Capabilities:
Hash data using fnv

Disassembly:
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov r11, rdx
movzx eax, byte [r8 + 1]
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 4]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 5]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 6]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 7]
imul r9, rcx
xor r9, rax
imul r9, rcx
and rdx, r9
mov r9, qword [r10 + 8]
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, r9
je 0x1400503be
mov rcx, qword [r8]
mov rdx, qword [rdx]
cmp rcx, qword [rax + 0x10]
je 0x1400503c0
cmp rax, rdx
je 0x1400503be
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1400503a1
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
xor eax, eax
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
Function at 0x1400508f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
mov qword [rsp + 0x28], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
add rcx, 8
lea rdx, [rsp + 0x30]
call fcn.14004bfc0
nop
mov qword [rsp + 0x20], 0
lea rcx, [rsi + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
call fcn.140050300
mov rbx, qword [rsp + 0x20]
cmp rbx, qword [rsi + 0x28]
je 0x140050a39
mov rcx, qword [rbx + 0x18]
call fcn.14004c410
movzx edx, byte [rbx + 0x10]
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbx + 0x11]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 0x12]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 0x13]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 0x14]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 0x15]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 0x16]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 0x17]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [rsi + 0x50]
and rcx, rdx
shl rcx, 4
mov rdx, qword [rsi + 0x38]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x140050a0b
cmp rax, rbx
jne 0x140050a01
mov rax, qword [rsi + 0x28]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140050a16
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140050a16
cmp rax, rbx
jne 0x140050a16
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
dec qword [rsi + 0x30]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
mov rdx, rbx
lea rcx, [rsi + 0x28]
call fcn.14004cd90
nop
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140050a4d
lea rcx, [rsp + 0x30]
call fcn.14004bf80
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140050a92
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140050a92
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005b496.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140050a92
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14005b496.0]
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401449b0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14008e750
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
call fcn.14008ea00
test eax, eax
jne 0x14008e7a1
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0x40
pop rbx
ret

Function at 0x14008e7c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, qword [rsp + 0xb0]
lea rax, [rsp + 0x38]
mov rsi, qword [rsp + 0xb8]
mov r15, r9
mov r14, r8
mov qword [rsp + 0x20], rax
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov dword [rsp + 0x30], ebx
call fcn.14008ea00
test eax, eax
jne 0x14008e947
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, r14
mov qword [rsp + 0x58], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [rsp + 0x30]
mov ebx, eax
test rbp, rbp
je 0x14008e858
cmp dword [rsi], edi
jae 0x14008e858
mov ebx, 0xea
jmp 0x14008e935
test eax, eax
jne 0x14008e935
test rbp, rbp
je 0x14008e933
mov r8d, dword [rsi]
xor edx, edx
mov rcx, rbp
call fcn.1401386b0
inc edi
mov ecx, edi
mov dword [rsp + 0x30], edi
call fcn.14011bf78
mov rdi, rax
test rax, rax
je 0x14008e92c
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.1401386b0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x14008e922
mov r8d, dword [rsi]
xor edx, edx
mov rcx, rbp
call fcn.1401386b0
mov r14d, dword [rsp + 0x30]
mov eax, dword [rsi]
mov r8d, r14d
test r14d, r14d
je 0x14008e91f
mov rcx, rbp
cmp rax, r14
jb 0x14008e900
mov rdx, rdi
call fcn.140137fe0
mov rcx, rdi
mov dword [rsi], r14d
call fcn.140115f98
jmp 0x14008e935
mov r8, rax
xor edx, edx
call fcn.1401386b0
call fcn.14011bf58
mov dword [rax], 0x22
call fcn.140115c80
mov r14d, dword [rsp + 0x30]
mov dword [rsi], r14d
mov rcx, rdi
call fcn.140115f98
jmp 0x14008e935
mov ebx, 0x7a
jmp 0x14008e935
mov dword [rsi], edi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x58]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0x60
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008eb20
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov esi, dword [rsp + 0xd0]
lea rax, [rsp + 0x50]
mov rdi, qword [rsp + 0xc0]
mov r12d, r9d
mov r15, r8
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov r14, rdx
mov rbp, rcx
call fcn.14008ea00
mov ebx, eax
test eax, eax
je 0x14008ebad
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
or esi, 2
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov rdx, r14
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test eax, eax
jne 0x14008ebe5
test rdi, rdi
je 0x14008ebd8
mov eax, dword [rsp + 0xc8]
mov r9d, r12d
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret