joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d8320
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
jbe 0x1400d8355
lea rcx, str.invalid_hash_bucket_count
call qword [0x1401805e0]
int3
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.14001c890
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400d8494
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
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, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400d840d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400d8483
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400d844a
mov r10, qword [rdx]
cmp r10, rax
je 0x1400d8444
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 0x1400d8483
cmp r9, rdx
je 0x1400d845f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400d84a5
cmp r9, rdx
jne 0x1400d8450
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
jne 0x1400d83c0
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 [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 0x1400d8483
Function at 0x1400dc4a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x1400dc527
mov rbx, r15
mov rbp, r15
jmp 0x1400dc56a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x1400dc541
cmp rbx, rcx
je 0x1400dc564
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1400dc533
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
jne 0x1400dc588
lea rcx, str.unordered_map_set_too_long
call qword [0x1401805e0]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x60
call fcn.140167e00
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.1400cc3f0
nop
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1400dc5d2
cvtsi2ss xmm0, rcx
jmp 0x1400dc5e7
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400dc5fa
cvtsi2ss xmm1, rcx
jmp 0x1400dc60f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x1400dc679
mov rcx, rsi
call fcn.1400d7570
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x1400dc64c
mov qword [rsp + 0x28], 0
jmp 0x1400dc66c
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x1400dc669
mov rbx, rax
cmp rax, rdx
je 0x1400dc6ad
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400dc658
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x1400dc6bd
mov qword [rcx + rax*8], rdi
jmp 0x1400dc6cf
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x1400dc671
cmp r8, rbp
jne 0x1400dc6c8
mov qword [rcx + rax*8], rdi
jmp 0x1400dc6d4
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1400dc6d4
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x1400dc549
Function at 0x1400dcaf0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x1400dcb77
mov rbx, r15
mov rbp, r15
jmp 0x1400dcbba
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x1400dcb91
cmp rbx, rcx
je 0x1400dcbb4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1400dcb83
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 0x10], rax
jne 0x1400dcbd8
lea rcx, str.unordered_map_set_too_long
call qword [0x1401805e0]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.140167e00
mov rdi, rax
mov qword [rsp + 0x28], rax
movsd xmm0, qword [r12]
movsd qword [rax + 0x10], xmm0
mov eax, dword [r12 + 8]
mov dword [rdi + 0x18], eax
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x1400dcc1f
cvtsi2ss xmm0, rdx
jmp 0x1400dcc37
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400dcc4a
cvtsi2ss xmm1, rcx
jmp 0x1400dcc5f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x1400dccd4
mov rcx, rsi
call fcn.1400cb360
mov rdx, rax
mov rcx, rsi
call fcn.1400cba30
mov rdx, r13
and rdx, qword [rsi + 0x30]
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x1400dcca7
mov qword [rsp + 0x28], 0
jmp 0x1400dccc7
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x1400dccc4
mov rbx, rax
cmp rax, rdx
je 0x1400dcd08
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400dccb3
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x1400dcd18
mov qword [rcx + rax*8], rdi
jmp 0x1400dcd2a
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x1400dcccc
cmp r8, rbp
jne 0x1400dcd23
mov qword [rcx + rax*8], rdi
jmp 0x1400dcd2f
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1400dcd2f
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x1400dcb99
Function at 0x1400dcd40
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x1400dcdc7
mov rbx, r15
mov rbp, r15
jmp 0x1400dce0a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x1400dcde1
cmp rbx, rcx
je 0x1400dce04
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1400dcdd3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 0x10], rax
jne 0x1400dce28
lea rcx, str.unordered_map_set_too_long
call qword [0x1401805e0]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.140167e00
mov rdi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r13]
movups xmmword [rax + 0x10], xmm0
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x1400dce65
cvtsi2ss xmm0, rdx
jmp 0x1400dce7d
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400dce90
cvtsi2ss xmm1, rcx
jmp 0x1400dcea5
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x1400dcf21
mov rcx, rsi
call fcn.1400cb360
mov rdx, rax
mov rcx, rsi
call fcn.1400cba30
mov rdx, r12
and rdx, qword [rsi + 0x30]
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x1400dceed
mov qword [rsp + 0x28], 0
jmp 0x1400dcf14
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x1400dcf11
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x1400dcf55
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400dcf00
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x1400dcf65
mov qword [rcx + rax*8], rdi
jmp 0x1400dcf77
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x1400dcf19
cmp r8, rbp
jne 0x1400dcf70
mov qword [rcx + rax*8], rdi
jmp 0x1400dcf7c
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1400dcf7c
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x1400dcde9
Function at 0x1400e3580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, r8
mov r15, rdx
mov rbp, rcx
movabs rdi, 0xcbf29ce484222325
cmp qword [r8 + 0x18], 0xf
jbe 0x1400e35b6
mov r8, qword [r8]
mov rdx, r8
jmp 0x1400e35b9
mov rdx, rbx
mov rcx, r8
add rdx, qword [rbx + 0x10]
cmp r8, rdx
je 0x1400e35e3
movabs r8, 0x100000001b3
nop
movsx rax, byte [rcx]
xor rdi, rax
imul rdi, r8
inc rcx
cmp rcx, rdx
jne 0x1400e35d0
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14001ea20
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1400e360d
mov qword [r15], rax
mov byte [r15 + 8], 0
jmp 0x1400e37cd
movabs rax, 0x1ffffffffffffff
cmp qword [rbp + 0x10], rax
jne 0x1400e362b
lea rcx, str.unordered_map_set_too_long
call qword [0x1401805e0]
int3
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0
mov ecx, 0x80
call fcn.140167e00
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.140095300
nop
mov rdx, qword [rbp + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x1400e3670
cvtsi2ss xmm0, rdx
jmp 0x1400e3688
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 0x1400e369b
cvtsi2ss xmm1, rcx
jmp 0x1400e36b0
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 0x1400e3775
mov rcx, rbp
call fcn.1400cb360
mov rdx, rax
mov rcx, rbp
call fcn.14001fa10
mov rax, qword [rbp + 0x30]
and rax, rdi
add rax, rax
mov r13, qword [rbp + 0x18]
mov rbx, qword [r13 + rax*8 + 8]
mov rcx, qword [r12]
cmp rbx, rcx
jne 0x1400e36f9
mov qword [rsp + 0x20], rcx
jmp 0x1400e3761
mov r13, qword [r13 + rax*8]
mov r12, qword [rsi + 0x20]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400e3722
mov rdx, qword [rdx]
lea rcx, [rsi + 0x10]
cmp qword [rsi + 0x28], 0xf
jbe 0x1400e3731
mov rcx, qword [rsi + 0x10]
cmp r12, rax
jne 0x1400e3742
mov r8, r12
call fcn.140168ec6
test eax, eax
je 0x1400e374d
cmp rbx, r13
je 0x1400e375c
mov rbx, qword [rbx + 8]
jmp 0x1400e3710
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
jmp 0x1400e376a
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rdi
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [rbp + 8]
jne 0x1400e37ae
mov qword [rcx + rax*8], rsi
jmp 0x1400e37c0
cmp r9, rdx
jne 0x1400e37b9
mov qword [rcx + rax*8], rsi
jmp 0x1400e37c5
cmp qword [rcx + rax*8 + 8], r8
jne 0x1400e37c5
mov qword [rcx + rax*8 + 8], rsi
mov qword [r15], rsi
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ec460
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 0x1400ec52c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400ec52c
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 0x1400ec545
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 0x1400ec51c
cmp byte [rax], 0x5c
jne 0x1400ec516
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400ec516
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400ec502
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400ec513
test r8b, 0x10
jne 0x1400ec516
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400ec516
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400e6810
test edi, edi
jne 0x1400ec480
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.1400e6800
int3
Function at 0x14012b1a0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
sub rsp, 0x98
cmp byte [0x1401ee588], 0
je 0x14012b41e
mov qword [rax + 8], rbx
lea r8, [0x1401b8bf9]
mov qword [rax - 8], rdi
lea r11, [0x1401a42f0]
mov rdi, qword [0x1401ebdf0]
xor ebx, ebx
movaps xmmword [rax - 0x18], xmm6
mov r10d, 0xffffffff
movaps xmmword [rax - 0x28], xmm7
mov edx, r10d
movaps xmmword [rax - 0x38], xmm8
mov r9b, 0x45
movaps xmmword [rax - 0x48], xmm9
movsxd rax, dword [0x1401ee58c]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x39e8]
add rcx, rcx
movups xmm2, xmmword [rax + rcx*8]
movups xmm0, xmmword [rax + rcx*8 + 0x10]
or dword [rdi + 0x4b18], 3
movaps xmm1, xmm2
movss dword [rdi + 0x4b2c], xmm2
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov dword [rdi + 0x4b20], 1
movaps xmm0, xmm2
shufps xmm1, xmm2, 0xff
shufps xmm0, xmm2, 0xaa
movss dword [rdi + 0x4b3c], xmm0
xorps xmm0, xmm0
shufps xmm2, xmm2, 0x55
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x24], r10d
movss dword [rdi + 0x4b40], xmm1
movss dword [rdi + 0x4b30], xmm2
mov qword [rdi + 0x4b34], rbx
mov dword [rdi + 0x4b1c], 1
mov byte [rdi + 0x4b58], 1
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x39], 1
nop
cmp r9b, 0x23
jne 0x14012b2a3
cmp byte [r8], r9b
jne 0x14012b2a3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14012b290
cmp byte [0x1401ee589], bl
not edx
mov dword [rsp + 0x20], edx
mov eax, 0x388
mov r8d, 0x3022b
jne 0x14012b2e4
mov eax, 0x788
mov r8d, 0x302ab
movups xmm7, xmmword [rdi + 0x3b08]
lea rcx, str.ESP_Overlay
xor edx, edx
movss xmm6, dword [rdi + 0x3a14]
movss xmm8, dword [rdi + 0x3a08]
movss xmm9, dword [rdi + 0x3a0c]
mov dword [rdi + 0x3a14], ebx
mov qword [rdi + 0x3a08], rbx
mov qword [rdi + 0x3b08], rbx
mov dword [rdi + 0x3b10], ebx
mov dword [rdi + 0x3b14], 0x3f800000
movsd xmm1, qword [rsp + 0x30]
or dword [rdi + 0x4b18], 0x800
mov dword [rsp + 0x28], eax
movups xmm0, xmmword [rsp + 0x20]
mov eax, dword [rsp + 0x38]
movups xmmword [rdi + 0x4b8c], xmm0
movsd qword [rdi + 0x4b9c], xmm1
mov dword [rdi + 0x4ba4], eax
call fcn.14002f4a0
cmp byte [0x1401ee589], bl
jne 0x14012b3ba
mov rcx, qword [0x1401ebdf0]
mov edx, 0xffffffec
mov rax, qword [rcx + 0x4158]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4158]
mov rcx, qword [rax + 0x40]
mov rbx, qword [rcx + 0x48]
mov rcx, rbx
call qword [0x1401807a0]
mov edx, 0xffffffec
mov rcx, rbx
or rax, 0x80020
mov r8, rax
call qword [0x1401806d8]
mov rcx, qword [0x1401ebdf0]
add rcx, 8
call fcn.140108c00
call fcn.140110880
call fcn.140032190
mov rbx, qword [rsp + 0xa0]
movss dword [rdi + 0x3a14], xmm6
movaps xmm6, xmmword [rsp + 0x80]
movss dword [rdi + 0x3a08], xmm8
movaps xmm8, xmmword [rsp + 0x60]
movss dword [rdi + 0x3a0c], xmm9
movaps xmm9, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x3b08], xmm7
mov rdi, qword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x70]
add rsp, 0x98
ret
Function at 0x14012d100
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 0xf
mov rsi, rcx
mov r9, qword [rdx + 0x10]
mov r8, rdx
jbe 0x14012d123
mov r8, qword [rdx]
xor ecx, ecx
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x14012d154
movabs r10, 0x100000001b3
nop
movzx eax, byte [r8 + rcx]
inc rcx
xor rdi, rax
imul rdi, r10
cmp rcx, r9
jb 0x14012d140
mov r8, rdx
mov r9, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14001ea20
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14012d1f4
mov rdx, qword [rsi + 0x30]
and rdx, rdi
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14012d1a8
cmp rax, rbx
jne 0x14012d19e
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14012d1b3
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x14012d1b3
cmp rax, rbx
jne 0x14012d1b3
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rsi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.140017f50
mov edx, 0x38
mov rcx, rbx
call fcn.140101ba0
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1401362f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rbx, qword [rsp + 0x90]
lea r14, [r8 - 1]
sar r14, 1
mov r12, r9
mov r13, r8
mov rsi, rdx
mov rbp, rcx
mov r15, rdx
mov rdi, rdx
cmp rdx, r14
jge 0x14013637e
nop word [rax + rax]
add rdi, rdi
mov rcx, rbx
lea rax, [rdi + 2]
imul rdx, rax, 0x6a0
add rdx, rbp
lea r8, [rdx - 0x6a0]
call fcn.14011e500
movzx eax, al
xor rax, 1
inc rax
add rdi, rax
imul rdx, rdi, 0x6a0
imul rcx, rsi, 0x6a0
add rdx, rbp
add rcx, rbp
call fcn.140133230
mov rsi, rdi
cmp rdi, r14
jl 0x140136330
mov rsi, rdi
cmp rdi, r14
jne 0x1401363b0
test r13b, 1
jne 0x1401363b0
imul rdx, r13, 0x6a0
imul rcx, rdi, 0x6a0
add rdx, 0xfffffffffffff960
add rdx, rbp
add rcx, rbp
call fcn.140133230
lea rsi, [r13 - 1]
cmp r15, rsi
jge 0x1401363fd
nop word [rax + rax]
lea rdi, [rsi - 1]
mov r8, r12
sar rdi, 1
mov rcx, rbx
imul r14, rdi, 0x6a0
add r14, rbp
mov rdx, r14
call fcn.14011e500
test al, al
je 0x1401363fd
imul rcx, rsi, 0x6a0
mov rdx, r14
add rcx, rbp
call fcn.140133230
mov rsi, rdi
cmp r15, rdi
jl 0x1401363c0
imul rcx, rsi, 0x6a0
mov rdx, r12
add rcx, rbp
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.140133230
Function at 0x14013e360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x14013e394
cmp ecx, r10d
jge 0x14013e382
mov rcx, rbx
call fcn.14013db70
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x14013e3ce
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x14013e3b0
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14013e3f6
mov rax, qword gs:[0x58]
lea rdx, str.zlib_corrupt
mov ecx, 0x28
mov rax, qword [rax]
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14013e425
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14013e40f
xor dl, dl
jmp 0x14013e418
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14013e406
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14013e3d2
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14013e48f
mov rax, qword gs:[0x58]
lea rdx, str.read_past_buffer
mov ecx, 0x28
mov rax, qword [rax]
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14013e4a9
mov rcx, rbx
call fcn.14013dcb0
test eax, eax
je 0x14013e482
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.140168ecc
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret