joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14032afd0
Capabilities:
Create directory

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
test rcx, rcx
je 0x14032afff
add rcx, 0xc
mov rsi, rcx
jmp 0x14032b001
xor esi, esi
mov qword [rbp - 0x40], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x48], rcx
mov rdx, rbx
mov qword [rbp - 0x50], rdx
lea rcx, [rbp - 0x78]
call fcn.14000e670
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
call sub.KERNEL32.dll_CreateDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000e6c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140005069
mov dword [rax + 0xf0], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14032b4e0
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
je 0x14032b50c
add rcx, 0xc
mov rbx, rcx
jmp 0x14032b50e
xor ebx, ebx
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.14000e670
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000e6c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140005069
mov dword [rax + 0xf0], esi
movzx eax, bl
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14032bc10
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov ebx, ecx
mov qword [rbp - 0x40], rdx
mov rsi, rdx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebx
mov dword [rbp - 0x44], ecx
mov rdx, rsi
mov qword [rbp - 0x4c], rdx
lea rcx, [rbp - 0x78]
call fcn.14000e670
mov ecx, dword [rbp - 0x44]
mov rdx, qword [rbp - 0x4c]
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000e6c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140005069
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14032c260
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov ebx, edx
mov qword [rbp - 0x40], rcx
mov rsi, rcx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x4c], rcx
mov edx, ebx
mov dword [rbp - 0x44], edx
lea rcx, [rbp - 0x78]
call fcn.14000e670
mov rcx, qword [rbp - 0x4c]
mov edx, dword [rbp - 0x44]
call sub.KERNEL32.dll_GetSystemDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000e6c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140005069
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14032cff0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.14000e670
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000e6c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140005069
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14032d700
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, r8d
mov qword [rbp - 0x40], rdx
mov rsi, rdx
test rcx, rcx
je 0x14032d73a
add rcx, 0xc
mov rdi, rcx
jmp 0x14032d73c
xor edi, edi
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov rdx, rsi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
lea rcx, [rbp - 0x88]
call fcn.14000e670
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000e6c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
call fcn.140005069
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1406132e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jge 0x14061337d
xor eax, eax
cmp r8d, 4
jl 0x140613331
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x140613378
nop dword [rax]
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
je 0x140613371
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
je 0x140613369
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
je 0x140613361
add rax, 4
test r8d, r8d
jle 0x14061355a
movsx r9, dx
nop
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
je 0x140613378
inc rax
test r8d, r8d
jg 0x140613340
jmp 0x14061355a
add eax, 3
jmp 0x140613555
add eax, 2
jmp 0x140613555
inc eax
jmp 0x140613555
jmp 0x140613555
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 0x140613496
add rax, 0x10
cmp rax, r10
jbe 0x1406133a0
mov eax, r8d
test al, 7
je 0x14061355a
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 0x14061355a
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 0x14061354c
mov ecx, 0x20
jmp 0x14061354f
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 0x14061353d
mov r8d, 0x20
jmp 0x140613541
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x140613555
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x140017cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r11, rdx
mov r14, qword [rsp + 0x90]
mov r15, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rdi, r11
movzx esi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rsi]
cmp byte [rdi], bpl
jne 0x140017d40
cmp r10, rax
jb 0x140017db4
cmp r10, rdx
ja 0x140017dc8
add rax, r9
xor edi, edi
nop
cmp rsi, rdi
je 0x140017d42
lea rbx, [rdi + 1]
cmp byte [rax + rdi], cl
mov rdi, rbx
jne 0x140017d20
jmp 0x140017da3
ja 0x140017d4a
mov rax, r10
cmp r11, r8
jne 0x140017cf2
add r14, r15
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [r15 + 1]
movzx edx, byte [r15]
test dl, dl
js 0x140017d80
mov r15, rbx
sub ecx, edx
jns 0x140017d9a
jmp 0x140017da5
cmp rbx, r14
je 0x140017dd9
movzx ebp, byte [r15 + 1]
add r15, 2
and edx, 0x7f
shl edx, 8
or edx, ebp
sub ecx, edx
js 0x140017da5
xor al, 1
cmp r15, r14
jne 0x140017d60
jmp 0x140017da5
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, rax
mov rdx, r10
call fcn.14003f050
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14003edf0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueIWbemClassWrapperinner
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14003ee00
ud2
Function at 0x14001bf70
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
not ecx
lea r10, [0x14004dea8]
mov r9d, 0xff
cmp r8, 0x40
jb 0x14001c0b2
mov r11, r8
shr r11, 4
xor eax, eax
cmp rax, 0x40
je 0x14001c0a7
sub r11, 1
jb 0x14001c0d9
movzx edi, byte [rdx + rax + 0xf]
movzx esi, byte [rdx + rax + 0xe]
mov esi, dword [r10 + rsi*4 + 0x400]
xor esi, dword [r10 + rdi*4]
movzx edi, byte [rdx + rax + 0xd]
xor esi, dword [r10 + rdi*4 + 0x800]
movzx edi, byte [rdx + rax + 0xc]
xor esi, dword [r10 + rdi*4 + 0xc00]
movzx edi, byte [rdx + rax + 0xb]
xor esi, dword [r10 + rdi*4 + 0x1000]
movzx edi, byte [rdx + rax + 0xa]
xor esi, dword [r10 + rdi*4 + 0x1400]
movzx edi, byte [rdx + rax + 9]
xor esi, dword [r10 + rdi*4 + 0x1800]
movzx edi, byte [rdx + rax + 8]
xor esi, dword [r10 + rdi*4 + 0x1c00]
movzx edi, byte [rdx + rax + 7]
xor esi, dword [r10 + rdi*4 + 0x2000]
movzx edi, byte [rdx + rax + 6]
xor esi, dword [r10 + rdi*4 + 0x2400]
movzx edi, byte [rdx + rax + 5]
xor esi, dword [r10 + rdi*4 + 0x2800]
movzx edi, byte [rdx + rax + 4]
xor esi, dword [r10 + rdi*4 + 0x2c00]
movzx edi, byte [rdx + rax + 3]
mov ebx, ecx
shr ebx, 0x18
xor rbx, rdi
xor esi, dword [r10 + rbx*4 + 0x3000]
movzx edi, byte [rdx + rax + 2]
mov ebx, ecx
shr ebx, 0x10
and ebx, r9d
xor rbx, rdi
xor esi, dword [r10 + rbx*4 + 0x3400]
movzx edi, byte [rdx + rax + 1]
mov ebx, ecx
shr ebx, 8
and ebx, r9d
xor rbx, rdi
xor esi, dword [r10 + rbx*4 + 0x3800]
movzx edi, byte [rdx + rax]
and ecx, r9d
xor rcx, rdi
xor esi, dword [r10 + rcx*4 + 0x3c00]
add rax, 0x10
mov ecx, esi
jmp 0x14001bf99
sub r8, rax
add rdx, rax
jmp 0x14001bf86
xor esi, esi
cmp r8, rsi
je 0x14001c0cd
mov al, byte [rdx + rsi]
xor al, cl
movzx eax, al
shr ecx, 8
xor ecx, dword [r10 + rax*4]
inc rsi
jmp 0x14001c0b4
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
sub r8, rax
lea rax, [0x140051f10]
mov ecx, SafeArrayGetLBound
mov rdx, r8
mov r8, rax
call fcn.14003ed60
ud2
Function at 0x14001cc2c
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r12, rdx
mov rbx, rcx
mov byte [rdx + 0xf0], 0xa
mov edx, 4
call fcn.14001cd84
mov edi, eax
mov dword [r12], eax
lea rcx, [rbx + 4]
mov edx, 4
call fcn.14001cd84
mov dword [r12 + 4], eax
lea rcx, [rbx + 8]
mov edx, 4
call fcn.14001cd84
mov dword [r12 + 8], eax
add rbx, 0xc
mov edx, 4
mov rcx, rbx
call fcn.14001cd84
mov dword [r12 + 0xc], eax
xor ecx, ecx
lea r8, [0x1400526c0]
mov r15d, 0xff
lea r9, [0x140052ac0]
lea r10, [0x140052ec0]
lea r11, [0x1400532c0]
lea r14, [0x1400536c0]
mov esi, eax
mov rdx, rsi
shr rdx, 0xe
and edx, 0x3fc
movzx edx, byte [rdx + r8 + 3]
shl edx, 0x18
xor edx, edi
mov rdi, rsi
shr rdi, 8
and rdi, r15
movzx edi, byte [r9 + rdi*4 + 2]
shl edi, 0x10
mov rbx, rsi
and rbx, r15
movzx ebx, byte [r10 + rbx*4 + 1]
shl ebx, 8
xor ebx, edi
xor ebx, edx
shr rsi, 0x18
movzx edi, byte [r11 + rsi*4]
xor edi, ebx
xor edi, dword [rcx + r14]
mov dword [r12 + rcx*4 + 0x10], edi
mov edx, dword [r12 + rcx*4 + 4]
xor edx, edi
mov dword [r12 + rcx*4 + 0x14], edx
xor edx, dword [r12 + rcx*4 + 8]
mov dword [r12 + rcx*4 + 0x18], edx
xor eax, edx
mov dword [r12 + rcx*4 + 0x1c], eax
add rcx, 4
cmp rcx, 0x28
jne 0x14001ccbd
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400210ef
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.140023638
test rax, rax
je 0x140021131
mov edx, 4
mov r8d, 4
mov rcx, rax
call fcn.1400014d0
mov rax, qword [rdi + 0x30]
jmp 0x14002117a
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.14002119e
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x28]
mov qword [rdi + 0x28], rax
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rdi + 0x18], xmm0
movups xmm0, xmmword [rbx + 8]
movups xmmword [rdi + 8], xmm0
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov qword [rdi], rcx
and qword [rdi + 0x40], 0
add rax, 0xffffffffffffff00
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
jmp fcn.1400205e3
Function at 0x140023638
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 rbp
push rbx
sub rsp, 0x28
mov r15, rcx
mov ebx, 0x20
mov r12d, 0xffffffff
mov r13, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r14, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test rbx, rbx
je 0x1400236c4
mov rdi, r15
cmp rbx, r12
mov esi, 0xffffffff
cmovb rsi, rbx
add r15, rsi
sub rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, esi
mov r9d, 2
call r13
cmp eax, 0xc0000000
jb 0x140023664
mov ebp, eax
mov rcx, rdi
mov edx, esi
call r14
test al, al
jne 0x140023664
xor ebp, 0x80000000
je 0x1400236c4
mov ecx, 4
mov edx, 4
call fcn.14000b330
test rax, rax
je 0x1400236d7
mov dword [rax], ebp
jmp 0x1400236c6
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.14003e7c0
ud2

Function at 0x140027a10
Capabilities:
Encode data using xor

Disassembly:
cmp rdx, 0x20
jae 0x140027a2b
test rdx, rdx
je 0x140027a30
cmp rdx, 4
jae 0x140027a33
xor eax, eax
mov r8, rcx
jmp 0x140027b94
jmp fcn.140010600
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
lea rax, [r8 - 4]
mov r9, rax
shr r9, 2
inc r9
test rax, rax
je 0x140027bb9
mov r10, r9
and r10, 0xfffffffffffffffe
pxor xmm0, xmm0
xor r11d, r11d
movdqa xmm2, xmmword [0x140041570]
movdqa xmm3, xmmword [0x140041530]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx eax, word [rcx + r11]
movd xmm4, eax
movzx eax, word [rcx + r11 + 2]
movd xmm5, eax
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm4, xmm0
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm0, xmm5, 0xd4
pshufd xmm5, xmm0, 0xd4
pand xmm5, xmm3
paddq xmm5, xmm1
movzx eax, word [rcx + r11 + 4]
movd xmm0, eax
movzx eax, word [rcx + r11 + 6]
movd xmm1, eax
pcmpgtb xmm0, xmm2
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0xd4
pshufd xmm0, xmm0, 0xd4
pand xmm0, xmm3
paddq xmm0, xmm4
pcmpgtb xmm1, xmm2
punpcklbw xmm1, xmm1
pshuflw xmm1, xmm1, 0xd4
pshufd xmm1, xmm1, 0xd4
pand xmm1, xmm3
paddq xmm1, xmm5
add r11, 8
add r10, 0xfffffffffffffffe
jne 0x140027a80
test r9b, 1
je 0x140027b7a
movzx eax, word [rcx + r11]
movd xmm2, eax
movzx eax, word [rcx + r11 + 2]
movd xmm3, eax
movdqa xmm4, xmmword [0x140041570]
pcmpgtb xmm2, xmm4
punpcklbw xmm2, xmm2
pshuflw xmm2, xmm2, 0xd4
pshufd xmm2, xmm2, 0xd4
movdqa xmm5, xmmword [0x140041530]
pand xmm2, xmm5
paddq xmm0, xmm2
pcmpgtb xmm3, xmm4
punpcklbw xmm3, xmm3
pshuflw xmm2, xmm3, 0xd4
pshufd xmm2, xmm2, 0xd4
pand xmm2, xmm5
paddq xmm1, xmm2
paddq xmm0, xmm1
pshufd xmm1, xmm0, 0xee
paddq xmm1, xmm0
movq rax, xmm1
cmp r8, rdx
je 0x140027bb8
add r8, rcx
add rcx, rdx
nop word [rax + rax]
xor edx, edx
cmp byte [r8], 0xc0
lea r9, [r8 + 1]
setge dl
add rax, rdx
mov r8, r9
cmp r9, rcx
jne 0x140027ba0
ret
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
test r9b, 1
jne 0x140027b23
jmp 0x140027b7a
Function at 0x140027ea0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rdi, qword [rcx]
test rdi, rdi
je 0x140027ef2
mov r11, qword [rsi + 8]
mov r9, qword [rsi + 0x10]
cmp r9, r11
jae 0x140027ef2
movzx eax, byte [rdi + r9]
cmp eax, 0x49
je 0x140027f0d
cmp eax, 0x42
jne 0x140027ef2
lea rcx, [r9 + 1]
mov qword [rsi + 0x10], rcx
cmp rcx, r11
jae 0x140027f4a
cmp byte [rdi + rcx], 0x5f
jne 0x140027f4a
lea rax, [r9 + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140028042
mov rcx, rsi
xor edx, edx
call fcn.140023900
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc r9
mov qword [rsi + 0x10], r9
mov rcx, rsi
xor edx, edx
call fcn.140023900
test al, al
jne 0x140027f45
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140027fbc
lea rdx, [0x140056ac2]
mov r8d, 1
call fcn.140011a60
test al, al
je 0x140027fbc
mov dil, 2
jmp 0x140027f01
xor eax, eax
mov r10d, 0x3e
nop word cs:[rax + rax]
mov r8b, 1
cmp rcx, r11
jae 0x14002809c
movzx edx, byte [rdi + rcx]
cmp dl, 0x5f
je 0x140028036
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140027f9f
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140027f8e
add dl, 0xa9
jmp 0x140027f9d
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14002809c
add dl, 0xe3
mov ebx, edx
inc rcx
mov qword [rsi + 0x10], rcx
mul r10
jo 0x14002809c
movzx edx, bl
add rax, rdx
jae 0x140027f60
jmp 0x14002809c
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140027f01
xor ebx, ebx
lea r14, [0x140056e9e]
nop word cs:[rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140027ff4
cmp byte [rax + rcx], 0x45
je 0x1400280f4
sub rbx, 1
jb 0x140028019
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140028019
mov r8d, 2
mov rdx, r14
call fcn.140011a60
test al, al
jne 0x140027f45
mov rcx, rsi
call fcn.140028100
test al, al
jne 0x140027f45
mov rax, qword [rsi]
test rax, rax
jne 0x140027fe0
jmp 0x140027f01
inc rcx
mov qword [rsi + 0x10], rcx
inc rax
je 0x14002809c
cmp rax, r9
jae 0x140028099
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400280ed
cmp qword [rsi + 0x20], 0
je 0x1400280e6
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140027ea0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140027f03
mov r8b, 1
xor ebx, ebx
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400280dc
lea rax, [0x140056e69]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140011a60
mov dil, 2
test al, al
jne 0x140027f01
mov qword [rsi], 0
mov byte [rsi + 8], bl
xor edi, edi
jmp 0x140027f01
mov bl, 1
xor r8d, r8d
jmp 0x14002809e
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140027f01
Function at 0x14002f350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x38]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x14002f383
test ecx, ecx
jne 0x14002f3d2
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14002f390
test ecx, ecx
jne 0x14002f3d2
mov rcx, rdi
call fcn.14002f230
movzx r10d, al
test bl, bl
jne 0x14002f3d9
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x14002f3c6.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x14002f54c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x14002f3c6.2
xor r10d, r10d
test bl, bl
je 0x14002f3a0
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14002f52e
mov r11, qword [rdi]
lea r9, [r11 + rcx]
movzx r8d, byte [rdi + 0x10]
cmp rdx, rcx
jne 0x14002f40b
xor edi, edi
jmp 0x14002f488
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x14002f450
nop word cs:[rax + rax]
cmp byte [rax], 0x5c
je 0x14002f46b
inc rsi
dec rax
cmp rsi, 1
jne 0x14002f430
jmp 0x14002f488
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x14002f46b
cmp ebx, 0x5c
je 0x14002f46b
inc rsi
dec rax
cmp rsi, 1
jne 0x14002f450
jmp 0x14002f488
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x14002f53c
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x14002f4b2
mov al, 9
cmp rdx, 2
je 0x14002f4b6
cmp rdx, 1
jne 0x14002f4c6
cmp byte [r9], 0x2e
jne 0x14002f4c6
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x14002f4c6
mov al, 0xa
jmp 0x14002f4c6
cmp byte [r9], 0x2e
jne 0x14002f4c6
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x14002f3c6.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x14002f3c6.2
mov esi, 2
jmp case.0x14002f3c6.2
lea r8, str.library_std_srcpath.rs
call fcn.14003ede0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14003ede0
ud2