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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov rbp, qword [rdx + 0x10]
cmp rbp, 0x40
mov r12, rdx
mov edx, 0x40
mov rsi, rcx
mov rbx, r8
cmovbe rdx, rbp
xor eax, eax
cmp r8, rdx
jbe 0x6f3f80
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x20]
xor r13d, r13d
mov r9, rax
neg r9
and r9d, 0x3f
add r9, rax
lea rax, [r8 + 0x100]
cmp rbp, rax
jbe 0x6f3fae
mov rax, rbp
sub rax, r8
lea r13, [rax - 0x100]
mov rcx, r9
mov r8, rbx
xor edx, edx
mov rdi, qword [r12 + 8]
call sub.msvcrt.dll_memset
mov r9, rax
cmp rbp, r13
jbe 0x6f40c0
mov r14, qword [r12 + 0x20]
mov r11, rbp
mov rcx, r13
mov rbp, rdi
sub rcx, rdi
sub r11, rdi
xor eax, eax
xor edx, edx
add r14, rdi
xor r8d, r8d
sub rbp, rbx
mov r12, r14
lea r14, [rdi + rcx]
mov r13, rbp
mov r15, rdi
xor r13, r14
xor r15, rcx
mov r10, r13
sub r13, 1
not r10
and r13, r10
mov r10, r13
mov r13, rdi
xor r13, r14
sar r10, 0x3f
or r13, r15
or r8, r10
and r10, rdx
xor r13, r14
or rax, r10
lea r10, [rdx + 1]
sar r13, 0x3f
and r8, r13
movzx r13d, byte [r12 + rcx]
add rcx, 1
and r13d, r8d
or byte [r9 + rdx], r13b
mov rdx, r10
mov r13, rbx
sub rdx, rbx
xor r13, r10
xor rdx, rbx
or rdx, r13
xor rdx, r10
sar rdx, 0x3f
and rdx, r10
cmp r11, rcx
jne 0x6f3ff0
lea r8, [rsi + rbx]
test rbx, rbx
je 0x6f40ae
nop
mov rdx, rax
mov rcx, rbx
add rsi, 1
xor rdx, 0x20
add rdx, r9
movzx edx, byte [rdx]
lea rdx, [rax + 1]
movzx eax, byte [r9 + rax]
xor rcx, rdx
mov byte [rsi - 1], al
mov rax, rdx
sub rax, rbx
xor rax, rbx
or rax, rcx
xor rax, rdx
sar rax, 0x3f
and rax, rdx
cmp r8, rsi
jne 0x6f4070
mov eax, 1
jmp 0x6f3f64
xor eax, eax
jmp 0x6f4065
Function at 0x7217d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov eax, edx
mov rbx, rcx
xor ecx, ecx
mov rsi, r8
rol ax, 8
mov word [rsp + 0x3c], cx
lea rdx, [rsp + 0x38]
mov word [rsp + 0x3e], ax
mov rax, qword [rbx + 0xb0]
mov dword [rsp + 0x38], 0
mov rcx, qword [rax + 0x120]
call fcn.00737e20
test rax, rax
je 0x721983
mov dword [rsi], 1
mov rsi, qword [rax + 8]
lea rbp, [rbx + 0x808]
mov rax, qword [rbx + 0x88]
cmp dword [rsi + 0x28], 1
mov r8, qword [rsi + 8]
sbb rdi, rdi
mov rdx, qword [rsi + 0x58]
mov rcx, qword [rax + 8]
and edi, 0xb
add rdi, 1
add r8, rdi
call sub.msvcrt.dll_memcpy
mov rdx, qword [rsi + 8]
mov rax, qword [rbx + 0xb0]
movzx r8d, word [rsi + 0x10]
mov rcx, qword [rsi + 0x20]
add rdi, rdx
mov qword [rbx + 0x98], rdi
movzx r9d, byte [rsi]
mov qword [rax + 0x140], rdx
mov byte [rax + 0x138], r9b
mov rdx, qword [rbx + 0x16b8]
mov word [rax + 0x148], r8w
mov r15, qword [rbx + 0x460]
movzx edi, word [rdx + 2]
mov qword [rax + 0x158], rcx
mov rcx, rbp
mov qword [rax + 0x150], 0
mov r14, qword [rbx + 0x478]
mov r13, qword [rbx + 0x450]
mov r12, qword [rbx + 0x500]
mov dword [rax + 0x200], 1
mov rax, qword [rsi + 0x30]
movzx edx, word [rsi + 0x50]
mov qword [rbx + 0x460], rax
mov rax, qword [rsi + 0x38]
mov qword [rbx + 0x478], rax
mov rax, qword [rsi + 0x40]
mov qword [rbx + 0x450], rax
mov rax, qword [rsi + 0x48]
mov qword [rbx + 0x500], rax
call fcn.006ed760
cmp dword [rsi + 0x28], 1
mov rcx, rbx
sbb edx, edx
and edx, 2
add edx, 0x14
call fcn.007205f0
mov qword [rbx + 0x460], r15
movzx edx, di
mov rcx, rbp
mov qword [rbx + 0x478], r14
mov esi, eax
mov qword [rbx + 0x450], r13
mov qword [rbx + 0x500], r12
call fcn.006ed760
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rbx + 0xb0]
mov edx, 0xb
mov dword [rax + 0x200], 0
call fcn.0074e7d0
mov eax, esi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.ssl_statem_statem_dtls.c
mov r9d, 0x44
mov edx, 0x50
mov dword [rsp + 0x28], 0x45b
mov qword [rsp + 0x20], rax
mov r8d, 0x186
mov rcx, rbx
call fcn.00718fe0
mov dword [rsi], 0
xor esi, esi
jmp 0x721970

Function at 0x746f80
Capabilities:
Get thread local storage value

Disassembly:
lea rcx, [0x010a67b4]
jmp fcn.007f6280
Function at 0x747df0
Capabilities:
Resolve dns

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x478
xor eax, eax
mov rbp, rcx
lea rdi, [rsp + 0x70]
mov ecx, 0x7e
test edx, edx
rep stosq qword [rdi], rax
mov r10d, edx
mov eax, 0xa
mov edx, 0x10
cmovne r10d, eax
lea r13, [rsp + 0x60]
mov rbx, r8
mov rsi, r9
cmp word [rbp], 2
mov r8, r13
mov rcx, rbp
mov qword [rsp + 0x60], 0
mov eax, 0x1c
lea r12, [rsp + 0x40]
mov qword [rsp + 0x68], 0
mov r9d, 0x401
mov qword [rsp + 0x40], 0
cmovne edx, eax
mov qword [rsp + 0x48], 0
mov byte [rdi], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], r12
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov edi, eax
test eax, eax
jne 0x747fe4
cmp byte [rsp + 0x40], 0
jne 0x747ee7
movzx eax, word [rbp]
cmp ax, 2
je 0x748043
xor ecx, ecx
cmp ax, 0x17
je 0x748043
call qword [sym.imp.WS2_32.dll_ntohs]
lea r8, [0x00d26fd4]
mov edx, 0x20
mov rcx, r12
movzx r9d, ax
call fcn.0074af70
test rbx, rbx
je 0x747f30
mov r8d, 0xe9
lea rdx, str.crypto_bio_b_addr.c
mov rcx, r13
call fcn.007ae220
mov qword [rbx], rax
test rsi, rsi
jne 0x747f94
cmp qword [rbx], 0
je 0x748023
mov edi, 1
mov eax, edi
add rsp, 0x478
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test rsi, rsi
je 0x747f17
mov r8d, 0xeb
lea rdx, str.crypto_bio_b_addr.c
mov rcx, r12
call fcn.007ae220
mov qword [rsi], rax
test rax, rax
jne 0x747f17
mov r8d, 0xfe
lea rdx, str.crypto_bio_b_addr.c
mov rcx, rax
call fcn.007a1c00
mov qword [rsi], 0
mov r8d, 0x41
mov edx, 0x86
mov ecx, 0x20
mov dword [rsp + 0x20], 0x101
lea r9, str.crypto_bio_b_addr.c
call fcn.00780b20
jmp 0x747f1c
mov r8d, 0xeb
lea rdx, str.crypto_bio_b_addr.c
mov rcx, r12
call fcn.007ae220
mov qword [rsi], rax
cmp qword [rbx], 0
je 0x748050
cmp qword [rsi], 0
jne 0x747f17
mov rcx, qword [rbx]
mov r8d, 0xfa
lea rdx, str.crypto_bio_b_addr.c
call fcn.007a1c00
mov qword [rbx], 0
mov rax, qword [rsi]
jmp 0x747f52
mov r8d, 2
mov edx, 0x86
mov ecx, 0x20
mov dword [rsp + 0x20], 0xd7
lea r9, str.crypto_bio_b_addr.c
call fcn.00780b20
mov ecx, edi
xor edi, edi
call fcn.008f5630
mov ecx, 1
mov rdx, rax
call fcn.00782930
jmp 0x747f1c
mov r8d, 0xfa
lea rdx, str.crypto_bio_b_addr.c
xor ecx, ecx
call fcn.007a1c00
mov qword [rbx], 0
jmp 0x747f6e
movzx ecx, word [rbp + 2]
jmp 0x747ec9
mov r8d, 0xfa
lea rdx, str.crypto_bio_b_addr.c
xor ecx, ecx
call fcn.007a1c00
mov qword [rbx], 0
mov rax, qword [rsi]
jmp 0x747f52
Function at 0x7487d0
Capabilities:
Resolve dns

Disassembly:
push rsi
push rbx
sub rsp, 0x68
mov rsi, rcx
cmp r9d, 0x17
ja 0x7487f1
mov eax, 1
mov ecx, r9d
shl rax, cl
test eax, 0x800005
jne 0x748820
mov dword [rsp + 0x20], 0x293
lea r9, str.crypto_bio_b_addr.c
mov r8d, 0x83
xor ebx, ebx
mov edx, 0x8f
mov ecx, 0x20
call fcn.00780b20
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
ret
mov dword [rsp + 0x98], r9d
mov dword [rsp + 0x90], r8d
mov qword [rsp + 0x88], rdx
call fcn.0074b420
mov rdx, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x90]
cmp eax, 1
mov ebx, eax
mov r9d, dword [rsp + 0x98]
je 0x748870
xor ebx, ebx
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
ret
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0xa0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], eax
mov eax, 1
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x34], r9d
test r9d, r9d
jne 0x7488cd
mov dword [rsp + 0x30], 0x400
mov eax, 0x401
cmp r8d, 1
je 0x748932
mov rcx, rsi
mov r9, qword [rsp + 0xa8]
lea r8, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test eax, eax
je 0x748817
mov dword [rsp + 0x20], 0x2c6
lea r9, str.crypto_bio_b_addr.c
mov r8d, 2
xor ebx, ebx
mov edx, 0x8f
mov ecx, 0x20
call fcn.00780b20
mov ecx, esi
call fcn.008f5630
mov ecx, 1
mov rdx, rax
call fcn.00782930
jmp 0x748817
mov dword [rsp + 0x30], eax
jmp 0x7488d3

Function at 0x74b420
Capabilities:
Initialize winsock library

Disassembly:
push rdi
sub rsp, 0x30
mov eax, dword [0x010a6958]
test eax, eax
je 0x74b440
mov eax, 1
add rsp, 0x30
pop rdi
ret
lea rdx, [0x010a67c0]
xor eax, eax
mov ecx, 0x33
mov dword [0x010a6958], 1
mov rdi, rdx
rep stosq qword [rdi], rax
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x74b42f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 9
mov ecx, 2
mov dword [rsp + 0x20], 0x87
mov r8d, eax
lea r9, [0x00d28190]
call fcn.00780b20
mov r8d, 0x7a
mov edx, 0x70
mov dword [rsp + 0x20], 0x88
lea r9, [0x00d28190]
mov ecx, 0x20
call fcn.00780b20
mov eax, 0xffffffff
jmp 0x74b434

Function at 0x74b950
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x40
mov dword [rsp + 0x3c], edx
movsxd rcx, ecx
lea r8, [rsp + 0x3c]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
test eax, eax
js 0x74b980
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x40
pop rbx
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 5
mov ecx, 2
mov dword [rsp + 0x20], 0xc3
mov r8d, eax
lea r9, [0x00d28190]
call fcn.00780b20
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x40
pop rbx
ret
Function at 0x74ff20
Capabilities:
Check if file exists

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rbp, rcx
call fcn.007adff0
mov edx, 0x62
mov rcx, rsi
mov rdi, rax
call sub.msvcrt.dll_strchr
cmp rax, 1
sbb ebx, ebx
and ebx, 0x10
add ebx, 1
test rdi, rdi
je 0x74ff95
lea rcx, [0x00d28f00]
call fcn.0074d0b0
mov rsi, rax
test rax, rax
je 0x750030
xor edx, edx
mov rcx, rax
call fcn.0074d4a0
mov r9, rdi
mov r8d, ebx
mov edx, 0x6a
mov rcx, rsi
call fcn.0074e7d0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, 1
mov ecx, 2
mov dword [rsp + 0x20], 0x48
mov r8d, eax
lea r9, str.crypto_bio_bss_file.c
call fcn.00780b20
lea rax, [0x00d28ed2]
mov qword [rsp + 0x20], rsi
mov r8, rbp
mov qword [rsp + 0x28], rax
lea r9, [0x00d28ec6]
mov ecx, 5
lea rdx, str.fopen_
call fcn.00782930
mov rbx, qword [sym.imp.msvcrt.dll__errno]
call rbx
cmp dword [rax], 2
je 0x74fffd
call rbx
cmp dword [rax], 6
jne 0x750040
mov dword [rsp + 0x20], 0x4f
lea r9, str.crypto_bio_bss_file.c
mov r8d, pe_nt_image_headers64
xor esi, esi
mov edx, 0x6d
mov ecx, 0x20
call fcn.00780b20
jmp 0x74ff89
mov rcx, rdi
call sub.msvcrt.dll_fclose
jmp 0x74ff89
mov dword [rsp + 0x20], 0x51
lea r9, str.crypto_bio_bss_file.c
mov r8d, 2
xor esi, esi
mov edx, 0x6d
mov ecx, 0x20
call fcn.00780b20
jmp 0x74ff89
Function at 0x752820
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x10
cmp rdx, r8
je 0x752943
mov r11, rcx
sub rcx, 1
mov eax, dword [r8 + 8]
not r11
and r11, rcx
mov ecx, dword [rdx + 8]
shr r11, 0x3f
xor eax, ecx
sub r11, 1
cdqe
and rax, r11
xor ecx, eax
mov dword [rdx + 8], ecx
mov ecx, dword [rdx + 0x10]
xor dword [r8 + 8], eax
mov eax, dword [r8 + 0x10]
xor eax, ecx
cdqe
and rax, r11
xor ecx, eax
mov dword [rdx + 0x10], ecx
mov ecx, dword [rdx + 0x14]
xor dword [r8 + 0x10], eax
mov eax, dword [r8 + 0x14]
xor eax, ecx
and rax, r11
and eax, 4
xor ecx, eax
mov dword [rdx + 0x14], ecx
xor dword [r8 + 0x14], eax
test r9d, r9d
jle 0x752943
mov rbx, qword [r8]
mov r10, qword [rdx]
lea eax, [r9 - 1]
lea rdx, [rbx + 0x10]
cmp r10, rdx
lea rdx, [r10 + 0x10]
setae cl
cmp rbx, rdx
setae dl
or cl, dl
je 0x752950
cmp eax, 1
jbe 0x752950
mov eax, r9d
mov qword [rsp + 8], r11
mov rcx, r10
mov rdx, rbx
movq xmm2, qword [rsp + 8]
shr eax, 1
shl rax, 4
punpcklqdq xmm2, xmm2
add rax, r10
movdqu xmm3, xmmword [rcx]
movdqu xmm0, xmmword [rdx]
add rcx, 0x10
add rdx, 0x10
pxor xmm0, xmm3
movdqa xmm1, xmm3
pand xmm0, xmm2
pxor xmm1, xmm0
movups xmmword [rcx - 0x10], xmm1
movdqu xmm4, xmmword [rdx - 0x10]
pxor xmm0, xmm4
movups xmmword [rdx - 0x10], xmm0
cmp rcx, rax
jne 0x7528e2
mov eax, r9d
and eax, 0xfffffffe
cmp r9d, eax
je 0x752943
shl rax, 3
lea r8, [r10 + rax]
add rax, rbx
mov rcx, qword [r8]
mov rdx, qword [rax]
xor rdx, rcx
and rdx, r11
xor rcx, rdx
mov qword [r8], rcx
xor qword [rax], rdx
add rsp, 0x10
pop rbx
ret
mov r8d, eax
xor ecx, ecx
jmp 0x752963
mov rcx, rax
mov rdx, qword [r10 + rcx*8]
mov rax, qword [rbx + rcx*8]
xor rax, rdx
and rax, r11
xor rdx, rax
mov qword [r10 + rcx*8], rdx
xor qword [rbx + rcx*8], rax
lea rax, [rcx + 1]
cmp r8, rcx
jne 0x752960
add rsp, 0x10
pop rbx
ret
Function at 0x79bc90
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.007f6e90
test eax, eax
jne 0x79bcb0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sub.msvcrt.dll_getenv
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x7a17c0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
je 0x7a1820
movsx ecx, byte [rcx]
xor eax, eax
test cl, cl
je 0x7a1810
mov edi, 0x100
xor ebx, ebx
nop
call fcn.0075f830
add rsi, 1
or eax, edi
add edi, 0x100
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol ebx, cl
movsx ecx, byte [rsi]
xor ebx, eax
test cl, cl
jne 0x7a17e0
mov eax, ebx
shr eax, 0x10
xor eax, ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x7a2940
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 0x7a2a60
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 0x7a29a0
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 0x7a29a0
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 0x7a29a0
Function at 0x7a5e00
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 r12, qword [rsp + 0xc8]
mov rbp, r9
test r8, r8
je 0x7a5e84
mov eax, dword [rsp + 0xc0]
mov r9, qword [rsi]
mov rbx, rcx
mov rdi, rdx
mov r10, qword [rsi + 8]
lea r13, [rcx + r8]
test eax, eax
jne 0x7a5e91
mov qword [rsp + 0x20], r9
mov rdx, rsi
mov r8, rbp
mov rcx, rsi
mov qword [rsp + 0x28], r10
add rbx, 1
add rdi, 1
call r12
movzx eax, byte [rbx - 1]
movzx edx, byte [rsi]
mov r9, qword [rsp + 0x21]
mov byte [rsp + 0x30], al
mov r10, qword [rsp + 0x29]
xor edx, eax
mov byte [rdi - 1], dl
mov qword [rsi], r9
mov qword [rsi + 8], r10
cmp r13, rbx
jne 0x7a5e40
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov qword [rsp + 0x20], r9
mov r8, rbp
mov rdx, rsi
mov rcx, rsi
mov qword [rsp + 0x28], r10
add rbx, 1
add rdi, 1
call r12
movzx eax, byte [rbx - 1]
xor al, byte [rsi]
mov byte [rsp + 0x30], al
mov r9, qword [rsp + 0x21]
mov r10, qword [rsp + 0x29]
mov byte [rdi - 1], al
mov qword [rsi], r9
mov qword [rsi + 8], r10
cmp r13, rbx
jne 0x7a5e91
jmp 0x7a5e84
Function at 0x7aacc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, qword [rcx + 0x28]
mov rax, qword [rcx + 0x58]
mov rbx, rcx
mov rsi, rdx
cmp rdi, rdx
jae 0x7aaeaf
mov rcx, qword [rcx + 0x30]
cmp rcx, rdx
jbe 0x7aae76
lea r11, [rdi + 1]
mov r10, r11
shl r10, 4
jmp 0x7aad08
mov rax, qword [rbx + 0x58]
add r11, 1
lea rdx, [rax + r10]
lea rax, [rax + r10 - 0x10]
movzx r9d, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
movzx ecx, byte [rax]
lea ebp, [r8 + r8]
lea edi, [r9 + r9]
sar r9d, 7
sar r8d, 7
or r9d, ebp
sar cl, 7
mov byte [rdx + 0xe], r9b
movzx r9d, byte [rax + 0xd]
and ecx, 0xffffff87
lea ebp, [r9 + r9]
sar r9d, 7
or r8d, ebp
mov byte [rdx + 0xd], r8b
movzx r8d, byte [rax + 0xc]
lea ebp, [r8 + r8]
sar r8d, 7
or r9d, ebp
mov byte [rdx + 0xc], r9b
movzx r9d, byte [rax + 0xb]
lea ebp, [r9 + r9]
sar r9d, 7
or r8d, ebp
mov byte [rdx + 0xb], r8b
movzx r8d, byte [rax + 0xa]
lea ebp, [r8 + r8]
sar r8d, 7
or r9d, ebp
mov byte [rdx + 0xa], r9b
movzx r9d, byte [rax + 9]
lea ebp, [r9 + r9]
sar r9d, 7
or r8d, ebp
mov byte [rdx + 9], r8b
movzx r8d, byte [rax + 8]
lea ebp, [r8 + r8]
sar r8d, 7
or r9d, ebp
mov byte [rdx + 8], r9b
movzx r9d, byte [rax + 7]
lea ebp, [r9 + r9]
sar r9d, 7
or r8d, ebp
mov byte [rdx + 7], r8b
movzx r8d, byte [rax + 6]
lea ebp, [r8 + r8]
sar r8d, 7
or r9d, ebp
mov byte [rdx + 6], r9b
movzx r9d, byte [rax + 5]
lea ebp, [r9 + r9]
sar r9d, 7
or r8d, ebp
mov byte [rdx + 5], r8b
movzx r8d, byte [rax + 4]
lea ebp, [r8 + r8]
sar r8d, 7
or r9d, ebp
mov byte [rdx + 4], r9b
movzx r9d, byte [rax + 3]
lea ebp, [r9 + r9]
sar r9d, 7
or r8d, ebp
mov byte [rdx + 3], r8b
movzx r8d, byte [rax + 2]
lea ebp, [r8 + r8]
sar r8d, 7
or r9d, ebp
mov byte [rdx + 2], r9b
movzx r9d, byte [rax + 1]
lea ebp, [r9 + r9]
sar r9d, 7
or r8d, ebp
mov byte [rdx + 1], r8b
movzx r8d, byte [rax]
lea eax, [r8 + r8]
or eax, r9d
xor ecx, edi
add r10, 0x10
mov byte [rdx], al
mov byte [rdx + 0xf], cl
cmp r11, rsi
jne 0x7aad00
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x28], r11
shl r11, 4
add rax, r11
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, [rdx + 4]
mov r9d, 0x71
lea r8, str.crypto_modes_ocb128.c
sub rdx, rcx
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, rax
mov qword [rbx + 0x30], rdx
shl rdx, 4
call fcn.007a1c80
test rax, rax
je 0x7aae6d
mov qword [rbx + 0x58], rax
jmp 0x7aacec
shl rsi, 4
add rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x7bde00
Capabilities:
Encode data using xor

Disassembly:
sub rdx, r8
sub rcx, r8
mov r10, r9
shr r9, 4
je 0x7bde35
nop
movdqu xmm0, xmmword [rdx + r8]
pxor xmm0, xmmword [r8]
movdqu xmmword [rcx + r8], xmm0
movdqa xmmword [r8], xmm0
lea r8, [r8 + 0x10]
dec r9
jne 0x7bde10
and r10, 0xf
je 0x7bde66
mov r9, 0x10
sub r9, r10
xor eax, eax
mov al, byte [rdx + r8]
xor al, byte [r8]
mov byte [rcx + r8], al
mov byte [r8], al
lea r8, [r8 + 1]
dec r10
jne 0x7bde41
xor eax, eax
mov byte [r8], al
lea r8, [r8 + 1]
dec r9
jne 0x7bde5a
mov rax, r8
repz ret

Function at 0x7bde70
Capabilities:
Encode data using xor

Disassembly:
sub rdx, r8
sub rcx, r8
mov r10, r9
shr r9, 4
je 0x7bdead
nop
movdqu xmm0, xmmword [rdx + r8]
movdqa xmm1, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [rcx + r8], xmm1
movdqa xmmword [r8], xmm0
lea r8, [r8 + 0x10]
dec r9
jne 0x7bde80
pxor xmm1, xmm1
and r10, 0xf
je 0x7bdee4
mov r9, 0x10
sub r9, r10
xor eax, eax
xor r11, r11
mov r11b, byte [rdx + r8]
mov al, byte [r8]
xor al, r11b
mov byte [rcx + r8], al
mov byte [r8], r11b
lea r8, [r8 + 1]
dec r10
jne 0x7bdebc
xor eax, eax
mov byte [r8], al
lea r8, [r8 + 1]
dec r9
jne 0x7bded8
mov rax, r8
repz ret

