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

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
xor r15d, r15d
lea r12, [0x140000000]
movzx eax, byte [r15 + r12 + 0x5edd0]
mov edi, eax
mov r8d, eax
shr edi, 5
mov r11d, eax
shr r8d, 6
mov ebp, edi
lea edx, [rax + rax]
shr r11d, 7
xor edx, eax
and ebp, 4
mov r10d, edi
mov r9d, r8d
and edi, 1
and r10d, 2
imul ecx, edi, 0x1b000000
and r8d, 1
lea ebx, [rdx + rdx]
and r9d, 2
lea edx, [rdx*4]
xor ebx, eax
xor edx, eax
shl ebx, 0x19
shl edx, 8
mov esi, eax
xor rbx, rcx
mov r14d, eax
imul ecx, r10d, 0x1b000000
xor rbx, rcx
imul ecx, r8d, 0x1b000000
xor rbx, rcx
imul ecx, r9d, 0x1b000000
xor rbx, rcx
imul ecx, ebp, 0x1b000000
xor rbx, rcx
imul ecx, r11d, 0x1b000000
xor rbx, rcx
imul ecx, edi, 0x11b00
xor rdx, rcx
imul ecx, r10d, 0x11b00
xor rdx, rcx
imul ecx, r8d, 0x11b00
xor rdx, rcx
imul ecx, r9d, 0x11b00
xor rdx, rcx
imul ecx, ebp, 0x11b00
xor rdx, rcx
imul ecx, edi, 0x11b0000
or rbx, rdx
lea edx, [rax*8]
xor edx, eax
lea eax, [rax*4]
shl edx, 0x10
xor eax, r14d
xor rdx, rcx
imul ecx, r10d, 0x11b0000
xor rdx, rcx
imul ecx, ebp, 0x11b0000
xor rdx, rcx
imul ecx, edi, 0x11b
or rbx, rdx
lea edx, [rax + rax]
xor rdx, rcx
imul ecx, r10d, 0x11b
xor rdx, rcx
imul ecx, ebp, 0x11b
xor rdx, rcx
imul ecx, r11d, 0x11b
xor rdx, rcx
xor rdx, rsi
or rdx, rbx
shl rdx, 0x20
or rdx, rbx
or rdx, rsi
mov qword [r12 + r15*8 + 0x78720], rdx
inc r15
cmp r15, 0x100
jl 0x140047ea3
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov byte [0x140078f21], 1
pop r15
pop r14
pop r12
ret

Function at 0x14004800c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r11d, r11d
lea rbx, [0x140000000]
movzx r9d, byte [r11 + rbx + 0x5ecd0]
mov edx, r9d
shr edx, 7
imul r10d, edx, 0x1b000000
lea r8d, [r9 + r9]
imul ecx, edx, 0x11b
mov eax, r8d
shl eax, 0x18
xor r10, rax
mov eax, r9d
shl eax, 8
or eax, r9d
shl eax, 8
or r10, rax
mov eax, r8d
xor rcx, rax
xor rcx, r9
or rcx, r10
shl rcx, 0x20
or rcx, r10
mov qword [rbx + r11*8 + 0x77f10], rcx
inc r11
cmp r11, 0x100
jl 0x14004801b
and qword [0x140078718], 0
and qword [0x140078710], 0
mov rbx, qword [rsp + 8]
mov byte [0x140078f20], 1
ret
Function at 0x140049ad0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140072180]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x140079020]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140078f30], ecx
jg 0x140049bb2
mov eax, ebx
cmp rbx, rax
jne 0x140049b74
xor ecx, ecx
test rbx, rbx
setne cl
xor eax, eax
test ebx, ebx
setne al
cmp ecx, eax
jne 0x140049b74
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x140078f28]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x140049bf5
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140051850
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.140002480
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140049800
lea rdx, [0x14006f0d8]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [0x140078f30]
call fcn.140051f0c
cmp dword [0x140078f30], 0xffffffff
jne 0x140049b1c
lea rcx, [0x140078f28]
call fcn.140049714
lea rcx, [0x14005523c]
call fcn.140051e4c
nop
lea rcx, [0x140078f30]
call fcn.140051ea0
jmp 0x140049b1c
mov ecx, eax
call fcn.140049c38
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x14005d848]
lea rcx, [rsp + 0x20]
call fcn.140002480
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140049800
lea rdx, [0x14006f0d8]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x14004b03c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp r8, 8
jb 0x14004b0af
mov rbp, r8
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rdi, rax
mov r8d, 8
lea rcx, [rsp + 0x58]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 8
lea rcx, [rsp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
add rsi, 8
xor rax, qword [rsp + 0x58]
add rbx, 8
or r14, rax
sub rbp, 1
jne 0x14004b06e
mov rcx, r14
shr rcx, 0x20
or ecx, r14d
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test rdi, rdi
je 0x14004b0f1
sub rsi, rbx
movzx ecx, byte [rsi + rbx]
movzx eax, byte [rbx]
inc rbx
xor ecx, eax
or edx, ecx
sub rdi, 1
jne 0x14004b0dd
mov rbx, qword [rsp + 0x40]
test edx, edx
mov rbp, qword [rsp + 0x48]
sete al
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14004b10c
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x14004b1d2
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15d, 4
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, r15
jb 0x14004b19d
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x24]
xor eax, dword [rsp + 0x20]
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy
add r14, r15
add rsi, r15
add rdi, r15
sub rbp, 1
jne 0x14004b152
test rbx, rbx
je 0x14004b1ba
sub rsi, rdi
sub r14, rdi
mov al, byte [rsi + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rbx, 1
jne 0x14004b1a8
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14004b1d4
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14004b281
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r8
mov r14d, 4
mov rsi, rdx
mov rdi, rcx
cmp rbx, r14
jb 0x14004b259
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r14
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
xor eax, dword [rsp + 0x68]
mov r8, r14
mov rcx, rdi
mov dword [rsp + 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
add rdi, r14
add rsi, r14
sub rbp, 1
jne 0x14004b211
test rbx, rbx
je 0x14004b26f
sub rsi, rdi
mov al, byte [rsi + rdi]
xor byte [rdi], al
inc rdi
sub rbx, 1
jne 0x14004b261
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400511a4
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
mov r9d, 4
shl edx, 2
mov r8, rcx
movdqu xmm0, xmmword [rcx + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + rdx*4], xmm1
add edx, 0xfffffffc
cmp edx, r9d
jbe 0x1400511f3
aesimc xmm0, xmmword [r8 + rdx*4]
mov ecx, r9d
add r9d, 4
aesimc xmm1, xmmword [r8 + rcx*4]
movdqu xmmword [r8 + rcx*4], xmm0
movdqu xmmword [r8 + rdx*4], xmm1
add edx, 0xfffffffc
cmp r9d, edx
jb 0x1400511ca
mov eax, r9d
aesimc xmm0, xmmword [r8 + rax*4]
movdqu xmmword [r8 + rax*4], xmm0
ret

Function at 0x140052830
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x1806e7098]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x20
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.1801fd710
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x1806e7098]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x20
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x1800073c0
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x1800073dc
cmp rcx, r8
jl 0x1800073cf
mov qword [rdx + 0x80], rcx
test dword [0x1806de8f0], 1
je 0x18000740b
cmp byte [rsp + 0xd0], 0
je 0x18000740b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x180006f30
mov rsp, r8
jmp rax
Function at 0x180007410
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xc8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov eax, dword [0x1806e7098]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x20
add rax, rbx
mov qword [rsp + 0xc0], rax
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [rdx + 0x18]
mov rbx, qword [rax]
mov rax, qword [rdx + 0x20]
mov rbp, qword [rax]
mov rax, qword [rdx + 0x28]
mov rsi, qword [rax]
mov rax, qword [rdx + 0x30]
mov rdi, qword [rax]
mov rax, qword [rdx + 0x58]
mov r12, qword [rax]
mov rax, qword [rdx + 0x60]
mov r13, qword [rax]
mov rax, qword [rdx + 0x68]
mov r14, qword [rax]
mov rax, qword [rdx + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [rdx + 0x90]
movdqa xmm7, xmmword [rdx + 0xa0]
movdqa xmm8, xmmword [rdx + 0xb0]
movdqa xmm9, xmmword [rdx + 0xc0]
movdqa xmm10, xmmword [rdx + 0xd0]
movdqa xmm11, xmmword [rdx + 0xe0]
movdqa xmm12, xmmword [rdx + 0xf0]
movdqa xmm13, xmmword [rdx + 0x100]
movdqa xmm14, xmmword [rdx + 0x110]
movdqa xmm15, xmmword [rdx + 0x120]
mov rcx, qword [rdx + 0x78]
call qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rax, qword [rdx + 0x18]
mov qword [rax], rbx
mov rax, qword [rdx + 0x20]
mov qword [rax], rbp
mov rax, qword [rdx + 0x28]
mov qword [rax], rsi
mov rax, qword [rdx + 0x30]
mov qword [rax], rdi
mov rax, qword [rdx + 0x58]
mov qword [rax], r12
mov rax, qword [rdx + 0x60]
mov qword [rax], r13
mov rax, qword [rdx + 0x68]
mov qword [rax], r14
mov rax, qword [rdx + 0x70]
mov qword [rax], r15
movdqa xmmword [rdx + 0x90], xmm6
movdqa xmmword [rdx + 0xa0], xmm7
movdqa xmmword [rdx + 0xb0], xmm8
movdqa xmmword [rdx + 0xc0], xmm9
movdqa xmmword [rdx + 0xd0], xmm10
movdqa xmmword [rdx + 0xe0], xmm11
movdqa xmmword [rdx + 0xf0], xmm12
movdqa xmmword [rdx + 0x100], xmm13
movdqa xmmword [rdx + 0x110], xmm14
movdqa xmmword [rdx + 0x120], xmm15
mov rax, qword [rsp + 0xc0]
lock or dword [rax + 0x38], 0x10
movdqa xmm6, xmmword [rsp + 0x20]
movdqa xmm7, xmmword [rsp + 0x30]
movdqa xmm8, xmmword [rsp + 0x40]
movdqa xmm9, xmmword [rsp + 0x50]
movdqa xmm10, xmmword [rsp + 0x60]
movdqa xmm11, xmmword [rsp + 0x70]
movdqa xmm12, xmmword [rsp + 0x80]
movdqa xmm13, xmmword [rsp + 0x90]
movdqa xmm14, xmmword [rsp + 0xa0]
movdqa xmm15, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbp
pop rdi
pop rsi
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180007930
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x180011bf0
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x180011c2d
test rdx, rdx
je 0x180011c2d
mov rax, qword [rax]
cmp rax, r9
jne 0x180011c10
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret
Function at 0x180191c40
Capabilities:
Encode data using xor

Disassembly:
cmp edx, 8
jae 0x180191c4f
cmp edx, 4
jae 0x180191cac
jmp 0x180191d24
mov eax, edx
shr eax, 3
add r8d, dword [rcx]
mov r10d, dword [rcx + 4]
xor r9d, r8d
rol r8d, 0x14
add r8d, r9d
rol r9d, 9
xor r9d, r8d
rol r8d, 0x1b
add r8d, r9d
rol r9d, 0x13
add r10d, r8d
mov r8d, r9d
xor r8d, r10d
rol r10d, 0x14
add r10d, r8d
rol r8d, 9
xor r8d, r10d
rol r10d, 0x1b
add r10d, r8d
rol r8d, 0x13
mov r9d, r8d
add rcx, 8
dec eax
mov r8d, r10d
jne 0x180191c54
test dl, 4
je 0x180191ccb
add r8d, dword [rcx]
xor r9d, r8d
rol r8d, 0x14
add r8d, r9d
rol r9d, 9
xor r9d, r8d
rol r8d, 0x1b
add r8d, r9d
rol r9d, 0x13
mov eax, edx
and rax, 7
mov eax, dword [rcx + rax - 4]
shr eax, 8
or eax, 0x80000000
mov ecx, edx
not ecx
shl ecx, 3
shr eax, cl
add eax, r8d
mov edx, r9d
xor edx, eax
rol eax, 0x14
add eax, edx
rol edx, 9
xor edx, eax
rol eax, 0x1b
add eax, edx
rol edx, 0x13
mov r8d, edx
xor r8d, eax
rol eax, 0x14
add eax, r8d
rol r8d, 9
xor r8d, eax
rol eax, 0x1b
add eax, r8d
mov r9d, r8d
rol r9d, 0x13
xor eax, r9d
ret
mov eax, 0x80
test dl, 1
je 0x180191d3d
mov eax, edx
and rax, 2
movzx eax, byte [rcx + rax]
or eax, 0x8000
test dl, 2
je 0x180191ce6
shl eax, 0x10
movzx ecx, word [rcx]
or eax, ecx
jmp 0x180191ce6
Function at 0x180278b40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xa8]
test eax, eax
jne 0x180278b65
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.180277e00
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x108]
mov rcx, rax
call fcn.180277e00
mov rcx, rax
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.18027f4c0

Function at 0x18027b6c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rbx, rbx
je 0x18027b6f5
lea rcx, [0x18043d548]
cmp qword [rcx - 8], 0
jne 0x18027b702
mov rcx, qword [0x1806c9af8]
mov rcx, qword [rcx + 0x10]
mov rdx, rbx
cmp dword [rcx], ecx
add rsp, 0x20
pop rbx
jmp 0x18027c9a0
call fcn.180275d50
mov rcx, rax
call fcn.180007020
call fcn.180002b63
jmp 0x18027b6db
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
mov r8d, dword [rbx + 8]
mov edx, r8d
xor ecx, ecx
test r8d, r8d
jle 0x18027c9da
nop dword [rax]
mov eax, ecx
movzx eax, word [rbx + rax*2 + 0xc]
mov r10d, edx
shl r10d, 7
xor eax, r10d
add edx, eax
inc ecx
cmp r8d, ecx
jg 0x18027c9c0
mov r8d, edx
sar r8d, 0x11
sub edx, r8d
mov r8d, edx
sar r8d, 0xb
sub edx, r8d
mov r8d, edx
sar r8d, 5
mov edi, edx
sub edi, r8d
mov r8, qword [rsi + 8]
mov edx, edi
and edx, dword [rsi + 0x14]
cmp edx, dword [r8 + 8]
jae 0x18027ca96
mov rbp, qword [r8 + rdx*8 + 0x10]
test rbp, rbp
je 0x18027ca58
cmp dword [rbp + 0x18], edi
jne 0x18027ca4f
mov r8, qword [rbp + 8]
mov r8, qword [r8 + 8]
cmp byte [r8], r8b
cmp r8, rbx
je 0x18027ca89
mov edx, dword [r8 + 8]
mov ecx, dword [rbx + 8]
cmp edx, ecx
jne 0x18027ca4f
lea rcx, [r8 + 0xc]
mov r8d, dword [r8 + 8]
add r8d, r8d
lea rdx, [rbx + 0xc]
call fcn.180198440
test eax, eax
jne 0x18027ca89
mov rbp, qword [rbp + 0x10]
test rbp, rbp
jne 0x18027ca17
lea rcx, [0x180476330]
call fcn.180006aa0
mov rbp, rax
lea rcx, [rbp + 8]
mov rdx, rbx
call fcn.180006cb0
mov rcx, rsi
mov rdx, rbp
mov r8d, edi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp fcn.18027cc50
mov rax, qword [rbp + 8]
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
call fcn.18022c8f0
int3
Function at 0x18027caa0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov esi, r8d
mov ecx, esi
xor eax, eax
test ecx, ecx
jle 0x18027cb02
test rbx, rbx
je 0x18027cae0
cmp dword [rbx + 8], ecx
jl 0x18027cae0
mov edx, eax
movzx edx, word [rbx + rdx*2 + 0xc]
mov r8d, ecx
shl r8d, 7
xor edx, r8d
add ecx, edx
inc eax
cmp eax, esi
jl 0x18027cac5
jmp 0x18027cb02
cmp eax, dword [rbx + 8]
jae 0x18027cbf7
mov edx, eax
movzx edx, word [rbx + rdx*2 + 0xc]
mov r8d, ecx
shl r8d, 7
xor edx, r8d
add ecx, edx
inc eax
cmp eax, esi
jl 0x18027cae0
mov eax, ecx
sar eax, 0x11
sub ecx, eax
mov eax, ecx
sar eax, 0xb
sub ecx, eax
mov eax, ecx
sar eax, 5
mov ebp, ecx
sub ebp, eax
mov rcx, qword [rdi + 8]
mov eax, ebp
and eax, dword [rdi + 0x14]
cmp eax, dword [rcx + 8]
jae 0x18027cbf7
mov rcx, qword [rcx + rax*8 + 0x10]
test rcx, rcx
je 0x18027cbaa
cmp dword [rcx + 0x18], ebp
jne 0x18027cba1
mov rax, qword [rcx + 8]
mov rdx, qword [rax + 8]
mov r8d, dword [rdx + 8]
cmp r8d, esi
jne 0x18027cba1
xor r10d, r10d
test r8d, r8d
jle 0x18027cbec
test rbx, rbx
je 0x18027cb7d
cmp dword [rbx + 8], r8d
jl 0x18027cb7d
mov r9d, r10d
movzx r11d, word [rdx + r9*2 + 0xc]
cmp r11w, word [rbx + r9*2 + 0xc]
jne 0x18027cba1
inc r10d
cmp r8d, r10d
jg 0x18027cb62
jmp 0x18027cbec
mov r9d, r10d
movzx r9d, word [rdx + r9*2 + 0xc]
cmp r10d, dword [rbx + 8]
jae 0x18027cbf7
mov r11d, r10d
cmp r9w, word [rbx + r11*2 + 0xc]
jne 0x18027cba1
inc r10d
cmp r8d, r10d
jg 0x18027cb7d
jmp 0x18027cbec
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x18027cb35
lea rcx, [0x180476330]
call fcn.180006aa0
mov r14, rax
mov rcx, rbx
mov r8d, esi
xor edx, edx
cmp dword [rcx], ecx
call fcn.1801745e0
lea rcx, [r14 + 8]
mov rdx, rax
call fcn.180006cb0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
jmp fcn.18027cc50
add rsp, 0x20
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
call fcn.18022c8f0
int3

Function at 0x18027cc00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx + 8]
mov edx, eax
xor r8d, r8d
test eax, eax
jle 0x18027cc2e
nop dword [rax]
mov r10d, r8d
movzx r10d, word [rcx + r10*2 + 0xc]
mov r9d, edx
shl r9d, 7
xor r10d, r9d
add edx, r10d
inc r8d
cmp eax, r8d
jg 0x18027cc10
mov eax, edx
sar eax, 0x11
sub edx, eax
mov eax, edx
sar eax, 0xb
sub edx, eax
mov eax, edx
sar eax, 5
mov ecx, edx
sub ecx, eax
mov eax, ecx
ret
Function at 0x1803c32a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jge 0x1803c333d
xor eax, eax
cmp r8d, 4
jl 0x1803c32f1
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x1803c3338
nop dword [rax]
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
je 0x1803c3331
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
je 0x1803c3329
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
je 0x1803c3321
add rax, 4
test r8d, r8d
jle 0x1803c351a
movsx r9, dx
nop
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
je 0x1803c3338
inc rax
test r8d, r8d
jg 0x1803c3300
jmp 0x1803c351a
add eax, 3
jmp 0x1803c3515
add eax, 2
jmp 0x1803c3515
inc eax
jmp 0x1803c3515
jmp 0x1803c3515
movsx r9, dx
movd xmm0, r9d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov rax, rcx
lea edx, [r8 - 8]
movsxd rdx, edx
add rdx, rdx
lea r10, [rax + rdx]
movups xmm1, xmmword [rax]
pcmpeqw xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
xorps xmm2, xmm2
pcmpeqw xmm1, xmm2
pmovmskb r9d, xmm1
cmp r9d, 0xffff
jne 0x1803c3456
add rax, 0x10
cmp rax, r10
jbe 0x1803c3360
mov eax, r8d
test al, 7
je 0x1803c351a
movups xmm1, xmmword [r10]
pcmpeqw xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1803c351a
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
jne 0x1803c350c
mov ecx, 0x20
jmp 0x1803c350f
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
jne 0x1803c34fd
mov r8d, 0x20
jmp 0x1803c3501
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x1803c3515
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret