joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400435a0
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 0x1400435c2
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 0x14004363c
mov rdi, r14
mov rcx, rbx
call fcn.14004ec30
test rax, rax
jle 0x140043614
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1402a12e0
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 0x14004362c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140043634
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400435d6
sub r14, rdi
jmp 0x14004371f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140043653
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140043655
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140043687
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1402a12e0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14004371c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400436c2
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
cmp rbp, 0xfff
jbe 0x1400436fd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14027f4e8
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14004371c
cmp rbp, rax
ja 0x1400436d0
test rbp, rbp
je 0x14004371c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14027f4e8
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140060770
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
movzx r15d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
movzx eax, byte [r8 + 1]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 2]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 3]
xor r15, rax
imul r15, rcx
mov rcx, qword [0x140361700]
and rcx, r15
add rcx, rcx
mov rax, qword [0x1403616e8]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [0x1403616d8]
cmp rbx, r14
jne 0x1400607fa
mov rbx, r14
mov rbp, r14
jmp 0x140060839
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x140060814
cmp rbx, rcx
je 0x140060833
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140060806
mov qword [rdx], rbx
mov byte [rdx + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x492492492492492
cmp qword [0x1403616e0], rax
je 0x1400609cb
lea rax, [0x1403616d8]
mov qword [rsp + 0x20], rax
xor r13d, r13d
mov qword [rsp + 0x28], r13
lea ecx, [r13 + 0x38]
call fcn.140260f98
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [rdi + 0x18], xmm0
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x30], 7
mov word [rdi + 0x18], r13w
mov rdx, qword [0x1403616e0]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400608ae
cvtsi2ss xmm0, rcx
jmp 0x1400608c3
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x140361708]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400608d9
cvtsi2ss xmm1, rcx
jmp 0x1400608ee
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1403616d0]
seta al
test al, al
je 0x14006095e
call fcn.14006b6d0
mov rcx, qword [0x140361700]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x1403616e8]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1403616d8]
cmp rax, rbx
je 0x14006094a
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140060947
mov rbx, rax
cmp rax, rdx
je 0x1400609a1
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140060936
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov rdx, qword [0x1403616e0]
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x1403616e0], rdx
mov qword [rdi], r14
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x1403616e8]
mov rax, qword [0x140361700]
and rax, r15
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [0x1403616d8]
jne 0x1400609a8
mov qword [rcx + rax*8], rdi
jmp 0x1400609ba
mov qword [rsp + 0x20], rax
jmp 0x14006094f
cmp rdx, rbp
jne 0x1400609b3
mov qword [rcx + rax*8], rdi
jmp 0x1400609bf
cmp qword [rcx + rax*8 + 8], r8
jne 0x1400609bf
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x14006081b
lea rcx, str.unordered_map_set_too_long
call fcn.140244490
int3
Function at 0x140067c20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140067c54
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140067c40
ret
Function at 0x14006b6d0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1403616e0]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x140361708]
js 0x14006b6f4
cvtsi2ss xmm0, rcx
jmp 0x14006b709
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1403616d0]
call fcn.1402a11e4
movss xmm1, dword [0x1402fcf20]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14006b73b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14006b73b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14006b76d
cmp rbx, 0x200
jae 0x14006b76a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14006b76d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x14006d830
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14006d9de
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1403616d8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1403616e8]
lea rdx, [rdi + rdi]
call fcn.140050d00
mov rax, qword [0x1403616d8]
lea r9, [rdi - 1]
mov qword [0x140361700], r9
mov qword [0x140361708], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14006d9d3
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1403616e8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006d91f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14006d994
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14006d95c
mov r10, qword [rdx]
cmp r10, rax
je 0x14006d956
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14006d994
cmp r9, rdx
je 0x14006d970
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14006d9a8
cmp r9, rdx
jne 0x14006d961
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14006d9ce
mov r9, qword [0x140361700]
jmp 0x14006d8d0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14006d994
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140244490
int3
Function at 0x14006d830
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1403616e0]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x140361708]
js 0x14006b6f4
cvtsi2ss xmm0, rcx
jmp 0x14006b709
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1403616d0]
call fcn.1402a11e4
movss xmm1, dword [0x1402fcf20]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14006b73b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14006b73b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14006b76d
cmp rbx, 0x200
jae 0x14006b76a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14006b76d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x14006d830
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14006d9de
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1403616d8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1403616e8]
lea rdx, [rdi + rdi]
call fcn.140050d00
mov rax, qword [0x1403616d8]
lea r9, [rdi - 1]
mov qword [0x140361700], r9
mov qword [0x140361708], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14006d9d3
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1403616e8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006d91f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14006d994
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14006d95c
mov r10, qword [rdx]
cmp r10, rax
je 0x14006d956
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14006d994
cmp r9, rdx
je 0x14006d970
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14006d9a8
cmp r9, rdx
jne 0x14006d961
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14006d9ce
mov r9, qword [0x140361700]
jmp 0x14006d8d0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14006d994
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140244490
int3
Function at 0x140078260
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
movzx r15d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
movzx eax, byte [r8 + 1]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 2]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 3]
xor r15, rax
imul r15, rcx
mov rcx, qword [0x140361700]
and rcx, r15
add rcx, rcx
mov rax, qword [0x1403616e8]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [0x1403616d8]
cmp rbx, r14
jne 0x1400782ec
mov rbx, r14
mov rbp, r14
jmp 0x14007832d
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x140078306
cmp rbx, rcx
je 0x140078327
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1400782f8
mov qword [rdx], rbx
mov byte [rdx + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x492492492492492
cmp qword [0x1403616e0], rax
je 0x1400784ce
lea rax, [0x1403616d8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov ecx, gethostname
call fcn.140260f98
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
lea rcx, [rdi + 0x18]
lea rdx, [r12 + 8]
call fcn.14003ab30
nop
mov rdx, qword [0x1403616e0]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14007839b
cvtsi2ss xmm0, rcx
jmp 0x1400783b0
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x140361708]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400783c6
cvtsi2ss xmm1, rcx
jmp 0x1400783db
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1403616d0]
seta al
test al, al
je 0x140078458
call fcn.14006b6d0
mov rcx, qword [0x140361700]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x1403616e8]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1403616d8]
cmp rax, rbx
jne 0x140078422
mov qword [rsp + 0x28], 0
jmp 0x140078444
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140078441
nop
mov rbx, rax
cmp rax, rdx
je 0x14007849b
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140078430
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov rdx, qword [0x1403616e0]
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x1403616e0], rdx
mov qword [rdi], r14
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x1403616e8]
mov rax, qword [0x140361700]
and rax, r15
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [0x1403616d8]
jne 0x1400784ab
mov qword [rcx + rax*8], rdi
jmp 0x1400784bd
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x140078449
cmp rdx, rbp
jne 0x1400784b6
mov qword [rcx + rax*8], rdi
jmp 0x1400784c2
cmp qword [rcx + rax*8 + 8], r8
jne 0x1400784c2
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x14007830d
lea rcx, str.unordered_map_set_too_long
call fcn.140244490
int3
Function at 0x140083de0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
sar rdi, 2
test rdi, rdi
je 0x140083fc3
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x140362bc0]
sub rbx, qword [0x140362bb8]
mov qword [rsp + 0x50], r13
sar rbx, 2
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x140083e33
mov eax, ntohs
jmp 0x140083e61
cmp rdi, 0x44
jb 0x140083e40
mov eax, 7
jmp 0x140083e61
cmp rdi, 0x27
jb 0x140083e4d
mov eax, 5
jmp 0x140083e61
cmp rdi, 7
jb 0x140083e5a
mov eax, 3
jmp 0x140083e61
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x140083e7a
mov r15, rdi
mov r8, rdi
mov qword [rsp + 0x48], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, rsi
call fcn.1402a1980
xor ecx, ecx
test r15, r15
je 0x140083f2d
nop
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea rbp, [rsi + rdx*4]
mov r8d, r11d
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [rbp]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x140083eed
mov rax, rbx
jmp 0x140083f05
cmp rcx, rbx
ja 0x140083f02
mov rax, qword [0x140362bb8]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140083f05
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [rbp], r8d
cmp rcx, r15
jb 0x140083ea0
add r15, rdi
cmp rcx, r15
jae 0x140083faa
inc r14
lea rbp, [rcx - 1]
inc r13
nop
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, dword [rsi + r9*4]
add ecx, r10d
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x140083f40
mov rbp, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14008ce10
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14008cedc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14008cedc
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 0x14008cef5
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 0x14008cecc
cmp byte [rax], 0x5c
jne 0x14008cec6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14008cec6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14008ceb2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14008cec3
test r8b, 0x10
jne 0x14008cec6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14008cec6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140083800
test edi, edi
jne 0x14008ce30
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400837f0
int3

Function at 0x1400c4f30
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 0x1400c4f91
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 0x1400c4f50
mov ecx, dword [r9]
jmp 0x1400c507b
cmp ecx, 0x4e0
jb 0x1400c507b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400c4fb0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400c5000
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 0x1400cb650
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, rdx
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea ecx, [rsi + 0x20]
call fcn.140260f98
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400cb798
mov r13, qword [r15]
mov rdi, qword [r15 + 8]
sub rdi, r13
shr rdi, 1
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movabs rbp, 0x7ffffffffffffffe
cmp rdi, rbp
ja 0x1400cb82d
cmp rdi, 7
ja 0x1400cb6eb
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
add rdi, rdi
mov r8, rdi
mov rdx, r13
mov rcx, rax
call fcn.1402a12e0
mov word [rdi + rbx], si
jmp 0x1400cb79b
mov rax, rdi
or rax, 7
cmp rax, rbp
jbe 0x1400cb707
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400cb739
mov rbp, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400cb839
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400cb765
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400cb839
mov rcx, rax
call fcn.140260f98
test rax, rax
je 0x1400cb833
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400cb772
test rcx, rcx
je 0x1400cb772
call fcn.140260f98
mov rsi, rax
mov qword [rbx], rsi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rbp
add rdi, rdi
mov r8, rdi
mov rdx, r13
mov rcx, rsi
call fcn.1402a12e0
xor eax, eax
mov word [rdi + rsi], ax
xor esi, esi
jmp 0x1400cb79b
mov rbx, rsi
mov qword [r12], rbx
mov dword [rsp + 0x20], 1
mov rax, qword [r15]
mov rdx, qword [r15 + 8]
cmp rax, rdx
je 0x1400cb80c
sub rdx, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400cb7c3
mov rcx, qword [rbx]
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
je 0x1400cb83f
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400cb7dd
mov rdx, qword [rbx]
mov rax, qword [r15 + 0x18]
mov rcx, qword [rbx + 0x10]
sub rcx, rax
lea rdi, [rdx + rax*2]
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [r15 + 0x18]
cmp qword [rbx + 0x10], rax
jb 0x1400cb827
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 7
jbe 0x1400cb808
mov rbx, qword [rbx]
mov word [rbx + rax*2], si
mov rax, r12
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140051fd0
nop
call fcn.140003620
int3
call fcn.14027d5c0
int3
call fcn.140003580
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400cb580
lea rdx, [0x14033e508]
lea rcx, [rsp + 0x28]
call fcn.140263268
int3