Function at 0x7c2d30
Capabilities:
Generate random numbers via winapi

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
mov edx, 1
mov rbx, rcx
call fcn.007c2120
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.007c22c0
mov rdi, rax
test rax, rax
je 0x7c2da5
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x7c2e20
xor r8d, r8d
xor esi, esi
mov rcx, rbx
mov rdx, rsi
call fcn.007c2360
mov rcx, rbx
call fcn.007c20d0
test rax, rax
je 0x7c2da5
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
mov edx, 1
mov rcx, rbx
call fcn.007c2120
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.007c22c0
mov rdi, rax
test rax, rax
je 0x7c2e0b
xor edx, edx
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 0x16
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x7c2e60
xor r8d, r8d
xor esi, esi
mov rcx, rbx
mov rdx, rsi
call fcn.007c2360
mov rcx, rbx
call fcn.007c20d0
test rax, rax
jne 0x7c2d9d
mov rcx, rbx
call fcn.007c20d0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
mov r8, rdi
mov edx, esi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x7c2e55
xor r8d, r8d
xor esi, esi
mov qword [rsp + 0x38], r8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r8, qword [rsp + 0x38]
jmp 0x7c2d85
lea r8, [rsi*8]
jmp 0x7c2e39
mov r8, rdi
mov edx, esi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x7c2ea0
lea r8, [rsi*8]
mov qword [rsp + 0x38], r8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r8, qword [rsp + 0x38]
jmp 0x7c2df3
xor r8d, r8d
xor esi, esi
jmp 0x7c2e7c
Function at 0x7d0490
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x60]
cmp eax, r9d
jne 0x7d0576
movzx edx, byte [r8]
lea r9d, [rdx - 0x6a]
cmp r9b, 1
ja 0x7d0576
cmp dl, 0x6b
je 0x7d04e0
lea rdx, [r8 + 1]
lea ebx, [rax - 2]
movsxd rax, ebx
cmp byte [rdx + rax], 0xcc
jne 0x7d05a4
mov r8d, ebx
call sub.msvcrt.dll_memcpy
mov eax, ebx
add rsp, 0x30
pop rbx
ret
lea ebx, [rax - 3]
test ebx, ebx
jle 0x7d05d2
movzx edx, byte [r8 + 1]
lea r9, [r8 + 2]
cmp dl, 0xba
je 0x7d05d2
cmp dl, 0xbb
jne 0x7d0540
sub eax, 4
lea rdx, [r8 + rax + 2]
mov eax, 1
sub eax, r9d
jmp 0x7d0529
add r9, 1
movzx r8d, byte [r9 - 1]
cmp r8b, 0xba
je 0x7d0571
cmp r8b, 0xbb
jne 0x7d0540
lea r10d, [rax + r9]
cmp r9, rdx
jne 0x7d0514
sub ebx, r10d
jmp 0x7d04c0
mov dword [rsp + 0x20], 0x48
mov r8d, 0x8a
mov edx, pe_nt_image_headers64
mov ecx, 4
mov ebx, 0xffffffff
lea r9, str.crypto_rsa_rsa_x931.c
call fcn.00780b20
mov eax, ebx
add rsp, 0x30
pop rbx
ret
mov rdx, r9
jmp 0x7d0532
mov r8d, 0x89
mov edx, pe_nt_image_headers64
mov ecx, 4
mov dword [rsp + 0x20], 0x3d
lea r9, str.crypto_rsa_rsa_x931.c
mov ebx, 0xffffffff
call fcn.00780b20
jmp 0x7d04d5
mov r8d, 0x8b
mov edx, pe_nt_image_headers64
mov ecx, 4
mov dword [rsp + 0x20], 0x59
lea r9, str.crypto_rsa_rsa_x931.c
mov ebx, 0xffffffff
call fcn.00780b20
jmp 0x7d04d5
mov dword [rsp + 0x20], 0x50
jmp 0x7d0548

Function at 0x7d2a30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x7d2a50
mov rax, qword [0x00d92da0]
mov qword [rsp + 0x30], rax
jmp fcn.007a31c0
mov rax, qword [0x00d92d90]
mov qword [rsp + 0x30], rax
jmp fcn.007a3400