joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140037cfc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140037d7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140037d71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140037d71
mov rax, qword [rbp - 8]
jmp 0x140037d8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140037d44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140afc0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140afc237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140afc0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140afc0c7
add dl, dl
jne 0x140afc0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140afc14e
xor eax, eax
add dl, dl
jne 0x140afc0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140afc205
add dl, dl
jne 0x140afc10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140afc11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140afc128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140afc135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140afc142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140afc0d6
mov eax, 1
add dl, dl
jne 0x140afc15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140afc16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140afc153
sub eax, ebx
mov ebx, 1
jne 0x140afc1a4
mov ecx, 1
add dl, dl
jne 0x140afc186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140afc193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140afc17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140afc0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140afc1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140afc1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140afc1b5
cmp eax, 0x7d00
jae 0x140afc1f3
cmp eax, 0x500
jb 0x140afc1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140afc0d6
cmp eax, 0x7f
ja 0x140afc1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140afc0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140afc22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140afc0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004070
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov edi, r9d
mov rbx, r8
test r8, r8
jne 0x1400040a2
or eax, 0xffffffff
jmp 0x140004182
xor eax, eax
mov qword [rsp + 0x100], rsi
xor esi, esi
mov dword [rsp + 0x68], 1
xor edx, edx
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r8d, [rsi + 0x60]
call fcn.140005460
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
mov dword [rsp + 0xac], 1
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rsi
mov rdx, rbx
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov word [rsp + 0xb0], di
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000415f
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x68]
lea eax, [rcx - 0xbc2]
cmp eax, 1
jbe 0x140004176
cmp ecx, 0x669
jne 0x140004178
mov ecx, esi
mov rsi, qword [rsp + 0x100]
mov eax, ecx
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400042d0
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rdi
ret
Function at 0x140006730
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140006504
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006504
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006504
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006504
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006504
cmp dword [rcx + 0x84], 0xe
jbe 0x140006504
cmp dword [rcx + 0xf8], esi
je 0x140006504
mov ecx, r14d
call fcn.14000664c
mov ecx, 2
call fcn.140007df0
nop
cmp byte [0x140018148], 0
jne 0x1400065ce
mov r15d, 1
mov eax, r15d
xchg dword [0x140018138], eax
test ebx, ebx
jne 0x140006577
mov rdi, qword [0x140017008]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140018140]
cmp rcx, rax
je 0x14000656e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140004e88]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140018380]
jmp 0x140006583
cmp ebx, r15d
jne 0x140006589
lea rcx, [0x140018398]
call fcn.14000709c
nop
test ebx, ebx
jne 0x1400065a0
lea rdx, [0x14000e2c8]
lea rcx, [0x14000e2a8]
call fcn.1400073b4
lea rdx, [0x14000e2d8]
lea rcx, [0x14000e2d0]
call fcn.1400073b4
movzx eax, byte [0x140018148]
test esi, esi
cmove eax, r15d
mov byte [0x140018148], al
jmp 0x1400065ce
mov ecx, 2
call fcn.140007e44
test esi, esi
jne 0x1400065e5
mov ecx, r14d
call fcn.140006600
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140006494
Function at 0x140027e30
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.14001b8b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b8b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f80
cmp rax, 0xffffffffffffffff
je 0x140027f80
xor edi, edi
test rbp, rbp
jle 0x140027f2b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001deb8
mov rbx, rax
test rax, rax
jne 0x140027eb8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027f21
mov edx, 0x8000
mov ecx, r14d
call fcn.140015968
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.14001c590
cmp eax, 0xffffffff
je 0x140027f01
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027ec8
mov edx, r15d
mov ecx, r14d
call fcn.140015968
jmp 0x140027f21
cmp byte [rsi + 0x38], dil
je 0x140027f18
cmp dword [rsi + 0x34], 5
jne 0x140027f18
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027f21
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019f78
jmp 0x140027f94
jns 0x140027f94
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b8b4
cmp rax, 0xffffffffffffffff
jne 0x140027f4c
cmp byte [rsi + 0x30], dil
je 0x140027f94
mov edi, dword [rsi + 0x2c]
jmp 0x140027f94
mov ecx, r14d
call fcn.14001705c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f94
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 0x140027f94
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f8d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f92
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b8b4
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 0x140002a80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002aca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002aca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002aca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002aca
cmp dword [rcx + 0x84], 0xe
jbe 0x140002aca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002acc
xor al, al
add rsp, 0x28
ret
Function at 0x140010c8a
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [rcx]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x140010c98
test al, 1
je 0x140010d38
test al, 2
jne 0x140010d38
test al, 8
jne 0x140010cd1
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x20]
mov byte [rdx + 0x208], 5
call fcn.1400106b9
jmp 0x140010ceb
test al, 0x10
je 0x140010ceb
mov rax, qword [rsi + 0x250]
test rax, rax
je 0x140010d38
mov rcx, qword [rsi + 0x258]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14006db6c
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x140010d38
jne 0x140010d2e
mov rcx, rsi
add rsp, 0x230
pop rsi
jmp 0x140010af1
nop
add rsp, 0x230
pop rsi
ret
ud2

Function at 0x140010d3c
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x6f0
mov rsi, rcx
mov rax, qword [rcx]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x140010d4a
test al, 1
je 0x140010dea
test al, 2
jne 0x140010dea
test al, 8
jne 0x140010d83
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x20]
mov qword [rdx], 3
call fcn.140010611
jmp 0x140010d9d
test al, 0x10
je 0x140010d9d
mov rax, qword [rsi + 0x710]
test rax, rax
je 0x140010dea
mov rcx, qword [rsi + 0x718]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14006db6c
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x140010dea
jne 0x140010de0
mov rcx, rsi
add rsp, 0x6f0
pop rsi
jmp 0x140010a9e
nop
add rsp, 0x6f0
pop rsi
ret
ud2

Function at 0x140010dee
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x100
mov rsi, rcx
mov rax, qword [rcx]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x140010dfc
test al, 1
je 0x140010e95
test al, 2
jne 0x140010e95
test al, 8
jne 0x140010e2e
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x20]
mov byte [rdx + 0x58], 8
call fcn.1400104bb
jmp 0x140010e48
test al, 0x10
je 0x140010e48
mov rax, qword [rsi + 0x120]
test rax, rax
je 0x140010e95
mov rcx, qword [rsi + 0x128]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14006db6c
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x140010e95
jne 0x140010e8b
mov rcx, rsi
add rsp, 0x100
pop rsi
jmp 0x140010b97
nop
add rsp, 0x100
pop rsi
ret
ud2
Function at 0x140010f34
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [rcx]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x140010f3f
test al, 1
je 0x140010fc8
test al, 2
jne 0x140010fc8
test al, 8
jne 0x140010f6d
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x20]
mov byte [rdx + 0x28], 5
call fcn.14001050f
jmp 0x140010f81
test al, 0x10
je 0x140010f81
mov rax, qword [rsi + 0x70]
test rax, rax
je 0x140010fc8
mov rcx, qword [rsi + 0x78]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14006db6c
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x140010fc8
jne 0x140010fc1
mov rcx, rsi
add rsp, 0x50
pop rsi
jmp fcn.140010bea
nop
add rsp, 0x50
pop rsi
ret
ud2

Function at 0x140010fcc
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x570
mov rsi, rcx
mov rax, qword [rcx]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x140010fda
test al, 1
je 0x14001107a
test al, 2
jne 0x14001107a
test al, 8
jne 0x140011013
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x20]
mov byte [rdx + 0x93], 7
call fcn.140010665
jmp 0x14001102d
test al, 0x10
je 0x14001102d
mov rax, qword [rsi + 0x590]
test rax, rax
je 0x14001107a
mov rcx, qword [rsi + 0x598]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14006db6c
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x14001107a
jne 0x140011070
mov rcx, rsi
add rsp, 0x570
pop rsi
jmp fcn.140010b44
nop
add rsp, 0x570
pop rsi
ret
ud2

Function at 0x14001107e
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x3b0
mov rsi, rcx
mov rax, qword [rcx]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14001108c
test al, 1
je 0x140011125
test al, 2
jne 0x140011125
test al, 8
jne 0x1400110be
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x20]
mov byte [rdx + 0x21], 6
call fcn.1400105bd
jmp 0x1400110d8
test al, 0x10
je 0x1400110d8
mov rax, qword [rsi + 0x3d0]
test rax, rax
je 0x140011125
mov rcx, qword [rsi + 0x3d8]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14006db6c
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x140011125
jne 0x14001111b
mov rcx, rsi
add rsp, 0x3b0
pop rsi
jmp 0x140010c37
nop
add rsp, 0x3b0
pop rsi
ret
ud2
Function at 0x14002298a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov esi, ecx
shr esi, 8
lea r8, [rdx + r8*2]
xor edi, edi
mov r15, rdx
movzx r14d, byte [rdx + 1]
add rdx, 2
lea rbx, [rdi + r14]
cmp byte [r15], sil
jne 0x1400229e6
cmp rdi, rbx
ja 0x140022a3b
cmp rbx, rax
ja 0x140022a3b
add rdi, r9
xor r15d, r15d
cmp r14, r15
je 0x1400229e8
lea r12, [r15 + 1]
cmp byte [rdi + r15], cl
mov r15, r12
jne 0x1400229d2
jmp 0x140022a2d
ja 0x1400229f0
mov rdi, rbx
cmp rdx, r8
jne 0x1400229ad
add r10, r11
movzx ecx, cx
mov al, 1
lea r8, [r11 + 1]
movzx edx, byte [r11]
test dl, dl
js 0x140022a09
mov r11, r8
jmp 0x140022a20
cmp r8, r10
je 0x140022a3b
and edx, 0x7f
shl edx, 8
movzx r8d, byte [r11 + 1]
add r11, 2
or edx, r8d
sub ecx, edx
js 0x140022a2f
xor al, 1
cmp r11, r10
jne 0x1400229f8
jmp 0x140022a2f
xor eax, eax
and al, 1
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
ud2

Function at 0x14002ddfd
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.advapi32.dll_SystemFunction036]
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x14002de57
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
je 0x14002de63
add rdi, rbx
sub rsi, rbx
jne 0x14002de25
xor ebp, ebp
jmp 0x14002de69
add ebp, 0x80000000
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14002feb7
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, rdx
mov rsi, rcx
lea rdx, [rcx + 0x10]
xor ecx, ecx
mov r8b, byte [rax + rcx]
xor byte [rsi + rcx], r8b
lea r8, [rcx + 1]
mov rcx, r8
cmp r8, 0x10
jne 0x14002fec9
test byte [0x1400f5b83], 1
je 0x14002fef0
test byte [0x1400f5b84], 2
jne 0x14002ff64
mov rdx, qword [rsi + 0x10]
movdqa xmm0, xmmword [rsi]
movq rax, xmm0
bswap rax
pshufd xmm0, xmm0, 0xee
movq rcx, xmm0
bswap rcx
mov r8, qword [rsi + 0x18]
lea rdi, [rsp + 0x30]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.1400301b2
pshufd xmm0, xmmword [rdi], 0x4e
lea rax, [rsp + 0x40]
movdqa xmmword [rax], xmm0
mov cl, 1
xor edx, edx
mov r8, qword [rax]
add rax, 8
bswap r8
mov qword [rsp + rdx*8 + 0x20], r8
mov edx, 1
test cl, 1
mov ecx, 0
jne 0x14002ff37
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsi], xmm0
add rsp, 0x58
pop rdi
pop rsi
ret
mov rcx, rsi
add rsp, 0x58
pop rdi
pop rsi
jmp 0x1400777f0
movdqu xmm0, xmmword [rcx]
movdqa xmm5, xmmword [0x1400bc280]
movdqu xmm2, xmmword [rdx]
movdqu xmm4, xmmword [rdx + 0x20]
pshufb xmm0, xmm5
movdqa xmm1, xmm0
pshufd xmm3, xmm0, 0x4e
pxor xmm3, xmm0
pclmulqdq xmm0, xmm2, 0
pclmulqdq xmm1, xmm2, 0x11
pclmulqdq xmm3, xmm4, 0
pxor xmm3, xmm0
pxor xmm3, xmm1
movdqa xmm4, xmm3
psrldq xmm3, 8
pslldq xmm4, 8
pxor xmm1, xmm3
pxor xmm0, xmm4
movdqa xmm4, xmm0
movdqa xmm3, xmm0
psllq xmm0, 5
pxor xmm3, xmm0
psllq xmm0, 1
pxor xmm0, xmm3
psllq xmm0, 0x39
movdqa xmm3, xmm0
pslldq xmm0, 8
psrldq xmm3, 8
pxor xmm0, xmm4
pxor xmm1, xmm3
movdqa xmm4, xmm0
psrlq xmm0, 1
pxor xmm1, xmm4
pxor xmm4, xmm0
psrlq xmm0, 5
pxor xmm0, xmm4
psrlq xmm0, 1
pxor xmm0, xmm1
pshufb xmm0, xmm5
movdqu xmmword [rcx], xmm0
ret

Function at 0x14002ff72
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x168
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
movdqa xmm0, xmmword [rsp + 0x1b0]
psllq xmm0, 3
lea rax, [rsp + 0x20]
movdqa xmmword [rax], xmm0
mov cl, 1
xor edx, edx
mov r8, qword [rax]
add rax, 8
bswap r8
mov qword [rsp + rdx*8 + 0x50], r8
mov edx, 1
test cl, 1
mov ecx, 0
jne 0x14002ffa5
lea rdx, [rsp + 0x50]
movaps xmm0, xmmword [rdx]
movaps xmmword [rdx], xmm0
mov rcx, r14
call fcn.14002feb7
lea rcx, [rsp + 0x50]
mov r8d, 0x110
mov rdx, r14
call fcn.14009d5c0
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x20], xmm0
mov eax, dword [0x1400f5b84]
bt eax, 9
mov ecx, 2
sbb rcx, 0xffffffffffffffff
bt eax, 0x19
mov eax, 1
cmovae rax, rcx
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov r8, rdi
cmp rax, 1
je 0x140030031
cmp rax, 2
jne 0x140030038
call fcn.140075ea0
jmp 0x14003003d
call fcn.140076240
jmp 0x14003003d
call fcn.140094240
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x20], xmm0
xor eax, eax
mov cl, byte [rsp + rax + 0x40]
xor byte [rsp + rax + 0x20], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp rcx, 0x10
jne 0x140030053
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140033a8c
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140033c60
mov r13, qword [rsp + 0x2c0]
test r13, r13
je 0x140033c44
mov rsi, r9
mov rax, qword [rsp + 0x28]
lea rdi, [rax + 0x30]
lea rbx, [rsp + 0x98]
xorps xmm6, xmm6
lea rcx, [rsp + 0x90]
xor r14d, r14d
mov rbp, qword [rsp + 0x30]
cmp r13, rbp
cmovb rbp, r13
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm3
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
mov al, byte [0x1400f5b78]
cmp al, 2
jne 0x140033c32
movups xmmword [rbx + 0xb8], xmm6
movups xmmword [rbx + 0xa8], xmm6
movups xmmword [rbx + 0x98], xmm6
movups xmmword [rbx + 0x88], xmm6
movups xmmword [rbx + 0x78], xmm6
movups xmmword [rbx + 0x68], xmm6
movups xmmword [rbx + 0x58], xmm6
movups xmmword [rbx + 0x48], xmm6
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x90], rax
xor eax, eax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x38]
mov r12, rcx
mov r8, qword [rsp + 0x40]
call fcn.140033de1
movabs rax, 0x100000000
cmp r14, rax
je 0x140033c60
mov eax, r14d
bswap eax
mov dword [rsp + 0x168], eax
mov r8d, 4
mov rcx, r12
lea r15, [rsp + 0x168]
mov rdx, r15
call fcn.140033de1
mov r8d, 0xd8
mov rcx, r15
mov rdx, r12
call fcn.14009d5c0
lea rcx, [rsp + 0x48]
mov rdx, r15
call fcn.140033f69
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x10]
cmp rax, 0x41
jae 0x140033c60
cmp rbp, rax
cmovb rax, rbp
test rax, rax
je 0x140033c16
xor ecx, ecx
mov dl, byte [rsp + rcx + 0x50]
xor byte [rsi + rcx], dl
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rax, rdx
jne 0x140033c03
add rsi, rbp
sub r13, rbp
inc r14
test r13, r13
lea rcx, [rsp + 0x90]
jne 0x140033afb
jmp 0x140033c44
call fcn.1400a8ba2
lea rcx, [rsp + 0x90]
jmp 0x140033b33
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x140036c3f
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1d8
mov rdi, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rbx, qword [rsp + 0x230]
movups xmm0, xmmword [0x1400b16b8]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1400b16a8]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1400b1698]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x1400b1688]
movups xmmword [rsp + 0x30], xmm0
mov al, byte [0x1400f5b78]
cmp al, 2
jne 0x140036d68
xorps xmm0, xmm0
lea r12, [rsp + 0x28]
movups xmmword [r12 + 0xc0], xmm0
movups xmmword [r12 + 0xb0], xmm0
movups xmmword [r12 + 0xa0], xmm0
movups xmmword [r12 + 0x90], xmm0
movups xmmword [r12 + 0x80], xmm0
movups xmmword [r12 + 0x70], xmm0
movups xmmword [r12 + 0x60], xmm0
movups xmmword [r12 + 0x50], xmm0
lea rax, [0x1400b1658]
mov qword [r12], rax
xor eax, eax
mov qword [r12 + 0x48], rax
mov qword [r12 + 0xd0], rax
mov r8d, 0x20
mov rcx, r12
mov rdx, r15
call fcn.140033de1
mov r8d, 0x20
mov rcx, r12
mov rdx, r14
call fcn.140033de1
mov rcx, r12
mov rdx, rdi
mov r8, rbx
call fcn.140033de1
lea rdi, [rsp + 0x100]
mov r8d, 0xd8
mov rcx, rdi
mov rdx, r12
call fcn.14009d5c0
mov rcx, rsi
mov rdx, rdi
call fcn.140033f69
nop
add rsp, 0x1d8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400a8ba2
jmp 0x140036ca1