joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000781c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140017018]
xor rax, rsp
mov qword [rbp + 0x160], rax
lea r8, [0x14000f188]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wdupenv_s]
xor ebx, ebx
test eax, eax
jne 0x140007917
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x1400173e0], rbx
je 0x140007889
lea eax, [rbx + 1]
jmp 0x140007919
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x140007917
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1400020a4
nop
lea rdx, str.JavaDeployReg.log
lea rcx, [rsp + 0x28]
call fcn.1400020a4
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.1400022c4
nop
lea rcx, [rsp + 0x28]
call fcn.140004c80
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400078ed
mov rdx, qword [rax]
jmp 0x1400078f0
mov rdx, rbx
lea r8, [0x14000e494]
lea rcx, [0x1400173e0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
sete bl
lea rcx, [rsp + 0x20]
call fcn.140004c80
mov eax, ebx
jmp 0x140007919
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400087d0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rbp
ret
Function at 0x140007c14
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140008760
sub rsp, rax
mov rax, qword [0x140017018]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov rbx, rdx
mov rdi, rcx
mov esi, 0x800
lea rcx, [rbp + 0x780]
mov r8d, esi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call fcn.140007abc
mov qword [rsp + 0x30], rbx
lea rdx, [rbp + 0x780]
xor r15d, r15d
or r12, 0xffffffffffffffff
mov qword [rsp + 0x28], r15
mov r9, r12
mov rcx, qword [rax]
mov r8d, 0x400
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnwprintf_s]
test eax, eax
cmovs eax, r12d
test eax, eax
jns 0x140007cae
mov word [rbp + 0xf7e], r15w
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x40]
call sub.VCRUNTIME140.dll_memset
mov ebx, 0x20
lea rcx, [rsp + 0x40]
mov edx, ebx
call fcn.140007b5c
lea r8, [0x1400112dc]
mov edx, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, rsi
lea rcx, [rbp - 0x80]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, r12
inc rax
cmp word [rdi + rax*2], r15w
jne 0x140007cf4
cmp rax, 6
jbe 0x140007d21
add rax, 0xfffffffffffffffa
lea rdx, str.__08x_
lea rcx, [rdi + rax*2]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
mov eax, 1
je 0x140007d24
mov eax, r15d
lea rcx, [rsp + 0x40]
mov r14, r12
inc r14
cmp word [rcx + r14*2], r15w
jne 0x140007d2c
test eax, eax
lea rcx, [0x1400112fc]
lea rdi, str.Error:
cmove rdi, rcx
lea rsi, [r14 + r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r9, [rbp + 0x780]
mov edx, 0x3ff
mov qword [rsp + 0x38], r9
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rdi
lea r9, str.P:_04d_T:_04d__s_s
mov dword [rsp + 0x28], ebx
sub rdx, r14
add rcx, rsi
mov dword [rsp + 0x20], eax
mov r8, r12
call fcn.140007e4c
mov rcx, qword [rbp + 0x776]
test eax, eax
movabs rdx, 0x2e002e002e
mov r8, rsi
cmovs rcx, rdx
lea rdx, [rsp + 0x40]
mov qword [rbp + 0x776], rcx
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp - 0x80]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], r15w
jne 0x140007dca
mov eax, dword [0x140011374]
mov dword [rcx], eax
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.1400087d0
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000f158
Capabilities:
Check http status code
Encrypt data using salsa20 or chacha

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc58
movdqa xmmword [rsp + 0xc40], xmm11
movdqa xmmword [rsp + 0xc30], xmm10
movaps xmmword [rsp + 0xc20], xmm9
movaps xmmword [rsp + 0xc10], xmm8
movaps xmmword [rsp + 0xc00], xmm7
movaps xmmword [rsp + 0xbf0], xmm6
mov rbx, rcx
lea rcx, [0x1405febd0]
call qword [0x1405e8cc8]
mov esi, eax
test al, al
je 0x14000f1ea
lea rdx, [0x1405febd0]
lea r14, [rsp + 0x680]
mov rcx, r14
call fcn.140001fa5
cmp qword [r14], 0
je 0x14000f280
mov r14, qword [rsp + 0x688]
mov dil, byte [rsp + 0x690]
jmp 0x14000f1ed
mov dil, 2
lea rax, [0x1403c2ab8]
lea rcx, [rsp + 0x680]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, [0x14059bfc0]
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
call fcn.14012ee6c
test sil, sil
je 0x14000f22d
mov rcx, r14
mov edx, edi
call fcn.14000a766
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
movaps xmm6, xmmword [rsp + 0xbf0]
movaps xmm7, xmmword [rsp + 0xc00]
movaps xmm8, xmmword [rsp + 0xc10]
movaps xmm9, xmmword [rsp + 0xc20]
movaps xmm10, xmmword [rsp + 0xc30]
movaps xmm11, xmmword [rsp + 0xc40]
add rsp, 0xc58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14001a7e7
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x88], rcx
mov rax, rcx
sub rax, 4
mov edx, 0
cmovae rdx, rax
mov qword [rsp + 0x670], rdx
xorps xmm6, xmm6
movaps xmm7, xmmword [0x1402240d0]
movaps xmm8, xmmword [0x1402240e0]
movaps xmm9, xmmword [0x1402240f0]
mov rax, qword [rbx]
lea rdx, [rcx - 1]
mov qword [rsp + 0x1b0], rdx
add rcx, 0xf
mov qword [rsp + 0x1a8], rcx
mov qword [rsp + 0x68], rax
inc rax
mov qword [rsp + 0x668], rax
lea r13, [0x1403c27c8]
xor r12d, r12d
Function at 0x140020b91
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov esi, ecx
shr esi, 8
lea r8, [rdx + r8*2]
xor edi, edi
cmp rdx, r8
je 0x140020c0d
lea rbx, [rdx + 2]
movzx r15d, byte [rdx + 1]
lea r14, [rdi + r15]
cmp byte [rdx], sil
jne 0x140020bed
cmp r14, rdi
jb 0x140020c4a
cmp r14, rax
ja 0x140020c4a
add rdi, r9
xor edx, edx
cmp r15, rdx
je 0x140020bf7
lea r12, [rdx + 1]
cmp byte [rdi + rdx], cl
mov rdx, r12
jne 0x140020bda
jmp 0x140020bff
mov rdx, rbx
mov rdi, r14
jbe 0x140020bb4
jmp 0x140020c0d
mov rdx, rbx
mov rdi, r14
jmp 0x140020bb4
xor eax, eax
and al, 1
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx ecx, cx
add r10, r11
mov al, 1
cmp r11, r10
je 0x140020c01
lea r8, [r11 + 1]
movzx edx, byte [r11]
test dl, dl
js 0x140020c2b
mov r11, r8
jmp 0x140020c42
cmp r8, r10
je 0x140020c4a
and edx, 0x7f
shl edx, 8
movzx r8d, byte [r11 + 1]
add r11, 2
or edx, r8d
sub ecx, edx
js 0x140020c01
xor al, 1
jmp 0x140020c15
ud2

Function at 0x140023fd5
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
not ecx
lea rax, [0x1403cbc98]
mov r9d, 0xff
cmp r8, 0x40
jb 0x140024110
mov r11, r8
shr r11, 4
xor r10d, r10d
cmp r10, 0x40
je 0x140024105
sub r11, 1
jb 0x140024137
movzx edi, byte [rdx + r10 + 0xf]
movzx esi, byte [rdx + r10 + 0xe]
mov esi, dword [rax + rsi*4 + 0x400]
xor esi, dword [rax + rdi*4]
movzx edi, byte [rdx + r10 + 0xd]
xor esi, dword [rax + rdi*4 + 0x800]
movzx edi, byte [rdx + r10 + 0xc]
xor esi, dword [rax + rdi*4 + 0xc00]
movzx edi, byte [rdx + r10 + 0xb]
xor esi, dword [rax + rdi*4 + 0x1000]
movzx edi, byte [rdx + r10 + 0xa]
xor esi, dword [rax + rdi*4 + 0x1400]
movzx edi, byte [rdx + r10 + 9]
xor esi, dword [rax + rdi*4 + 0x1800]
movzx edi, byte [rdx + r10 + 8]
xor esi, dword [rax + rdi*4 + 0x1c00]
movzx edi, byte [rdx + r10 + 7]
xor esi, dword [rax + rdi*4 + 0x2000]
movzx edi, byte [rdx + r10 + 6]
xor esi, dword [rax + rdi*4 + 0x2400]
movzx edi, byte [rdx + r10 + 5]
xor esi, dword [rax + rdi*4 + 0x2800]
movzx edi, byte [rdx + r10 + 4]
xor esi, dword [rax + rdi*4 + 0x2c00]
mov edi, ecx
shr edi, 0x18
movzx ebx, byte [rdx + r10 + 3]
xor ebx, edi
xor esi, dword [rax + rbx*4 + 0x3000]
mov edi, ecx
shr edi, 0x10
and edi, r9d
movzx ebx, byte [rdx + r10 + 2]
xor ebx, edi
xor esi, dword [rax + rbx*4 + 0x3400]
mov edi, ecx
shr edi, 8
and edi, r9d
movzx ebx, byte [rdx + r10 + 1]
xor ebx, edi
xor esi, dword [rax + rbx*4 + 0x3800]
and ecx, r9d
movzx edi, byte [rdx + r10]
xor edi, ecx
xor esi, dword [rax + rdi*4 + 0x3c00]
add r10, 0x10
mov ecx, esi
jmp 0x140023ffb
sub r8, r10
add rdx, r10
jmp 0x140023fe7
xor r9d, r9d
cmp r8, r9
je 0x14002412f
mov r10b, byte [rdx + r9]
xor r10b, cl
movzx r10d, r10b
shr ecx, 8
xor ecx, dword [rax + r10*4]
inc r9
jmp 0x140024113
not ecx
mov eax, ecx
pop rbx
pop rdi
pop rsi
ret
ud2
Function at 0x14003d590
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
lea rdi, [rcx + 0x10]
mov ebx, 5
mov rax, qword [rsi + 0x110]
cmp rax, 0x3f
jae 0x14003d5c4
lea rcx, [rax + 2]
mov qword [rsi + 0x110], rcx
mov rax, qword [rsi + rax*4 + 0x10]
jmp 0x14003d5f7
jne 0x14003d5e6
mov r14d, dword [rsi + 0x10c]
mov edx, 1
mov rcx, rdi
call fcn.140042461
mov eax, dword [rsi + 0x10]
shl rax, 0x20
or rax, r14
jmp 0x14003d5f7
mov edx, 2
mov rcx, rdi
call fcn.140042461
mov rax, qword [rsi + 0x10]
mul rbx
shr rax, 0x3d
cmp eax, 4
ja 0x14003d5a5
add rdx, 5
mov rax, rdx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14007ffff
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140080025
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14008000f
mov qword [rcx], rax
ret

Function at 0x14008012a
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.14007ffd4
test rbx, rbx
je 0x140080163
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14007ffff
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14007fff7
Function at 0x14008eb65
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r8, qword [rdx + 0x20]
test r8, r8
je 0x14008eb77
mov rdx, qword [rdx + 0x18]
jmp fcn.14008e1ed
and qword [rcx], 0
ret
Function at 0x1400a82ce
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov rax, qword [rcx + 0x38]
test rax, rax
jle 0x1400a82ed
cmp qword [rcx + 0x40], 0
js 0x1400a82ed
add rax, 0xffffffffffffff00
mov qword [rcx + 0x38], rax
jmp fcn.1400a8458
jmp 0x1400a82f2
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.1400aabc9
test rax, rax
je 0x1400a832a
mov edx, 4
mov rcx, rax
call fcn.140015bd0
jmp 0x1400a8363
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 + 0x70]
mov rcx, rbx
call fcn.1400a82af
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
and qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.1400a8458

Function at 0x1400a82f2
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov rax, qword [rcx + 0x38]
test rax, rax
jle 0x1400a82ed
cmp qword [rcx + 0x40], 0
js 0x1400a82ed
add rax, 0xffffffffffffff00
mov qword [rcx + 0x38], rax
jmp fcn.1400a8458
jmp 0x1400a82f2
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.1400aabc9
test rax, rax
je 0x1400a832a
mov edx, 4
mov rcx, rax
call fcn.140015bd0
jmp 0x1400a8363
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 + 0x70]
mov rcx, rbx
call fcn.1400a82af
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
and qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.1400a8458
Function at 0x1400f44b2
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x668
movaps xmmword [rsp + 0x650], xmm6
mov rsi, rcx
mov rax, r8
shr rax, 0x3d
jne 0x1400f4541
movzx ebx, r9b
shl rbx, 7
sub rbx, 0xffffffffffffff80
shl r8, 3
cmp r8, rbx
jne 0x1400f4541
mov rdi, rdx
lea rcx, [rsp + 0x140]
mov r8d, 0xf4
xor edx, edx
call fcn.1401e8980
call fcn.1400f3f7c
cmp eax, 3
je 0x1400f4524
mov eax, eax
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
cmp eax, 2
jne 0x1400f4538
call fcn.140176340
jmp 0x1400f453d
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
call fcn.1401940a0
jmp 0x1400f453d
call fcn.140177810
test eax, eax
je 0x1400f455c
mov dword [rsi], 2
movaps xmm6, xmmword [rsp + 0x650]
add rsp, 0x668
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x358]
lea rbx, [rsp + 0x140]
mov r8d, 0xf4
mov rcx, rdi
mov rdx, rbx
call fcn.1401e82d0
xorps xmm6, xmm6
movaps xmmword [rbx], xmm6
lea rbx, [rsp + 0x30]
lea r8, [rsp + 0x140]
mov rcx, rbx
mov rdx, rdi
call fcn.1400f3fb3
mov r14, qword [rbx]
mov rdi, qword [rbx + 8]
bswap r14
bswap rdi
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], rdi
xor eax, eax
cmp rax, 0x100
je 0x1400f45d0
lea rcx, [rsp + rax]
add rcx, 0x140
movups xmmword [rcx], xmm6
add rax, 0x10
jmp 0x1400f45b4
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x140]
mov r8d, 0x100
call fcn.1401e82d0
call fcn.1400f3f9b
test al, al
je 0x1400f461e
mov rax, r14
shld rax, rdi, 1
shld rdi, r14, 1
sar r14, 0x3f
movabs rcx, 0xc200000000000000
and rcx, r14
xor rcx, rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
jmp 0x1400f4643
mov eax, dword [0x1405ff50c]
not eax
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
test eax, 0x10400000
jne 0x1400f463e
call fcn.1401693a0
jmp 0x1400f4643
call fcn.140168980
lea rdi, [rsp + 0x450]
lea rdx, [rsp + 0x40]
mov r8d, 0x100
mov rcx, rdi
call fcn.1401e82d0
lea rcx, [rsp + 0x550]
lea rdx, [rsp + 0x358]
mov r8d, 0xf4
call fcn.1401e82d0
lea rcx, [rsp + 0x14c]
mov r8d, 0x200
mov rdx, rdi
call fcn.1401e82d0
and dword [rsi], 0
add rsi, 4
lea rdx, [rsp + 0x140]
mov r8d, 0x20c
mov rcx, rsi
call fcn.1401e82d0
jmp 0x1400f4547
Function at 0x1400f9566
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1d0
mov rbx, r9
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov r14, qword [rsp + 0x230]
movups xmm0, xmmword [0x140560ca8]
lea rdi, [rsp + 0x20]
movups xmmword [rdi + 0x38], xmm0
movups xmm0, xmmword [0x140560c98]
movups xmmword [rdi + 0x28], xmm0
movups xmm0, xmmword [0x140560c88]
movups xmmword [rdi + 0x18], xmm0
movups xmm0, xmmword [0x140560c78]
movups xmmword [rdi + 8], xmm0
lea r13, [0x140560c48]
call fcn.1400f784c
xorps xmm0, xmm0
movups xmmword [rdi + 0xc0], xmm0
movups xmmword [rdi + 0xb0], xmm0
movups xmmword [rdi + 0xa0], xmm0
movups xmmword [rdi + 0x90], xmm0
movups xmmword [rdi + 0x80], xmm0
movups xmmword [rdi + 0x70], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi], r13
and qword [rdi + 0x48], 0
and qword [rdi + 0xd0], 0
mov r8d, 0x20
mov rcx, rdi
mov rdx, r12
call fcn.1400f7583
mov r8d, 0x20
mov rcx, rdi
mov rdx, r15
call fcn.1400f7583
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.1400f7583
lea rbx, [rsp + 0xf8]
mov r8d, 0xd8
mov rcx, rbx
mov rdx, rdi
call fcn.1401e82d0
mov rcx, rsi
mov rdx, rbx
call fcn.1400f7691
nop
add rsp, 0x1d0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14012fbbe
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
lea rcx, [rdx + 8]
call fcn.14012fda0
test rax, rax
jne 0x14012fd0b
xor bl, 1
test r14, r14
movzx ecx, bl
mov eax, 2
cmove eax, ecx
mov r12, qword [rdi + 8]
mov rdi, qword [rdi + 0x18]
test al, al
je 0x14012fc3c
movzx eax, al
cmp eax, 1
jne 0x14012fc2a
xor eax, eax
cmp rdi, rax
je 0x14012fc32
movzx ecx, byte [r12 + rax]
cmp ecx, 9
je 0x14012fc3c
inc rax
cmp ecx, 0x20
jne 0x14012fc11
jmp 0x14012fc3c
xor r14d, r14d
xor r15d, r15d
jmp 0x14012fc4e
test rdi, rdi
je 0x14012fc3c
mov r14b, 1
jmp 0x14012fc2d
mov rcx, rsi
mov dx, 0x22
call fcn.14012c0e6
mov r14b, 1
mov r15b, 1
add rdi, r12
lea rbx, [rsp + 0x28]
mov qword [rbx], r12
mov qword [rbx + 8], rdi
and word [rbx + 0x10], 0
xor edi, edi
mov rcx, rbx
call fcn.140126a04
test ax, ax
je 0x14012fcd1
mov ebp, edx
test r14b, r14b
je 0x14012fcc5
cmp bp, 0x22
je 0x14012fc8b
movzx eax, bp
cmp eax, 0x5c
jne 0x14012fcc3
inc rdi
jmp 0x14012fcc5
mov rdx, rdi
inc rdx
je 0x14012fd1d
mov rcx, rsi
call fcn.1401264a2
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
inc rcx
sub rdi, 1
jb 0x14012fcb8
mov word [rax + rcx*2 - 2], 0x5c
jmp 0x14012fca6
mov word [rax + rcx*2 - 2], 0x5c
mov qword [rsi + 0x10], rcx
xor edi, edi
mov rcx, rsi
mov edx, ebp
call fcn.14012c0e6
jmp 0x14012fc64
test r15b, r15b
je 0x14012fd09
mov rcx, rsi
mov rdx, rdi
call fcn.1401264a2
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x10]
sub rdi, 1
jb 0x14012fcf9
mov word [rcx + rax*2], 0x5c
inc rax
jmp 0x14012fce8
mov qword [rsi + 0x10], rax
mov rcx, rsi
mov dx, 0x22
call fcn.14012c0e6
xor edx, edx
mov rax, rdx
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
ud2

Function at 0x140134fe7
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140134fea
test al, 1
je 0x140135005
test al, 2
jne 0x140135005
xor rax, 3
ret
ud2
Function at 0x14013eb3f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
movaps xmm6, xmm3
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
movzx ecx, byte [rcx + 3]
test ecx, ecx
je 0x14013ebb1
movzx eax, word [rsi]
cmp rax, rdi
ja 0x14013ec2c
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rax
cmp ecx, 1
je 0x14013ec14
cmp ecx, 3
jne 0x14013ec19
add eax, 2
mov word [rsi], ax
lea rcx, [rsp + 0x28]
call fcn.140137347
test ax, ax
je 0x14013ec2c
movsx eax, dx
jmp 0x14013ec34
movzx r15d, word [rsi]
cmp r15, rdi
je 0x14013ec2c
lea rcx, [rbx + r15]
xor r14d, r14d
cmp r15, rdi
cmovae rcx, r14
mov edx, 1
call fcn.140064f04
test al, 1
je 0x14013ec4b
inc r15d
mov word [rsi], r15w
mov eax, edx
and al, 0x3f
inc al
mov byte [rsi + 2], al
test dl, 0x40
sete al
xor al, 3
test dl, dl
movzx eax, al
mov ecx, 1
cmovns ecx, eax
mov byte [rsi + 3], cl
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
movaps xmm3, xmm6
call fcn.14013eb3f
mov r14d, eax
jmp 0x14013ec4b
xorps xmm0, xmm0
jmp 0x14013ec3c
inc eax
mov word [rsi], ax
lea rcx, [rsp + 0x28]
call fcn.14013801c
test al, 1
jne 0x14013ec31
xor r14d, r14d
jmp 0x14013ec4b
movsx eax, dl
cvtsi2ss xmm0, eax
mulss xmm0, xmm6
dec byte [rsi + 2]
jne 0x14013ec45
mov byte [rsi + 3], 0
mov r14d, 1
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140156edd
Capabilities:
Inspect section memory permissions

Disassembly:
mov edx, ecx
and edx, 1
shl edx, 0x12
mov eax, ecx
and eax, 4
shl eax, 0xe
mov r8d, ecx
and r8d, 2
shl r8d, 0x10
or r8d, eax
mov r9d, ecx
and r9d, 0x10
shl r9d, 0x18
or r9d, r8d
mov eax, ecx
shl eax, 0xd
mov r8d, ecx
shl r8d, 0x14
and r8d, 0x40000000
or r8d, r9d
mov r9d, ecx
shl r9d, 0x13
and r9d, 0x80000000
or r9d, r8d
mov r10d, ecx
shl r10d, 0xc
and r10d, 0x20000000
or r10d, r9d
mov r8d, eax
and r8d, 0x1000000
or r8d, r10d
or r8d, edx
mov edx, ecx
and edx, 0x20
shl edx, 0xd
mov r9d, ecx
shr r9d, 3
and r9d, 8
and eax, 0x200000
or eax, r9d
or eax, edx
or r8d, 0x6c80000
bt ecx, 0x12
mov r9d, 0x110
mov edx, 0x80130
cmovae edx, r9d
or edx, eax
mov eax, r8d
and eax, 0xff30ffff
test cx, 0x6000
cmove eax, r8d
ret

Function at 0x14015ba40
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x14015baef
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
repz ret
cmp r8, 0x10
jb 0x14015bb9a
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x14015baef
cmp r8, 0
je 0x14015bc60
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x14015bbb0
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
repz ret