joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018328
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140018470
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400184df
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x1400184df
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400184df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400184df
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400184df
cmp dword [rcx + 0x84], 0xe
jbe 0x1400184df
cmp dword [rcx + 0xf8], 0
je 0x1400184df
mov ecx, ebx
call fcn.1400183a8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140018604
nop
cmp dword [rbp + 0x20], 0
je 0x14001852d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001843c
int3

Function at 0x14001af88
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14004b3b8]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14001afd2
call fcn.14001a788
mov dword [rax], 0xf
call fcn.14001a768
mov dword [rax], 0xd
call fcn.14001b830
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140009f90
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14001afdd
lea eax, [rbx + 1]
jmp 0x14001afbf
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
test eax, eax
je 0x14001afbd
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14001afbf

Function at 0x140020750
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140020778
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140020778
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14002aa04
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140023e7c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14002aaa5
cmp ebx, dword [rsp + 0x30]
je 0x14002aa9e
test esi, esi
je 0x14002aa9e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002aa79
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002aa86
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002aa63
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002aa8a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002aaa7
mov eax, 1
jmp 0x14002aaa7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002ba1c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140009f30
sub rsp, rax
mov rax, qword [0x14004b3b8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140028050
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002ba6b
mov rax, rbp
jmp 0x14002bb73
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x4d9b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002b74c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x4d9b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002bb6f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x14002bb6f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002b74c
test rax, rax
js 0x14002bb6f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002bb6f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002bb61
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002bb61
cmp byte [rcx], 0xd
jne 0x14002bb47
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002bb56
cmp byte [rcx + 1], 0xa
jne 0x14002bb56
inc rcx
jmp 0x14002bb56
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x4beb0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002bb29
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002bb73
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140009f90
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002bf04
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14002bf34
xor eax, eax
jmp 0x14002bff7
mov rbp, rbx
cmp word [rax], si
je 0x14002bf59
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002bf40
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002bf3c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140023d3c
movsxd r14, eax
test eax, eax
jne 0x14002bf97
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
jmp 0x14002bf2d
mov rcx, r14
call fcn.140023c4c
mov rdi, rax
test rax, rax
jne 0x14002bfb0
xor ecx, ecx
call fcn.140023c10
jmp 0x14002bf8c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140023d3c
test eax, eax
jne 0x14002bfe1
mov rcx, rdi
call fcn.140023c10
jmp 0x14002bfeb
xor ecx, ecx
call fcn.140023c10
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14002df4c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002df62
mov al, 1
jmp 0x14002dfc2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002df73
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14002dfc0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002c554
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002dfc0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x14002dfc0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x14002dfc0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002dfc2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14002e9f4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14004d9b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14002ea4b
cmp word [rdx], r13w
jne 0x14002ea4b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14002ea50
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14002eb75
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002eb96
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14002ea89
mov rdx, r9
mov word [rbx], cx
jmp 0x14002eab0
cmp r9, r8
jae 0x14002eac0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14002ea6a
jmp 0x14002eb75
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x14002eb6a
cmp dword [rsp + 0x80], esi
je 0x14002eb6a
lea r8, [0x14004d9b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14002eb42
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14002eb12
mov word [rbx], r13w
jmp 0x14002eb72
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14002eb1f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002eb72
cmp word [rsp + 0x70], r13w
jne 0x14002eb4f
cmp rbx, r14
je 0x14002eb0c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002b6a8
cmp word [rsp + 0x70], r13w
je 0x14002eb75
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14004d9b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002eb6f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14002eb75
Function at 0x140032c68
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.14001134c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140032cf2
cmp byte [rbp - 0x21], r15b
je 0x140032ced
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140032d28
call fcn.14002469c
test eax, eax
jne 0x140032d14
cmp byte [rbp - 0x21], r15b
je 0x140032d0c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140032d28
cmp byte [rbp - 0x21], r15b
je 0x140032d25
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.1400113e8
test eax, eax
jne 0x140032dc8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001134c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140032d67
cmp byte [rbp - 0x21], r15b
je 0x140032d9c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140032d9c
call fcn.14002469c
test eax, eax
jne 0x140032d88
cmp byte [rbp - 0x21], r15b
je 0x140032d81
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140032d9c
cmp byte [rbp - 0x21], r15b
je 0x140032d99
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.1400113e8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140032dc8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140032dcb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140032dd9
mov rcx, rdi
call fcn.140023c10
cmp byte [rbp + 0x3f], r15b
je 0x140032de8
mov rcx, qword [rbp + 0x27]
call fcn.140023c10
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 0x140006c60
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 0x140006cf0
cmp r11, r10
ja 0x140006d66
cmp r10, rdx
ja 0x140006d7a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140006cf2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140006cd0
jmp 0x140006d54
ja 0x140006cfa
mov r11, r10
cmp rax, r8
jne 0x140006c94
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 0x140006d30
mov rdi, r8
sub ecx, edx
jns 0x140006d4b
jmp 0x140006d56
cmp r8, rsi
je 0x140006d8b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006d56
xor al, 1
cmp rdi, rsi
jne 0x140006d10
jmp 0x140006d56
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.14001c3a0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001c170
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001c1e0
ud2

Function at 0x140007aa0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
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]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
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
movaps xmmword [rcx + 0xa0], xmm10
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x14000e050
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140004600
cmp rax, rcx
je 0x14000e075
cmp rdx, 4
jae 0x14000e078
xor eax, eax
xor r8d, r8d
jmp 0x14000e110
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14001e390]
movdqa xmm3, xmmword [0x14001e3a0]
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 0x14000e0a0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000e127
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000e110
ret
Function at 0x14000f420
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 0x14000f47b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000f47b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000f496
cmp eax, 0x42
jne 0x14000f47b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000f546
cmp byte [r9 + r11], 0x5f
jne 0x14000f546
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000f5ae
mov rcx, rsi
xor edx, edx
call fcn.14000a800
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.14000a800
test al, al
jne 0x14000f641
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000f4d2
lea rdx, [0x14007693c]
mov r8d, 1
call fcn.140004b90
test al, al
jne 0x14000f641
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000f48a
xor r14d, r14d
lea rbx, [0x140076cf0]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000f504
cmp byte [rax + rcx], 0x45
je 0x14000f66a
sub r14, 1
jb 0x14000f529
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000f529
mov r8d, 2
mov rdx, rbx
call fcn.140004b90
test al, al
jne 0x14000f641
mov rcx, rsi
call fcn.14000c050
test al, al
jne 0x14000f641
mov rax, qword [rsi]
test rax, rax
jne 0x14000f4f0
jmp 0x14000f48a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000f608
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000f5a2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000f58c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000f57b
add dl, 0xa9
jmp 0x14000f58a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000f608
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000f608
movzx edx, bl
add rax, rdx
jae 0x14000f550
jmp 0x14000f608
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000f608
cmp rax, rcx
jae 0x14000f605
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000f649
cmp qword [rsi + 0x20], 0
je 0x14000f663
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.14000f420
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000f48c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000f658
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x140076cb0]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140004b90
test al, al
je 0x14000f658
mov dil, 2
jmp 0x14000f48a
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x14000f613
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000f48a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000f48a
Function at 0x1400167c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rax, rdx
movzx r11d, byte [rdx + 0x38]
cmp r11b, 1
ja 0x140016827
movzx r9d, byte [rax + 0x10]
movzx r8d, byte [rax + 0x3a]
xor edx, edx
test r8b, r8b
jne 0x140016978
cmp r9b, 5
jb 0x140016978
mov r10, qword [rax]
mov rdx, qword [rax + 8]
xor esi, esi
test r11b, r11b
jne 0x140016817
cmp r9b, 6
je 0x140016817
mov esi, 2
cmp rdx, 2
jb 0x140016a28
cmp rsi, rdx
jne case.0x140015869.31
xor edx, edx
jmp 0x140016978
xor edx, edx
xor r8d, r8d
xor r10d, r10d
add rdx, r10
lea rdi, [r10 + rsi]
inc rdi
inc edi
cmp rdi, rdx
sete dl
movzx r10d, byte [r10 + rsi]
adc al, 0x32
test dl, 1
jne 0x14001696d
cmp r10b, 0x2e
jne 0x14001696d
movzx edx, byte [rdi]
cmp dl, 0x5c
sete r10b
cmp dl, 0x2f
cli
invalid
sete dl
or dl, r10b
jmp 0x140016978
cmp r10b, 0x2e
sete r10b
and dl, r10b
xor r10d, r10d
test r11b, r11b
jne case.default.0x1400169a0
invalid
cmp r9b, 6
je case.default.0x1400169a0
invalid
invalid
invalid
movzx r9d, r9b
lea r10, [0x14007958c]
add byte [rdi + 0x63], cl
or al, 0x8a
mov r10, qword [rax + 0x20]
add r10, 4
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 6
jmp case.default.0x1400169a0
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 2
jmp case.default.0x1400169a0
lea r8, str.library_std_srcpath.rs
mov ecx, 2
call fcn.14001c090
ud2
clc
add ecx, dword [rdi]
xchg dword [rsi], eax
add dword [rax], eax
add byte [rax - 0x73], cl
or eax, 0x5ee42

Function at 0x14001bc38
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Ex_tlinkimages_tmining_tscribe_texternes_tmtgb_tutenti_tsumavisos_tdonor_tactivedit_tpostcards_tphpsessid_tadverteren_topenwysiwyg_tkoko_tacademia_ttrain_tphpnews_tdirectorderform_tmaker_tgenthumb_tcmsdocs_tunit_tmessages_tadbox_tphpsdk_tcardsimages_tcommentit_ttkprintableframe_tsumavisos_temailtemplate_tthickbox_tbam_txmlparser_tyui_tindextools_tsecure_tstats_tmilestones_tmembersarea_tpodarki_tpatent_tmarche_tinvesting_tenterpornstars_tsuperadmin_tafiliados_tloadvehicle_tsnoop_tstudentlife_tsistemas_tnewsletterold_treqx_tpms_tlibs_talmanac_tinvestor_tmomdata_tplaypen_tartists
mov r10, rax
sub rbx, rax
movabs rdi, 0xf9a9342cdc67601
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 5
imul rax, rdx, 0x20d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 5
imul rax, rdx, 0x20d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 5
imul rax, rdx, 0x20d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 5
imul rax, rdx, 0x20d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 5
imul rax, rdx, 0x20d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 5
imul rax, rdx, 0x20d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 5
imul rax, rdx, 0x20d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 5
imul rax, rdx, 0x20d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 5
imul rax, rdx, 0x20d
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xa]
mul rcx
add r11d, 0xa
shr rdx, 5
imul rax, rdx, 0x20d
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xa
jb 0x140002f90
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret