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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x14001f8b1
test r8, r8
jle 0x14001f8a9
mov rcx, rdi
call fcn.140025380
test rax, rax
jle 0x14001f880
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.1400a5e80
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14001f8a1
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
mov rax, qword [rax + 0x18]
call qword [case.0x14003c2ce.0]
cmp eax, 0xffffffff
je 0x14001f8a9
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x14001f842
sub r14, rbx
mov rax, r14
jmp 0x14001f925
mov rax, qword [rcx + 0x40]
mov r9, qword [rax]
test r9, r9
je 0x14001f8c5
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001f8c7
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14001f91f
test ecx, ecx
jle 0x14001f900
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.1400a5e80
mov rax, qword [rdi + 0x58]
sub r14, rsi
add rbp, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14001f91f
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001f91f
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1400b5290
sub r14, rax
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001f940
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14001f962
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14001f9e3
mov rdi, r14
mov rcx, rbx
call fcn.1400253a0
test rax, rax
jle 0x14001f9b4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400a5e80
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14001f9d3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [case.0x14003c2ce.0]
cmp eax, 0xffffffff
je 0x14001f9db
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14001f976
sub r14, rdi
jmp 0x14001fad8
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14001f9fa
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001f9fc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001fa31
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400a5e80
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14001fad5
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x14001fa6c
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14001fab0
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400b5574
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14001faee
cmp rbp, rax
ja 0x14001fa80
mov r8, rdi
test rdi, rdi
je 0x14001fad5
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400b5574
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x14001fad8
Function at 0x14001ff20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14010c1f0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001ff50
xor eax, eax
jmp 0x1400200a0
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14001ff8a
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14001ff8a
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 0x1400200a0
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xb0], rsi
je 0x140020093
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001ffcd
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 0x14001ffdc
movsx ecx, dil
jmp 0x14002003a
lea r8, [rsp + 0x50]
mov byte [rsp + 0x60], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x61]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x68]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x60]
call qword [case.0x14003c2ce.0]
test eax, eax
je 0x140020054
sub eax, 1
je 0x140020054
cmp eax, 2
jne 0x140020093
movsx ecx, byte [rsp + 0x60]
mov rdx, qword [rbx + 0x80]
call fcn.1400b3a2c
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140020098
mov rsi, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
sub rsi, rax
je 0x140020081
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x68]
mov r8, rsi
mov edx, 1
call fcn.1400b5290
cmp rsi, rax
jne 0x140020093
lea rax, [rsp + 0x60]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x58], rax
mov eax, edi
jne 0x140020098
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a3640
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x1400244d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14010c1f0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400245b0
cmp byte [rcx + 0x71], 0
je 0x1400245b0
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [case.0x14003c2ce.0]
cmp eax, 0xffffffff
je 0x1400245ac
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x14003c2ce.0]
test eax, eax
je 0x140024572
sub eax, 1
je 0x140024576
cmp eax, 2
jne 0x1400245ac
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a3640
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400245a3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1400b5290
cmp rdi, rax
jne 0x1400245ac
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002455a
xor al, al
jmp 0x14002455a
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a3640
add rsp, 0x60
pop rbx
ret
Function at 0x140028e20
Capabilities:
Hash data using djb2

Disassembly:
push rdi
push r15
sub rsp, 0x48
movabs rax, 0xfffffffffffffff
mov r15, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002904f
lea rax, [rdx - 1]
mov qword [rsp + 0x70], rbx
mov rbx, qword [r15 + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x30], r12
inc ecx
shl rdi, cl
lea rcx, [r15 + 0x18]
lea rdx, [rdi + rdi]
call fcn.140027590
lea rax, [rdi - 1]
mov qword [r15 + 0x38], rdi
mov qword [r15 + 0x30], rax
mov rax, qword [r15 + 8]
mov rax, qword [rax]
mov rdx, rax
cmp rax, rbx
je 0x140029017
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], r13
lea r13, [0x1400ee744]
mov qword [rsp + 0x20], r14
nop dword [rax]
nop dword [rax + rax]
mov rbp, qword [rax + 0x10]
mov r9d, 0x1505
mov rdx, qword [rdx]
mov r8, rbp
movzx ecx, word [rbp]
test cx, cx
je 0x140028ef7
nop dword [rax]
imul r9, r9, 0x21
movzx ecx, cx
lea r8, [r8 + 2]
add r9, rcx
movzx ecx, word [r8]
test cx, cx
jne 0x140028ee0
mov r14, qword [r15 + 0x30]
and r14, r9
shl r14, 4
add r14, qword [r15 + 0x18]
mov rsi, qword [r14]
cmp rsi, rbx
jne 0x140028f1a
mov qword [r14], rax
mov qword [r14 + 8], rax
jmp 0x140028ff7
mov rcx, qword [r14 + 8]
mov r11, r13
mov r8, qword [rcx + 0x10]
test r8, r8
cmovne r11, r8
mov r8, rbp
sub r11, rbp
movzx r10d, word [r8]
movzx r9d, word [r8 + r11]
sub r10d, r9d
jne 0x140028f49
add r8, 2
test r9d, r9d
jne 0x140028f32
test r10d, r10d
jne 0x140028f7d
mov r10, qword [rcx]
cmp r10, rax
je 0x140028f77
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
mov qword [r14 + 8], rax
jmp 0x140028ff7
mov rdi, rcx
cmp rsi, rcx
je 0x140028fd3
nop word [rax + rax]
mov rcx, qword [rcx + 8]
mov r11, r13
mov rdi, rcx
mov r8, qword [rcx + 0x10]
test r8, r8
cmovne r11, r8
test rbp, rbp
mov r8, r13
cmovne r8, rbp
sub r11, r8
movzx r10d, word [r8]
movzx r9d, word [r8 + r11]
sub r10d, r9d
jne 0x140028fc9
add r8, 2
test r9d, r9d
jne 0x140028fb2
test r10d, r10d
je 0x140029029
cmp rsi, rcx
jne 0x140028f90
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov qword [rdi + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
mov qword [r14], rax
mov rax, rdx
cmp rdx, rbx
jne 0x140028ec0
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x30]
add rsp, 0x48
pop r15
pop rdi
ret
mov r10, qword [rcx]
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
jmp 0x140028ff7
lea rcx, str.invalid_hash_bucket_count
call fcn.1400465d0
int3
Function at 0x140035010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rbx, rdx
mov rdx, qword [rdx + 0x10]
mov r11, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003503a
mov r11, qword [rbx]
xor r9d, r9d
movabs rax, 0xcbf29ce484222325
mov r8, rax
mov r10d, r9d
movabs rsi, 0x100000001b3
test rdx, rdx
je 0x140035074
nop dword [rax]
movzx ecx, byte [r10 + r11]
inc r10
xor r8, rcx
imul r8, rsi
cmp r10, rdx
jb 0x140035060
mov r11, qword [rbx + 0x30]
lea r10, [rbx + 0x20]
movabs rbp, 0xc6a4a7935bd1e995
movabs rcx, 0x35a98f4d286a90b9
imul r8, rbp
mov r14d, 0xe6546b64
mov rdi, r8
shr rdi, 0x2f
xor rdi, r8
imul rdi, rcx
add rdi, r14
cmp qword [r10 + 0x18], 0x10
jb 0x1400350b5
mov r10, qword [r10]
mov rdx, rax
mov r8, r9
test r11, r11
je 0x1400350d4
movzx ecx, byte [r8 + r10]
inc r8
xor rdx, rcx
imul rdx, rsi
cmp r8, r11
jb 0x1400350c0
mov r8, qword [rbx + 0x50]
imul rdx, rbp
mov r10, rdx
shr r10, 0x2f
xor r10, rdx
lea rdx, [rbx + 0x40]
imul r10, rbp
xor r10, rdi
imul r10, rbp
add r10, r14
cmp qword [rdx + 0x18], 0x10
jb 0x140035102
mov rdx, qword [rdx]
test r8, r8
je 0x140035124
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, rsi
cmp r9, r8
jb 0x140035110
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
imul rax, rbp
mov rcx, rax
shr rcx, 0x2f
xor rax, rcx
imul rax, rbp
xor rax, r10
imul rax, rbp
mov rbp, qword [rsp + 0x18]
add rax, r14
pop r14
ret
Function at 0x14003e6b0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14010c1f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, r8
mov qword [rsp + 0x20], r8
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x38], rdx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov rdx, qword [rcx + 0x58]
mov r8, qword [rcx + 0x60]
sub r8, rdx
lea r9, [rsp + 0x40]
lea ecx, [r12 + 0x10]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ecx, eax
cmp eax, 0xc0000004
jne 0x14003e876
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x14003e876
mov esi, dword [r13 + 0x54]
add esi, edx
cmp ecx, 0xc0000004
jne 0x14003e7bb
mov edi, esi
mov r15, qword [r13 + 0x60]
mov rdx, qword [r13 + 0x58]
mov rcx, r15
sub rcx, rdx
cmp rdi, rcx
jae 0x14003e74b
lea rax, [rdx + rsi]
jmp 0x14003e782
mov eax, r15d
jbe 0x14003e786
mov rax, qword [r13 + 0x68]
sub rax, rdx
cmp rdi, rax
jbe 0x14003e76e
mov rdx, rdi
lea rcx, [r13 + 0x58]
call fcn.140044860
mov eax, dword [r13 + 0x60]
jmp 0x14003e786
sub rdi, rcx
mov r8, rdi
xor edx, edx
mov rcx, r15
call fcn.1400a6530
lea rax, [rdi + r15]
mov qword [r13 + 0x60], rax
mov dword [rsp + 0x40], r12d
sub eax, dword [r13 + 0x58]
lea r9, [rsp + 0x40]
mov r8d, eax
mov rdx, qword [r13 + 0x58]
mov ecx, 0x10
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ecx, eax
mov edx, dword [rsp + 0x40]
test edx, edx
jne 0x14003e71e
add esi, esi
jmp 0x14003e724
test ecx, ecx
js 0x14003e849
mov rsi, qword [r13 + 0x58]
mov rax, qword [r13 + 0x60]
sub rax, rsi
cmp rax, 0x20
jb 0x14003e849
lea rcx, [r13 + 0x70]
mov rdi, qword [rcx + 8]
mov rbx, qword [rcx]
mov rax, rdi
sub rax, rbx
cmp rax, 0x1000
jae 0x14003e82a
mov rax, qword [r13 + 0x80]
sub rax, rbx
cmp rax, 0x1000
jae 0x14003e80b
mov edx, 0x1000
call fcn.140044860
jmp 0x14003e82a
sub rbx, rdi
add rbx, 0x1000
mov r8, rbx
xor edx, edx
mov rcx, rdi
call fcn.1400a6530
lea rdx, [rbx + rdi]
mov qword [r13 + 0x78], rdx
mov edx, dword [rsi]
mov dword [r13 + 0x48], edx
mov dword [r13 + 0x4c], r12d
mov r8, qword [rsp + 0x20]
mov rdx, r14
mov rcx, r13
call fcn.14003e8d0
mov rax, r14
jmp 0x14003e8b2
mov dword [rsp + 0x28], ecx
lea rax, [0x14010cea8]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
movups xmmword [rax], xmm0
mov dword [r14], r12d
mov byte [r14 + 0x30], r12b
mov dword [r14 + 0x38], r12d
mov rax, r14
jmp 0x14003e8b2
mov dword [rsp + 0x28], eax
lea rax, [0x14010cea8]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r15], xmm0
mov dword [r14], r12d
mov byte [r14 + 0x30], r12b
mov dword [r14 + 0x38], r12d
mov rax, r14
jmp 0x14003e8b2
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3640
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14003ed50
Capabilities:
Hash data using fnv

Disassembly:
mov r10, rcx
movzx r9d, dl
movabs r11, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov eax, edx
imul r9, r11
shr eax, 8
movzx r8d, al
mov eax, edx
xor r9, r8
shr eax, 0x10
mov r8, qword [r10 + 0x98]
imul r9, r11
movzx ecx, al
xor r9, rcx
mov eax, edx
mov rcx, qword [r10 + 0xc0]
imul r9, r11
shr rax, 0x18
xor r9, rax
imul r9, r11
and rcx, r9
shl rcx, 4
add rcx, qword [r10 + 0xa8]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x14003edf0
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x14003edde
nop dword [rax + rax]
cmp rax, rcx
je 0x14003edf0
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x14003edd0
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x14003edf0
mov rax, qword [rax + 0x18]
jmp 0x14003edf2
xor eax, eax
ret

Function at 0x14003f270
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14010c1f0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor esi, esi
xorps xmm0, xmm0
mov qword [rsp + 0x30], rsi
mov edi, edx
mov qword [rsp + 0x38], rsi
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rsi + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14003f331
cmp qword [rsp + 0x30], rsi
je 0x14003f331
lea r8, [rsp + 0x38]
mov qword [rsp + 0x70], rbx
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov ebx, eax
test eax, eax
je 0x14003f31f
mov rax, qword [rsp + 0x38]
lea r9d, [rsi + 0x10]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x44], rax
neg edi
mov qword [rsp + 0x28], rsi
sbb eax, eax
mov dword [rsp + 0x40], 1
and eax, 2
mov qword [rsp + 0x20], rsi
xor edx, edx
mov dword [rsp + 0x4c], eax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a3640
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400445d0
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 0x14004478e
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.140027590
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 0x140044757
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
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x1400446c3
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140044746
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x140044700
mov r10, qword [rax]
cmp r10, rcx
je 0x1400446fa
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 0x140044746
mov r8, rax
cmp r10, rax
je 0x140044722
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x140044768
cmp r10, rax
jne 0x140044710
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 0x140044670
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 0x140044746
lea rcx, str.invalid_hash_bucket_count
call fcn.1400465d0
int3

Function at 0x140065300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14005009e
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140050081
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14005006c

Function at 0x140065320
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x14003d804
movabs r10, 0x100000001b3
movzx edx, byte [r8 + rcx]
inc r8
xor rax, rdx
imul rax, r10
cmp r8, r9
jb 0x14003d7f0
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14003d7d0
Function at 0x14006f620
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r9d, dword [0x1401114c8]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0xb8
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x140111380], eax
jg 0x14006f707
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x14006f687
mov rcx, rbx
call fcn.1400814d0
test al, al
jne 0x14006f662
jmp 0x14006f6ec
mov edi, 1
test ebp, ebp
je 0x14006f6a2
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, edi
call fcn.1400b5290
jmp 0x14006f6b1
mov r8, r14
lea rdx, [0x1400de04c]
call fcn.140091fd0
cmp qword [0x140111378], 0
jl 0x14006f6ce
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x140111378]
setge sil
lock xadd dword [rbx + 0x40], edi
inc edi
cmp edi, 1
jne 0x14006f6e8
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call fcn.1400b4b70
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, [0x140111380]
call fcn.1400a3880
cmp dword [0x140111380], 0xffffffff
jne 0x14006f670
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x140111378], rcx
lea rcx, [0x140111380]
call fcn.1400a3820
jmp 0x14006f670

Function at 0x14006f740
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r9d, dword [0x1401114c8]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0xb8
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x140111390], eax
jg 0x14006f82a
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x14006f7a7
mov rcx, rbx
call fcn.1400814d0
test al, al
jne 0x14006f782
jmp 0x14006f80f
test ebp, ebp
je 0x14006f7c0
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, 2
call fcn.1400b5290
jmp 0x14006f7cf
mov r8, r14
lea rdx, [0x1400ee5a8]
call fcn.140092020
cmp qword [0x140111388], 0
jl 0x14006f7ec
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x140111388]
setge sil
mov ecx, 1
lock xadd dword [rbx + 0x40], ecx
inc ecx
cmp ecx, 1
jne 0x14006f80b
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call fcn.1400b4b70
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, [0x140111390]
call fcn.1400a3880
cmp dword [0x140111390], 0xffffffff
jne 0x14006f790
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x140111388], rcx
lea rcx, [0x140111390]
call fcn.1400a3820
jmp 0x14006f790