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

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
mov eax, 0x40
call fcn.1403d1f40
sub rsp, rax
xor r13d, r13d
mov r12d, r9d
mov r15d, r13d
mov edi, r13d
mov ebp, r13d
mov ebx, r8d
mov r14, rdx
mov rsi, rcx
call fcn.140265d60
mov r8d, eax
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp dword [rsp + 0x90], r13d
jne 0x14026657f
mov edi, dword [rsi + 0x10]
mov ecx, edi
neg ecx
lea ecx, [rax*8]
sbb r15d, r15d
movzx r15d, r15b
cmp ecx, r8d
jne 0x14026657d
test edi, edi
sete bpl
jmp 0x14026657f
mov ebp, edi
add eax, ebp
cmp ebx, 0xffffffff
jne 0x1402665b3
mov ebx, eax
mov eax, dword [rsi + 0xc]
shl eax, 3
movsxd rdx, eax
test eax, eax
jne 0x14026662e
test ebx, ebx
je 0x1402666c5
movsxd r8, ebx
xor edx, edx
mov rcx, r14
call fcn.140408b90
jmp 0x1402666c5
cmp ebx, eax
jge 0x140266588
movups xmm2, xmmword [rsi]
movsxd rax, dword [rsi + 8]
movsd xmm0, qword [rsi + 0x10]
movsd qword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm2
test eax, eax
jle 0x1402665f4
movq rcx, xmm2
lea r8, [rcx + rax*8]
nop dword [rax + rax]
cmp qword [r8 - 8], r13
lea r8, [r8 - 8]
jne 0x1402665f0
dec eax
test eax, eax
jg 0x1402665e0
mov dword [rsp + 0x28], eax
mov ecx, dword [rsp + 0x30]
test eax, eax
cmove ecx, r13d
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x20]
call fcn.140265d60
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ebp
cmp ebx, eax
jge 0x140266588
mov rax, 0xffffffffffffffff
jmp 0x1402666c7
cmp r12d, 1
je 0x14026663d
lea eax, [rbx - 1]
movsxd rcx, eax
add r14, rcx
mov r11d, 1
movsxd rbp, ebx
cmp r12d, r11d
mov rax, 0xffffffffffffffff
lea r12, [rdx - 1]
cmovne r11, rax
mov eax, dword [rsi + 8]
shl eax, 3
xor r9d, r9d
xor r10d, r10d
movsxd r13, eax
test ebx, ebx
je 0x1402666c5
nop dword [rax + rax]
mov rcx, qword [rsi]
movzx eax, r9b
and al, 7
mov rdx, r9
shl al, 3
shr rdx, 3
mov r8, qword [rcx + rdx*8]
movzx ecx, al
shr r8, cl
mov rax, r10
sub rax, r13
shr rax, 0x3f
neg al
and r8b, al
xor r8b, r15b
lea eax, [r8 + rdi]
cmp r8b, al
mov byte [r14], al
mov rax, r9
seta dil
sub rax, r12
shr rax, 0x3f
add r14, r11
add r9, rax
inc r10
cmp r10, rbp
jb 0x140266670
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

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

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x14026902c
movzx ecx, byte [rcx]
test cl, cl
je 0x14026902c
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x140268fe0
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret
Function at 0x140269030
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1402690a0
movzx ecx, byte [rcx]
test cl, cl
je 0x1402690a0
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
mov r8d, eax
and r9d, 0xffffffdf
or r9d, r11d
mov ecx, 0x20
mov edx, r9d
add r11d, 0x100
shr edx, 2
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x140269050
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret

Function at 0x1402ce920
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1403d1f40
sub rsp, rax
mov r11, rcx
test r9, r9
jne 0x1402ce96a
call fcn.140259120
lea r8, str.c2i_ibuf
mov edx, 0xa0
lea rcx, str.crypto_asn1_a_int.c
call fcn.140259240
xor r8d, r8d
mov edx, 0xde
lea ecx, [r8 + 0xd]
call fcn.1402593a0
xor eax, eax
add rsp, 0x28
ret
movzx r10d, byte [r8]
and r10d, 0x80
test rdx, rdx
je 0x1402ce97d
mov dword [rdx], r10d
cmp r9, 1
jne 0x1402ce99f
test r11, r11
je 0x1402ce995
movzx eax, byte [r8]
test r10d, r10d
je 0x1402ce993
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x28
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x1402ce9b1
mov eax, 1
jmp 0x1402cea6a
xor eax, eax
cmp cl, 0xff
jne 0x1402ceaaf
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x1402cea5f
cmp rcx, 8
jb 0x1402cea50
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop word [rax + rax]
movd xmm1, dword [rax + r8]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [r8 + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1402ce9f0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x1402cea5f
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x1402cea50
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x1402ceaaf
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r10d, ecx
jne 0x1402ceaaf
call fcn.140259120
lea r8, str.c2i_ibuf
mov edx, 0xc1
lea rcx, str.crypto_asn1_a_int.c
call fcn.140259240
xor r8d, r8d
mov edx, 0xdd
lea ecx, [r8 + 0xd]
call fcn.1402593a0
xor eax, eax
add rsp, 0x28
ret
sub r9, rax
test r11, r11
je 0x1402ceafd
add rax, r8
mov rdx, r9
neg r10d
sbb r10d, r10d
movzx r10d, r10b
mov ecx, r10d
and ecx, 1
test r9, r9
je 0x1402ceafd
lea r8, [rax + r9]
mov rax, r9
sub rax, r9
add r11, rax
nop
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
dec rdx
xor eax, r10d
add ecx, eax
mov byte [r11 + rdx], cl
shr ecx, 8
test rdx, rdx
jne 0x1402ceae0
mov rax, r9
add rsp, 0x28
ret
Function at 0x1403cd5a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x1403cd5c2
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x1403cd5de
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1403cd5f5
cmp byte [rcx + 1], 0x25
jne 0x1403cd639
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x1403cd601
cmp al, 0xe9
jne 0x1403cd639
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x1403cd624
cmp rcx, 0xffffffff80000000
jae 0x1403cd61b
lea rsi, [rcx + 0x7ff80000]
jmp 0x1403cd639
mov rsi, 0xfffffffffff80000
jmp 0x1403cd639
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x1403cd639
mov edi, 0x80000
mov rdx, qword [0x14051c968]
mov rax, qword [0x14051c960]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x1403cd660
test rax, rax
je 0x1403cd677
mov rdx, rax
mov qword [0x14051c968], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1403cd677
cmp rcx, rdi
jb 0x1403cd677
cmp rcx, rsi
jbe 0x1403cd7ca
mov qword [0x14051c968], rax
mov rdx, rax
test rax, rax
je 0x1403cd6c2
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x1403cd6ac
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1403cd6ac
cmp rax, rdi
jb 0x1403cd6ac
cmp rax, rsi
jbe 0x1403cd7ca
mov rdx, qword [rdx + 8]
mov qword [0x14051c968], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x1403cd690
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x1403cd6ec
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.1403cd3c0
mov rdx, rax
test rax, rax
jne 0x1403cd778
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x1403cd712
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.1403cd4b0
mov rdx, rax
test rax, rax
jne 0x1403cd778
cmp rbx, 0x40000000
jbe 0x1403cd732
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.1403cd4b0
mov rdx, rax
test rax, rax
jne 0x1403cd778
cmp rbx, rbp
jae 0x1403cd74e
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.1403cd3c0
mov rdx, rax
test rax, rax
jne 0x1403cd778
mov rdx, rbx
mov rcx, rdi
call fcn.1403cd3c0
mov rdx, rax
test rax, rax
jne 0x1403cd778
mov rdx, rsi
mov rcx, rbx
call fcn.1403cd4b0
mov rdx, rax
test rax, rax
je 0x1403cd801
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x14051c968], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x14051c960]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x14051c960], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x1403cd7b2
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x1403cd801
cmp rax, rsi
ja 0x1403cd801
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x1404bfa80]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x1403cd803
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1403cda60
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [0x14040d440]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x1403cda8e
xor al, al
jmp 0x1403cdad0
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x1403cda9f
xor al, al
jmp 0x1403cdad0
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x1403cdac6
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x1403cdac6
mov al, 1
jmp 0x1403cdad0
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret
Function at 0x1403d2578
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x14040d318]
test rax, rax
je 0x1403d25c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1403d25c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1403d25c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1403d25c2
cmp dword [rcx + 0x84], 0xe
jbe 0x1403d25c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1403d25c4
xor al, al
add rsp, 0x28
ret

Function at 0x1403d8f08
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1403d8d73
xor ecx, ecx
call qword [0x14040d318]
test rax, rax
je 0x1403d8d73
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1403d8d73
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1403d8d73
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1403d8d73
cmp dword [rcx + 0x84], 0xe
jbe 0x1403d8d73
cmp dword [rcx + 0xf8], 0
je 0x1403d8d73
mov ecx, ebx
call fcn.1403d8e24
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1403d8c00
nop
cmp dword [rbp + 0x20], 0
je 0x1403d8dc1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1403d8dcc
int3
xor r8d, r8d
xor edx, edx
jmp 0x1403d8d04
Function at 0x14001da30
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 0x14001dafc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001dafc
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 0x14001db15
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 0x14001daec
cmp byte [rax], 0x5c
jne 0x14001dae6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14001dae6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14001dad2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14001dae3
test r8b, 0x10
jne 0x14001dae6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14001dae6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14001aa20
test edi, edi
jne 0x14001da50
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.14001aa10
int3
Function at 0x1403e6ffc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140421238]
test rax, rax
je 0x1403e7046
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1403e7046
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1403e7046
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1403e7046
cmp dword [rcx + 0x84], 0xe
jbe 0x1403e7046
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1403e7048
xor al, al
add rsp, 0x28
ret

Function at 0x140400234
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140400030
Function at 0x180016250
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180016278
xor eax, eax
lea r8, [0x180014fa0]
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]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180016f00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x180069100]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rcx, rdx
call fcn.180006050
cmp qword [rdi + 0x18], 0xf
jbe 0x180016f4f
mov rsi, qword [rdi]
mov rbp, rsi
add rbp, qword [rdi + 0x10]
mov rbx, rsi
jmp 0x180016f5c
mov rsi, rdi
mov rbp, qword [rdi + 0x10]
add rbp, rdi
mov rbx, rdi
cmp rbx, rbp
je 0x180016f77
sub rsi, rbx
movsx ecx, byte [rbx]
call fcn.180032794
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rbp
jne 0x180016f64
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180016f88
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x180016fc3
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180016fb0
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180022910
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x180016feb
cmp rbx, qword [r14 + 8]
je 0x180016feb
mov rbx, qword [rbx + 0x30]
jmp 0x1800170bd
mov rbx, qword [r14 + 0x48]
sub rbx, qword [r14 + 0x40]
sar rbx, 6
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180021170
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm6, xmmword [0x18005fb60]
movdqu xmmword [rsp + 0x30], xmm6
mov byte [rsp + 0x20], 0
mov rsi, qword [r14 + 0x48]
cmp rsi, qword [r14 + 0x50]
je 0x18001706c
mov rdx, rdi
mov rcx, rsi
call fcn.18001a590
mov qword [rsi + 0x30], 0
mov qword [rsi + 0x38], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm6
mov edx, 0xf
mov byte [rsp + 0x20], 0
add qword [r14 + 0x48], 0x40
jmp 0x180017085
lea r9, [rsp + 0x20]
mov r8, rdi
mov rdx, rsi
lea rcx, [r14 + 0x40]
call fcn.180024ae0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800170bd
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800170b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017139
call fcn.18002b374
shl rbx, 6
add rbx, qword [r14 + 0x40]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1800170fb
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1800170f6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001713f
mov rcx, r8
call fcn.18002b374
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rax, [rbx + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18002afa0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.180031134
nop
call fcn.180031134
int3
Function at 0x180017150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x180069100]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x88], rdx
mov rcx, rdx
call fcn.180006050
cmp qword [rbx + 0x18], 0xf
jbe 0x1800171a3
mov rsi, qword [rbx]
mov rbp, rsi
add rbp, qword [rbx + 0x10]
mov rdi, rsi
jmp 0x1800171b0
mov rsi, rbx
mov rbp, qword [rbx + 0x10]
add rbp, rbx
mov rdi, rbx
cmp rdi, rbp
je 0x1800171cb
sub rsi, rdi
movsx ecx, byte [rdi]
call fcn.180032794
mov byte [rsi + rdi], al
inc rdi
cmp rdi, rbp
jne 0x1800171b8
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800171dc
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x180017213
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180017200
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180022910
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18001723b
cmp rcx, qword [r14 + 8]
je 0x18001723b
mov rbp, qword [rcx + 0x30]
jmp 0x1800172f2
mov rcx, qword [r14 + 0x48]
sub rcx, qword [r14 + 0x40]
movabs rax, 0x8888888888888889
imul rcx
lea rbp, [rcx + rdx]
sar rbp, 6
mov rax, rbp
shr rax, 0x3f
add rbp, rax
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180021170
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.18001c5a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov rdi, qword [r14 + 0x48]
cmp rdi, qword [r14 + 0x50]
je 0x1800172c9
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov rcx, rdi
call fcn.18001a590
nop
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x30]
call fcn.180026cc0
nop
add qword [r14 + 0x48], 0x78
jmp 0x1800172de
lea r9, [rsp + 0x30]
mov r8, rbx
mov rdx, rdi
lea rcx, [r14 + 0x40]
call fcn.180024ca0
nop
lea rcx, [rsp + 0x70]
call fcn.18001d450
lea rcx, [rsp + 0x30]
call fcn.180007920
imul rdi, rbp, 0x78
add rdi, qword [r14 + 0x40]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180017330
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18001732b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001736f
mov rcx, r8
call fcn.18002b374
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rax, [rdi + 0x20]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18002afa0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.180031134
int3
Function at 0x180017890
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x1800178b4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x180017942
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x180017910
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x180017910
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.18004c6b0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18001792d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180017935
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x1800178d1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x180017a20
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x180017959
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18001795b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18001798d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.18004c6b0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x180017a1d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800179c8
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 rsi, 0xfff
jbe 0x1800179fe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.180036914
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x180017a1d
cmp rsi, rax
ja 0x1800179d1
test rsi, rsi
je 0x180017a1d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180036914
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret

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

Disassembly:
cmp qword [rdx + 0x18], 0xf
mov r9, qword [rdx + 0x10]
jbe 0x18001899e
mov rdx, qword [rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x1800189d4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r8]
inc r8
xor rax, rcx
imul rax, r10
cmp r8, r9
jb 0x1800189c0
ret
Function at 0x18001e550
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov r15, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r9, rcx
mov r8, rdx
cmp r15, 0xf
jbe 0x18001e57c
mov r8, qword [rdx]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x18001e5b4
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, rsi
jb 0x18001e5a0
mov rcx, qword [r9 + 0x30]
mov rax, qword [r9 + 0x18]
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r9 + 8]
jne 0x18001e5d2
mov rbx, rbp
jmp 0x18001e622
mov qword [rsp + 0x40], r14
mov r14, qword [rax + rcx*8]
nop dword [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x18001e5f2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x18001e5fe
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x18001e60f
mov r8, rsi
call fcn.18004d190
test eax, eax
je 0x18001e61d
cmp rbx, r14
je 0x18001e61a
mov rbx, qword [rbx + 8]
jmp 0x18001e5e0
mov rbx, rbp
mov r14, qword [rsp + 0x40]
test rbx, rbx
mov rbx, qword [rsp + 0x48]
setne bpl
mov rax, rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret