joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14022cb50]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x235
call fcn.1400d3160
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.1400bc840
mov qword [rsp + 0x80], 0xb
mov al, byte [0x140271fcb]
test al, al
jne 0x140067958
cmp byte [rsi + 0x17], 0
jns 0x140067917
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
lea rcx, [rsp + 0x40]
call fcn.14010c450
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140149190
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
lea r9, [rsp + 0x90]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x88]
mov qword [r8], rax
lea rdx, [rsp + 0x80]
call fcn.1401a2ec0
jmp 0x14006790e

Function at 0x140067990
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x14022cb50]
lea rbx, [rsp + 0x60]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, [0x14023d092]
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r9d, 0x43a
call fcn.1400d3160
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.1400bc840
mov qword [rsp + 0xa8], 0xb
mov al, byte [0x140271fcb]
test al, al
jne 0x140067aed
lea rbx, [rsp + 0xb0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14014b2c0
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x140067abb
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401469e0
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140100420
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140054a00
cmp byte [rsi + 0x17], 0
jns 0x140067a8d
mov rcx, qword [rsi]
call fcn.140146640
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x140067abb
mov rcx, qword [rsp + 0x30]
call fcn.140146640
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.14010c450
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140149190
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx ecx, al
lea r9, [rsp + 0x48]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x30]
mov qword [r8], rax
lea rdx, [rsp + 0xa8]
call fcn.1401a2ec0
jmp 0x140067a17
Function at 0x14006dad0
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.14005ce10
mov rax, qword [rsi]
test rax, rax
je 0x14006db47
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x14006db4e
lea rcx, [rsp + 0x28]
call fcn.14005c560
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140149190
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x14006db20
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 2
jne 0x14006db72
cmp byte [rbx + 0x27], 0
js 0x14006db67
lea rcx, [rbx + 0x10]
jmp 0x14006db6b
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
je 0x14006db7d
add rbx, 0x70
cmp rbx, r15
je 0x14006db20
jmp 0x14006db55
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x14006db9c
mov rcx, r14
mov rdx, rbx
call fcn.1401bc830
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x14006db72
mov rcx, rdi
mov rdx, rbx
call fcn.1401bc6e0
mov r14, rax
jmp 0x14006db96

Function at 0x14006f620
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006f640
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret

Function at 0x14006f680
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006f6a0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret

Function at 0x14006f6e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006f703
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret
Function at 0x14006f760
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006f783
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x14006f7e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006f809
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
ret

Function at 0x14006f870
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006f899
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

Function at 0x14006f900
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14006f95f
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006f950
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret
Function at 0x14006f9e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14006fa3f
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006fa30
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
ret

Function at 0x14006fac0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesenc xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14006fb1a

Function at 0x14006fb3a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006fb10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
ret
Function at 0x14006fbd0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesdec xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14006fc2a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
aesdec xmm8, xmm0
aesdec xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006fc20
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
aesdeclast xmm8, xmm0
aesdeclast xmm9, xmm0
ret
Function at 0x14007bd40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x14007be60
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x14007bda0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x14007bda0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x14007bda0
Function at 0x1400a81c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400a81f7
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400a81f7
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x1400a81f7
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
jmp 0x1400a81f6
Function at 0x1400ab310
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x14026ee18]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x120], 0
jne 0x1400ab33b
call fcn.140148978
mov eax, dword [0x14026ee18]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x180], 1
je 0x1400ab362
mov ecx, dword [rsi + 0x1d30]
test ecx, ecx
je 0x1400ab36f
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 1
lock xadd dword [rsi + 0x1d30], ecx
cmp ecx, 0x7fffffff
je 0x1400ab3ce
test rsi, rsi
je 0x1400ab3d1
lea rbx, [rax + 0x180]
call fcn.1400b04b0
mov edx, 0x570
mov rcx, rax
xor r8d, r8d
call fcn.1400a8f70
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400abe30
mov ecx, dword [0x140272740]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rbx], rdi
lock dec dword [rsi + 0x1d30]
jmp 0x1400ab364
int3
int3

Function at 0x1400abcd0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
cmp dword [rcx + 0xdb0], 0x8000
jne 0x1400abe0a
mov rsi, rcx
movzx eax, word [0x140262758]
lea rax, [rax + rax*2]
shl eax, 4
cmp dword [rcx + rax + 0x60], 0x200
jne 0x1400abe0d
lea rcx, [0x140262710]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400abd9b
cmp byte [0x140272798], 0
jne 0x1400abd60
cmp qword [0x140278c90], 0
jne 0x1400abe13
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400abe16
mov dword [0x140272740], eax
mov dword [0x140278c98], eax
lea rax, [0x1400abb00]
mov qword [0x140278c90], rax
mov byte [0x140272798], 1
lea rcx, [0x140262710]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
lock cmpxchg qword [0x1402727a0], rsi
jne 0x1400abe10
add rsi, 0x48
lea rax, [0x1400abe20]
mov qword [0x140278ca0], rax
xor eax, eax
lea rcx, [0x140272750]
jmp 0x1400abdd2
lea rcx, [0x140262710]
call fcn.14001f0b0
cmp byte [0x140272798], 0
jne 0x1400abd60
jmp 0x1400abd22
xor edx, edx
mov byte [rax + rcx], dl
inc rax
add rsi, 0x30
cmp rax, 0x48
je 0x1400abe04
cmp qword [rsi], 0
je 0x1400abdc0
mov r8d, dword [rsi + 0x18]
mov dl, 0x80
cmp r8d, 0x81
jb 0x1400abdc2
mov dl, 0x40
cmp r8d, 0x101
jb 0x1400abdc2
cmp r8d, 0x201
setb dl
shl dl, 4
add dl, 0x10
jmp 0x1400abdc2
add rsp, 0x20
pop rsi
ret
int3
int3
int3
int3
int3
Function at 0x1400bb920
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402799c8]
test rax, rax
je 0x1400bb955
mov rcx, rdi
mov rdx, rsi
call qword [0x1402529a0]
test eax, eax
je 0x1400bb9b7
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.bcryptprimitives.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.ProcessPrng
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402799c8], rax
test rax, rax
jne 0x1400bb93b
test rsi, rsi
je 0x1400bb94b
mov r14d, 0xffffffff
nop dword [rax]
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400bb9b4
add rdi, rbx
sub rsi, rbx
jne 0x1400bb990
jmp 0x1400bb94b
int3
int3
Function at 0x1400e4220
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x58
movapd xmmword [rsp + 0x40], xmm8
movapd xmmword [rsp + 0x30], xmm7
movapd xmmword [rsp + 0x20], xmm6
mov rdi, rcx
mov ecx, 0x20
call fcn.140146648
mov rsi, rax
mov rdx, qword [rdi + 0x28]
inc rdx
mov rcx, rax
call fcn.1400e4400
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
mov rax, rdx
sub rax, r8
sar rax, 2
lea rcx, [rax - 1]
cmp rcx, 2
jb 0x1400e4343
cvtsi2sd xmm0, dword [rdi + 0x1c]
cvtsi2sd xmm1, dword [rdi + 0x20]
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x140232760]
subpd xmm2, xmmword [0x140232770]
haddpd xmm2, xmm2
mov edx, 1
movq xmm3, qword [0x140232760]
movapd xmm4, xmmword [0x140232770]
movsd xmm5, qword [0x140222a00]
nop dword [rax + rax]
mov r8, qword [rsi]
mov r9, qword [rsi + 8]
sub r9, r8
sar r9, 2
cmp r9, rdx
jbe 0x1400e43ef
movq xmm6, rax
punpckldq xmm6, xmm3
subpd xmm6, xmm4
movapd xmm7, xmm6
unpckhpd xmm7, xmm6
addsd xmm7, xmm6
mulsd xmm7, xmm0
lea r9, [rdx - 1]
movq xmm6, r9
punpckldq xmm6, xmm3
subpd xmm6, xmm4
movapd xmm8, xmm6
unpckhpd xmm8, xmm6
addsd xmm8, xmm6
mulsd xmm8, xmm1
addsd xmm8, xmm7
divsd xmm8, xmm2
addsd xmm8, xmm5
cvttsd2si r9d, xmm8
mov dword [r8 + rdx*4], r9d
dec rax
inc rdx
cmp rdx, rcx
jne 0x1400e42c0
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, r8
je 0x1400e43ef
mov dword [rdx - 4], 0x7fffffff
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov rcx, rax
sub rcx, r8
je 0x1400e43f1
js 0x1400e43f5
test cl, 1
jne 0x1400e43db
shr rcx, 2
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x1400e43be
lea r8, [0x14023e250]
nop dword [rax + rax]
movzx r9d, cl
movzx r10d, byte [rdx]
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
movzx r9d, cl
movzx r10d, byte [rdx + 1]
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
add rdx, 2
cmp rdx, rax
jne 0x1400e4390
mov dword [rsi + 0x18], ecx
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x58
pop rdi
pop rsi
ret
movzx ecx, byte [r8]
lea rdx, [0x14023e250]
mov ecx, dword [rdx + rcx*4]
lea rdx, [r8 + 1]
jmp 0x1400e4378
ud2
xor ecx, ecx
jmp 0x1400e43be
int3
Function at 0x1400e5080
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x30
movapd xmmword [rsp + 0x20], xmm6
mov ecx, 0x20
call fcn.140146648
mov rsi, rax
mov edx, 4
mov rcx, rax
call fcn.1400e4400
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
mov rax, rdx
sub rax, r8
sar rax, 2
lea rcx, [rax - 1]
cmp rcx, 2
jb 0x1400e5178
add rax, 0xfffffffffffffffd
movq xmm0, rax
punpckldq xmm0, xmmword [0x140232760]
subpd xmm0, xmmword [0x140232770]
haddpd xmm0, xmm0
mov edx, 1
movq xmm1, qword [0x140232760]
movapd xmm2, xmmword [0x140232770]
movsd xmm3, qword [0x140222a00]
nop
mov r8, qword [rsi]
mov r9, qword [rsi + 8]
sub r9, r8
sar r9, 2
cmp r9, rdx
jbe 0x1400e5213
movq xmm4, rax
punpckldq xmm4, xmm1
subpd xmm4, xmm2
movapd xmm5, xmm4
unpckhpd xmm5, xmm4
addsd xmm5, xmm4
lea r9, [rdx - 1]
movq xmm4, r9
punpckldq xmm4, xmm1
subpd xmm4, xmm2
movapd xmm6, xmm4
unpckhpd xmm6, xmm4
addsd xmm6, xmm4
addsd xmm6, xmm6
addsd xmm6, xmm5
divsd xmm6, xmm0
addsd xmm6, xmm3
cvttsd2si r9d, xmm6
mov dword [r8 + rdx*4], r9d
dec rax
inc rdx
cmp rdx, rcx
jne 0x1400e5100
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, r8
je 0x1400e5213
mov dword [rdx - 4], 0x7fffffff
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov rcx, rax
sub rcx, r8
je 0x1400e5215
js 0x1400e5219
test cl, 1
jne 0x1400e51ff
shr rcx, 2
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x1400e51ee
lea r8, [0x14023e250]
nop dword [rax]
movzx r9d, cl
movzx r10d, byte [rdx]
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
movzx r9d, cl
movzx r10d, byte [rdx + 1]
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
add rdx, 2
cmp rdx, rax
jne 0x1400e51c0
mov dword [rsi + 0x18], ecx
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rsi
ret
movzx ecx, byte [r8]
lea rdx, [0x14023e250]
mov ecx, dword [rdx + rcx*4]
lea rdx, [r8 + 1]
jmp 0x1400e51a9
ud2
xor ecx, ecx
jmp 0x1400e51ee
int3