joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008e2b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
lea rcx, [fcn.14008e2b0]
xor rax, rcx
xor rax, rbx
mov r8, rax
shr r8, 0x11
xor r8, rax
and r8d, 0xf
add r8, 1
je 0x14008e343
mov r9d, 0x11
movabs r10, 0xbf58476d1ce4e5b9
movabs r11, 0x94d049bb133111eb
nop dword [rax]
nop dword [rax + rax]
test rax, rax
cmove rax, r9
mov rcx, rax
shr rcx, 0x1e
xor rcx, rax
imul rcx, r10
mov rdx, rcx
shr rdx, 0x1b
xor rdx, rcx
imul rdx, r11
mov rax, rdx
shr rax, 0x1f
xor rax, rdx
sub r8, 1
jne 0x14008e310
add rsp, 0x20
pop rbx
ret

Function at 0x14008e6b0
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140124d18]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r9d, 2
lea rdx, [rsp + 0x20]
mov rbx, rcx
xor ecx, ecx
lea r8d, [r9 + 0x1e]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jns 0x14008e885
lea rcx, str.unable_to_use_secure_randomness_n
call fcn.14008fe20
xor ecx, ecx
call fcn.14008e2b0
test rax, rax
mov r10d, 0x11
movabs r9, 0xbf58476d1ce4e5b9
movabs r8, 0x94d049bb133111eb
cmove rax, r10
mov rcx, rax
shr rcx, 0x1e
xor rcx, rax
imul rcx, r9
mov rax, rcx
shr rax, 0x1b
xor rax, rcx
imul rax, r8
mov rcx, rax
shr rcx, 0x1f
xor rcx, rax
mov dword [rsp + 0x20], ecx
cmove rcx, r10
mov rax, rcx
shr rax, 0x1e
xor rax, rcx
imul rax, r9
mov rcx, rax
shr rcx, 0x1b
xor rcx, rax
imul rcx, r8
mov rdx, rcx
shr rdx, 0x1f
xor rdx, rcx
mov dword [rsp + 0x24], edx
cmove rdx, r10
mov rax, rdx
shr rax, 0x1e
xor rax, rdx
imul rax, r9
mov rcx, rax
shr rcx, 0x1b
xor rcx, rax
imul rcx, r8
mov rdx, rcx
shr rdx, 0x1f
xor rdx, rcx
mov dword [rsp + 0x28], edx
cmove rdx, r10
mov rax, rdx
shr rax, 0x1e
xor rax, rdx
imul rax, r9
mov rcx, rax
shr rcx, 0x1b
xor rcx, rax
imul rcx, r8
mov rdx, rcx
shr rdx, 0x1f
xor rdx, rcx
mov dword [rsp + 0x2c], edx
cmove rdx, r10
mov rax, rdx
shr rax, 0x1e
xor rax, rdx
imul rax, r9
mov rcx, rax
shr rcx, 0x1b
xor rcx, rax
imul rcx, r8
mov rdx, rcx
shr rdx, 0x1f
xor rdx, rcx
mov dword [rsp + 0x30], edx
cmove rdx, r10
mov rax, rdx
shr rax, 0x1e
xor rax, rdx
imul rax, r9
mov rcx, rax
shr rcx, 0x1b
xor rcx, rax
imul rcx, r8
mov rdx, rcx
shr rdx, 0x1f
xor rdx, rcx
mov dword [rsp + 0x34], edx
cmove rdx, r10
mov rax, rdx
shr rax, 0x1e
xor rax, rdx
imul rax, r9
mov rcx, rax
shr rcx, 0x1b
xor rcx, rax
imul rcx, r8
mov rdx, rcx
shr rdx, 0x1f
xor rdx, rcx
mov dword [rsp + 0x38], edx
cmove rdx, r10
mov rax, rdx
shr rax, 0x1e
xor rax, rdx
imul rax, r9
mov rdx, rax
shr rdx, 0x1b
xor rdx, rax
imul rdx, r8
mov rax, rdx
shr rax, 0x1f
xor eax, edx
mov dword [rsp + 0x3c], eax
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140090310
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400bd960
add rsp, 0x50
pop rbx
ret
Function at 0x140090310
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r9, rcx
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], xmm0
mov dword [rcx + 0x80], eax
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
movzx eax, byte [rdx + 2]
movzx ecx, byte [rdx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x10], ecx
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x14], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x18], ecx
movzx eax, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x1c], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x20], ecx
movzx eax, byte [rdx + 0x16]
movzx ecx, byte [rdx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x24], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x28], ecx
movzx eax, byte [rdx + 0x1e]
movzx ecx, byte [rdx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [r9 + 0x2c], ecx
mov dword [r9 + 0x38], r8d
shr r8, 0x20
mov dword [r9 + 0x3c], r8d
mov qword [r9 + 0x30], rax
ret
Function at 0x14009b920
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r9
mov r15, r8
mov rsi, rdx
mov rbp, rcx
movzx edi, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rdi, rax
movabs rcx, 0x100000001b3
imul rdi, rcx
movzx eax, byte [r8 + 1]
xor rdi, rax
imul rdi, rcx
mov rdx, rdi
and rdx, qword [rbp + 0x30]
add rdx, rdx
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
lea r13, [rbp + 8]
mov r14, qword [r13]
cmp rax, r14
je 0x14009b9da
mov rdx, qword [rcx + rdx*8]
movzx ecx, word [r8]
cmp cx, word [rax + 0x10]
je 0x14009b9b0
cmp rax, rdx
je 0x14009b9d7
mov rax, qword [rax + 8]
cmp cx, word [rax + 0x10]
jne 0x14009b9a1
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r14, rax
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x14009bb5d
mov qword [rsp + 0x20], r13
mov edx, 0x18
lea ecx, [rdx - 0x17]
call fcn.140091d40
mov rbx, rax
mov qword [rsp + 0x28], rax
movzx ecx, word [r15]
mov word [rax + 0x10], cx
mov ecx, dword [r12]
mov dword [rax + 0x14], ecx
mov r8, qword [rbp + 0x10]
lea rdx, [r8 + 1]
xorps xmm0, xmm0
test rdx, rdx
js 0x14009ba2e
cvtsi2ss xmm0, rdx
jmp 0x14009ba46
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14009ba59
cvtsi2ss xmm1, rcx
jmp 0x14009ba6e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x14009baf5
mov rcx, rbp
call fcn.140072f10
mov rdx, rax
mov rcx, rbp
call fcn.14009c670
mov rdx, rdi
and rdx, qword [rbp + 0x30]
add rdx, rdx
mov r8, qword [rbp + 0x18]
mov rcx, qword [r8 + rdx*8 + 8]
mov rax, qword [r13]
cmp rcx, rax
jne 0x14009bab7
mov qword [rsp + 0x28], 0
jmp 0x14009badc
mov rdx, qword [r8 + rdx*8]
movzx eax, word [rbx + 0x10]
cmp ax, word [rcx + 0x10]
je 0x14009bad4
cmp rcx, rdx
je 0x14009bb2a
mov rcx, qword [rcx + 8]
cmp ax, word [rcx + 0x10]
jne 0x14009bac5
mov rax, qword [rcx]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, qword [rbp + 0x10]
mov r14, qword [rsp + 0x20]
mov rcx, qword [r14 + 8]
lea rax, [r8 + 1]
mov qword [rbp + 0x10], rax
mov qword [rbx], r14
mov qword [rbx + 8], rcx
mov qword [rcx], rbx
mov qword [r14 + 8], rbx
mov rax, qword [rbp + 0x18]
and rdi, qword [rbp + 0x30]
add rdi, rdi
mov rdx, qword [rax + rdi*8]
cmp rdx, qword [r13]
jne 0x14009bb3a
mov qword [rax + rdi*8], rbx
jmp 0x14009bb4c
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 0
jmp 0x14009bae1
cmp rdx, r14
jne 0x14009bb45
mov qword [rax + rdi*8], rbx
jmp 0x14009bb51
cmp qword [rax + rdi*8 + 8], rcx
jne 0x14009bb51
mov qword [rax + rdi*8 + 8], rbx
mov qword [rsi], rbx
mov byte [rsi + 8], 1
jmp 0x14009b9b7
lea rcx, str.unordered_map_set_too_long
call fcn.1400ba050
int3
Function at 0x14009c4d0
Capabilities:
Hash data using fnv

Disassembly:
mov r9, rcx
movzx r8d, dl
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, dx
imul r8, rcx
shr rax, 8
xor r8, rax
imul r8, rcx
mov rcx, qword [r9 + 0x30]
and rcx, r8
mov r8, qword [r9 + 8]
shl rcx, 4
add rcx, qword [r9 + 0x18]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x14009c544
mov rcx, qword [rcx]
cmp dx, word [rax + 0x10]
je 0x14009c534
cmp rax, rcx
je 0x14009c544
mov rax, qword [rax + 8]
cmp dx, word [rax + 0x10]
jne 0x14009c525
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x14009c544
mov eax, dword [rax + 0x14]
ret
xor eax, eax
ret

Function at 0x14009c670
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0x7ffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14009c814
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400721b0
mov rcx, qword [rsi + 8]
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14009c7d9
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rcx + 0x10]
movzx eax, byte [rcx + 0x11]
xor r9, rbp
mov r11, qword [rsi + 0x30]
mov rdx, qword [rdx]
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 0x14009c74a
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14009c7c8
mov rax, qword [r11 + 8]
movzx r9d, word [rcx + 0x10]
cmp r9w, word [rax + 0x10]
jne 0x14009c789
mov r10, qword [rax]
cmp r10, rcx
je 0x14009c783
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 0x14009c7c8
mov r8, rax
cmp r10, rax
je 0x14009c7a4
mov rax, qword [rax + 8]
mov r8, rax
cmp r9w, word [rax + 0x10]
je 0x14009c7ee
cmp r10, rax
jne 0x14009c791
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 0x14009c710
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x14009c7c8
lea rcx, str.invalid_hash_bucket_count
call fcn.1400ba050
int3
Function at 0x14009d5b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 8
mov r10, qword [rdx + 8]
mov r9, qword [rdx]
mov rax, r10
sub rax, r9
sar rax, 3
cmp r9, r10
je 0x14009d673
mov qword [rsp], rbx
movabs r11, 0x100000001b3
movabs rbx, 0xcbf29ce484222325
nop word [rax + rax]
movzx ecx, byte [r9 + 1]
mov rdx, rax
movzx r8d, byte [r9]
xor r8, rbx
shr rdx, 2
imul r8, r11
xor r8, rcx
movzx ecx, byte [r9 + 2]
imul r8, r11
xor r8, rcx
movzx ecx, byte [r9 + 3]
imul r8, r11
xor r8, rcx
movzx ecx, byte [r9 + 4]
imul r8, r11
xor r8, rcx
movzx ecx, byte [r9 + 5]
imul r8, r11
xor r8, rcx
movzx ecx, byte [r9 + 6]
imul r8, r11
xor r8, rcx
movzx ecx, byte [r9 + 7]
imul r8, r11
add r9, 8
xor r8, rcx
mov rcx, rax
imul r8, r11
shl rcx, 6
add rcx, r8
add rdx, rcx
xor rax, rdx
cmp r9, r10
jne 0x14009d5f0
mov rbx, qword [rsp]
add rsp, 8
ret
Function at 0x1400a9e70
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
movzx r8d, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov rsi, rdx
xor r8, rax
movzx eax, byte [rbx + 0x11]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x13]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x14]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x15]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x16]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x17]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1400a9f29
cmp rax, rbx
jne 0x1400a9f1f
mov rax, qword [r9 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400a9f34
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1400a9f34
cmp rax, rbx
jne 0x1400a9f34
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400a9f66
call fcn.140091210
xor eax, eax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov rcx, rbx
call fcn.140091210
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ad650
Capabilities:
Hash data using fnv

Disassembly:
push rdi
push r14
sub rsp, 0x38
movabs rax, 0x7ffffffffffffff
mov r14, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400ad84d
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [r14 + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r15
inc ecx
shl rdi, cl
lea rcx, [r14 + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400721b0
mov rcx, qword [r14 + 8]
lea rax, [rdi - 1]
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1400ad815
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x30], r12
movabs r12, 0xcbf29ce484222325
mov qword [rsp + 0x28], r13
movabs r13, 0x100000001b3
movzx edi, byte [rcx + 0x10]
movzx esi, byte [rcx + 0x11]
mov r9d, edi
movzx ebp, byte [rcx + 0x12]
xor r9, r12
mov rdx, qword [rdx]
mov r8d, esi
xor r8, r12
imul r8, r13
imul r9, r13
mov rax, r9
mov r10, r9
shl rax, 6
add rax, r8
shr r10, 2
add r10, rax
mov r8d, ebp
xor r10, r9
xor r8, r12
imul r8, r13
mov rax, r10
mov r11, r10
shr r11, 2
shl rax, 6
add rax, r8
add r11, rax
xor r11, r10
and r11, qword [r14 + 0x30]
shl r11, 4
add r11, qword [r14 + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1400ad76c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400ad7f5
mov rax, qword [r11 + 8]
cmp bpl, byte [rax + 0x12]
jne 0x1400ad7b1
cmp sil, byte [rax + 0x11]
jne 0x1400ad7b1
cmp dil, byte [rax + 0x10]
jne 0x1400ad7b1
mov r8, qword [rax]
cmp r8, rcx
je 0x1400ad7ab
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 + 8], rcx
jmp 0x1400ad7f5
cmp r8, rax
je 0x1400ad7d1
mov rax, qword [rax + 8]
cmp bpl, byte [rax + 0x12]
jne 0x1400ad7cc
cmp sil, byte [rax + 0x11]
jne 0x1400ad7cc
cmp dil, byte [rax + 0x10]
je 0x1400ad827
cmp r8, rax
jne 0x1400ad7b6
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1400ad6f1
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x38
pop r14
pop rdi
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 0x1400ad7f5
lea rcx, str.invalid_hash_bucket_count
call fcn.1400ba050
int3
Function at 0x1400cc25c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400cc0ef
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400cc0ef
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400cc0ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400cc0ef
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400cc0ef
cmp dword [rcx + 0x84], 0xe
jbe 0x1400cc0ef
cmp dword [rcx + 0xf8], 0
je 0x1400cc0ef
mov ecx, ebx
call fcn.1400cc190
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400cbf80
cmp dword [rbp + 0x20], 0
je 0x1400cc13c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400cc144
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400cc088
Function at 0x140002490
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x14005fa64], 0
lea rdi, [0x14005fa60]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002568
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400024c0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000259e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002580
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400025df
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400025c3
cmp byte [r8], r9b
jne 0x1400025c3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400025b0
not eax
pop rdi
ret
Function at 0x1400027c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x1400027d9
mov qword [r8], 0
lea rdx, [0x140036808]
call fcn.1400025f0
mov rbx, rax
test rax, rax
jne 0x1400027f8
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400028b8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400028b8
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400028b8
mov rax, qword [0x14005f850]
mov rbp, rsi
test rax, rax
je 0x140002855
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400028b8
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x1400028a5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005f850]
test rax, rax
je 0x14000289a
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400028c1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400028b3
mov qword [rdi], rbp
mov rax, rsi
jmp 0x1400028c3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140011910
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x14005f850]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x140011a2a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14001196a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1400129f0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14001197e
mov edx, 8
mov rcx, rbx
call fcn.1400129f0
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x1400119ca
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x1400119a0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x1400119d9
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14003680c]
test rax, rax
movsxd rsi, esi
lea rdi, [0x14005f848]
mov rcx, r15
cmovne rdi, rax
call fcn.1400025f0
mov rbx, rax
test rax, rax
je 0x140011a25
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret