joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18013bf60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18013c111
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.1800edc90
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 0x18013c0d6
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [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 r9, qword [r11]
cmp r9, rbx
jne 0x18013c050
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x18013c0c5
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x18013c08d
mov r8, qword [rax]
cmp r8, rcx
je 0x18013c087
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 0x18013c0c5
cmp r9, rax
je 0x18013c0a1
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x18013c0eb
cmp r9, rax
jne 0x18013c092
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 0x18013c000
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 0x18013c0c5
lea rcx, str.invalid_hash_bucket_count
call fcn.1801aae34
int3

Function at 0x18013c190
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movzx eax, byte [rcx]
xor r9d, r9d
mov r10, rcx
test al, al
je 0x18013c1d5
nop dword [rax]
movzx r8d, al
lea r10, [r10 + 1]
sub al, 0x41
cmp al, 0x19
lea ecx, [r8 + 0x20]
movzx edx, cl
cmova edx, r8d
movsx eax, dl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
movzx eax, byte [r10]
test al, al
jne 0x18013c1a0
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
ret
Function at 0x180142a20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x180142a81
lea r8, [r9 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180142a40
mov ecx, dword [r9]
jmp 0x180142b68
cmp ecx, 0x4e0
jb 0x180142b68
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x180142aa0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x180142af0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x180148730
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push r12
push r13
push r15
sub rsp, 0xb0
sub rdx, rcx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
mov r15, rcx
mov r13, rdx
sar r13, 2
mov rax, r13
shr rax, 0x3f
add r13, rax
mov r12, r13
mov qword [rsp + 0xd8], r13
sar r12, 1
test r12, r12
jle 0x1801489d3
mov qword [r11 + 0x18], rbx
lea r8, [r13 - 1]
mov qword [r11 - 0x20], rbp
lea rax, [r12 + r12*2]
mov qword [r11 - 0x28], rsi
lea rax, [r15 + rax*8]
mov qword [r11 - 0x30], rdi
mov rcx, r8
mov qword [r11 - 0x38], r14
movaps xmmword [r11 - 0x48], xmm6
movss xmm6, dword [0x1801e2f30]
sar rcx, 1
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [r11 - 0x68], xmm8
mov qword [rsp + 0x30], r8
mov qword [rsp + 0xd0], rcx
nop word [rax + rax]
movups xmm7, xmmword [rax - 0x18]
sub rax, 0x18
dec r12
mov qword [rsp + 0x38], rax
mov rbp, r12
mov rdx, r12
movsd xmm8, qword [rax + 0x10]
cmp r12, rcx
jge 0x1801488a8
mov r13, qword [rsp + 0xd0]
nop dword [rax]
lea rsi, [rdx + rdx]
movss dword [rsp + 0x20], xmm6
lea rax, [rsi + 2]
xor r9d, r9d
lea rax, [rax + rax*2]
xor r8d, r8d
mov rdx, qword [r15 + rax*8]
lea r14, [r15 + rax*8]
lea rcx, [rsp + 0x40]
call fcn.18009f840
mov rdx, qword [r14 - 0x18]
lea rdi, [r14 - 0x18]
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0x48]
mov rbx, rax
call fcn.18009f840
movss xmm0, dword [rbx]
comiss xmm0, dword [rax]
lea rax, [rbp*2]
seta cl
movzx edx, cl
xor rdx, 1
inc rdx
add rdx, rsi
test cl, cl
cmove rdi, r14
add rax, rbp
mov rbp, rdx
movups xmm0, xmmword [rdi]
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp rdx, r13
jl 0x180148800
mov r13, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x30]
cmp rbp, rcx
jne 0x1801488e5
test r13b, 1
jne 0x1801488e5
lea rax, [rbp*2]
lea rcx, [r13*2]
add rcx, r13
add rax, rbp
mov rbp, r8
movups xmm0, xmmword [r15 + rcx*8 - 0x18]
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [r15 + rcx*8 - 8]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp r12, rbp
jge 0x180148967
nop
lea rdi, [rbp - 1]
movss dword [rsp + 0x20], xmm6
sar rdi, 1
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
lea rsi, [rdi + rdi*2]
mov rdx, qword [r15 + rsi*8]
call fcn.18009f840
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0x58]
movq rdx, xmm7
mov rbx, rax
call fcn.18009f840
movss xmm0, dword [rbx]
comiss xmm0, dword [rax]
jbe 0x180148967
movups xmm0, xmmword [r15 + rsi*8]
lea rax, [rbp*2]
add rax, rbp
mov rbp, rdi
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [r15 + rsi*8 + 0x10]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp r12, rdi
jl 0x1801488f0
mov rcx, qword [rsp + 0xd0]
lea rax, [rbp*2]
add rax, rbp
lea r8, [r13 - 1]
movups xmmword [r15 + rax*8], xmm7
movsd qword [r15 + rax*8 + 0x10], xmm8
mov rax, qword [rsp + 0x38]
test r12, r12
jg 0x1801487d0
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r15
pop r13
pop r12
ret
Function at 0x1801490b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
movaps xmmword [rsp + 0x40], xmm6
mov rax, r8
movss xmm6, dword [0x1801e2f30]
dec r8
mov qword [rsp + 0x58], r12
mov r14, r9
mov r12, r8
mov qword [rsp + 0xa0], r8
sar r12, 1
mov rbp, rdx
mov r15, rcx
mov r13, rdx
cmp rdx, r12
jge 0x1801491be
nop dword [rax]
nop word [rax + rax]
lea rsi, [rdx + rdx]
movss dword [rsp + 0x20], xmm6
lea rax, [rsi + 2]
xor r9d, r9d
lea rax, [rax + rax*2]
xor r8d, r8d
mov rdx, qword [r15 + rax*8]
lea r14, [r15 + rax*8]
lea rcx, [rsp + 0xa8]
call fcn.18009f840
mov rdx, qword [r14 - 0x18]
lea rdi, [r14 - 0x18]
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.18009f840
movss xmm0, dword [rbx]
comiss xmm0, dword [rax]
lea rax, [rbp*2]
seta cl
movzx edx, cl
xor rdx, 1
inc rdx
add rdx, rsi
test cl, cl
cmove rdi, r14
add rax, rbp
mov rbp, rdx
movups xmm0, xmmword [rdi]
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp rdx, r12
jl 0x180149110
mov r14, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x58]
jne 0x1801491f4
test al, 1
jne 0x1801491f4
lea rcx, [rax + rax*2]
movups xmm0, xmmword [r15 + rcx*8 - 0x18]
lea rax, [rbp*2]
add rax, rbp
mov rbp, r8
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [r15 + rcx*8 - 8]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp r13, rbp
jge 0x18014927b
nop dword [rax]
lea rdi, [rbp - 1]
movss dword [rsp + 0x20], xmm6
sar rdi, 1
lea rcx, [rsp + 0xb8]
xor r9d, r9d
xor r8d, r8d
lea rsi, [rdi + rdi*2]
mov rdx, qword [r15 + rsi*8]
call fcn.18009f840
mov rdx, qword [r14]
lea rcx, [rsp + 0xb0]
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
mov rbx, rax
call fcn.18009f840
movss xmm0, dword [rbx]
comiss xmm0, dword [rax]
jbe 0x18014927b
movups xmm0, xmmword [r15 + rsi*8]
lea rax, [rbp*2]
add rax, rbp
mov rbp, rdi
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [r15 + rsi*8 + 0x10]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp r13, rdi
jl 0x180149200
movups xmm0, xmmword [r14]
lea rax, [rbp*2]
movaps xmm6, xmmword [rsp + 0x40]
add rax, rbp
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [r14 + 0x10]
movsd qword [r15 + rax*8 + 0x10], xmm1
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180152850
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1801529ff
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.1800edc90
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 0x1801529c4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r11d, byte [rcx + 0x10]
mov rdx, qword [rdx]
xor r11, rbp
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x12]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x13]
imul r11, rdi
xor r11, rax
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18015293d
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1801529b3
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x18015297a
mov r8, qword [rax]
cmp r8, rcx
je 0x180152974
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 0x1801529b3
cmp r9, rax
je 0x18015298f
nop
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x1801529d9
cmp r9, rax
jne 0x180152980
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 0x1801528f0
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 0x1801529b3
lea rcx, str.invalid_hash_bucket_count
call fcn.1801aae34
int3
Function at 0x180154110
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
cmp qword [0x18026de80], 0
mov rbx, rcx
jne 0x180154130
call fcn.180153da0
nop dword [rax]
movabs rcx, 0x100000001b3
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [rsp + 0x31]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x32]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x33]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x34]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x35]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x36]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x37]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x18026dea0]
and rcx, rdx
mov rdx, qword [0x18026de78]
shl rcx, 4
add rcx, qword [0x18026de88]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1801541e1
mov rcx, qword [rcx]
cmp rbx, qword [rax + 0x10]
je 0x1801541e3
cmp rax, rcx
je 0x1801541e1
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x1801541d0
jmp 0x1801541e3
xor eax, eax
test rax, rax
mov rcx, rdx
cmovne rcx, rax
cmp rcx, rdx
jne 0x1801541fa
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, qword [rcx + 0x18]
add rsp, 0x20
pop rbx
ret
Function at 0x18015a860
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x18015a943
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18015a943
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18015a961
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18015a933
cmp word [rax], 0x5c
jne 0x18015a92c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x18015a92c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18015a917
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x18015a929
test r8b, 0x10
jne 0x18015a92c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x18015a92c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.18015d100
test edi, edi
jne 0x18015a890
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.18015be20
int3

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

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x18015d5b4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18015d5a0
ret

Function at 0x18015e590
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18015e5c6
xor eax, eax
lea r8, [0x180157470]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18015e5c6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x18019fc40
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
mov r10, rdx
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x18019fcc7
mov ecx, dword [r10]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x18019fcbe
nop
cmp rax, rdx
je 0x18019fcc7
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18019fcb0
add rax, 0x18
add rsp, 0x28
ret
lea rcx, [0x1801ed640]
call fcn.1801aae58
int3
Function at 0x1801a9730
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x50
syscall
ret

Function at 0x1801ab548
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1801ab582
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1801ab587
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1801ab5d0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180215750]
cmp byte [rcx + rax], 0
je 0x1801ab5d0
dec r8
sub rdx, 1
jne 0x1801ab5b6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1801b4560
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1801a9c40
sub rsp, rax
mov rax, qword [0x18026adc0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1801c92d0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1801b45af
mov rax, rbp
jmp 0x1801b46b7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x270390]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1801cd0ec
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x270390]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1801b46b3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1801b46b3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1801cd0ec
test rax, rax
js 0x1801b46b3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1801b46b3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1801b46a5
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1801b46a5
cmp byte [rcx], 0xd
jne 0x1801b468b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1801b469a
cmp byte [rcx + 1], 0xa
jne 0x1801b469a
inc rcx
jmp 0x1801b469a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x26b2b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1801b466d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1801b46b7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1801a9830
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1801c5670
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1801c54b4
Function at 0x1801cc324
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x180270390]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1801cc37b
cmp word [rdx], r13w
jne 0x1801cc37b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1801cc380
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1801cc4a5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1801cc4c6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1801cc3b9
mov rdx, r9
mov word [rbx], cx
jmp 0x1801cc3e0
cmp r9, r8
jae 0x1801cc3f0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1801cc39a
jmp 0x1801cc4a5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1801cc49a
cmp dword [rsp + 0x80], esi
je 0x1801cc49a
lea r8, [0x180270390]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1801cc472
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1801cc442
mov word [rbx], r13w
jmp 0x1801cc4a2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1801cc44f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1801cc4a2
cmp word [rsp + 0x70], r13w
jne 0x1801cc47f
cmp rbx, r14
je 0x1801cc43c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1801cd0f4
cmp word [rsp + 0x70], r13w
je 0x1801cc4a5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x180270390]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1801cc49f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1801cc4a5
Function at 0x1801cd290
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1801cd2a6
mov al, 1
jmp 0x1801cd306
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1801cd2b7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1801cd304
mov ecx, dword [rcx + 0x18]
nop
call fcn.1801d4e5c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1801cd304
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1801cd304
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1801cd304
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1801cd306
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1801d0d74
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1801d0d94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1801c2f00
or eax, 0xffffffff
jmp 0x1801d0d96
xor eax, eax
add rsp, 0x28
ret