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

Disassembly:
lea r11, [0x14009f940]
movdqu xmm7, xmmword [rcx]
lea rcx, [rcx + 0x10]
movdqa xmm0, xmmword [r11]
movdqa xmm1, xmmword [r11 + 0x10]
movdqa xmm2, xmmword [r11 + 0x20]
movdqa xmm3, xmmword [r11 + 0x30]
movdqa xmm4, xmmword [r11 + 0x40]
pcmpeqd xmm5, xmm5
movdqu xmm6, xmmword [rcx]
movdqa xmmword [rax], xmm7
lea rax, [rax + 0x10]
dec r10d
jmp 0x14009dc10
pshufb xmm6, xmm4
movdqa xmm8, xmm0
movdqa xmm9, xmm1
pand xmm8, xmm6
pand xmm9, xmm6
movdqa xmm10, xmm2
pcmpeqb xmm8, xmm0
psllq xmm0, 4
movdqa xmm11, xmm3
pcmpeqb xmm9, xmm1
psllq xmm1, 4
pand xmm10, xmm6
pand xmm11, xmm6
movdqa xmm12, xmm0
pcmpeqb xmm10, xmm2
psllq xmm2, 4
movdqa xmm13, xmm1
pcmpeqb xmm11, xmm3
psllq xmm3, 4
movdqa xmm14, xmm2
movdqa xmm15, xmm3
pxor xmm8, xmm5
pxor xmm9, xmm5
pand xmm12, xmm6
pand xmm13, xmm6
movdqa xmmword [rax], xmm8
pcmpeqb xmm12, xmm0
psrlq xmm0, 4
movdqa xmmword [rax + 0x10], xmm9
pcmpeqb xmm13, xmm1
psrlq xmm1, 4
lea rcx, [rcx + 0x10]
pand xmm14, xmm6
pand xmm15, xmm6
movdqa xmmword [rax + 0x20], xmm10
pcmpeqb xmm14, xmm2
psrlq xmm2, 4
movdqa xmmword [rax + 0x30], xmm11
pcmpeqb xmm15, xmm3
psrlq xmm3, 4
movdqu xmm6, xmmword [rcx]
pxor xmm13, xmm5
pxor xmm14, xmm5
movdqa xmmword [rax + 0x40], xmm12
movdqa xmmword [rax + 0x50], xmm13
movdqa xmmword [rax + 0x60], xmm14
movdqa xmmword [rax + 0x70], xmm15
lea rax, [rax + 0x80]
dec r10d
jne 0x14009dc10
movdqa xmm7, xmmword [r11 + 0x50]
repz ret
Function at 0x1400b5880
Capabilities:
Initialize winsock library

Disassembly:
push r12
push rdi
sub rsp, 0x28
mov eax, dword [0x1404184b8]
test eax, eax
je 0x1400b58a0
mov eax, 1
add rsp, 0x28
pop rdi
pop r12
ret
lea rdx, [0x140418320]
xor eax, eax
mov ecx, 0x33
mov dword [0x1404184b8], 1
mov rdi, rdx
rep stosq qword [rdi], rax
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400b5891
call fcn.1401106f0
lea r12, [0x140384120]
mov edx, 0x99
lea r8, str.BIO_sock_init
mov rcx, r12
call fcn.140110820
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_wsastartup__
mov ecx, 2
mov edx, eax
call fcn.140110910
call fcn.1401106f0
lea r8, str.BIO_sock_init
mov edx, 0x9b
mov rcx, r12
call fcn.140110820
xor r8d, r8d
mov edx, 0x7a
mov ecx, 0x20
call fcn.140110910
mov eax, 0xffffffff
jmp 0x1400b5896

Function at 0x1400b5e40
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov dword [rsp + 0x2c], edx
movsxd rcx, ecx
lea r8, [rsp + 0x2c]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
test eax, eax
js 0x1400b5e70
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x30
pop rbx
ret
call fcn.1401106f0
lea r8, str.BIO_socket_ioctl
mov edx, 0xf7
lea rcx, [0x140384120]
call fcn.140110820
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_ioctlsocket__
mov ecx, 2
mov edx, eax
call fcn.140110910
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x30
pop rbx
ret

Function at 0x1400b6000
Capabilities:
Get socket status

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x250
mov esi, ecx
mov edi, edx
mov rbx, r8
cmp ecx, 0x3f
ja 0x1400b60a0
mov eax, 1
test r8, r8
jne 0x1400b6030
add rsp, 0x250
pop rbx
pop rsi
pop rdi
ret
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
mov rdx, rax
xor eax, eax
cmp rbx, rdx
jl 0x1400b6024
mov eax, esi
sub ebx, edx
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], ebx
test edi, edi
je 0x1400b6090
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rax, [rsp + 0x38]
lea ecx, [rsi + 1]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
add rsp, 0x250
pop rbx
pop rsi
pop rdi
ret
lea r8, [rsp + 0x40]
xor edx, edx
jmp 0x1400b606b
mov eax, 0xffffffff
jmp 0x1400b6024
Function at 0x1400b6160
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x48
movsxd r12, ecx
mov dword [rsp + 0x3c], 1
mov r13, rdx
mov esi, r8d
cmp r12d, 0xffffffff
je 0x1400b62b0
mov edx, r8d
mov ecx, r12d
shr edx, 3
and edx, 1
call fcn.1400b5e40
test eax, eax
je 0x1400b629d
test sil, 4
jne 0x1400b6210
and esi, 0x10
je 0x1400b61d2
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x3c]
mov edx, 6
mov rcx, r12
mov r8d, 1
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1400b6370
mov rcx, r13
call fcn.14027ad20
mov rcx, r13
mov ebx, eax
call fcn.14027ad00
mov rcx, r12
mov r8d, ebx
mov r12d, 1
mov rdx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400b62f0
mov eax, r12d
add rsp, 0x48
pop rbx
pop rsi
pop r12
pop r13
ret
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x3c]
mov edx, 0xffff
mov rcx, r12
mov r8d, 8
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1400b61a4
call fcn.1401106f0
lea r12, str.crypto_bio_bio_sock2.c
mov edx, 0x60
lea r8, str.BIO_connect
mov rcx, r12
call fcn.140110820
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.140110910
call fcn.1401106f0
lea r8, str.BIO_connect
mov edx, 0x62
mov rcx, r12
call fcn.140110820
xor r8d, r8d
mov edx, 0x89
mov ecx, 0x20
call fcn.140110910
xor r12d, r12d
mov eax, r12d
add rsp, 0x48
pop rbx
pop rsi
pop r12
pop r13
ret
call fcn.1401106f0
lea r8, str.BIO_connect
mov edx, 0x56
xor r12d, r12d
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140110820
xor r8d, r8d
mov edx, 0x87
mov ecx, 0x20
call fcn.140110910
mov eax, r12d
add rsp, 0x48
pop rbx
pop rsi
pop r12
pop r13
ret
mov ecx, 0xffffffff
call fcn.1400b77b0
mov r12d, eax
test eax, eax
jne 0x1400b629d
call fcn.1401106f0
lea r13, str.crypto_bio_bio_sock2.c
mov edx, 0xb2
lea r8, str.BIO_connect
mov rcx, r13
call fcn.140110820
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_connect__
mov ecx, 2
mov edx, eax
call fcn.140110910
call fcn.1401106f0
mov rcx, r13
mov edx, 0xb4
lea r8, str.BIO_connect
call fcn.140110820
xor r8d, r8d
mov edx, 0x67
mov ecx, 0x20
call fcn.140110910
jmp 0x1400b6202
call fcn.1401106f0
lea r12, str.crypto_bio_bio_sock2.c
mov edx, 0x6a
lea r8, str.BIO_connect
mov rcx, r12
call fcn.140110820
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.140110910
call fcn.1401106f0
mov rcx, r12
mov edx, 0x6c
xor r12d, r12d
lea r8, str.BIO_connect
call fcn.140110820
xor r8d, r8d
mov edx, 0x8a
mov ecx, 0x20
call fcn.140110910
jmp 0x1400b6202
Function at 0x1400b70c0
Capabilities:
Check if file exists

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x38
mov r12, rdx
mov rsi, rcx
call fcn.140142780
mov edx, 0x62
mov rcx, r12
mov r13, rax
call sub.msvcrt.dll_strchr
cmp rax, 1
sbb ebx, ebx
and ebx, 0x10
add ebx, 1
test r13, r13
je 0x1400b7140
lea rcx, [0x140384460]
call fcn.1400af490
mov r12, rax
test rax, rax
je 0x1400b71d0
xor edx, edx
mov rcx, rax
call fcn.1400af8f0
mov r9, r13
mov r8d, ebx
mov edx, 0x6a
mov rcx, r12
call fcn.1400b18d0
mov rax, r12
add rsp, 0x38
pop rbx
pop rsi
pop r12
pop r13
ret
call fcn.1401106f0
lea r13, str.crypto_bio_bss_file.c
mov edx, 0x43
lea r8, str.BIO_new_file
mov rcx, r13
call fcn.140110820
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x20], r12
mov r9, rsi
lea r8, [0x140384336]
mov edx, eax
mov ecx, 2
call fcn.140110910
mov rbx, qword [sym.imp.msvcrt.dll__errno]
call rbx
cmp dword [rax], 2
je 0x1400b7196
call rbx
cmp dword [rax], 6
jne 0x1400b71e0
call fcn.1401106f0
mov edx, 0x4b
mov rcx, r13
xor r12d, r12d
lea r8, str.BIO_new_file
call fcn.140110820
xor r8d, r8d
mov edx, pe_nt_image_headers64
mov ecx, 0x20
call fcn.140110910
jmp 0x1400b712b
mov rcx, r13
call sub.msvcrt.dll_fclose
jmp 0x1400b712b
call fcn.1401106f0
mov edx, 0x4d
mov rcx, r13
xor r12d, r12d
lea r8, str.BIO_new_file
call fcn.140110820
xor r8d, r8d
mov edx, 0x80002
mov ecx, 0x20
call fcn.140110910
jmp 0x1400b712b
Function at 0x1400ba0a0
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 r13, rdx
mov rsi, rcx
mov r14d, r8d
mov ebp, r9d
call fcn.1400b9f20
mov edx, eax
lea r12d, [rax + 0xe]
add edx, 7
cmovns r12d, edx
mov edx, dword [rsp + 0xb0]
sar r12d, 3
test edx, edx
jne 0x1400ba100
mov ebx, dword [rsi + 0x10]
lea edx, [r12*8]
mov edi, ebx
neg edi
sbb dil, dil
cmp edx, eax
je 0x1400ba2c8
add r12d, ebx
mov r15d, ebx
jmp 0x1400ba107
xor edi, edi
xor r15d, r15d
xor ebx, ebx
cmp r14d, 0xffffffff
je 0x1400ba119
cmp r14d, r12d
jl 0x1400ba1c0
mov r12d, r14d
mov eax, dword [rsi + 0xc]
shl eax, 3
cdqe
test rax, rax
je 0x1400ba2a8
movsxd r10, r12d
cmp ebp, 1
je 0x1400ba230
lea r9, [rax - 1]
mov eax, dword [rsi + 8]
lea r11, [r13 + r10 - 1]
shl eax, 3
cdqe
test r10, r10
je 0x1400ba2e0
mov r8, rax
sub r10, rax
xor edx, edx
neg r8
nop dword [rax + rax]
mov rbp, qword [rsi]
mov rax, rdx
mov ecx, edx
and rax, 0xfffffffffffffff8
and ecx, 7
mov rax, qword [rbp + rax]
shl ecx, 3
shr rax, cl
mov rcx, r8
sar rcx, 0x3f
and eax, ecx
xor eax, edi
add al, bl
mov byte [r11], al
mov rax, rdx
setb bl
add r8, 1
sub rax, r9
movzx ebx, bl
sub r11, 1
shr rax, 0x3f
add rdx, rax
cmp r10, r8
jne 0x1400ba160
mov eax, r12d
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x10]
movdqu xmm0, xmmword [rsi]
mov qword [rsp + 0x30], rax
movaps xmmword [rsp + 0x20], xmm0
mov eax, dword [rsp + 0x28]
test eax, eax
jle 0x1400ba203
mov rcx, qword [rsp + 0x20]
movsxd rdx, eax
lea rdx, [rcx + rdx*8]
nop word cs:[rax + rax]
sub rdx, 8
cmp qword [rdx], 0
jne 0x1400ba1ff
sub eax, 1
jne 0x1400ba1f0
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
call fcn.1400b9f20
lea edx, [rax + 0xe]
add eax, 7
cmovs eax, edx
sar eax, 3
add eax, r15d
cmp eax, r14d
jle 0x1400ba116
mov r12d, 0xffffffff
jmp 0x1400ba1aa
lea r9, [rax - 1]
mov eax, dword [rsi + 8]
shl eax, 3
cdqe
test r10, r10
je 0x1400ba2e0
mov r8, rax
sub r10, rax
lea r11, [r13 + rax]
xor edx, edx
neg r8
nop dword [rax]
mov r13, qword [rsi]
mov rax, rdx
mov ecx, edx
and rax, 0xfffffffffffffff8
and ecx, 7
mov rax, qword [r13 + rax]
shl ecx, 3
shr rax, cl
mov rcx, r8
sar rcx, 0x3f
and eax, ecx
xor eax, edi
add al, bl
mov byte [r11 + r8], al
mov rax, rdx
setb bl
add r8, 1
sub rax, r9
movzx ebx, bl
shr rax, 0x3f
add rdx, rax
cmp r10, r8
jne 0x1400ba258
jmp 0x1400ba1aa
test r12d, r12d
je 0x1400ba1aa
movsxd r8, r12d
xor edx, edx
mov rcx, r13
call sub.msvcrt.dll_memset
jmp 0x1400ba1aa
xor r15d, r15d
test ebx, ebx
sete r15b
add r12d, r15d
jmp 0x1400ba107
xor r12d, r12d
jmp 0x1400ba1aa
Function at 0x1400bb250
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
mov rax, r8
sub rcx, 1
mov r8d, dword [rdx + 8]
not r10
and r10, rcx
mov ecx, dword [rax + 8]
shr r10, 0x3f
xor ecx, r8d
sub r10, 1
movsxd rcx, ecx
and rcx, r10
xor r8d, ecx
mov dword [rdx + 8], r8d
mov r8d, dword [rdx + 0x10]
xor dword [rax + 8], ecx
mov ecx, dword [rax + 0x10]
xor ecx, r8d
movsxd rcx, ecx
and rcx, r10
xor r8d, ecx
mov dword [rdx + 0x10], r8d
mov r8d, dword [rdx + 0x14]
xor dword [rax + 0x10], ecx
mov ecx, dword [rax + 0x14]
xor ecx, r8d
and rcx, r10
and ecx, 4
xor r8d, ecx
mov dword [rdx + 0x14], r8d
xor dword [rax + 0x14], ecx
test r9d, r9d
jle 0x1400bb361
mov r8, qword [rdx]
mov r11, qword [rax]
lea rax, [r8 + 0xf]
sub rax, r11
cmp rax, 0x1e
jbe 0x1400bb368
cmp r9d, 1
je 0x1400bb368
mov ecx, r9d
movq xmm2, r10
mov rdx, r8
mov rax, r11
shr ecx, 1
punpcklqdq xmm2, xmm2
sub ecx, 1
shl rcx, 4
lea rcx, [r8 + rcx + 0x10]
movdqu xmm3, xmmword [rdx]
movdqu xmm0, xmmword [rax]
add rdx, 0x10
add rax, 0x10
pxor xmm0, xmm3
movdqa xmm1, xmm3
pand xmm0, xmm2
pxor xmm1, xmm0
movups xmmword [rdx - 0x10], xmm1
movdqu xmm4, xmmword [rax - 0x10]
pxor xmm0, xmm4
movups xmmword [rax - 0x10], xmm0
cmp rcx, rdx
jne 0x1400bb300
mov eax, r9d
and eax, 0xfffffffe
and r9d, 1
je 0x1400bb361
shl rax, 3
add r8, rax
add rax, r11
mov rcx, qword [r8]
mov rdx, qword [rax]
xor rdx, rcx
and rdx, r10
xor rcx, rdx
mov qword [r8], rcx
xor qword [rax], rdx
ret
movsxd r9, r9d
xor eax, eax
nop dword [rax]
mov rcx, qword [r8 + rax*8]
mov rdx, qword [r11 + rax*8]
xor rdx, rcx
and rdx, r10
xor rcx, rdx
mov qword [r8 + rax*8], rcx
xor qword [r11 + rax*8], rdx
add rax, 1
cmp r9, rax
jne 0x1400bb370
ret
Function at 0x1400eaac0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r14
push r13
push r12
push rbx
sub rsp, 0x178
movdqu xmm4, xmmword [rdx + 0x10]
movdqu xmm3, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm4
movzx eax, byte [rsp + 0x3f]
mov r12, rcx
lea r14, [rsp + 0x20]
lea rcx, [rsp + 0xd0]
mov rdx, r14
movaps xmmword [rsp + 0x20], xmm3
lea rbx, [rsp + 0xa0]
and eax, 0x7f
and byte [rsp + 0x20], 0xf8
lea r13, [rsp + 0x40]
or eax, 0x40
mov byte [rsp + 0x3f], al
call fcn.1400e6310
lea rdx, [rsp + 0x70]
mov rcx, rbx
movdqu xmm0, xmmword [rsp + 0xf8]
paddd xmm0, xmmword [rsp + 0x120]
movq xmm2, qword [rsp + 0x118]
movdqu xmm5, xmmword [rsp + 0xf8]
movdqu xmm3, xmmword [rsp + 0x108]
movaps xmmword [rsp + 0x40], xmm0
movdqu xmm0, xmmword [rsp + 0x108]
paddd xmm0, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0x50], xmm0
movq xmm0, qword [rsp + 0x140]
movdqa xmm1, xmm0
psubd xmm0, xmm2
paddd xmm1, xmm2
movq qword [rsp + 0x90], xmm0
movq qword [rsp + 0x60], xmm1
movdqa xmm1, xmmword [rsp + 0x120]
psubd xmm1, xmm5
movaps xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [rsp + 0x130]
psubd xmm1, xmm3
movaps xmmword [rsp + 0x80], xmm1
call fcn.1400e2de0
mov r8, rbx
mov rdx, r13
mov rcx, r13
call fcn.1400e2010
mov rdx, r13
mov rcx, r12
call fcn.1400e1c10
mov edx, 0x20
mov rcx, r14
call fcn.140018bb0
nop
add rsp, 0x178
pop rbx
pop r12
pop r13
pop r14
ret
Function at 0x14013d5b0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [0x1404188a0]
test eax, eax
je 0x14013d5e0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [0x140418840]
mov r8d, 0x30
mov dword [0x1404188a0], 1
lea rcx, str.OPENSSL_ia32cap
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
sub eax, 1
cmp eax, 0x2e
ja 0x14013d7b0
movzx ebp, word [0x140418840]
xor eax, eax
mov esi, 0xa
cmp bp, 0x7e
sete al
lea rbx, [rbx + rax*2]
cmp word [rbx], 0x30
je 0x14013d810
xor r13d, r13d
mov edi, esi
jmp 0x14013d650
sub r12d, 0x30
cmp esi, r12d
jbe 0x14013d679
imul r13, rdi
add r13, r12
movzx r12d, word [rbx]
add rbx, 2
mov ecx, r12d
call fcn.14013d8d0
test eax, eax
jne 0x14013d640
mov edx, 0x10
mov ecx, r12d
call fcn.14013d8b0
test eax, eax
jne 0x14013d770
cmp bp, 0x7e
je 0x14013d7c8
movzx r15d, word [0x140418840]
mov rbp, qword [0x1403dc360]
cmp r15w, 0x3a
je 0x14013d848
test r15w, r15w
je 0x14013d7a0
lea rax, [0x140418840]
jmp 0x14013d6be
add rax, 2
test r15w, r15w
je 0x14013d7a0
mov edx, r15d
movzx r15d, word [rax + 2]
cmp dx, 0x3a
jne 0x14013d6b0
xor edx, edx
cmp r15w, 0x7e
sete dl
lea rbx, [rax + rdx*2 + 2]
cmp word [rbx], 0x30
je 0x14013d880
mov esi, 0xa
xor r14d, r14d
mov edi, esi
jmp 0x14013d708
sub r12d, 0x30
cmp esi, r12d
jbe 0x14013d72d
imul r14, rdi
add r14, r12
movzx r12d, word [rbx]
add rbx, 2
mov ecx, r12d
call fcn.14013d8d0
test eax, eax
jne 0x14013d6f8
mov edx, 0x10
mov ecx, r12d
call fcn.14013d8b0
test eax, eax
jne 0x14013d788
movq xmm0, qword [0x1403a2c20]
movq xmm2, r14
pxor xmm0, xmm2
cmp r15w, 0x7e
je 0x14013d830
mov qword [rbp + 8], r14
mov eax, r13d
shr r13, 0x20
or ah, 4
movd xmm3, r13d
movd xmm0, eax
punpckldq xmm0, xmm3
movq qword [rbp], xmm0
jmp 0x14013d5ca
mov ecx, r12d
call fcn.14013d900
lea r12d, [rax - 0x57]
jmp 0x14013d644
mov ecx, r12d
call fcn.14013d900
lea r12d, [rax - 0x57]
jmp 0x14013d6fc
mov qword [rbp + 8], 0
jmp 0x14013d74d
mov rbp, qword [0x1403dc360]
mov rcx, rbp
call fcn.1400189a0
mov r13, rax
jmp 0x14013d74d
mov rbp, qword [0x1403dc360]
mov rcx, rbp
call fcn.1400189a0
mov r8, rax
mov rax, r13
not rax
and rax, r8
test r13d, 0x1000000
je 0x14013d860
movabs r13, 0xedfff7fdffffffff
movzx r15d, word [0x140418840]
and r13, rax
jmp 0x14013d69d
movzx ecx, word [rbx + 2]
call fcn.14013d900
cmp eax, 0x78
je 0x14013d870
add rbx, 2
mov esi, 8
jmp 0x14013d636
movq xmm1, qword [rbp + 8]
pand xmm1, xmm0
movq qword [rbp + 8], xmm1
jmp 0x14013d74d
mov rcx, rbp
call fcn.1400189a0
movzx r15d, word [0x140418840]
mov r13, rax
jmp 0x14013d69d
movzx r15d, word [0x140418840]
mov r13, rax
jmp 0x14013d69d
add rbx, 4
mov esi, 0x10
jmp 0x14013d636
movzx ecx, word [rbx + 2]
call fcn.14013d900
cmp eax, 0x78
je 0x14013d89c
add rbx, 2
mov esi, 8
jmp 0x14013d6ea
add rbx, 4
mov esi, 0x10
jmp 0x14013d6ea
Function at 0x1401f4b40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1401f4c60
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x1401f4ba0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x1401f4ba0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1401f4ba0
Function at 0x1401f8720
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xc8]
mov rbx, rcx
mov rdi, rdx
mov r12, r9
test r8, r8
je 0x1401f87a3
lea r13, [rcx + r8]
mov ecx, dword [rsp + 0xc0]
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
test ecx, ecx
jne 0x1401f87b0
mov qword [rsp + 0x20], rax
mov r8, r12
mov rcx, rsi
add rbx, 1
mov qword [rsp + 0x28], rdx
mov rdx, rsi
add rdi, 1
call rbp
movzx eax, byte [rbx - 1]
movzx edx, byte [rsi]
xor edx, eax
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x21]
mov byte [rdi - 1], dl
mov rdx, qword [rsp + 0x29]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
cmp r13, rbx
jne 0x1401f8760
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov qword [rsp + 0x20], rax
mov r8, r12
mov rcx, rsi
add rbx, 1
mov qword [rsp + 0x28], rdx
mov rdx, rsi
add rdi, 1
call rbp
movzx eax, byte [rbx - 1]
xor al, byte [rsi]
mov byte [rdi - 1], al
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x21]
mov rdx, qword [rsp + 0x29]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
cmp rbx, r13
jne 0x1401f87b0
jmp 0x1401f87a3
Function at 0x1401f9620
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x1403dc360]
mov eax, dword [rax + 4]
mov r12, rcx
mov r13, rdx
mov rdi, r8
mov rsi, r9
test al, 2
jne 0x1401f9688
xor ebx, ebx
xor ebp, ebp
test r9, r9
je 0x1401f9674
movdqu xmm0, xmmword [rdi + rbx]
movdqu xmm1, xmmword [r12]
add rbx, 0x10
mov rdx, r13
mov rcx, r12
pxor xmm0, xmm1
movups xmmword [r12], xmm0
call rbp
cmp rsi, rbx
ja 0x1401f964f
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
shr eax, 0x16
lea rdx, [0x1401fc660]
and eax, 0x41
cmp eax, 0x41
lea rax, [0x1401fcf20]
cmovne rax, rdx
mov rdx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp rax
Function at 0x1401fb490
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 [rcx + 0x30]
lea rdi, [rax*8]
mov rax, qword [rcx + 0x38]
mov rbx, rcx
mov r12, rdx
lea r13, [rcx + 0x190]
mov rbp, r8
lea rsi, [rax*8]
mov eax, dword [rcx + 0x178]
lea r15, [rcx + 0x60]
lea r14, [rcx + 0x40]
test eax, eax
jne 0x1401fb580
mov eax, dword [rcx + 0x17c]
test eax, eax
jne 0x1401fb560
mov rcx, r13
mov r9d, 0x10
mov rdx, rdi
mov rax, rsi
mov r8, r13
bswap rdx
bswap rax
mov qword [rcx], rdx
mov rdx, r15
mov qword [rcx + 8], rax
mov rcx, r14
call qword [rbx + 0x168]
movdqu xmm0, xmmword [rbx + 0x40]
movdqu xmm1, xmmword [rbx + 0x20]
pxor xmm0, xmm1
movups xmmword [rbx + 0x40], xmm0
test r12, r12
je 0x1401fb5e8
cmp rbp, 0x10
ja 0x1401fb5e8
mov r8, rbp
mov rdx, r12
mov rcx, r14
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.140018c20
mov rcx, r14
mov rdx, r15
call qword [rbx + 0x170]
mov rcx, r13
mov r9d, 0x10
jmp 0x1401fb4f1
lea r9d, [rax + 0xf]
mov ecx, eax
xor edx, edx
and r9d, 0xfffffff0
add rcx, r13
mov r8d, r9d
mov dword [rsp + 0x2c], r9d
sub r8d, eax
call sub.msvcrt.dll_memset
mov r9d, dword [rsp + 0x2c]
cmp r9d, 0x30
je 0x1401fb5c0
mov ecx, r9d
add r9d, 0x10
add rcx, r13
jmp 0x1401fb4f1
mov r9d, 0x30
mov rcx, r14
mov r8, r13
mov rdx, r15
call qword [rbx + 0x168]
mov rcx, r13
mov r9d, 0x10
jmp 0x1401fb4f1
mov eax, 0xffffffff
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret