joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400159a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r15, qword [rdx]
mov r14, qword [rdx + 8]
mov r12, qword [rdx + 0x10]
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.1400128d0
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400128d0
lea rax, [rsp + 0x30]
lea rcx, [r15 + 0x10]
cmp rdi, rcx
setb cl
cmp r15, rax
setb dl
test cl, dl
je 0x140015a04
movups xmm0, xmmword [r15]
xorps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
jmp 0x140015a15
mov rcx, qword [r15]
xor qword [rsp + 0x20], rcx
mov rcx, qword [r15 + 8]
xor qword [rsp + 0x28], rcx
movdqa xmm0, xmmword [rsi]
pxor xmm0, xmmword [rsp + 0x20]
aesenc xmm0, xmmword [rsi + 0x10]
aesenc xmm0, xmmword [rsi + 0x20]
aesenc xmm0, xmmword [rsi + 0x30]
aesenc xmm0, xmmword [rsi + 0x40]
aesenc xmm0, xmmword [rsi + 0x50]
aesenc xmm0, xmmword [rsi + 0x60]
aesenc xmm0, xmmword [rsi + 0x70]
aesenc xmm0, xmmword [rsi + 0x80]
aesenc xmm0, xmmword [rsi + 0x90]
aesenc xmm0, xmmword [rsi + 0xa0]
aesenc xmm0, xmmword [rsi + 0xb0]
aesenc xmm0, xmmword [rsi + 0xc0]
aesenc xmm0, xmmword [rsi + 0xd0]
aesenclast xmm0, xmmword [rsi + 0xe0]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x40]
cmp rbx, rax
setb al
cmp rdi, rcx
setb cl
test al, cl
je 0x140015ab7
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x140015adf
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
xor rax, qword [rsp + 0x20]
xor rcx, qword [rsp + 0x28]
movq xmm0, rcx
movq xmm1, rax
punpcklqdq xmm1, xmm0
movdqa xmmword [rsp + 0x30], xmm1
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [r12], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r15], xmm0
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400186e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rdx
mov rdi, rcx
mov r15d, 0xffffffff
mov r12, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r13, qword [sym.imp.advapi32.dll_SystemFunction036]
jmp 0x14001df18
add rdi, r14
sub rsi, r14
je 0x14001df73
cmp rsi, r15
mov r14d, 0xffffffff
cmovb r14, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, r14d
mov r9d, 2
call r12
cmp eax, 0xbfffffff
jbe 0x14001df10
mov ebx, eax
mov rcx, rdi
mov edx, r14d
call r13
test al, al
jne 0x14001df10
movzx eax, byte [0x1400551c8]
mov edx, 4
xor ecx, ecx
call fcn.14003d410
test rax, rax
jne 0x14001df84
mov ecx, 4
mov edx, 4
call fcn.1400431a8
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
and ebx, 0x7fffffff
mov dword [rax], ebx
mov qword [rsp + 0x20], rax
lea rax, [0x140049c70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [0x14001de10]
mov qword [rsp + 0x38], rax
lea rax, [0x140049bc8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rdx, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rand_core_0.6.4_srcos.rs
lea rcx, [rsp + 0x40]
call fcn.140043340
int3

Function at 0x140021d40
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140021d65
cmp rax, rcx
je 0x140021d6b
cmp rdx, 4
jae 0x140021d6f
xor eax, eax
xor r8d, r8d
jmp 0x140021e00
pop rbp
jmp fcn.1400192d0
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140045f20]
movdqa xmm3, xmmword [0x140045f30]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140021d90
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140021e17
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140021e00
pop rbp
ret

Function at 0x140026100
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x108
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x70], xmm6
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov qword [rbp + 0x58], rdx
test r8, r8
je 0x140026519
mov rsi, r8
mov rbx, rcx
mov r13, qword [sym.imp.kernel32.dll_GetStdHandle]
movabs r15, 0x600000002
lea r14, [0x14004ec2c]
mov r12, qword [sym.imp.kernel32.dll_HeapFree]
xorps xmm6, xmm6
jmp 0x140026179
Function at 0x14002bfc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
mov qword [rbp - 0x20], rcx
movzx r15d, byte [rdx + 0x18]
mov byte [rdx + 0x18], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 2
mov qword [rbp - 8], 0
mov r12, qword [rdx + 8]
movzx esi, word [rdx + 0x10]
mov eax, 2
xor edi, edi
xor r13d, r13d
jmp 0x14002c02c
mov word [rax + rdi*2], r14w
inc rdi
mov qword [rbp - 8], rdi
mov rdx, qword [rbx]
mov r14d, esi
test si, si
jne 0x14002c0d0
nop dword [rax + rax]
cmp rdx, r12
je 0x14002c197
lea rcx, [rdx + 1]
mov qword [rbx], rcx
movzx r9d, byte [rdx]
movzx r14d, r9b
test r14b, r14b
jns 0x14002c0fa
mov r8d, r14d
and r8d, 0x1f
lea rcx, [rdx + 2]
mov qword [rbx], rcx
movzx r10d, byte [rdx + 1]
and r10d, 0x3f
cmp r14b, 0xdf
jbe 0x14002c0f0
lea rcx, [rdx + 3]
mov qword [rbx], rcx
movzx r14d, byte [rdx + 2]
shl r10d, 6
and r14d, 0x3f
or r14d, r10d
cmp r9b, 0xf0
jb 0x14002c118
lea rcx, [rdx + 4]
mov qword [rbx], rcx
movzx edx, byte [rdx + 3]
and r8d, 7
shl r8d, 0x12
shl r14d, 6
and edx, 0x3f
or edx, r14d
or edx, r8d
mov r14d, edx
cmp r14d, 0xffff
jbe 0x14002c0fa
jmp 0x14002c128
mov word [rbx + 0x10], 0
xor esi, esi
cmp r14w, 0x22
je 0x14002c106
jmp 0x14002c160
shl r8d, 6
or r8d, r10d
mov r14d, r8d
xor esi, esi
mov rdx, rcx
cmp r14w, 0x22
jne 0x14002c160
xor r13b, 1
mov r14d, esi
test si, si
je 0x14002c040
jmp 0x14002c0d0
shl r8d, 0xc
or r14d, r8d
cmp r14d, 0xffff
jbe 0x14002c0fa
lea r8d, [r14 + 0xff0000]
shr r8d, 0xa
or r8d, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov word [rbx + 0x10], r14w
mov rdx, rcx
mov esi, r14d
mov r14d, r8d
cmp r14w, 0x22
je 0x14002c106
nop dword [rax]
movzx ecx, r14w
cmp ecx, 0x3b
jne 0x14002c177
test r13b, 1
je 0x14002c193
mov r13b, 1
mov r14w, 0x3b
cmp rdi, qword [rbp - 0x18]
jne 0x14002c020
lea rcx, [rbp - 0x18]
call fcn.14002a9d0
mov rax, qword [rbp - 0x10]
jmp 0x14002c020
mov byte [rbx + 0x18], 1
Function at 0x14002c270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm6
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x14002c2e1
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x14002c2e1
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x14002c2e1
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x14002c3bc
cmp byte [rdx], 0xed
jne 0x14002c3c5
movzx r15d, byte [rdx + 1]
mov r8d, r15d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x14002c3c5
cmp rbx, 3
jb 0x14002c321
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
movzx r12d, byte [rdx + 2]
shl r15d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
mov rcx, rax
sub rcx, rbx
cmp rcx, r8
jb 0x14002c4af
and r15d, 0x3c0
or r15d, r14d
or r12d, r15d
lea r8d, [r12 + 0x10000]
mov r9d, r8d
shr r9d, 0x12
shr r8d, 4
and r8d, 0xff00
or r8d, r9d
shl r15d, 0xa
and r15d, 0xff0000
or r15d, r8d
shl r12d, 0x18
or r12d, r15d
movd xmm6, r12d
pand xmm6, xmmword [0x140045fe0]
por xmm6, xmmword [0x140045ff0]
cmp rcx, 3
jbe 0x14002c4e1
add rdx, 3
mov rcx, qword [rsi + 8]
movd dword [rcx + rbx], xmm6
add rbx, 4
mov qword [rsi + 0x10], rbx
add rdi, 0xfffffffffffffffd
jmp 0x14002c453
test rdi, rdi
je 0x14002c450
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x14002c3e8
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r13, rdx
mov rdx, rbx
call fcn.140043f10
mov rdx, r13
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
mov rcx, rax
sub rcx, rbx
jmp 0x14002c340
mov qword [rsp + 0x20], 1
mov r8d, 4
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
call fcn.140043f10
mov rdx, r14
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
jmp 0x14002c39e

Function at 0x14002c930
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov esi, ecx
Function at 0x140037710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x40]
call fcn.14002b3b0
mov rax, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
mov rcx, rax
neg rcx
jno 0x14003775d
mov qword [rbp - 0x20], rdi
movabs rax, 0x8000000000000000
mov qword [rbp - 0x28], rax
jmp 0x14003778e
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x58]
call fcn.140037620
mov rbx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
mov rax, rbx
neg rax
jno 0x140037815
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x1400377fa
lea rax, [rdi - 1]
mov qword [rbp - 0x10], rax
mov rax, qword [rdi - 1]
mov qword [rbp - 8], rax
mov rax, qword [rdi + 7]
mov qword [rbp], rax
mov rax, qword [rax]
test rax, rax
je 0x1400377be
mov rcx, qword [rbp - 8]
call rax
mov r8, qword [rbp - 8]
mov rax, qword [rbp]
cmp qword [rax + 8], 0
je 0x1400377e7
cmp qword [rax + 0x10], 0x11
jb 0x1400377d8
mov r8, qword [r8 - 8]
mov rcx, qword [0x140055160]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x140055160]
xor edx, edx
mov r8, qword [rbp - 0x10]
call qword [sym.imp.kernel32.dll_HeapFree]
movabs rax, 0x8000000000000000
mov qword [rsi], rax
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov r14, qword [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140037834
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
jmp 0x140037807
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
je 0x140037807
mov rcx, qword [0x140055160]
xor edx, edx
mov r8, rdi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp qword [sym.imp.kernel32.dll_HeapFree]
Function at 0x14003d100
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14003d1f4
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
je 0x14003d1ba
sub r8, rdx
add rdx, qword [rbx + 8]
mov rax, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp r8, rcx
cmovae r8, rcx
mov dword [rbp - 0x28], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14003d175
mov eax, dword [rbp - 0x28]
mov ecx, 2
test rax, rax
jne 0x14003d18c
jmp 0x14003d199
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x6d
je 0x14003d199
cmp eax, 0x3e5
jne 0x14003d1aa
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x14003d19d
mov byte [rsi + 1], 0
xor eax, eax
mov byte [rsi], al
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14003d19f
test r8, r8
mov ecx, 0x10
mov eax, 1
cmove rax, rcx
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.140043f10
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14003d131
mov qword [rbp - 0x28], 0
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1400441ae
int3

Function at 0x140042020
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14004206a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004206a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004206a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004206a
cmp dword [rcx + 0x84], 0xe
jbe 0x14004206a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004206c
xor al, al
add rsp, 0x28
ret
Function at 0x7ff6bcbd6840
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x7ff6bcbd6864
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x7ff6bcbd68f2
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x7ff6bcbd68c0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x7ff6bcbd68c0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.7ff6bcc7fde0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x7ff6bcbd68dd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x7ff6bcbd68e5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x7ff6bcbd6881
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x7ff6bcbd69d0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x7ff6bcbd6909
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x7ff6bcbd690b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x7ff6bcbd693d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.7ff6bcc7fde0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x7ff6bcbd69cd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x7ff6bcbd6978
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x7ff6bcbd69ae
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.7ff6bcc597f0
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x7ff6bcbd69cd
cmp rsi, rax
ja 0x7ff6bcbd6981
test rsi, rsi
je 0x7ff6bcbd69cd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.7ff6bcc597f0
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x7ff6bcbe2420
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor r14d, r14d
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov ebp, 1
mov dword [rsp + 0x20], ebp
test eax, eax
je 0x7ff6bcbe25a5
mov dil, 0x41
movsx eax, dil
sub eax, 0x41
movzx ecx, al
bt esi, ecx
jae 0x7ff6bcbe2598
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
movsx edx, dil
mov r8d, 1
lea rcx, [rsp + 0x28]
call fcn.7ff6bcbe7060
nop
mov r8d, 2
lea rdx, [0x7ff6bcca313c]
lea rcx, [rsp + 0x28]
call fcn.7ff6bcbd86b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
or ebp, 2
mov dword [rsp + 0x20], ebp
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x7ff6bcbe250e
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x48], r14w
add qword [rbx + 8], 0x20
jmp 0x7ff6bcbe2520
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.7ff6bcbdb4b0
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x7ff6bcbe255a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbe2554
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbe25bd
call fcn.7ff6bcc49cc0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x7ff6bcbe2598
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbe2593
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbe25c3
call fcn.7ff6bcc49cc0
inc dil
cmp dil, 0x5a
jle 0x7ff6bcbe2472
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.7ff6bcc5a000
nop
call fcn.7ff6bcc5a000
int3
Function at 0x7ff6bcbe4450
Capabilities:
Hash data using sha1

Disassembly:
mov rcx, qword [rcx + 0xc8]
jmp 0x7ff6bcc18e80
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x7ff6bccc6cb8], 0
mov rbx, rdx
mov rdi, rcx
jne 0x7ff6bcc18e9e
call fcn.7ff6bcc226a0
cmp byte [0x7ff6bccc6cc2], 0
mov rdx, rbx
mov rcx, rdi
je 0x7ff6bcc18ec5
xor r9d, r9d
mov r8d, 0x40
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.7ff6bcc230c0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.7ff6bcc16b00

Function at 0x7ff6bcbe7f40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x7ff6bcbe7fa1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x7ff6bcbe7f60
mov ecx, dword [r9]
jmp 0x7ff6bcbe808b
cmp ecx, 0x4e0
jb 0x7ff6bcbe808b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x7ff6bcbe7fc0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x7ff6bcbe8010
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x7ff6bcbe82a0
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0xd10
mov rax, qword [0x7ff6bccbe500]
xor rax, rsp
mov qword [rsp + 0xd00], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0xf
mov byte [rcx], al
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x50], 0x640
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x7ff6bcbe8400
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x7ff6bcbe8330
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.7ff6bcbd4b50
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x68]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x58]
cmova rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.7ff6bcbe8950
mov rdx, rax
mov rcx, rbx
call fcn.7ff6bcbe54a0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x7ff6bcbe83c2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbe83bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbe8422
call fcn.7ff6bcc49cc0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x7ff6bcbe8400
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbe83fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbe841c
call fcn.7ff6bcc49cc0
mov rax, rbx
mov rcx, qword [rsp + 0xd00]
xor rcx, rsp
call fcn.7ff6bcc49ca0
add rsp, 0xd10
pop rbx
ret
call fcn.7ff6bcc5a000
nop
call fcn.7ff6bcc5a000
int3
Function at 0x7ff6bcbe8430
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0xd10
mov rax, qword [0x7ff6bccbe500]
xor rax, rsp
mov qword [rsp + 0xd00], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0xf
mov byte [rcx], al
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x50], 0x640
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x7ff6bcbe8590
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x7ff6bcbe84c0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.7ff6bcbd4b50
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x68]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x58]
cmova rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.7ff6bcbe8950
mov rdx, rax
mov rcx, rbx
call fcn.7ff6bcbe54a0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x7ff6bcbe8552
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbe854c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbe85b2
call fcn.7ff6bcc49cc0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x7ff6bcbe8590
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbe858b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbe85ac
call fcn.7ff6bcc49cc0
mov rax, rbx
mov rcx, qword [rsp + 0xd00]
xor rcx, rsp
call fcn.7ff6bcc49ca0
add rsp, 0xd10
pop rbx
ret
call fcn.7ff6bcc5a000
nop
call fcn.7ff6bcc5a000
int3