joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800158a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r14
sub rsp, 0x50
xor esi, esi
mov rbp, r8
mov r14, rdx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800158f4
call fcn.180002050
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
lea rdx, [0x1800ece24]
mov qword [rsp + 0x70], rdi
mov ecx, 0x80000
call fcn.180072944
mov qword [rsp + 0x40], rax
mov rdi, rax
test rax, rax
jne 0x180015921
mov esi, 0x8007000e
jmp 0x1800159ad
xor edx, edx
mov r8d, 0x80000
mov rcx, rdi
call fcn.18008c000
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], esi
mov r8d, 0x80000
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180015964
call fcn.180002050
mov esi, eax
jmp 0x1800159ad
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x88]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x1800159aa
nop dword [rax]
mov r8, rbp
mov edx, eax
mov rcx, rdi
call fcn.1800155e0
mov dword [r14], eax
test eax, eax
jne 0x1800159ad
mov eax, dword [rsp + 0x88]
inc rdi
add eax, 0xffffffff
mov dword [rsp + 0x88], eax
jne 0x180015980
mov dword [r14], esi
lea rcx, [rsp + 0x40]
call fcn.18000f4a0
mov rdi, qword [rsp + 0x70]
cmp rbx, 0xffffffffffffffff
je 0x1800159cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
Function at 0x1800190b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
call fcn.180022270
mov edi, eax
cmp eax, 1
je 0x1800190d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180019156
test edi, edi
je 0x180019153
mov ecx, 8
call fcn.180072d68
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], ecx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x2c], 3
mov word [rax], cx
mov rcx, rbx
call fcn.180022380
test al, al
je 0x180019149
cmp dword [rsp + 0x28], 0
jne 0x180019125
cmp edi, 1
jne 0x180019149
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180018780
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call fcn.18007294c
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsp + 0x20]
call fcn.18007294c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180021fa0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x240
mov rax, qword [0x1800eb008]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
xor ebp, ebp
mov rsi, rcx
mov dword [rcx + 8], ebp
mov ecx, 0x105
mov word [rsp + 0x20], bp
mov word [rax], bp
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, ebp
mov r14d, eax
cmp word [rsp + 0x20], bx
je 0x180021ffa
inc ebx
cmp word [rsp + rbx*2 + 0x20], bp
jne 0x180021ff1
cmp ebx, dword [rsi + 0xc]
jbe 0x18002203e
lea ecx, [rbx + 1]
mov qword [rsp + 0x268], rdi
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180072d68
mov rcx, qword [rsi]
mov rdi, rax
call fcn.18007294c
mov qword [rsi], rdi
mov rdi, qword [rsp + 0x268]
mov dword [rsi + 0xc], ebx
mov rcx, qword [rsi]
lea r8d, [rbx + 1]
add r8, r8
mov dword [rsi + 8], ebx
lea rdx, [rsp + 0x20]
call fcn.18008b7d0
lea ecx, [r14 - 1]
cmp ecx, 0x103
setbe al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180072920
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop r14
pop rsi
pop rbp
ret

Function at 0x180022e10
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rbx, rcx
call fcn.180022270
mov edi, eax
cmp eax, 1
je 0x180022e51
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x180022e51
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
test edi, edi
je 0x180022edb
mov ecx, 8
call fcn.180072d68
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], ecx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x2c], 3
mov word [rax], cx
mov rcx, rbx
call fcn.180022380
test al, al
je 0x180022ed1
cmp dword [rsp + 0x28], 0
jne 0x180022ea3
cmp edi, 1
jne 0x180022ed1
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180018780
mov rcx, qword [rsp + 0x20]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call fcn.18007294c
test ebx, ebx
setne al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsp + 0x20]
call fcn.18007294c
mov rbx, qword [rsp + 0x40]
xor al, al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180022ef0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rbx, rcx
call fcn.180022270
xor esi, esi
mov edi, eax
cmp eax, 1
je 0x180022f44
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x180022f33
mov al, 1
jmp 0x1800230b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180023042
test edi, edi
je 0x180023042
mov ecx, 8
call fcn.180072d68
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x39], rax
mov rcx, rbx
mov dword [rbp - 0x31], esi
mov dword [rbp - 0x2d], 3
mov word [rax], si
call fcn.180022380
test al, al
je 0x180023039
cmp dword [rbp - 0x31], esi
jne 0x180022f95
cmp edi, 1
jne 0x180023039
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.180018780
mov rdi, qword [rbp - 0x39]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x180022fb2
mov bl, 1
mov rcx, rdi
jmp 0x1800230aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180022fc9
xor bl, bl
mov rcx, rdi
jmp 0x1800230aa
mov ecx, 8
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rsi
mov dword [rbp - 9], esi
mov word [rbp - 5], si
mov qword [rbp - 1], rsi
call fcn.180072d68
mov qword [rbp - 1], rax
lea rcx, [rbp - 0x29]
mov dword [rbp + 7], esi
mov rdx, rdi
mov dword [rbp + 0xb], 3
mov word [rax], si
call fcn.180019170
test al, al
jne 0x180023022
mov rcx, qword [rbp - 1]
xor bl, bl
call fcn.18007294c
mov rcx, rdi
jmp 0x1800230aa
mov ebx, dword [rbp - 9]
mov rcx, qword [rbp - 1]
shr ebx, 4
and bl, 1
call fcn.18007294c
mov rcx, rdi
jmp 0x1800230aa
mov rcx, qword [rbp - 0x39]
call fcn.18007294c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180023053
xor al, al
jmp 0x1800230b2
mov ecx, 8
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], rsi
mov dword [rbp + 0x37], esi
mov word [rbp + 0x3b], si
mov qword [rbp + 0x3f], rsi
call fcn.180072d68
mov qword [rbp + 0x3f], rax
lea rcx, [rbp + 0x17]
mov dword [rbp + 0x47], esi
mov rdx, rbx
mov dword [rbp + 0x4b], 3
mov word [rax], si
call fcn.180019170
test al, al
jne 0x18002309d
xor bl, bl
jmp 0x1800230a6
mov ebx, dword [rbp + 0x37]
shr ebx, 4
and bl, 1
mov rcx, qword [rbp + 0x3f]
call fcn.18007294c
movzx eax, bl
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180023460
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.1800190b0
cmp eax, 0xffffffff
je 0x180023494
mov edx, eax
and dl, 0x11
cmp dl, 1
jne 0x180023494
and eax, 0xfffffffe
mov rcx, rbx
mov edx, eax
call fcn.180022e10
test al, al
jne 0x180023494
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
mov qword [rsp + 0x40], rdi
call fcn.180022270
mov edi, eax
cmp eax, 1
je 0x1800234c2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1800234c2
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
test edi, edi
je 0x180023541
mov ecx, 8
call fcn.180072d68
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], ecx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x2c], 3
mov word [rax], cx
mov rcx, rbx
call fcn.180022380
test al, al
je 0x180023537
cmp dword [rsp + 0x28], 0
jne 0x180023510
cmp edi, 1
jne 0x180023537
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180018780
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call fcn.18007294c
mov rdi, qword [rsp + 0x40]
test ebx, ebx
setne al
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rsp + 0x20]
call fcn.18007294c
xor al, al
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
Function at 0x180028830
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x14], 1
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x180028869
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 8], rax
mov eax, 0x4e20
cmp edi, eax
cmovle eax, edi
mov edi, eax
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x40]
mov r8d, edi
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180028902
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1800288cc
call qword [sym.imp.KERNEL32.dll_GetFileType]
add eax, 0xfffffffe
cmp eax, 1
ja 0x1800288cc
cmp edi, 0x4e20
jle 0x1800288cc
mov r8d, 0x4e20
mov rdx, rsi
mov rcx, rbx
call fcn.180028830
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp dword [rbx + 0x14], 1
jne 0x1800288ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x1800288ef
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
or eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180035990
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
lea rdx, [0x1800f00f0]
nop dword [rax]
mov eax, ecx
shr eax, 1
test cl, 1
je 0x1800359ae
xor eax, 0xedb88320
test al, 1
je 0x1800359bb
shr eax, 1
xor eax, 0xedb88320
jmp 0x1800359bd
shr eax, 1
test al, 1
je 0x1800359ca
shr eax, 1
xor eax, 0xedb88320
jmp 0x1800359cc
shr eax, 1
test al, 1
je 0x1800359d9
shr eax, 1
xor eax, 0xedb88320
jmp 0x1800359db
shr eax, 1
test al, 1
je 0x1800359e8
shr eax, 1
xor eax, 0xedb88320
jmp 0x1800359ea
shr eax, 1
test al, 1
je 0x1800359f7
shr eax, 1
xor eax, 0xedb88320
jmp 0x1800359f9
shr eax, 1
test al, 1
je 0x180035a06
shr eax, 1
xor eax, 0xedb88320
jmp 0x180035a08
shr eax, 1
test al, 1
je 0x180035a15
shr eax, 1
xor eax, 0xedb88320
jmp 0x180035a17
shr eax, 1
mov dword [rdx], eax
inc ecx
add rdx, 4
cmp ecx, 0x100
jl 0x1800359a0
ret
Function at 0x180035a30
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1800f00f4], 0
mov r10, rdx
mov r9d, ecx
jne 0x180035a4a
call fcn.180035990
lea rbx, [0x1800f00f0]
test r8, r8
je 0x180035a7d
test r10b, 7
je 0x180035a7d
movzx ecx, byte [r10]
inc r10
movzx eax, r9b
xor rcx, rax
mov eax, r9d
shr eax, 8
mov r9d, dword [rbx + rcx*4]
xor r9d, eax
sub r8, 1
jne 0x180035a56
cmp r8, 8
jb 0x180035aff
mov r11, r8
shr r11, 3
imul rax, r11, 0xfffffffffffffff8
add r8, rax
xor r9d, dword [r10]
movzx eax, r9b
shr r9d, 8
mov ecx, dword [rbx + rax*4]
xor ecx, r9d
movzx eax, cl
shr ecx, 8
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [rbx + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [rbx + rax*4]
xor edx, dword [r10 + 4]
add r10, 8
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [rbx + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [rbx + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov r9d, dword [rbx + rax*4]
xor r9d, ecx
sub r11, 1
jne 0x180035a91
xor edx, edx
test r8, r8
je 0x180035b31
nop word [rax + rax]
movzx ecx, byte [rdx + r10]
inc rdx
movzx eax, r9b
xor rcx, rax
mov eax, r9d
shr eax, 8
mov r9d, dword [rbx + rcx*4]
xor r9d, eax
cmp rdx, r8
jb 0x180035b10
mov eax, r9d
add rsp, 0x20
pop rbx
ret

Function at 0x180035fd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x40
mov rsi, r9
mov rbx, rdx
mov r14, rcx
test rdx, rdx
je 0x18003608b
test r8d, r8d
jle 0x18003608b
mov qword [rsp + 0x50], rbp
mov eax, r8d
cdq
mov qword [rsp + 0x58], rdi
and edx, 0xf
movaps xmmword [rsp + 0x30], xmm6
movups xmm6, xmmword [rcx + 4]
add eax, edx
sar eax, 4
mov edi, eax
mov ebp, eax
test eax, eax
jle 0x180036061
sub rsi, rbx
nop word [rax + rax]
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, r14
call fcn.180036370
movdqu xmm1, xmmword [rsp + 0x20]
dec ebp
pxor xmm1, xmm6
movups xmm6, xmmword [rbx]
movups xmmword [rsi + rbx], xmm1
add rbx, 0x10
movdqu xmmword [rsp + 0x20], xmm1
test ebp, ebp
jg 0x180036030
mov rbp, qword [rsp + 0x50]
shl edi, 4
mov eax, edi
mov rdi, qword [rsp + 0x58]
movups xmmword [r14 + 4], xmm6
movaps xmm6, xmmword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800360a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x1800eb008]
xor rax, rsp
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rdx]
xor ebx, ebx
xor r11d, r11d
movups xmm1, xmmword [rdx + 0x10]
xor edx, edx
xor r8d, r8d
movups xmmword [rbp - 0x30], xmm0
mov r10, rcx
xor r9d, r9d
movups xmmword [rbp - 0x20], xmm1
nop word [rax + rax]
cmp r9, 0x28
jg 0x18003614e
cmp r8, 4
jge 0x180036137
nop dword [rax]
cmp rdx, 4
jge 0x18003613b
movzx eax, byte [rbp + r8*4 - 0x30]
lea rcx, [r9 + rdx]
mov byte [r10 + rcx*4 + 0x14], al
inc r11d
lea rax, [r9 + rdx]
inc rdx
lea rcx, [r10 + rax*4]
movzx eax, byte [rbp + r8*4 - 0x2f]
mov byte [rcx + 0x15], al
movzx eax, byte [rbp + r8*4 - 0x2e]
mov byte [rcx + 0x16], al
movzx eax, byte [rbp + r8*4 - 0x2d]
inc r8
mov byte [rcx + 0x17], al
cmp r8, 4
jl 0x1800360f0
cmp rdx, 4
jne 0x180036148
inc ebx
add r9, 4
xor r11d, r11d
xor edx, edx
cmp r8, 4
jl 0x1800360e0
movsxd r9, ebx
cmp r9, 0xa
jg 0x180036264
mov qword [rsp + 0x50], rdi
lea rbx, [0x1800f14e0]
lea rdi, [0x1800f12e0]
movsxd rax, r11d
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbp - 0x23]
lea rbx, [rbx + 1]
movzx edx, byte [rbp - 0x30]
lea r8, [rbp - 0x2f]
mov r11d, 3
xor dl, byte [rcx + rdi]
movzx ecx, byte [rbp - 0x22]
movzx ecx, byte [rcx + rdi]
xor byte [rbp - 0x2f], cl
movzx ecx, byte [rbp - 0x21]
movzx ecx, byte [rcx + rdi]
xor byte [rbp - 0x2e], cl
movzx ecx, byte [rbp - 0x24]
movzx ecx, byte [rcx + rdi]
xor byte [rbp - 0x2d], cl
xor dl, byte [rbx - 1]
mov byte [rbp - 0x30], dl
movzx ecx, byte [r8 - 1]
xor byte [r8 + 3], cl
movzx ecx, byte [r8]
xor byte [r8 + 4], cl
movzx ecx, byte [r8 + 1]
xor byte [r8 + 5], cl
movzx ecx, byte [r8 + 2]
xor byte [r8 + 6], cl
lea r8, [r8 + 4]
sub r11, 1
jne 0x1800361c0
xor r8d, r8d
cmp r9, 0xa
jg 0x18003625f
cmp r8, 4
jge 0x180036244
nop dword [rax]
cmp rax, 4
jge 0x180036248
movzx ecx, byte [rbp + r8*4 - 0x30]
lea rdx, [rax + r9*4]
mov byte [r10 + rdx*4 + 0x14], cl
lea rcx, [rax + r9*4]
lea rdx, [r10 + rcx*4]
inc rax
movzx ecx, byte [rbp + r8*4 - 0x2f]
mov byte [rdx + 0x15], cl
movzx ecx, byte [rbp + r8*4 - 0x2e]
mov byte [rdx + 0x16], cl
movzx ecx, byte [rbp + r8*4 - 0x2d]
inc r8
mov byte [rdx + 0x17], cl
cmp r8, 4
jl 0x180036200
cmp rax, 4
jne 0x18003624f
inc r9
xor eax, eax
cmp r8, 4
jl 0x1800361f0
cmp r9, 0xa
jle 0x180036180
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180072920
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
Function at 0x180036280
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword [0x1800eb008]
xor rax, rsp
mov qword [rsp + 0x10], rax
lea rsi, [rsp]
mov ebp, 9
sub rsi, rcx
lea rdi, [rcx + 0x24]
sub rsi, 0x26
lea r14, [0x180000000]
nop dword [rax]
xor eax, eax
lea r10, [rdi + 2]
mov r11d, 4
lea rbx, [rsi + rax]
movzx ecx, byte [r10 + 1]
lea r10, [r10 + 4]
lea r8, [rax + rcx*4]
movzx ecx, byte [r10 - 5]
movzx r9d, byte [r8 + r14 + 0xf4100]
lea rdx, [rax + rcx*4]
movzx ecx, byte [r10 - 6]
xor r9b, byte [rdx + r14 + 0xf3900]
lea rdx, [rax + rcx*4]
movzx ecx, byte [r10 - 4]
xor r9b, byte [rdx + r14 + 0xf3500]
lea rdx, [rax + rcx*4]
xor r9b, byte [rdx + r14 + 0xf3d00]
mov byte [rbx + r10 - 4], r9b
sub r11, 1
jne 0x1800362d0
inc rax
cmp rax, 4
jl 0x1800362c2
movups xmm0, xmmword [rsp]
sub rsi, 0x10
movups xmmword [rdi], xmm0
add rdi, 0x10
sub rbp, 1
jne 0x1800362c0
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.180072920
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1800371f0
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 r14
push r15
mov edi, dword [rcx + 0x204]
mov r10, rdx
mov ebx, dword [rcx + 0x208]
mov esi, edi
mov ebp, dword [rcx + 0x20c]
mov r14d, dword [rdx + 0xc]
xor esi, dword [rdx]
xor ebx, dword [rdx + 4]
xor ebp, dword [rdx + 8]
xor r14d, dword [rcx + 0x210]
xor r15d, r15d
lea r12d, [r15 + 0x20]
nop dword [rax + rax]
mov rax, r15
mov r8d, r14d
and eax, 3
rol r8d, 0xb
add r8d, ebp
inc r15
mov r9d, dword [rcx + rax*4 + 0x204]
xor r8d, r9d
mov eax, r8d
shr rax, 0x10
movzx eax, al
movzx r11d, byte [rax + rcx + 0x104]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rax + rcx + 0x104]
mov eax, r8d
shr rax, 8
movzx eax, al
shl edx, 8
or r11d, edx
shl r11d, 8
movzx edx, byte [rax + rcx + 0x104]
or r11d, edx
movzx edx, r8b
shl r11d, 8
mov r8d, ebp
ror r8d, 0xf
xor r8d, r14d
movzx eax, byte [rdx + rcx + 0x104]
add r8d, r9d
or r11d, eax
mov eax, r8d
shr rax, 0x10
xor r11d, esi
movzx eax, al
mov esi, ebp
mov ebp, r11d
movzx r9d, byte [rax + rcx + 0x104]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rax + rcx + 0x104]
mov eax, r8d
shl edx, 8
or r9d, edx
shr rax, 8
shl r9d, 8
movzx eax, al
movzx edx, byte [rax + rcx + 0x104]
or r9d, edx
movzx edx, r8b
shl r9d, 8
movzx eax, byte [rdx + rcx + 0x104]
or r9d, eax
xor r9d, ebx
mov ebx, r14d
mov r14d, r9d
sub r12, 1
jne 0x180037240
xor edi, r11d
mov rdx, r10
mov dword [r10], edi
mov eax, dword [rcx + 0x208]
xor eax, r9d
mov dword [r10 + 4], eax
mov eax, dword [rcx + 0x20c]
xor eax, esi
mov dword [r10 + 8], eax
xor ebx, dword [rcx + 0x210]
mov dword [r10 + 0xc], ebx
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
jmp 0x180037590
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov r9d, dword [rcx + 0x204]
lea rax, [rdx + 1]
mov r10d, dword [rcx + 0x208]
lea r14, [0x1800f00f0]
mov r11d, dword [rcx + 0x20c]
mov rdi, rdx
mov ebx, dword [rcx + 0x210]
mov rsi, rdx
sub rdi, rax
sub rsi, rax
sub rdx, rax
mov r8, rcx
lea rbp, [rdx + 3]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [rdi + rax]
lea rax, [rax + 4]
xor r9d, dword [r14 + rcx*4]
mov dword [r8 + 0x204], r9d
movzx ecx, byte [rax - 4]
xor r10d, dword [r14 + rcx*4]
mov dword [r8 + 0x208], r10d
movzx ecx, byte [rsi + rax - 2]
xor r11d, dword [r14 + rcx*4]
mov dword [r8 + 0x20c], r11d
movzx ecx, byte [rax + rbp - 4]
xor ebx, dword [r14 + rcx*4]
mov dword [r8 + 0x210], ebx
sub rdx, 1
jne 0x1800375f0
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x180037380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x1800eb008]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov esi, dword [rdx]
mov r15d, 0x1f
mov ebx, dword [rdx + 4]
mov r10, rdx
mov ebp, dword [rdx + 8]
mov r12d, r15d
movups xmm0, xmmword [rdx]
mov edi, dword [rcx + 0x204]
xor esi, edi
xor ebx, dword [rcx + 0x208]
xor ebp, dword [rcx + 0x20c]
mov r14d, dword [rdx + 0xc]
xor r14d, dword [rcx + 0x210]
movups xmmword [rsp], xmm0
nop
mov rax, r12
mov r8d, r14d
and eax, 3
rol r8d, 0xb
add r8d, ebp
dec r12
mov r9d, dword [rcx + rax*4 + 0x204]
xor r8d, r9d
mov eax, r8d
shr rax, 0x10
movzx eax, al
movzx r11d, byte [rax + rcx + 0x104]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rax + rcx + 0x104]
mov eax, r8d
shr rax, 8
movzx eax, al
shl edx, 8
or r11d, edx
shl r11d, 8
movzx edx, byte [rax + rcx + 0x104]
or r11d, edx
movzx edx, r8b
shl r11d, 8
mov r8d, ebp
ror r8d, 0xf
xor r8d, r14d
movzx eax, byte [rdx + rcx + 0x104]
add r8d, r9d
or r11d, eax
mov eax, r8d
shr rax, 0x10
xor r11d, esi
movzx eax, al
mov esi, ebp
mov ebp, r11d
movzx r9d, byte [rax + rcx + 0x104]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rax + rcx + 0x104]
mov eax, r8d
shl edx, 8
or r9d, edx
shr rax, 8
shl r9d, 8
movzx eax, al
movzx edx, byte [rax + rcx + 0x104]
or r9d, edx
movzx edx, r8b
shl r9d, 8
movzx eax, byte [rdx + rcx + 0x104]
or r9d, eax
xor r9d, ebx
mov ebx, r14d
sub r15d, 1
mov r14d, r9d
jns 0x1800373e0
xor edi, r11d
mov dword [r10], edi
mov eax, dword [rcx + 0x208]
xor eax, r9d
mov dword [r10 + 4], eax
mov eax, dword [rcx + 0x20c]
xor eax, esi
mov dword [r10 + 8], eax
xor ebx, dword [rcx + 0x210]
mov dword [r10 + 0xc], ebx
xor edx, edx
mov r8d, dword [rcx + 0x204]
lea rbx, [0x1800f00f0]
mov r9d, dword [rcx + 0x208]
mov r10d, dword [rcx + 0x20c]
mov r11d, dword [rcx + 0x210]
nop dword [rax]
movzx eax, byte [rsp + rdx]
xor r8d, dword [rbx + rax*4]
movzx eax, byte [rsp + rdx + 1]
xor r9d, dword [rbx + rax*4]
movzx eax, byte [rsp + rdx + 2]
xor r10d, dword [rbx + rax*4]
movzx eax, byte [rsp + rdx + 3]
add rdx, 4
xor r11d, dword [rbx + rax*4]
cmp rdx, 0x10
jl 0x180037520
mov dword [rcx + 0x204], r8d
mov dword [rcx + 0x208], r9d
mov dword [rcx + 0x20c], r10d
mov dword [rcx + 0x210], r11d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.180072920
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret