joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180076954
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, [0x1800b2470]
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 0x1800769ab
cmp word [rdx], r13w
jne 0x1800769ab
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800769b0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180076ad5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180076af6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800769e9
mov rdx, r9
mov word [rbx], cx
jmp 0x180076a10
cmp r9, r8
jae 0x180076a20
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 0x1800769ca
jmp 0x180076ad5
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 0x180076aca
cmp dword [rsp + 0x80], esi
je 0x180076aca
lea r8, [0x1800b2470]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180076aa2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180076a72
mov word [rbx], r13w
jmp 0x180076ad2
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 0x180076a7f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180076ad2
cmp word [rsp + 0x70], r13w
jne 0x180076aaf
cmp rbx, r14
je 0x180076a6c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800775bc
cmp word [rsp + 0x70], r13w
je 0x180076ad5
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, [0x1800b2470]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180076acf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180076ad5
Function at 0x18007adac
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18007addc
xor eax, eax
jmp 0x18007ae9f
mov rbp, rbx
cmp word [rax], si
je 0x18007ae01
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18007ade8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18007ade4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800794c4
movsxd r14, eax
test eax, eax
jne 0x18007ae3f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18007add5
mov rcx, r14
call fcn.1800756a8
mov rdi, rax
test rax, rax
jne 0x18007ae58
xor ecx, ecx
call fcn.18007439c
jmp 0x18007ae34
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800794c4
test eax, eax
jne 0x18007ae89
mov rcx, rdi
call fcn.18007439c
jmp 0x18007ae93
xor ecx, ecx
call fcn.18007439c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18007dc14
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180071500
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18007dcb5
cmp ebx, dword [rsp + 0x30]
je 0x18007dcae
test esi, esi
je 0x18007dcae
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18007dc89
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18007dc96
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18007dc73
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18007dc9a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18007dcb7
mov eax, 1
jmp 0x18007dcb7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180081f34
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800775bc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800775bc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180082084
cmp rax, 0xffffffffffffffff
je 0x180082084
xor edi, edi
test rbp, rbp
jle 0x18008202f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180074988
mov rbx, rax
test rax, rax
jne 0x180081fbc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180082025
mov edx, 0x8000
mov ecx, r14d
call fcn.180081db8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180073e34
cmp eax, 0xffffffff
je 0x180082005
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180081fcc
mov edx, r15d
mov ecx, r14d
call fcn.180081db8
jmp 0x180082025
cmp byte [rsi + 0x38], dil
je 0x18008201c
cmp dword [rsi + 0x34], 5
jne 0x18008201c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180082025
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18007439c
jmp 0x180082098
jns 0x180082098
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800775bc
cmp rax, 0xffffffffffffffff
jne 0x180082050
cmp byte [rsi + 0x30], dil
je 0x180082098
mov edi, dword [rsi + 0x2c]
jmp 0x180082098
mov ecx, r14d
call fcn.18007b568
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180082098
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180082098
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180082091
mov eax, dword [rsi + 0x2c]
jmp 0x180082096
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800775bc
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180082b70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180082b98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180082b98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140068d20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r9d, edx
mov r10, rcx
test rcx, rcx
jne 0x140068d3a
mov eax, r8d
jmp 0x140068da8
not r8d
lea rdi, [0x140117a30]
cmp r9d, 8
jb 0x140068d7e
mov r11, r9
shr r11, 3
mov ebx, 8
movzx ecx, byte [r10]
mov eax, r8d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
dec rbx
jne 0x140068d56
add r9d, 0xfffffff8
dec r11
jne 0x140068d51
test r9d, r9d
je 0x140068da2
movzx ecx, byte [r10]
mov eax, r8d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
dec r9d
jne 0x140068d83
not r8d
movsxd rax, r8d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x140069cb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140069ee0
xor r10d, r10d
lea edx, [rax*4]
mov r11d, eax
movsxd r9, edx
test edx, edx
jle 0x140069d29
lea r8, [rbx + 8]
lea rcx, [rbx + 8]
lea r8, [r8 + r9*4]
nop
mov eax, dword [r8 - 8]
mov edx, dword [rcx - 8]
add r10, 4
mov dword [rcx - 8], eax
mov eax, dword [r8 - 4]
mov dword [r8 - 8], edx
mov edx, dword [rcx - 4]
mov dword [rcx - 4], eax
mov eax, dword [r8]
mov dword [r8 - 4], edx
mov edx, dword [rcx]
mov dword [rcx], eax
mov eax, dword [r8 + 4]
mov dword [r8], edx
mov edx, dword [rcx + 4]
mov dword [rcx + 4], eax
sub r9, 4
mov dword [r8 + 4], edx
lea r8, [r8 - 0x10]
lea rcx, [rcx + 0x10]
cmp r10, r9
jl 0x140069ce0
cmp r11d, 1
jle 0x140069ecd
mov qword [rsp + 0x30], rdi
add rbx, 2
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
nop word [rax + rax]
mov r8d, dword [rbx + 0xe]
lea rbx, [rbx + 0x10]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x118e30]
movzx eax, byte [rbx - 1]
movzx ecx, byte [rdi + rax*4 + 0x118e30]
mov r9d, dword [rdi + rdx*4 + 0x119230]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x119a30]
movzx ecx, byte [rdi + rax*4 + 0x118e30]
movzx eax, byte [rbx]
xor r9d, dword [rdi + rcx*4 + 0x119e30]
movzx ecx, byte [rdi + rax*4 + 0x118e30]
movzx eax, byte [rbx + 3]
movzx edx, byte [rdi + rax*4 + 0x118e30]
xor r9d, dword [rdi + rcx*4 + 0x119630]
movzx eax, byte [rbx + 4]
movzx ecx, byte [rdi + rax*4 + 0x118e30]
mov r8d, dword [rdi + rdx*4 + 0x119a30]
mov dword [rbx - 2], r9d
xor r8d, dword [rdi + rcx*4 + 0x119630]
mov r9d, dword [rbx + 2]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x118e30]
movzx eax, r9b
mov r9d, dword [rbx + 6]
xor r8d, dword [rdi + rcx*4 + 0x119230]
movzx ecx, byte [rdi + rax*4 + 0x118e30]
movzx eax, byte [rbx + 7]
xor r8d, dword [rdi + rcx*4 + 0x119e30]
movzx edx, byte [rdi + rax*4 + 0x118e30]
movzx eax, byte [rbx + 8]
movzx ecx, byte [rdi + rax*4 + 0x118e30]
mov dword [rbx + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x119a30]
xor r8d, dword [rdi + rcx*4 + 0x119630]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x118e30]
movzx eax, r9b
mov r9d, dword [rbx + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x119230]
movzx ecx, byte [rdi + rax*4 + 0x118e30]
movzx eax, byte [rbx + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x119e30]
movzx edx, byte [rdi + rax*4 + 0x118e30]
movzx eax, byte [rbx + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x118e30]
mov dword [rbx + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x119a30]
xor r8d, dword [rdi + rcx*4 + 0x119630]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x118e30]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x119230]
movzx ecx, byte [rdi + rax*4 + 0x118e30]
xor r8d, dword [rdi + rcx*4 + 0x119e30]
mov dword [rbx + 0xa], r8d
dec r10
jne 0x140069d50
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x14006a3f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rsi, rdx
mov rbx, r8
mov eax, r9d
cdq
mov r12d, r9d
mov r13, rcx
and edx, 0xf
add eax, edx
mov r8d, eax
and eax, 0xf
sub eax, edx
sar r8d, 4
mov edi, eax
test eax, eax
je 0x14006a439
test r8d, r8d
jne 0x14006a436
xor eax, eax
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
dec r8d
mov qword [rsp + 0x80], rbp
mov rbp, qword [rsp + 0xa0]
mov qword [rsp + 0x88], r14
movups xmm0, xmmword [rbp]
movups xmm1, xmm0
movups xmmword [rsp + 0x20], xmm0
test r8d, r8d
je 0x14006a4c2
mov qword [rsp + 0x90], r15
mov r14d, r8d
nop dword [rax]
mov edx, dword [r13 + 4]
lea rcx, [r13 + 0xf8]
mov r9, rbx
mov r8, rsi
call fcn.140069080
mov eax, dword [rsp + 0x20]
add rsi, 0x10
xor dword [rbx], eax
mov eax, dword [rsp + 0x24]
add rbx, 0x10
xor dword [rbx - 0xc], eax
mov eax, dword [rsp + 0x28]
xor dword [rbx - 8], eax
mov eax, dword [rsp + 0x2c]
xor dword [rbx - 4], eax
movups xmm0, xmmword [rsi - 0x10]
movups xmm1, xmm0
movups xmmword [rsp + 0x20], xmm0
dec r14
jne 0x14006a470
mov r15, qword [rsp + 0x90]
test edi, edi
je 0x14006a604
movups xmm0, xmmword [rsi]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, [r13 + 0xf8]
movups xmmword [rbp], xmm0
mov edx, dword [r13 + 4]
movups xmmword [rsp + 0x40], xmm0
call fcn.140069080
xor r10d, r10d
test edi, edi
je 0x14006a5cf
cmp edi, 0x10
jb 0x14006a589
lea r9d, [rdi - 1]
lea r11, [rbx + 0x10]
lea rdx, [rsi + 0x10]
lea eax, [r9 + 0x10]
lea rbp, [rax + rsi]
lea r8, [rax + rbx]
cmp r11, rbp
ja 0x14006a526
cmp r8, rdx
jae 0x14006a589
lea rcx, [rsp + 0x30]
mov eax, r9d
add rcx, rax
cmp r11, rcx
ja 0x14006a540
lea rax, [rsp + 0x30]
cmp r8, rax
jae 0x14006a589
lea rax, [rsp + 0x30]
cmp rax, rbp
ja 0x14006a54f
cmp rcx, rdx
jae 0x14006a589
mov eax, edi
mov r8d, edi
and eax, 0xf
sub r8d, eax
nop word [rax + rax]
lea edx, [r10 + 0x10]
mov eax, r10d
mov r10d, edx
movdqu xmm0, xmmword [rsp + rax + 0x30]
movdqu xmm1, xmmword [rdx + rsi]
movdqu xmmword [rsp + rax + 0x30], xmm1
pxor xmm0, xmm1
movdqu xmmword [rdx + rbx], xmm0
cmp edx, r8d
jb 0x14006a560
cmp r10d, edi
jae 0x14006a5cf
lea r8d, [r10 + 0x10]
mov eax, r10d
lea r9, [rsp + 0x30]
mov r11, rbx
add r9, rax
add r8, rsi
sub r11, rsi
sub edi, r10d
mov r10d, edi
nop dword [rax]
movzx eax, byte [r8]
movzx edx, byte [r9]
lea r8, [r8 + 1]
xor dl, al
mov byte [r9], al
lea r9, [r9 + 1]
mov byte [r11 + r8 - 1], dl
dec r10
jne 0x14006a5b0
mov edx, dword [r13 + 4]
lea r8, [rsp + 0x30]
lea rcx, [r13 + 0xf8]
mov r9, rbx
call fcn.140069080
mov eax, dword [rsp + 0x20]
xor dword [rbx], eax
mov eax, dword [rsp + 0x24]
xor dword [rbx + 4], eax
mov eax, dword [rsp + 0x28]
xor dword [rbx + 8], eax
mov eax, dword [rsp + 0x2c]
xor dword [rbx + 0xc], eax
jmp 0x14006a608
movups xmmword [rbp], xmm1
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov eax, r12d
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140073228
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
mov r10d, dword [rsp + 0x68]
movsxd rsi, dword [rcx + 0x160]
mov ebx, r8d
mov r12, rdx
mov r11, rcx
test r10d, r10d
je 0x1400732ef
mov eax, dword [rsp + 0x50]
mov ecx, ebx
mov ebp, ebx
shl eax, 2
imul ecx, dword [rsp + 0x58]
movsxd r13, eax
mov eax, esi
imul eax, r9d
mov r9d, dword [rsp + 0x48]
neg ebp
movsxd rdi, eax
mov qword [rsp + 0x28], rdi
mov eax, dword [r11 + 0x158]
movsxd r8, ecx
add r8, r13
add r8, r12
imul eax, r9d
movsxd rdx, eax
add rdx, qword [r11 + 0x150]
add rdx, rdi
cmp dword [rsp + 0x60], 0
jle 0x1400732d4
mov edi, dword [rsp + 0x60]
mov al, byte [r8 + 2]
xor byte [rdx + 2], al
mov al, byte [r8 + 1]
xor byte [rdx + 1], al
mov al, byte [r8]
lea r8, [r8 + 4]
xor byte [rdx], al
add rdx, rsi
dec rdi
jne 0x1400732b0
mov rdi, qword [rsp + 0x28]
dec r10d
inc r9d
cmp dword [r11 + 0x174], 0
jne 0x1400732e8
add ecx, ebp
jmp 0x1400732ea
add ecx, ebx
test r10d, r10d
jne 0x140073284
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140074090
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
mov r11d, dword [rsp + 0x68]
movsxd rsi, dword [rcx + 0x160]
mov edi, r8d
mov r12, rdx
mov rbx, rcx
test r11d, r11d
je 0x140074159
mov eax, dword [rsp + 0x50]
mov ecx, r8d
mov ebp, r8d
lea r10d, [rax + rax*2]
mov eax, esi
imul ecx, dword [rsp + 0x58]
movsxd r13, r10d
imul eax, r9d
mov r9d, dword [rsp + 0x48]
movsxd r10, eax
mov qword [rsp + 0x28], r10
neg ebp
mov eax, dword [rbx + 0x158]
movsxd r8, ecx
add r8, r13
add r8, r12
imul eax, r9d
movsxd rdx, eax
add rdx, qword [rbx + 0x150]
add rdx, r10
cmp dword [rsp + 0x60], 0
jle 0x14007413f
mov r10d, dword [rsp + 0x60]
mov al, byte [r8 + 2]
xor byte [rdx + 2], al
mov al, byte [r8 + 1]
xor byte [rdx + 1], al
mov al, byte [r8]
lea r8, [r8 + 3]
xor byte [rdx], al
add rdx, rsi
dec r10
jne 0x14007411b
mov r10, qword [rsp + 0x28]
dec r11d
inc r9d
cmp dword [rbx + 0x174], 0
jne 0x140074152
add ecx, ebp
jmp 0x140074154
add ecx, edi
test r11d, r11d
jne 0x1400740ef
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140081780
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rsi, rcx
xor r11d, r11d
lea rdi, [rcx + 0x33b8c]
nop dword [rax]
xor r9d, r9d
mov r10d, r11d
lea eax, [r9 + 1]
lea ebx, [rax + 3]
nop dword [rax]
mov ecx, eax
mov r8d, r10d
add eax, eax
movzx edx, word [rsi + rcx*2 + 0x34234]
and r8d, 1
shr r10d, 1
mov ecx, r8d
shr rdx, 4
or eax, r8d
neg ecx
sar rcx, 4
and ecx, 0x7f
xor rdx, rcx
add r9d, dword [rsi + rdx*4 + 0x324dc]
dec ebx
jne 0x1400817b0
inc r11d
mov dword [rdi], r9d
add rdi, 4
cmp r11d, 0x10
jb 0x1400817a0
mov rdi, qword [rsp + 0x18]
mov dword [rsi + 0x33bcc], ebx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
ret
Function at 0x140081810
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
sub rsp, 0x200
mov r12d, 4
mov r10, rcx
lea rbp, [rcx + 0x304e0]
mov edi, r12d
lea rsi, [rsp + 0x10]
nop word [rax + rax]
movzx edx, byte [rbp]
xor ebx, ebx
mov r11d, edi
mov r9d, edx
mov eax, edx
lea r8d, [rbx + 1]
and eax, 1
shr r9d, 1
dec r9d
or eax, 2
mov ecx, r9d
shl eax, cl
sub r11d, eax
test r9d, r9d
je 0x1400818c1
mov r14d, edx
mov r15d, eax
mov eax, r8d
mov edx, r11d
add r8d, r8d
sub rax, r14
and edx, 1
shr r11d, 1
add rax, r15
or r8d, edx
movzx ecx, word [r10 + rax*2 + 0x3414e]
mov eax, edx
neg eax
shr rcx, 4
sar rax, 4
and eax, 0x7f
xor rcx, rax
add ebx, dword [r10 + rcx*4 + 0x324dc]
dec r9d
jne 0x140081881
inc edi
mov dword [rsi], ebx
inc rbp
add rsi, r12
cmp edi, 0x80
jb 0x140081850
lea rsi, [rsp]
lea rbx, [r10 + 0x32f8c]
lea rdi, [r10 + 0x33f50]
sub rsi, r10
lea r14, [r10 + 0x33394]
sub rsi, 0x3338c
nop word [rax + rax]
xor r11d, r11d
cmp dword [r10 + 0x33bd0], r11d
jbe 0x14008195e
nop dword [rax]
mov eax, r11d
xor r9d, r9d
or eax, 0x40
cmp eax, 1
je 0x14008194e
nop
mov edx, eax
mov ecx, eax
shr eax, 1
and edx, 1
shr rcx, 1
movzx r8d, word [rdi + rcx*2]
neg edx
sar rdx, 4
shr r8, 4
and edx, 0x7f
xor r8, rdx
add r9d, dword [r10 + r8*4 + 0x324dc]
cmp eax, 1
jne 0x140081920
mov dword [rbx + r11*4], r9d
inc r11d
cmp r11d, dword [r10 + 0x33bd0]
jb 0x140081910
mov edx, 0xe
cmp dword [r10 + 0x33bd0], edx
jbe 0x14008198d
nop dword [rax]
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
inc edx
shr eax, 1
sub eax, 5
shl eax, 4
add dword [rcx], eax
cmp edx, dword [r10 + 0x33bd0]
jb 0x140081970
mov eax, dword [rbx]
lea r8, [r10 + 0x304e0]
lea rdx, [r14 + 8]
mov dword [r14 - 8], eax
mov eax, dword [rbx + 4]
mov r9d, 0x7c
mov dword [r14 - 4], eax
mov eax, dword [rbx + 8]
mov dword [r14], eax
mov eax, dword [rbx + 0xc]
mov dword [r14 + 4], eax
nop dword [rax + rax]
movzx eax, byte [r8]
lea rdx, [rdx + 4]
lea r8, [r8 + 1]
mov ecx, dword [rbx + rax*4]
add ecx, dword [rdx + rsi - 4]
mov dword [rdx - 4], ecx
dec r9
jne 0x1400819c0
sub rdi, 0xffffffffffffff80
add rbx, 0x100
add r14, 0x200
sub rsi, 0x200
dec r12
jne 0x140081900
lea r11, [rsp + 0x200]
mov dword [r10 + 0x3d348], r12d
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400837b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r11, qword [rsp + 0x48]
movzx r10d, word [rcx]
mov ebp, r8d
movzx r8d, word [rcx + 2]
mov eax, r10d
xor r10, 0x7f0
shr rax, 4
shr r10, 4
mov r13, r9
mov r14d, dword [r11 + rax*4]
mov eax, r8d
xor r8, 0x7f0
shr rax, 4
shr r8, 4
mov r15d, edx
mov r12d, dword [r11 + rax*4]
mov eax, dword [r11 + r8*4]
mov rbx, rcx
add eax, dword [r11 + r10*4]
add r12d, dword [r11 + r10*4]
xor r9d, r9d
mov dword [rsp + 0x48], eax
mov rsi, r13
nop dword [rax + rax]
cmp r9d, ebp
jae 0x140083991
mov r8d, r9d
xor r10d, r10d
or r8d, 8
cmp r8d, 1
je 0x140083882
lea edi, [r15*8]
mov ecx, r8d
mov eax, r8d
shr r8d, 1
and ecx, 1
shr rax, 1
neg ecx
add rax, rdi
movzx edx, word [rbx + rax*2 + 4]
sar rcx, 4
shr rdx, 4
and ecx, 0x7f
xor rdx, rcx
add r10d, dword [r11 + rdx*4]
cmp r8d, 1
jne 0x140083851
lea eax, [r10 + r14]
inc r9d
add rsi, 4
mov dword [rsi - 4], eax
cmp r9d, 8
jb 0x140083830
cmp r9d, 0x10
jae 0x14008391c
lea r14, [r9*4]
lea esi, [r9 - 8]
add r14, r13
nop
cmp r9d, ebp
jae 0x140083991
mov r8d, esi
xor r10d, r10d
or r8d, 8
cmp r8d, 1
je 0x140083905
lea edi, [r15*8]
mov ecx, r8d
mov eax, r8d
shr r8d, 1
and ecx, 1
shr rax, 1
neg ecx
add rax, rdi
movzx edx, word [rbx + rax*2 + 0x104]
sar rcx, 4
shr rdx, 4
and ecx, 0x7f
xor rdx, rcx
add r10d, dword [r11 + rdx*4]
cmp r8d, 1
jne 0x1400838d1
lea eax, [r10 + r12]
inc r9d
add r14, 4
mov dword [r14 - 4], eax
inc esi
cmp r9d, 0x10
jb 0x1400838b0
cmp r9d, ebp
jae 0x140083991
lea rdi, [r9*4]
lea r10d, [r9 - 0x10]
add rdi, r13
sub ebp, r9d
mov esi, ebp
mov ebp, dword [rsp + 0x48]
nop dword [rax]
mov eax, r10d
xor r9d, r9d
bts eax, 8
cmp eax, 1
je 0x14008397e
nop
mov edx, eax
mov ecx, eax
shr eax, 1
and edx, 1
shr rcx, 1
movzx r8d, word [rbx + rcx*2 + 0x204]
neg edx
sar rdx, 4
shr r8, 4
and edx, 0x7f
xor r8, rdx
add r9d, dword [r11 + r8*4]
cmp eax, 1
jne 0x140083950
lea eax, [r9 + rbp]
add rdi, 4
inc r10d
mov dword [rdi - 4], eax
dec rsi
jne 0x140083940
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret

Function at 0x140083c00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r11d, r11d
mov rbx, rcx
bts edx, 8
nop
mov ecx, edx
mov eax, edx
add edx, edx
shr ecx, 7
shr rax, 8
movzx r10d, word [rbx + rax*2]
and ecx, 1
neg ecx
shr r10, 4
sar rcx, 4
and ecx, 0x7f
xor r10, rcx
add r11d, dword [r8 + r10*4]
cmp edx, 0x10000
jb 0x140083c10
mov rbx, qword [rsp + 8]
mov eax, r11d
ret
Function at 0x140083c50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10d, 0x100
xor ebx, ebx
mov r11d, r8d
or edx, r10d
mov rdi, rcx
nop dword [rax + rax]
add r11d, r11d
mov r8d, edx
mov ecx, edx
shr ecx, 7
shr r8d, 8
mov eax, r10d
and ecx, 1
and eax, r11d
add edx, edx
neg ecx
add eax, r10d
sar rcx, 4
add r8d, eax
movzx r8d, word [rdi + r8*2]
and ecx, 0x7f
shr r8, 4
xor r8, rcx
mov ecx, edx
add ebx, dword [r9 + r8*4]
xor ecx, r11d
not ecx
and r10d, ecx
cmp edx, 0x10000
jb 0x140083c70
mov rdi, qword [rsp + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 8]
ret

Function at 0x140087300
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov qword [rcx + 0x60], 4
mov dword [rcx + 0x3c], 0x20
mov qword [rcx + 0x70], 1
lea r8, [rcx + 0x8c]
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x28], rax
nop dword [rax + rax]
mov edx, eax
mov ecx, eax
inc eax
shr ecx, 1
and edx, 1
lea r8, [r8 + 4]
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [r8 - 4], ecx
cmp eax, 0x100
jb 0x140087330
ret