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

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x140022210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov qword [rsp + 0x20], rcx
mov r14d, 0
test r8, r8
je 0x14002237a
mov rdi, qword [rsp + 0x98]
mov r15, qword [rdx]
mov r13d, dword [rdx + 8]
mov eax, dword [rdx + 0xc]
mov r12d, 1
xor r14d, r14d
xor ecx, ecx
jmp 0x140022284
xor r11d, r11d
lea r10, [rcx + 1]
movzx r11d, r11b
lea r12, [r11 + r12*2]
shl r11d, cl
xor r14d, r11d
mov r13d, esi
mov rcx, r10
cmp r8, r10
je 0x14002237a
lea r11, [r12 + rdi]
cmp r11, qword [rsp + 0x90]
jae 0x1400223b9
mov esi, r13d
shr esi, 0xb
movzx r10d, word [r9 + r11*2]
imul esi, r10d
mov ebp, eax
sub ebp, esi
jae 0x140022300
cmp byte [rsp + 0xa0], 0
je 0x1400222cb
mov ebx, 0x800
sub ebx, r10d
movzx ebx, bx
shr ebx, 5
add ebx, r10d
mov word [r9 + r11*2], bx
mov dword [rdx + 8], esi
cmp esi, 0x1000000
jae 0x140022260
shl esi, 8
mov dword [rdx + 8], esi
mov r10, qword [r15]
mov r11, qword [r10 + 8]
mov rbx, qword [r10 + 0x10]
cmp r11, rbx
jbe 0x14002238d
xor r11d, r11d
jmp 0x14002234f
cmp byte [rsp + 0xa0], 0
je 0x140022319
movzx eax, r10w
shr eax, 5
sub r10d, eax
mov word [r9 + r11*2], r10w
mov dword [rdx + 0xc], ebp
sub r13d, esi
mov dword [rdx + 8], r13d
mov r11b, 1
cmp r13d, 0x1000000
jae 0x140022370
shl r13d, 8
mov dword [rdx + 8], r13d
mov r10, qword [r15]
mov rax, qword [r10 + 8]
mov rbx, qword [r10 + 0x10]
mov r11b, 1
cmp rax, rbx
jbe 0x140022387
mov eax, ebp
mov esi, r13d
mov r13, qword [r10]
movzx ebp, byte [r13 + rbx]
inc rbx
mov qword [r10 + 0x10], rbx
shl eax, 8
or eax, ebp
mov dword [rdx + 0xc], eax
jmp 0x140022263
mov eax, ebp
mov esi, r13d
jmp 0x140022263
mov rax, qword [rsp + 0x20]
mov dword [rax + 4], r14d
xor ecx, ecx
jmp 0x1400223a6
mov qword [r10 + 0x10], rax
jmp 0x140022391
mov qword [r10 + 0x10], r11
lea rcx, [0x1400e4000]
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], rcx
mov ecx, 1
mov dword [rax], ecx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:UsersUndefined.cargo_registry_srcindex.crates.io_6f17d22bba15001flzma_rs_0.3.0_srcdecode_rangecoder.rs
mov rcx, r11
mov rdx, qword [rsp + 0x90]
call fcn.1400a2550
int3
Function at 0x1400223e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x28], rcx
mov r15d, 0
test r8, r8
je 0x14002259a
mov r14, rdx
movzx r11d, byte [rsp + 0xc0]
mov rdx, qword [rsp + 0xb0]
mov rax, qword [r14]
mov qword [rsp + 0x38], rax
mov ebx, dword [r14 + 8]
mov edi, dword [r14 + 0xc]
mov ebp, 1
xor r15d, r15d
xor r13d, r13d
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x30], r8
jmp 0x140022464
xor eax, eax
lea r10, [r13 + 1]
movzx eax, al
lea rbp, [rax + rbp*2]
mov ecx, r13d
shl eax, cl
xor r15d, eax
mov ebx, r12d
mov r13, r10
cmp r8, r10
je 0x14002259a
mov rax, qword [rsp + 0xb8]
lea rcx, [rax + rbp]
cmp rcx, rdx
jae 0x1400225cb
mov r12d, ebx
shr r12d, 0xb
movzx eax, word [r9 + rcx*2]
imul r12d, eax
mov esi, edi
sub esi, r12d
jae 0x140022500
test r11b, r11b
je 0x1400224ae
mov r10d, 0x800
sub r10d, eax
movzx r10d, r10w
shr r10d, 5
add r10d, eax
mov word [r9 + rcx*2], r10w
mov dword [r14 + 8], r12d
cmp r12d, 0x1000000
jae 0x140022440
shl r12d, 8
mov dword [r14 + 8], r12d
mov byte [rsp + 0x27], 0
mov r8d, 1
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x27]
call fcn.140015240
test rax, rax
jne 0x1400225a7
movzx ecx, byte [rsp + 0x27]
xor eax, eax
mov esi, edi
jmp 0x14002255a
test r11b, r11b
je 0x140022515
movzx r10d, ax
shr r10d, 5
sub eax, r10d
mov word [r9 + rcx*2], ax
mov dword [r14 + 0xc], esi
sub ebx, r12d
mov dword [r14 + 8], ebx
mov al, 1
cmp ebx, 0x1000000
jae 0x140022590
shl ebx, 8
mov dword [r14 + 8], ebx
mov byte [rsp + 0x26], 0
mov r8d, 1
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x26]
call fcn.140015240
test rax, rax
jne 0x1400225a7
movzx ecx, byte [rsp + 0x26]
mov al, 1
mov r12d, ebx
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0xb0]
shl esi, 8
movzx edi, cl
or edi, esi
mov dword [r14 + 0xc], edi
mov r9, qword [rsp + 0x40]
movzx r11d, byte [rsp + 0xc0]
jmp 0x140022442
mov edi, esi
mov r12d, ebx
jmp 0x140022442
mov rax, qword [rsp + 0x28]
mov dword [rax + 4], r15d
xor ecx, ecx
jmp 0x1400225b8
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, rcx
mov ecx, 1
mov dword [rax], ecx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:UsersUndefined.cargo_registry_srcindex.crates.io_6f17d22bba15001flzma_rs_0.3.0_srcdecode_rangecoder.rs
call fcn.1400a2550
int3
Function at 0x1400225e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov qword [rsp + 0x20], rcx
mov r15d, 0
test r8, r8
je 0x14002273a
mov r14, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rdx]
mov esi, dword [rdx + 8]
mov eax, dword [rdx + 0xc]
mov r12d, 1
xor r15d, r15d
xor ecx, ecx
jmp 0x140022653
xor r11d, r11d
lea r10, [rcx + 1]
movzx r11d, r11b
lea r12, [r11 + r12*2]
shl r11d, cl
xor r15d, r11d
mov esi, ebp
mov rcx, r10
cmp r8, r10
je 0x14002273a
lea r11, [r12 + r14]
cmp r11, rbx
jae 0x140022773
mov ebp, esi
shr ebp, 0xb
movzx r10d, word [r9 + r11*2]
imul ebp, r10d
mov r13d, eax
sub r13d, ebp
jae 0x1400226c0
cmp byte [rsp + 0xa0], 0
je 0x140022696
mov esi, 0x800
sub esi, r10d
movzx esi, si
shr esi, 5
add esi, r10d
mov word [r9 + r11*2], si
mov dword [rdx + 8], ebp
cmp ebp, 0x1000000
jae 0x140022630
shl ebp, 8
mov dword [rdx + 8], ebp
mov rbx, qword [rdi + 8]
mov r10, qword [rdi + 0x10]
cmp rbx, r10
jbe 0x140022747
xor r11d, r11d
mov r13d, eax
jmp 0x140022705
cmp byte [rsp + 0xa0], 0
je 0x1400226d9
movzx eax, r10w
shr eax, 5
sub r10d, eax
mov word [r9 + r11*2], r10w
mov dword [rdx + 0xc], r13d
sub esi, ebp
mov dword [rdx + 8], esi
mov r11b, 1
cmp esi, 0x1000000
jae 0x140022730
shl esi, 8
mov dword [rdx + 8], esi
mov rbx, qword [rdi + 8]
mov r10, qword [rdi + 0x10]
mov r11b, 1
mov ebp, esi
cmp rbx, r10
jbe 0x140022747
mov rax, qword [rdi]
movzx eax, byte [rax + r10]
inc r10
mov qword [rdi + 0x10], r10
shl r13d, 8
or r13d, eax
mov dword [rdx + 0xc], r13d
mov eax, r13d
mov rbx, qword [rsp + 0x90]
jmp 0x140022633
mov eax, r13d
mov ebp, esi
jmp 0x140022633
mov rax, qword [rsp + 0x20]
mov dword [rax + 4], r15d
xor ecx, ecx
jmp 0x140022760
mov qword [rdi + 0x10], rbx
lea rcx, [0x1400e4000]
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], rcx
mov ecx, 1
mov dword [rax], ecx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:UsersUndefined.cargo_registry_srcindex.crates.io_6f17d22bba15001flzma_rs_0.3.0_srcdecode_rangecoder.rs
mov rcx, r11
mov rdx, rbx
call fcn.1400a2550
int3
Function at 0x14002e750
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x14002e96d
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1400ef2d0]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x14002e7c0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x1400ef2e0]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x14002e8ea
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x14002e8c0
movdqa xmm1, xmmword [0x1400ef2e0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm0, 4
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x1400ef2f0], 0x10
pblendw xmm2, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd ecx, xmm1, 1
not ecx
test r8, r8
je 0x14002e98b
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp fcn.14002e230
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140033250
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x1400354c0
Capabilities:
Encode data using xor

Disassembly:
cmp rdx, r9
jne 0x1400354da
test rdx, rdx
je 0x1400354dd
cmp rdx, 8
jae 0x1400354e7
xor r9d, r9d
xor eax, eax
jmp 0x1400355f0
xor eax, eax
ret
xor r9d, r9d
test r9b, r9b
sete al
ret
cmp rdx, 0x20
jae 0x1400354f7
xor r9d, r9d
xor eax, eax
jmp 0x140035586
mov rax, rdx
and rax, 0xffffffffffffffe0
pxor xmm0, xmm0
xor r9d, r9d
pxor xmm1, xmm1
nop dword [rax]
movdqu xmm2, xmmword [rcx + r9]
movdqu xmm3, xmmword [rcx + r9 + 0x10]
movdqu xmm4, xmmword [r8 + r9]
pxor xmm4, xmm2
por xmm0, xmm4
movdqu xmm2, xmmword [r8 + r9 + 0x10]
pxor xmm2, xmm3
por xmm1, xmm2
add r9, 0x20
cmp rax, r9
jne 0x140035510
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
pshufd xmm1, xmm0, 0x55
por xmm1, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x10
por xmm0, xmm1
movdqa xmm1, xmm0
psrlw xmm1, 8
por xmm1, xmm0
movd r9d, xmm1
cmp rax, rdx
je 0x140035608
test dl, 0x18
je 0x1400355f0
mov r10, rax
mov rax, rdx
and rax, 0xfffffffffffffff8
movzx r9d, r9b
movd xmm0, r9d
nop dword [rax]
mov r9, qword [r8 + r10]
xor r9, qword [rcx + r10]
movq xmm1, r9
por xmm0, xmm1
add r10, 8
cmp rax, r10
jne 0x1400355a0
pshufd xmm1, xmm0, 0x55
por xmm1, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x10
por xmm0, xmm1
movdqa xmm1, xmm0
psrlw xmm1, 8
por xmm1, xmm0
movd r9d, xmm1
cmp rax, rdx
je 0x140035608
nop word [rax + rax]
movzx r10d, byte [r8 + rax]
xor r10b, byte [rcx + rax]
lea r11, [rax + 1]
or r9b, r10b
mov rax, r11
cmp rdx, r11
jne 0x1400355f0
test r9b, r9b
sete al
ret
Function at 0x140037880
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140037920
jmp 0x14003790f
jae 0x1400379df
cmp r8, 0x201
jae 0x140037920
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140037977
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x14003794f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.1400a0d80
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1400379a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140037a4b
mov r8d, r13d
cmp r12, r8
jne 0x140037900
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140037a7f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14003790f
jmp 0x140037920
cmp r14, r8
jb 0x140037a99
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.14003a380
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140037a34
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.14000e360
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x140037a1f
jmp 0x140037a34
lea rcx, str.internal_error:_entered_unreachable_code_rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1400a24c0
jmp 0x140037aae
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1400a28b0
ud2
Function at 0x14003eb80
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1400f4fe8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14003ebb8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14003ec16
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14003ec43
test eax, eax
js 0x14003ec22
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14003ec39
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.14003a020
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140036080
mov ecx, 7
int 0x29
ud2
Function at 0x14004c2c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14004c34a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14004c340
cmp r10, r11
jb 0x14004c3c6
cmp r10, rdx
ja 0x14004c3d8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x14004c342
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14004c320
jmp 0x14004c3a7
ja 0x14004c34a
mov r11, r10
cmp rax, r8
jne 0x14004c2e7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14004c3ab
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14004c380
mov r8, r10
sub ecx, r9d
jns 0x14004c39e
jmp 0x14004c3ad
cmp r10, rdx
je 0x14004c3ba
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14004c3ad
xor al, 1
cmp r8, rdx
jne 0x14004c360
jmp 0x14004c3ad
xor eax, eax
jmp 0x14004c3ad
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400a23a0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400a2920
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400a28b0
int3
Function at 0x14004d680
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 r14
push r15
mov rbx, qword [rcx]
mov rdi, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rbx, 0x20
jb 0x14004d768
mov r8, qword [rcx + 8]
mov r10, qword [rcx + 0x20]
mov rdx, r8
mov r9, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov rax, r9
rol rax, 0xc
mov r11, rcx
rol r11, 7
add r11, rax
rol r8, 1
mov rax, r10
imul rdx, rbp
imul rcx, rbp
imul r9, rbp
imul r10, rbp
rol rax, 0x12
add r11, rax
rol rdx, 0x1f
add r11, r8
rol rcx, 0x1f
imul rdx, rsi
imul rcx, rsi
rol r9, 0x1f
movabs rax, 0x85ebca77c2b2ae63
xor r11, rdx
rol r10, 0x1f
imul r11, rsi
imul r9, rsi
imul r10, rsi
sub r11, r15
xor r11, rcx
imul r11, rsi
sub r11, r15
xor r11, r9
imul r11, rsi
sub r11, r15
xor r11, r10
imul r11, rsi
add rax, r11
jmp 0x14004d76f
mov rax, qword [rcx + 0x18]
add rax, r14
add rax, rbx
lea r8, [rdi + 0x28]
and ebx, 0x1f
cmp rbx, 8
jb 0x14004d7b7
mov edx, ebx
shr rdx, 3
imul rcx, rdx, 0xfffffffffffffff8
add rbx, rcx
nop dword [rax]
mov rcx, qword [r8]
add r8, 8
imul rcx, rbp
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
sub rdx, 1
jne 0x14004d790
movabs r9, 0x165667b19e3779f9
cmp rbx, 4
jb 0x14004d7e4
mov edx, dword [r8]
add r8, 4
imul rdx, rsi
xor rax, rdx
rol rax, 0x17
imul rax, rbp
add rax, r9
sub rbx, 4
test rbx, rbx
je 0x14004d80d
nop dword [rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
sub rbx, 1
jne 0x14004d7f0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r9
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
ret
Function at 0x14009fb9c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009fbe6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009fbe6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009fbe6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009fbe6
cmp dword [rcx + 0x84], 0xe
jbe 0x14009fbe6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009fbe8
xor al, al
add rsp, 0x28
ret
Function at 0x140001ef0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
cmp eax, 1
je 0x140001f24
movsx eax, byte [rsp + 0x28]
cmp eax, 0x41
jl 0x140001f24
movsx eax, byte [rsp + 0x28]
cmp eax, 0x5a
jg 0x140001f24
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x140001f2c
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
add rsp, 0x18
ret
Function at 0x14002b4f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.14002ec50
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140051ae0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x140051b03
mov rcx, qword [rsp + 0x40]
call fcn.140051bc0
nop
jmp 0x140051b1b
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x140051b1b
mov rcx, qword [rsp + 0x40]
call fcn.140051c70
nop
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140051bc0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x140051be1
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x140051c65
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x140051c30
mov dword [rsp + 4], 0x9908b0df
jmp 0x140051c38
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140051bd4
add rsp, 0x18
ret