joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140203ed0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rax, qword [rcx + 0x180]
mov r12, qword [rcx + 0x168]
mov rbx, rcx
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov rbp, r8
mov rax, r9
mov r8, qword [rcx + 0x160]
xor ecx, ecx
add rax, qword [rbx + 0x38]
movabs rdx, 0xfffffffe0
mov rsi, r9
setb cl
cmp rdx, rax
jb 0x14020418e
test rcx, rcx
jne 0x14020418e
mov qword [rbx + 0x38], rax
mov eax, dword [rbx + 0x174]
mov r9d, dword [rbx + 0x170]
test eax, eax
je 0x1402040e0
test rsi, rsi
je 0x140204160
movdqu xmm1, xmmword [rbx + 0x40]
pxor xmm0, xmm0
mov r10d, dword [rbx + 0xc]
mov dword [rbx + 0x174], 0
bswap r10d
movups xmmword [rbx + 0x188], xmm1
mov r13d, r10d
mov edx, 1
mov r14d, 0x10
movups xmmword [rbx + 0x40], xmm0
cmp rsi, 0xf
jbe 0x140203fa5
test dl, dl
je 0x140203fa5
mov r9d, r14d
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
xor r14d, r14d
lea r8, [rbx + 0x188]
call r12
lea rax, [rbx + 0x40]
lea r15, [rbx + 0x60]
mov qword [rsp + 0x38], rax
cmp rsi, 0xbff
jbe 0x14020401e
nop dword [rax + rax]
add r13d, 0xc0
mov r8, rdi
mov rcx, qword [rsp + 0x38]
mov rdx, r15
sub rsi, 0xc00
mov r9d, 0xc00
call r12
mov rdx, rbp
mov rcx, rdi
mov qword [rsp + 0x20], rbx
mov r9, qword [rsp + 0x30]
mov r8d, 0xc0
add rbp, 0xc00
add rdi, 0xc00
call qword [rsp + 0xb0]
mov edx, r13d
bswap edx
mov dword [rbx + 0xc], edx
cmp rsi, 0xbff
ja 0x140203fc0
mov r11, rsi
and r11, 0xfffffffffffffff0
je 0x140204077
mov r15, rsi
mov r9, r11
mov qword [rsp + 0x38], r11
mov r8, rdi
shr r15, 4
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call r12
add r13d, r15d
mov rdx, rbp
mov rcx, rdi
mov qword [rsp + 0x20], rbx
mov r9, qword [rsp + 0x30]
mov r8, r15
call qword [rsp + 0xb0]
mov r11, qword [rsp + 0x38]
mov edx, r13d
bswap edx
mov dword [rbx + 0xc], edx
add rbp, r11
add rdi, r11
sub rsi, r11
test rsi, rsi
je 0x1402040c6
lea rdx, [rbx + 0x10]
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call qword [rbx + 0x178]
lea r10d, [r13 + 1]
lea r9, [rsi - 1]
xor edx, edx
bswap r10d
mov dword [rbx + 0xc], r10d
nop
movzx ecx, byte [rdi + rdx]
lea r8d, [r14 + rdx]
mov byte [rbx + r8 + 0x188], cl
xor cl, byte [rbx + rdx + 0x10]
mov byte [rbp + rdx], cl
add rdx, 1
cmp rsi, rdx
jne 0x1402040a0
lea r14d, [r14 + r9 + 1]
mov dword [rbx + 0x170], r14d
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, r9d
mov r10d, dword [rbx + 0xc]
bswap r10d
mov r13d, r10d
and r14d, 0xf
je 0x140204180
test rsi, rsi
je 0x14020413c
nop dword [rax]
movzx edx, byte [rdi]
mov ecx, r9d
lea eax, [r14 + 1]
add rdi, 1
add rbp, 1
add r9d, 1
sub rsi, 1
mov byte [rbx + rcx + 0x188], dl
mov ecx, r14d
xor dl, byte [rbx + rcx + 0x10]
and eax, 0xf
mov byte [rbp - 1], dl
mov r14d, eax
je 0x140204148
test rsi, rsi
jne 0x140204100
test eax, eax
je 0x140204148
mov dword [rbx + 0x170], r9d
jmp 0x1402040cd
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x188]
call r12
jmp 0x140203fa5
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call r8
mov dword [rbx + 0x174], 0
jmp 0x1402040cd
test r9d, r9d
mov r14d, r9d
setne dl
jmp 0x140203f83
mov eax, 0xffffffff
jmp 0x1402040cf
Function at 0x140204890
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r14, qword [rcx + 0x68]
mov rdi, r9
mov r13, rcx
mov rbx, rdx
mov rsi, r8
shr rdi, 4
mov rbp, r9
lea r12, [r14 + rdi]
cmp r9, 0xf
jbe 0x140204a00
cmp qword [rcx + 0x20], 0
je 0x140204a00
mov rax, r12
xor edx, edx
shr rax, 1
je 0x1402048e9
nop dword [rax + rax]
add rdx, 1
shr rax, 1
jne 0x1402048e0
mov rcx, r13
call fcn.140200460
test rax, rax
je 0x140204ad7
lea rax, [r13 + 0xa0]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov rax, qword [r13 + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [r13 + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [r13 + 0x68]
add rax, 1
mov qword [rsp + 0x20], rax
mov r9, qword [r13 + 0x10]
call qword [r13 + 0x20]
and ebp, 0xf
je 0x1402049e7
movdqu xmm3, xmmword [r13 + 0x38]
lea rdi, [rsp + 0x40]
mov r8, qword [r13 + 0x10]
lea rcx, [r13 + 0x90]
movdqu xmm0, xmmword [r13 + 0x90]
mov rdx, rdi
pxor xmm0, xmm3
movups xmmword [r13 + 0x90], xmm0
call qword [r13]
xor eax, eax
nop word cs:[rax + rax]
movzx edx, byte [rbx + rax]
xor dl, byte [rdi + rax]
mov byte [rsi + rax], dl
add rax, 1
cmp rbp, rax
jne 0x140204980
pxor xmm0, xmm0
mov rcx, rdi
mov rax, rbx
movaps xmmword [rsp + 0x40], xmm0
cmp ebp, 8
jae 0x140204b23
xor edx, edx
test bpl, 4
jne 0x140204b0e
test bpl, 2
jne 0x140204af4
test bpl, 1
jne 0x140204ae8
movdqu xmm0, xmmword [r13 + 0xa0]
mov byte [rsp + rbp + 0x40], pe_nt_image_headers64
pxor xmm0, xmmword [rsp + 0x40]
movups xmmword [r13 + 0xa0], xmm0
mov eax, 1
mov qword [r13 + 0x68], r12
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
add r14, 1
lea rdi, [rsp + 0x40]
cmp r12, r14
jb 0x140204939
mov rax, r14
xor edx, edx
test r14b, 1
jne 0x140204ac4
nop dword [rax]
shr rax, 1
add edx, 1
test al, 1
je 0x140204a28
mov rcx, r13
call fcn.140200460
test rax, rax
je 0x140204ad7
movdqu xmm0, xmmword [rax]
mov r8, qword [r13 + 0x10]
mov rdx, rdi
mov rcx, rdi
add r14, 1
add rbx, 0x10
add rsi, 0x10
movdqu xmm1, xmmword [r13 + 0x90]
movdqu xmm2, xmmword [r13 + 0xa0]
pxor xmm1, xmm0
movups xmmword [r13 + 0x90], xmm1
movdqu xmm0, xmmword [rbx - 0x10]
pxor xmm2, xmm0
pxor xmm0, xmm1
movaps xmmword [rsp + 0x40], xmm0
movups xmmword [r13 + 0xa0], xmm2
call qword [r13]
movdqu xmm0, xmmword [r13 + 0x90]
pxor xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi - 0x10], xmm0
cmp r12, r14
jb 0x140204939
mov rax, r14
xor edx, edx
test r14b, 1
je 0x140204a28
xor edx, edx
mov rcx, r13
call fcn.140200460
test rax, rax
jne 0x140204a43
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
movzx eax, byte [rax + rdx]
mov byte [rcx + rdx], al
jmp 0x1402049cb
movzx r8d, word [rax + rdx]
mov word [rcx + rdx], r8w
add rdx, 2
test bpl, 1
je 0x1402049cb
jmp 0x140204ae8
mov edx, dword [rax]
mov dword [rcx], edx
mov edx, 4
test bpl, 2
je 0x1402049c1
jmp 0x140204af4
mov r8d, ebp
xor eax, eax
and r8d, 0xfffffff8
mov edx, eax
add eax, 8
mov rcx, qword [rbx + rdx]
mov qword [rdi + rdx], rcx
cmp eax, r8d
jb 0x140204b2c
lea rcx, [rdi + rax]
add rax, rbx
jmp 0x1402049ab
Function at 0x140204b50
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r13, qword [rcx + 0x68]
mov rdi, r9
mov rbx, rcx
mov r14, rdx
mov rsi, r8
shr rdi, 4
mov rbp, r9
lea r12, [r13 + rdi]
cmp r9, 0xf
jbe 0x140204cb0
cmp qword [rcx + 0x20], 0
je 0x140204cb0
mov rax, r12
xor edx, edx
shr rax, 1
je 0x140204ba9
nop dword [rax]
add rdx, 1
shr rax, 1
jne 0x140204ba0
mov rcx, rbx
call fcn.140200460
test rax, rax
je 0x140204d87
lea rax, [rbx + 0xa0]
mov r8, rdi
mov rdx, rsi
mov rcx, r14
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbx + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x68]
add rax, 1
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x18]
call qword [rbx + 0x20]
and ebp, 0xf
je 0x140204c96
movdqu xmm4, xmmword [rbx + 0x38]
lea rdi, [rsp + 0x40]
mov r8, qword [rbx + 0x10]
lea rcx, [rbx + 0x90]
movdqu xmm0, xmmword [rbx + 0x90]
mov rdx, rdi
pxor xmm0, xmm4
movups xmmword [rbx + 0x90], xmm0
call qword [rbx]
xor eax, eax
movzx edx, byte [r14 + rax]
xor dl, byte [rdi + rax]
mov byte [rsi + rax], dl
add rax, 1
cmp rbp, rax
jne 0x140204c30
pxor xmm0, xmm0
mov rcx, rdi
mov rax, rsi
movaps xmmword [rsp + 0x40], xmm0
cmp ebp, 8
jae 0x140204dd3
xor edx, edx
test bpl, 4
jne 0x140204dbe
test bpl, 2
jne 0x140204da4
test bpl, 1
jne 0x140204d98
movdqu xmm0, xmmword [rbx + 0xa0]
mov byte [rsp + rbp + 0x40], pe_nt_image_headers64
pxor xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx + 0xa0], xmm0
mov eax, 1
mov qword [rbx + 0x68], r12
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
add r13, 1
lea rdi, [rsp + 0x40]
cmp r12, r13
jb 0x140204bf8
mov rax, r13
xor edx, edx
test r13b, 1
jne 0x140204d74
nop dword [rax]
shr rax, 1
add edx, 1
test al, 1
je 0x140204cd8
mov rcx, rbx
call fcn.140200460
test rax, rax
je 0x140204d87
movdqu xmm0, xmmword [rax]
mov r8, qword [rbx + 0x18]
mov rdx, rdi
mov rcx, rdi
movdqu xmm2, xmmword [rbx + 0x90]
add r13, 1
add r14, 0x10
add rsi, 0x10
pxor xmm0, xmm2
movups xmmword [rbx + 0x90], xmm0
movdqu xmm3, xmmword [r14 - 0x10]
pxor xmm0, xmm3
movaps xmmword [rsp + 0x40], xmm0
call qword [rbx + 8]
movdqu xmm1, xmmword [rbx + 0xa0]
movdqu xmm0, xmmword [rbx + 0x90]
pxor xmm0, xmmword [rsp + 0x40]
pxor xmm1, xmm0
movaps xmmword [rsp + 0x40], xmm0
movups xmmword [rbx + 0xa0], xmm1
movups xmmword [rsi - 0x10], xmm0
cmp r12, r13
jb 0x140204bf8
mov rax, r13
xor edx, edx
test r13b, 1
je 0x140204cd8
xor edx, edx
mov rcx, rbx
call fcn.140200460
test rax, rax
jne 0x140204cf3
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
movzx eax, byte [rax + rdx]
mov byte [rcx + rdx], al
jmp 0x140204c7c
movzx r8d, word [rax + rdx]
mov word [rcx + rdx], r8w
add rdx, 2
test bpl, 1
je 0x140204c7c
jmp 0x140204d98
mov edx, dword [rax]
mov dword [rcx], edx
mov edx, 4
test bpl, 2
je 0x140204c72
jmp 0x140204da4
mov r8d, ebp
xor eax, eax
and r8d, 0xfffffff8
mov edx, eax
add eax, 8
mov rcx, qword [rsi + rdx]
mov qword [rdi + rdx], rcx
cmp eax, r8d
jb 0x140204ddc
lea rcx, [rdi + rax]
add rax, rsi
jmp 0x140204c5c
Function at 0x140204e00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb0]
mov ebx, dword [rax]
mov qword [rsp + 0x98], r9
mov rsi, rcx
mov rdi, rdx
mov r15, r8
test ebx, ebx
jne 0x140204e69
jmp 0x140204e6e
mov eax, ebx
add rsi, 1
add rdi, 1
add ebx, 1
movzx eax, byte [r12 + rax]
xor al, byte [rsi - 1]
sub r15, 1
mov byte [rdi - 1], al
and ebx, 0xf
je 0x140204e6e
test r15, r15
jne 0x140204e48
cmp r15, 0xf
jbe 0x140204f38
lea rax, [r15 - 0x10]
mov r14, rdi
and rax, 0xfffffffffffffff0
add rax, 0x10
mov qword [rsp + 0x28], rax
lea r13, [rsi + rax]
mov r8, qword [rsp + 0x98]
mov rdx, r12
mov rcx, r12
call rbp
cmp ebx, 0xf
ja 0x140204ebe
nop dword [rax]
mov eax, ebx
add ebx, 8
mov rdx, qword [rsi + rax]
xor rdx, qword [r12 + rax]
mov qword [r14 + rax], rdx
cmp ebx, 0xf
jbe 0x140204ea8
add rsi, 0x10
add r14, 0x10
xor ebx, ebx
cmp rsi, r13
jne 0x140204e90
mov rax, qword [rsp + 0x28]
and r15d, 0xf
add rdi, rax
test r15, r15
je 0x140204f1d
mov r8, qword [rsp + 0x98]
mov rdx, r12
mov rcx, r12
call rbp
lea r11, [r15 - 1]
mov eax, ebx
add r15d, ebx
nop word [rax + rax]
mov edx, eax
add eax, 1
movzx r8d, byte [r13 + rdx]
xor r8b, byte [r12 + rdx]
mov byte [rdi + rdx], r8b
cmp eax, r15d
jne 0x140204f00
lea ebx, [rbx + r11 + 1]
mov rax, qword [rsp + 0xa8]
mov dword [rax], ebx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r13, rsi
jmp 0x140204ed9
Function at 0x14020c060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor ebp, ebp
mov r12, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
movq xmm0, qword [r12]
mov ebx, dword [rax]
pshufd xmm1, xmm0, 0xe5
mov r14, rdx
movd edx, xmm0
mov rdi, r9
movd r11d, xmm1
mov r10d, edx
mov r9d, edx
mov rsi, rcx
mov eax, r11d
mov r15d, r11d
mov r13d, r11d
movzx r11d, r11b
shr eax, 0x18
shr r15d, 0x10
mov ecx, edx
movzx edx, dl
movzx eax, al
movzx r15d, r15b
shr r13d, 8
mov r8d, r8d
shl rax, 8
movzx r13d, r13b
shr r10d, 0x18
movq qword [rsp + 0x20], xmm0
shr r9d, 0x10
or rax, r15
movzx r10d, r10b
shr ecx, 8
shl rax, 8
movzx r9d, r9b
lea r15, [rsi + r8]
movzx ecx, cl
or rax, r13
lea r13, [rsp + 0x20]
shl rax, 8
or rax, r11
shl rax, 8
or rax, r10
shl rax, 8
or rax, r9
shl rax, 8
or rax, rcx
shl rax, 8
or rax, rdx
mov qword [rsp + 0x28], rax
jmp 0x14020c151
movsxd rdx, ebx
movzx eax, byte [rsi]
add rsi, 1
add r14, 1
xor al, byte [rsp + rdx + 0x28]
add ebx, 1
mov byte [r14 - 1], al
and ebx, 7
cmp rsi, r15
je 0x14020c170
test ebx, ebx
jne 0x14020c130
mov rdx, rdi
mov rcx, r13
add ebp, 1
call fcn.14020b800
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
jmp 0x14020c130
test ebp, ebp
je 0x14020c17d
mov rax, qword [rsp + 0x20]
mov qword [r12], rax
mov rax, qword [rsp + 0xa8]
mov dword [rax], ebx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14020e780
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor ecx, ecx
call fcn.140277f50
test eax, eax
jne 0x14020e7a0
xor edx, edx
mov dword [0x1404ce3c8], edx
add rsp, 0x28
pop rbx
pop rsi
ret
mov rbx, qword [sym.imp.KERNEL32.dll_TlsAlloc]
call rbx
mov rsi, qword [0x14048ee70]
mov dword [rsi], eax
cmp eax, 0xffffffff
je 0x14020e791
call rbx
mov rbx, qword [0x14048eea0]
mov dword [rbx], eax
cmp eax, 0xffffffff
je 0x14020e7f0
xor ecx, ecx
call fcn.14020e540
mov rdx, qword [0x14048e340]
mov qword [rdx], rax
mov edx, 1
test rax, rax
jne 0x14020e793
mov ecx, dword [rbx]
mov rbx, qword [sym.imp.KERNEL32.dll_TlsFree]
call rbx
jmp 0x14020e7f7
mov rbx, qword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, dword [rsi]
call rbx
xor edx, edx
jmp 0x14020e793
Function at 0x140227240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test r8d, r8d
je 0x14022734f
movsxd r9, r8d
xor eax, eax
jmp 0x14022725d
add rax, 1
cmp r9, rax
je 0x140227320
movzx r11d, byte [rdx + rax]
mov r10d, eax
cmp byte [rcx + rax], r11b
je 0x140227250
sub r8d, 1
movsxd r8, r8d
jmp 0x14022728d
cmp byte [rdx + r8], 0xff
jne 0x140227294
sub r8, 1
cmp r8d, 0xffffffff
je 0x140227330
cmp byte [rcx + r8], 0
je 0x140227278
cmp r8d, eax
jg case.0x1402272d2.0
jl 0x140227330
movsxd r8, eax
movzx r9d, byte [rcx + r8]
movzx r8d, byte [rdx + r8]
mov edx, r9d
xor edx, r8d
cmp dl, 0x1f
ja 0x1402272d8
mov ecx, 0xffffffff
cmp r9b, r8b
je case.default.0x1402272d2
lea r10, [0x14043a1a0]
movzx ecx, dl
movsxd rcx, dword [r10 + rcx*4]
add rcx, r10
jmp rcx
cmp dl, 0x3f
je 0x140227310
cmp dl, 0x7f
jne case.0x1402272d2.0
mov ecx, 1
test r9b, dl
jne case.0x1402272d2.0
and r8d, edx
lea ecx, [rcx + rax*8]
mov eax, 0xffffffff
cmp r8b, dl
cmovne ecx, eax
mov eax, ecx
ret
mov ecx, 0xffffffff
mov eax, ecx
ret
mov ecx, 2
jmp 0x1402272e7
lea eax, [r10 + 1]
jmp 0x14022726b
lea ecx, [rax*8]
mov eax, ecx
ret
mov ecx, 3
jmp 0x1402272e7
mov ecx, 5
jmp 0x1402272e7
mov ecx, 4
jmp 0x1402272e7
xor ecx, ecx
jmp case.default.0x1402272d2
mov ecx, 7
jmp 0x1402272e7
mov ecx, 6
jmp 0x1402272e7
imul esp, dword [rbp + 0x79], 0x43
jb 0x14043c247
push rbx
imul esp, dword [rdi + 0x6e], 0x4c524300
push r10
and byte [rbx + 0x69], r10b
outsb dx, byte [esi]
add byte [rbx + 0x52], ah
invalid
push rdx
push rbx
imul esp, dword [rdi + 0x6e], 0x636e4500
outsb dx, byte [rsi]
invalid
imul esi, dword [rax + 0x68], 0x4f207265
outsb dx, byte [rsi]
insb byte [rdi], dx
jns str.encipherOnly
outsb dx, byte gs:[rsi]
invalid
add byte [r13 + 0x6d], r12b
invalid
Function at 0x1402370c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rsi
push rbx
mov r10, rcx
mov rcx, rdx
test r10, r10
je 0x1402370f0
test rdx, rdx
je 0x1402370f0
movzx eax, byte [r10]
test r8d, r8d
jne 0x140237150
cmp rax, 0x7f
jbe 0x140237170
lea rsi, [rdx + 1]
mov eax, 1
jmp 0x1402370fc
xor r8d, r8d
mov esi, 1
xor eax, eax
xor ecx, ecx
test r9, r9
je 0x140237145
mov r11, qword [r9]
test r11, r11
je 0x140237145
mov ebx, eax
mov eax, r8d
mov byte [r11], r8b
lea rdx, [rcx - 1]
and eax, 1
add r11, rbx
movzx eax, al
test rcx, rcx
je 0x140237142
nop dword [rax + rax]
movzx ecx, byte [r10 + rdx]
xor ecx, r8d
movzx ecx, cl
add eax, ecx
mov byte [r11 + rdx], al
shr eax, 8
sub rdx, 1
jae 0x140237128
add qword [r9], rsi
mov rax, rsi
pop rbx
pop rsi
ret
cmp rax, 0x80
jbe 0x140237188
lea rsi, [rcx + 1]
mov r8d, 0xffffffff
mov eax, 1
jmp 0x1402370fc
test r8d, r8d
jne 0x140237150
mov rsi, rdx
xor r8d, r8d
xor eax, eax
jmp 0x1402370fc
je 0x14023719a
mov rsi, rcx
mov r8d, 0xffffffff
xor eax, eax
jmp 0x1402370fc
cmp rcx, 1
je 0x1402371da
lea rax, [r10 + 1]
lea r11, [r10 + rcx]
xor edx, edx
nop word [rax + rax]
movzx r8d, byte [rax]
add rax, 1
or edx, r8d
cmp r11, rax
jne 0x1402371b0
neg edx
sbb r8b, r8b
mov edx, r8d
and edx, 1
movzx eax, dl
movzx edx, dl
lea rsi, [rdx + rcx]
jmp 0x1402370fc
mov esi, 1
xor eax, eax
xor r8d, r8d
jmp 0x1402370fc

Function at 0x1402371f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov r11, rcx
test r9, r9
je 0x1402372b0
movzx r10d, byte [r8]
test rdx, rdx
je 0x140237214
mov eax, r10d
and eax, 0x80
mov dword [rdx], eax
cmp r9, 1
je 0x1402372d0
movzx eax, byte [r8]
test al, al
jne 0x140237280
mov eax, r10d
xor al, byte [r8 + 1]
lea rbx, [r9 - 1]
jns 0x1402372f0
test r11, r11
je 0x140237272
movsx eax, r10b
sub r9, rbx
lea rdx, [rbx - 1]
sar r10b, 7
shr eax, 0x1f
add r8, r9
nop dword [rax]
movzx ecx, byte [r8 + rdx]
xor ecx, r10d
movzx ecx, cl
add eax, ecx
mov byte [r11 + rdx], al
shr eax, 8
sub rdx, 1
jae 0x140237258
mov rax, rbx
add rsp, 0x20
pop rbx
ret
mov rbx, r9
cmp al, 0xff
jne 0x140237237
mov eax, 1
xor edx, edx
nop
movzx ecx, byte [r8 + rax]
add rax, 1
or edx, ecx
cmp rax, r9
jb 0x140237290
test edx, edx
jne 0x140237226
mov rbx, r9
jmp 0x140237237
mov r8d, 0xde
mov edx, 0xe2
mov ecx, 0xd
xor ebx, ebx
call fcn.1402750a0
jmp 0x140237272
test r11, r11
je 0x1402372e6
movzx edx, byte [r8]
mov eax, edx
neg eax
test r10b, r10b
cmovns eax, edx
mov byte [r11], al
mov ebx, 1
jmp 0x140237272
mov r8d, 0xdd
mov edx, 0xe2
mov ecx, 0xd
xor ebx, ebx
call fcn.1402750a0
jmp 0x140237272
Function at 0x14023d130
Capabilities:
Query environment variable

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rsi, [0x1404ce540]
mov r8d, 0x30
mov dword [0x1404ce520], 1
mov rdx, rsi
lea rcx, str.OPENSSL_ia32cap
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
sub eax, 1
cmp eax, 0x2e
ja 0x14023d210
movzx ebx, word [0x1404ce540]
xor eax, eax
cmp bx, 0x7e
sete al
lea rcx, [rsi + rax*2]
call fcn.140238df0
mov rsi, rax
cmp bx, 0x7e
je 0x14023d240
mov rdi, qword [0x14048b910]
cmp bx, 0x3a
je 0x14023d228
test bx, bx
je 0x14023d200
lea rax, [0x1404ce540]
jmp 0x14023d1bd
movzx ebx, word [rax + 2]
add rax, 2
test bx, bx
je 0x14023d200
cmp bx, 0x3a
jne 0x14023d1b0
movzx ebx, word [rax + 2]
xor edx, edx
cmp bx, 0x7e
sete dl
lea rcx, [rax + rdx*2 + 2]
call fcn.140238df0
cmp bx, 0x7e
je 0x14023d270
mov qword [rdi + 8], rax
mov eax, esi
shr rsi, 0x20
or ah, 4
mov dword [rdi + 4], esi
mov dword [rdi], eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov qword [rdi + 8], 0
jmp 0x14023d1e8
mov rdi, qword [0x14048b910]
mov rcx, rdi
call fcn.1402f5bf0
mov rsi, rax
jmp 0x14023d1e8
mov rcx, rdi
call fcn.1402f5bf0
movzx ebx, word [0x1404ce540]
mov rsi, rax
jmp 0x14023d1a1
mov rdi, qword [0x14048b910]
mov rcx, rdi
call fcn.1402f5bf0
mov rdx, rsi
not rdx
and rax, rdx
test esi, 0x1000000
jne 0x14023d290
movzx ebx, word [0x1404ce540]
mov rsi, rax
jmp 0x14023d1a1
movq xmm1, qword [rdi + 8]
movq xmm0, rax
pandn xmm0, xmm1
movq qword [rdi + 8], xmm0
jmp 0x14023d1e8
movabs rsi, 0xedfff7fdffffffff
movzx ebx, word [0x1404ce540]
and rsi, rax
jmp 0x14023d1a1
Function at 0x140243260
Capabilities:
Encode data using xor

Disassembly:
movzx r8d, r8b
mov r9, rdx
mov rax, rcx
xor edx, edx
neg r8d
nop
mov r10d, dword [rax + rdx*4]
mov ecx, dword [r9 + rdx*4]
xor ecx, r10d
and ecx, r8d
xor ecx, r10d
mov dword [rax + rdx*4], ecx
add rdx, 1
cmp rdx, 0xa
jne 0x140243270
xor edx, edx
mov r10d, dword [rax + rdx*4 + 0x28]
mov ecx, dword [r9 + rdx*4 + 0x28]
xor ecx, r10d
and ecx, r8d
xor ecx, r10d
mov dword [rax + rdx*4 + 0x28], ecx
add rdx, 1
cmp rdx, 0xa
jne 0x140243290
xor edx, edx
nop dword [rax + rax]
mov r10d, dword [rax + rdx*4 + 0x50]
mov ecx, dword [r9 + rdx*4 + 0x50]
xor ecx, r10d
and ecx, r8d
xor ecx, r10d
mov dword [rax + rdx*4 + 0x50], ecx
add rdx, 1
cmp rdx, 0xa
jne 0x1402432b8
ret
Function at 0x140247250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor r12d, r12d
mov r13, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb8]
movq xmm0, qword [r13]
mov ebx, dword [rax]
mov rsi, rcx
pshufd xmm1, xmm0, 0xe5
movd ecx, xmm1
mov rdi, rdx
mov eax, ecx
mov r15d, ecx
mov r14d, ecx
mov rbp, r9
shr eax, 0x18
shr r15d, 0x10
movd edx, xmm0
mov r8d, r8d
movzx eax, al
movzx r15d, r15b
shr r14d, 8
mov r11d, edx
shl rax, 8
movzx r14d, r14b
shr r11d, 0x18
mov r10d, edx
or rax, r15
movzx r15d, cl
movzx r11d, r11b
shr r10d, 0x10
shl rax, 8
mov r9d, edx
movzx r10d, r10b
movq qword [rsp + 0x20], xmm0
or rax, r14
shr r9d, 8
lea r14, [rsp + 0x20]
shl rax, 8
movzx r9d, r9b
or rax, r15
lea r15, [rsi + r8]
shl rax, 8
or rax, r11
shl rax, 8
or rax, r10
shl rax, 8
or rax, r9
movzx r9d, dl
shl rax, 8
or rax, r9
mov qword [rsp + 0x28], rax
mov rax, r14
mov r14d, r12d
mov r12, rdi
mov rdi, r15
mov r15, rax
jmp 0x14024735b
movsxd r8, ebx
movzx eax, byte [rsi]
add rsi, 1
add r12, 1
xor al, byte [rsp + r8 + 0x28]
add ebx, 1
mov byte [r12 - 1], al
and ebx, 7
cmp rdi, rsi
je 0x140247398
test ebx, ebx
jne 0x140247338
mov r9, qword [rsp + 0xa8]
mov rdx, rbp
mov rcx, r15
add r14d, 1
mov r8, qword [rsp + 0xa0]
call fcn.1402463f0
mov rax, qword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
mov qword [rsp + 0x28], rax
jmp 0x140247338
test r14d, r14d
je 0x140247418
mov eax, ecx
mov esi, ecx
mov r11d, ecx
mov r10d, edx
shr eax, 0x18
shr esi, 0x10
movzx ecx, cl
mov r9d, edx
movzx eax, al
movzx esi, sil
shr r11d, 8
mov r8d, edx
shl rax, 8
movzx r11d, r11b
shr r10d, 0x18
shr r9d, 0x10
or rax, rsi
movzx r10d, r10b
shr r8d, 8
shl rax, 8
movzx r9d, r9b
movzx r8d, r8b
or rax, r11
shl rax, 8
or rax, rcx
movzx ecx, dl
shl rax, 8
or rax, r10
shl rax, 8
or rax, r9
shl rax, 8
or rax, r8
shl rax, 8
mov rdx, rax
or rdx, rcx
mov qword [r13], rdx
mov rax, qword [rsp + 0xb8]
mov dword [rax], ebx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140247440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor ebp, ebp
mov r12, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
movq xmm0, qword [r12]
mov ebx, dword [rax]
pshufd xmm1, xmm0, 0xe5
mov r14, rdx
movd edx, xmm0
mov rdi, r9
movd r11d, xmm1
mov r10d, edx
mov r9d, edx
mov rsi, rcx
mov eax, r11d
mov r15d, r11d
mov r13d, r11d
movzx r11d, r11b
shr eax, 0x18
shr r15d, 0x10
mov ecx, edx
movzx edx, dl
movzx eax, al
movzx r15d, r15b
shr r13d, 8
mov r8d, r8d
shl rax, 8
movzx r13d, r13b
shr r10d, 0x18
movq qword [rsp + 0x20], xmm0
shr r9d, 0x10
or rax, r15
movzx r10d, r10b
shr ecx, 8
shl rax, 8
movzx r9d, r9b
lea r15, [rsi + r8]
movzx ecx, cl
or rax, r13
lea r13, [rsp + 0x20]
shl rax, 8
or rax, r11
shl rax, 8
or rax, r10
shl rax, 8
or rax, r9
shl rax, 8
or rax, rcx
shl rax, 8
or rax, rdx
mov qword [rsp + 0x28], rax
jmp 0x140247531
movsxd rdx, ebx
movzx eax, byte [rsi]
add rsi, 1
add r14, 1
xor al, byte [rsp + rdx + 0x28]
add ebx, 1
mov byte [r14 - 1], al
and ebx, 7
cmp rsi, r15
je 0x140247558
test ebx, ebx
jne 0x140247510
mov r8d, 1
mov rdx, rdi
mov rcx, r13
add ebp, 1
call fcn.140244ff0
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
jmp 0x140247510
test ebp, ebp
je 0x140247565
mov rax, qword [rsp + 0x20]
mov qword [r12], rax
mov rax, qword [rsp + 0xa8]
mov dword [rax], ebx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret