joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003fa7c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14003b514
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14003fb06
cmp byte [rbp - 0x21], r15b
je 0x14003fb01
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14003fb3c
call fcn.14003db94
test eax, eax
jne 0x14003fb28
cmp byte [rbp - 0x21], r15b
je 0x14003fb20
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14003fb3c
cmp byte [rbp - 0x21], r15b
je 0x14003fb39
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14003aaf0
test eax, eax
jne 0x14003fbdc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14003b514
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14003fb7b
cmp byte [rbp - 0x21], r15b
je 0x14003fbb0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14003fbb0
call fcn.14003db94
test eax, eax
jne 0x14003fb9c
cmp byte [rbp - 0x21], r15b
je 0x14003fb95
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14003fbb0
cmp byte [rbp - 0x21], r15b
je 0x14003fbad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14003aaf0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14003fbdc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14003fbdf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14003fbed
mov rcx, rdi
call fcn.14003aaa0
cmp byte [rbp + 0x3f], r15b
je 0x14003fbfc
mov rcx, qword [rbp + 0x27]
call fcn.14003aaa0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140007800
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 0x140007aa0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140007ad5
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140007ada
call fcn.14008bda0
mov ecx, dword [0x1400f02c4]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov byte [rcx + 0xf0], 1
mov qword [rcx + 0xf8], rax
mov qword [rcx + 0x100], rdx
add rsp, 0x38
ret
Function at 0x140007d80
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, rcx
lea rdi, [rcx + 0x28]
movzx r14d, byte [rcx + 0x68]
mov rax, qword [rcx + 0x20]
shl rax, 9
lea rbx, [r14*8]
or rbx, rax
mov byte [rcx + r14 + 0x28], 0x80
mov r8, r14
xor r8, 0x3f
je 0x140007dcc
lea rcx, [r14 + rdi]
inc rcx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
bswap rbx
xor r14d, 0x38
cmp r14d, 8
jae 0x140007e1a
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
call fcn.1400715f0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], rbx
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
jmp 0x140007e2a
mov qword [rsi + 0x60], rbx
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
call fcn.1400715f0
mov eax, dword [rsi]
mov dword [rsp + 0x2c], eax
mov r13d, dword [rsi + 4]
mov r12d, dword [rsi + 8]
mov r15d, dword [rsi + 0xc]
mov r14d, dword [rsi + 0x10]
mov ebp, dword [rsi + 0x14]
mov ebx, dword [rsi + 0x18]
mov edi, dword [rsi + 0x1c]
movaps xmm0, xmmword [0x1400a9590]
movups xmmword [rsi], xmm0
movaps xmm0, xmmword [0x1400a95a0]
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], 0
mov byte [rsi + 0x68], 0
movzx eax, byte [0x1400f02c0]
mov rcx, qword [0x1400f0220]
test rcx, rcx
jne 0x140007e97
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140007ef3
mov rcx, rax
mov qword [0x1400f0220], rax
mov r8d, 0x20
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140007ef3
bswap edi
bswap ebx
bswap ebp
bswap r14d
bswap r15d
bswap r12d
bswap r13d
mov ecx, dword [rsp + 0x2c]
bswap ecx
mov dword [rax], ecx
mov dword [rax + 4], r13d
mov dword [rax + 8], r12d
mov dword [rax + 0xc], r15d
mov dword [rax + 0x10], r14d
mov dword [rax + 0x14], ebp
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], edi
mov edx, 0x20
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
mov edx, 0x20
call fcn.1400a42a0
ud2
Function at 0x140010ff0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rdx + 0x10]
movups xmm0, xmmword [rdx]
mov r9d, dword [rdx + 0xc]
add r9d, eax
bswap r9d
movd xmm1, r9d
shufps xmm1, xmm0, 0xe4
shufps xmm0, xmm1, 0x24
xorps xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
ret
Function at 0x140011cb0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140011ce6
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x140011cee
mov esi, dword [rdx]
mov r9d, 4
jmp 0x140011cf3
xor r10d, r10d
jmp 0x140011da1
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140011d16
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140011d2d
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140011d4d
add r11, r8
jmp 0x140011e7e
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140011e22
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop word cs:[rax + rax]
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140011dd0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x140011e34
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x140011e3a
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140011e60
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140011e7a
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140029ec0
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
mov ebx, ecx
lea rax, [0x1400b3eb3]
mov qword [rsp + 0x38], rax
lea rax, [0x1400b3eec]
mov qword [rsp + 0x40], rax
mov word [rsp + 0x48], 0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x38]
call fcn.140016ff0
mov rdx, qword [rsp + 0x60]
cmp rdx, qword [rsp + 0x58]
jne 0x140029f19
lea rcx, [rsp + 0x50]
call fcn.14000cb40
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
mov word [rsi + rdx*2], 0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20006
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x14002a002
lea rax, [0x1400b3eec]
mov qword [rsp + 0x38], rax
lea rax, [0x1400b3efa]
mov qword [rsp + 0x40], rax
mov word [rsp + 0x48], 0
lea rcx, [rsp + 0x68]
lea rdi, [rsp + 0x38]
mov rdx, rdi
call fcn.140016ff0
mov r15, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
cmp rdx, r15
jne 0x140029fab
lea rcx, [rsp + 0x68]
call fcn.14000cb40
mov r15, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov r14, qword [rsp + 0x68]
mov word [r14 + rdx*2], 0
movzx eax, bl
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 4
mov rdx, r14
xor r8d, r8d
mov r9d, 4
call sub.advapi32.dll_RegSetValueExW
mov rcx, qword [rsp + 0x30]
call sub.advapi32.dll_RegCloseKey
test r15, r15
je 0x14002a002
mov rcx, qword [0x1400f0220]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x58], 0
je 0x14002a01c
mov rcx, qword [0x1400f0220]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14003bd70
Capabilities:
Encrypt data using aes via x86 extensions

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

Function at 0x140040c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140040d00
cmp r11, r10
ja 0x140040d76
cmp r10, rdx
ja 0x140040d8a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140040d02
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140040ce0
jmp 0x140040d64
ja 0x140040d0a
mov r11, r10
cmp rax, r8
jne 0x140040ca4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140040d40
mov rdi, r8
sub ecx, edx
jns 0x140040d5b
jmp 0x140040d66
cmp r8, rsi
je 0x140040d9b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140040d66
xor al, 1
cmp rdi, rsi
jne 0x140040d20
jmp 0x140040d66
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400a4780
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400a44b0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Userswilliamcanin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.6_srcwin.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400a4530
ud2
Function at 0x14005da80
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movdqa xmmword [rsp + 0xd0], xmm15
movdqa xmmword [rsp + 0xc0], xmm14
movdqa xmmword [rsp + 0xb0], xmm13
movdqa xmmword [rsp + 0xa0], xmm12
movdqa xmmword [rsp + 0x90], xmm11
movdqa xmmword [rsp + 0x80], xmm10
movdqa xmmword [rsp + 0x70], xmm9
movdqa xmmword [rsp + 0x60], xmm8
movdqa xmmword [rsp + 0x50], xmm7
movdqa xmmword [rsp + 0x40], xmm6
mov rax, rdx
shr rax, 0x3e
jne 0x14005db24
mov rbx, rdx
mov r14, rcx
lea rax, [rdx*4]
movabs r9, 0xaaaaaaaaaaaaaaab
mul r9
mov rcx, rdx
shr rcx, 1
add rcx, 3
mov rdi, rcx
and rdi, 0xfffffffffffffffc
cmp rdi, 5
jb 0x14005db8c
xor esi, esi
mov rsi, r8
mov rax, rbx
mul r9
shr rdx, 1
lea r8, [rdx + rdx*2]
mov rax, rdi
mov r15, rsi
cmp r8, 3
jb 0x14005e231
lea rax, [r8 - 3]
mul r9
shr rdx, 1
shr rcx, 2
cmp rdx, rcx
cmovb rcx, rdx
mov rdx, r8
mov r9, r14
mov r10, rsi
mov rax, rdi
cmp rcx, 8
jb 0x14005e054
inc rcx
mov eax, ecx
and eax, 7
mov edx, 8
cmovne rdx, rax
sub rcx, rdx
lea r9, [rcx + rcx*2]
mov rdx, r8
sub rdx, r9
add r9, r14
lea r11, [rcx*4]
lea r10, [rsi + rcx*4]
mov rax, rdi
sub rax, r11
xor r11d, r11d
mov r15, r14
movdqa xmm9, xmmword [0x1400a96b0]
movdqa xmm5, xmmword [0x1400a96d0]
movdqa xmm13, xmmword [0x1400a96f0]
movdqa xmm2, xmmword [0x1400a9710]
nop word cs:[rax + rax]
Function at 0x140062140
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x20
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x1400621ca
mov esi, eax
mov rcx, rbx
mov edx, 0x20
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140062182
xor edi, edi
jmp 0x1400621ca
xor esi, 0x80000000
je 0x14006217e
movzx eax, byte [0x1400f02c0]
mov rcx, qword [0x1400f0220]
test rcx, rcx
jne 0x1400621b2
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400621d5
mov rcx, rax
mov qword [0x1400f0220], rax
mov r8d, 4
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400621d5
mov rdi, rax
mov dword [rax], esi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 4
mov edx, 4
call fcn.1400a42a0
ud2
Function at 0x140062700
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rdx + 0x10]
movzx ebp, byte [rdx + 0x18]
movzx eax, byte [0x1400f02c0]
mov rcx, qword [0x1400f0220]
test rcx, rcx
jne 0x14006274a
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14006298a
mov rcx, rax
mov qword [0x1400f0220], rax
mov r8d, 0x5f0
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14006298a
mov rbx, rax
mov byte [rsp + 0x27], bpl
mov qword [rsp + 0x30], r14
lea r15, [rsi + 0x20]
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x28], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
nop word [rax + rax]
mov ebp, 1
lock xadd qword [0x1400f0140], rbp
mov r14, rbp
xor r14, rcx
lea r12, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r12
lea r13, [rax + r8]
rol rax, 0x15
add r14, r9
mov r12, r14
xor r12, r10
rol r14, 0x20
xor rbp, r13
add rbp, r12
rol r12, 0xd
xor r13, r11
xor r12, rbp
rol rbp, 0x20
xor r13, rax
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r13, rbp
xor r12, r14
rol r14, 0x20
xor rbp, r11
add rbp, r12
rol r12, 0xd
xor r12, rbp
rol rbp, 0x20
xor r14, 0xff
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r12, r14
rol r14, 0x20
xor r13, rbp
add rbp, r12
rol r12, 0xd
xor r12, rbp
rol rbp, 0x20
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r12, r14
rol r14, 0x20
xor r13, rbp
add rbp, r12
rol r12, 0xd
add r14, r13
rol r13, 0x10
xor r13, r14
rol r13, 0x15
xor r12, rbp
add r14, r12
rol r12, 0x11
mov rbp, r14
rol rbp, 0x20
xor rbp, r12
xor rbp, r13
xor rbp, r14
je 0x1400627d0
mov rax, qword [rsi + 0x40]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rdi + 0x138], rcx
movzx ecx, byte [rsp + 0x27]
mov byte [rdi + 0x140], cl
mov qword [rdi], 0
mov qword [rdi + 8], rbx
mov qword [rdi + 0x80], 0
mov qword [rdi + 0x88], rbx
mov rcx, qword [rsp + 0x28]
mov qword [rdi + 0x100], rcx
mov qword [rdi + 0x108], rbp
mov qword [rdi + 0x110], rax
mov r8, qword [rsi + 0x48]
test r8, r8
je 0x140062978
cmp qword [rsi + 0x50], 0
je 0x140062978
mov rcx, qword [0x1400f0220]
xor edx, edx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.1400a42a0
ud2
Function at 0x14006aae0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14003d9f0
cmp rax, rcx
je 0x14006ab05
cmp rdx, 4
jae 0x14006ab08
xor eax, eax
xor r8d, r8d
jmp 0x14006aba0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400a95c0]
movdqa xmm3, xmmword [0x1400a95d0]
pxor xmm1, xmm1
nop dword [rax]
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 0x14006ab30
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14006abb7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14006aba0
ret
Function at 0x14006bb20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14006bb7b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14006bb7b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14006bb96
cmp eax, 0x42
jne 0x14006bb7b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14006bc46
cmp byte [r9 + r11], 0x5f
jne 0x14006bc46
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14006bcae
mov rcx, rsi
xor edx, edx
call fcn.1400672f0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1400672f0
test al, al
jne 0x14006bd41
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14006bbd2
lea rdx, [0x1400db1aa]
mov r8d, 1
call fcn.14003de60
test al, al
jne 0x14006bd41
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14006bb8a
xor r14d, r14d
lea rbx, [0x1400db560]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14006bc04
cmp byte [rax + rcx], 0x45
je 0x14006bd63
sub r14, 1
jb 0x14006bc29
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14006bc29
mov r8d, 2
mov rdx, rbx
call fcn.14003de60
test al, al
jne 0x14006bd41
mov rcx, rsi
call fcn.140068b00
test al, al
jne 0x14006bd41
mov rax, qword [rsi]
test rax, rax
jne 0x14006bbf0
jmp 0x14006bb8a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14006bd08
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14006bca2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14006bc8c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14006bc7b
add dl, 0xa9
jmp 0x14006bc8a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14006bd08
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14006bd08
movzx edx, bl
add rax, rdx
jae 0x14006bc50
jmp 0x14006bd08
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14006bd08
cmp rax, rcx
jae 0x14006bd05
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14006bd5b
cmp qword [rsi + 0x20], 0
je 0x14006bd54
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.14006bb20
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14006bb8c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14006bd49
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x1400db520]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.14003de60
test al, al
je 0x14006bd49
mov dil, 2
jmp 0x14006bb8a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14006bb8a
mov dil, 1
xor r8d, r8d
jmp 0x14006bd0a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14006bb8a
Function at 0x14006dd80
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movabs rsi, 0xfffffffffffff
movq r13, xmm0
mov rax, r13
and rax, rsi
mov rcx, r13
shr rcx, 0x34
test r13, r13
js 0x14006ddb6
xor r8d, r8d
jmp 0x14006ddbf
mov byte [rdx], 0x2d
mov r8d, 1
and ecx, 0x7ff
test rax, rax
jne 0x14006dde8
test ecx, ecx
jne 0x14006dde8
mov byte [rdx + r8 + 2], 0x30
mov word [rdx + r8], 0x2e30
shr r13, 0x3f
add r13, 3
jmp 0x14006e683
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
lea edx, [rcx - 0x435]
inc rsi
or rsi, rax
test ecx, ecx
mov ebp, 0xfffffbcc
cmovne ebp, edx
cmove rsi, rax
lea r11, [rsi*4]
test rax, rax
setne al
cmp ecx, 2
setb r13b
or r13b, al
movabs rdi, 0xcccccccccccccccd
movzx ebx, r13b
test ebp, ebp
js 0x14006df5a
mov qword [rsp + 0x30], rsi
imul esi, ebp, 0x13441
shr esi, 0x12
cmp ebp, 4
adc esi, 0xffffffff
imul r9d, esi, 0x12934f
shr r9d, 0x13
mov rax, rsi
shl rax, 4
lea rcx, [0x1400db8a0]
mov r14, r11
or r14, 2
mov r12, qword [rax + rcx]
mov r8, qword [rax + rcx + 8]
mov rax, r12
mul r14
mov rcx, rdx
mov rax, r8
mul r14
mov r10, rdx
mov r15, rax
add r15, rcx
adc r10, 0
mov ecx, esi
sub ecx, ebp
add ecx, r9d
add cl, 0x3d
shrd r15, r10, cl
shr r10, cl
mov r9, rbx
not r9
add r9, r11
mov rax, r12
mul r9
mov rbp, rdx
mov rax, r8
mul r9
mov r9, rdx
mov r13, rax
add r13, rbp
adc r9, 0
shrd r13, r9, cl
shr r9, cl
mov rax, r12
mul r11
mov r12, rdx
mov rax, r8
mul r11
mov r8, rdx
add rax, r12
adc r8, 0
shrd rax, r8, cl
shr r8, cl
test cl, 0x40
cmove r10, r15
cmove r9, r13
cmove r8, rax
cmp esi, 0x16
jae 0x14006e0cd
movabs rcx, 0x3333333333333334
mov rax, r11
mov eax, ebx
mov ecx, ebp
imul ebp, ebp, 0xfff4d105
shr ebp, 0x14
xor eax, eax
cmp ecx, 0xffffffff
setne al