joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c1a0
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x148
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
mov rbx, rcx
mov qword [rsp + 0x20], 0
mov r13, rdx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call qword [sym.imp.libcurl_4.dll_curl_easy_init]
mov r12, rax
test rax, rax
je 0x40c4e0
mov r8, rbx
mov rbx, qword [sym.imp.libcurl_4.dll_curl_easy_setopt]
mov edx, 0x2712
mov rcx, rax
call rbx
mov r8d, 1
mov edx, 0x4a
mov rcx, r12
call rbx
lea rsi, [rsp + 0x40]
mov r8d, 0xf
mov edx, 0x4e
mov rcx, r12
call rbx
mov r8, rsi
mov edx, 0x271a
mov rcx, r12
call rbx
mov r8d, 1
mov edx, 0x63
mov rcx, r12
call rbx
mov r8d, 1
mov edx, 0x79
mov rcx, r12
call rbx
lea r8, [0x0040a7c0]
mov edx, 0x4e2b
mov rcx, r12
call rbx
lea r8, [rsp + 0x20]
mov edx, 0x2711
mov rcx, r12
call rbx
mov rax, qword [0x0075b0f0]
mov r8, qword [rax]
test r8, r8
je 0x40c470
mov edx, 0x2714
mov rcx, r12
call rbx
mov rax, qword [0x0075b100]
mov edx, 0x65
mov r8d, dword [rax]
mov rcx, r12
call rbx
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_perform]
test eax, eax
jne 0x40c4c0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x40c42b
cmp qword [rsp + 0x28], 0
jne 0x40c460
lea rdx, str.Empty_data_received_for_config
mov ecx, 1
call fcn.0040a9b0
xor r13d, r13d
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_cleanup]
mov rax, r13
add rsp, 0x148
pop rbx
pop rsi
pop r12
pop r13
ret
mov r8, r13
xor edx, edx
call fcn.006b9e50
mov r13, rax
jmp 0x40c43f
lea rcx, str.http_proxy
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c408
lea rcx, str.all_proxy
call sub.msvcrt.dll_getenv
lea rcx, str.all_proxy
test rax, rax
je 0x40c500
call sub.msvcrt.dll_getenv
mov r8, rax
mov rcx, r12
mov edx, 0x2714
call rbx
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_perform]
test eax, eax
je 0x40c419
nop dword [rax]
mov r8, rsi
lea rdx, str.Remote_config_read_failed:__s
mov ecx, 1
call fcn.0040a9b0
xor r13d, r13d
jmp 0x40c43f
lea rdx, str.Remote_config_init_failed_
mov ecx, 1
call fcn.0040a9b0
xor r13d, r13d
jmp 0x40c448
lea rcx, str.ALL_PROXY
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c520
lea rcx, str.ALL_PROXY
jmp 0x40c499
lea r8, [0x006f8be3]
mov edx, 0x2714
mov rcx, r12
call rbx
jmp 0x40c408
Function at 0x40dc30
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x258
xor r9d, r9d
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x38], edx
inc ecx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x3c], 0
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
setg al
add rsp, 0x258
ret
mov rax, qword [rcx + 0x128]
cmp byte [rax], 0
je 0x40dc48
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a890
Function at 0x416940
Capabilities:
Hash data using sha512

Disassembly:
sub rsp, 0x68
test rcx, rcx
je 0x416ac4
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x416a90
xor eax, eax
mov word [rsp + 0x3e], ax
lea rax, [rcx + 0x48]
and rax, 0xfffffffffffffff8
mov r8d, ecx
mov byte [rsp + 0x20], dl
mov qword [rsp + 0x21], 0x10100
mov qword [rsp + 0x29], 0
mov byte [rsp + 0x31], 0
mov qword [rsp + 0x32], 0
mov dword [rsp + 0x3a], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
sub r8d, eax
mov qword [rcx + 0x40], 0
mov qword [rcx + 0xd0], 0
mov qword [rcx + 0xd8], 0
mov qword [rcx + 0xe0], 0
mov qword [rcx + 0xe8], 0
lea r11d, [r8 + 0xf0]
xor r10d, r10d
and r11d, 0xffffffe0
xor r9d, r9d
mov r8d, r9d
add r9d, 0x20
mov qword [rax + r8], r10
mov qword [rax + r8 + 8], r10
mov qword [rax + r8 + 0x10], r10
mov qword [rax + r8 + 0x18], r10
cmp r9d, r11d
jb 0x416a05
vmovdqu xmm1, xmmword [0x006fb6b0]
vmovdqu xmm3, xmmword [0x006fb680]
vmovdqu xmm4, xmmword [0x006fb690]
vmovdqu xmm5, xmmword [0x006fb6a0]
vmovups xmmword [rcx + 0x30], xmm1
vmovdqu64 ymm1, ymmword [rsp + 0x20]
vmovups xmmword [rcx], xmm3
vmovups xmmword [rcx + 0x10], xmm4
vmovups xmmword [rcx + 0x20], xmm5
vpxor ymm0, ymm1, ymmword [rcx]
vmovdqu64 ymm2, ymmword [rcx + 0x20]
vmovdqu64 ymmword [rcx], ymm0
vpxor ymm0, ymm2, ymmword [rsp + 0x40]
xor eax, eax
mov dword [rcx + 0xe4], edx
vmovdqu64 ymmword [rcx + 0x20], ymm0
vzeroupper
add rsp, 0x68
ret
mov edx, 0xf0
mov qword [rsp + 0x70], rcx
call fcn.004190e0
mov rcx, qword [rsp + 0x70]
cmp byte [rcx + 0xe8], 0
je 0x416ab5
mov qword [rcx + 0x58], 0xffffffffffffffff
mov qword [rcx + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x416a88
mov eax, 0xffffffff
jmp 0x416a88
Function at 0x416ad0
Capabilities:
Hash data using sha512

Disassembly:
push r13
push r12
sub rsp, 0xe8
mov r11, r8
mov r12, rcx
mov r8, r9
test rcx, rcx
je 0x416ce1
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x416cb0
lea rax, [r9 - 1]
cmp rax, 0x3f
ja 0x416cb0
test r11, r11
je 0x416cb0
xor eax, eax
mov word [rsp + 0x3e], ax
lea rax, [rcx + 0x48]
and rax, 0xfffffffffffffff8
mov byte [rsp + 0x21], r9b
mov byte [rsp + 0x20], dl
mov qword [rsp + 0x22], 0x101
mov qword [rsp + 0x2a], 0
mov qword [rsp + 0x32], 0
mov dword [rsp + 0x3a], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rcx + 0x40], 0
mov qword [rcx + 0xd0], 0
mov qword [rcx + 0xd8], 0
mov qword [rcx + 0xe0], 0
mov qword [rcx + 0xe8], 0
sub ecx, eax
lea r13d, [rcx + 0xf0]
xor r10d, r10d
and r13d, 0xffffffe0
xor r9d, r9d
mov ecx, r9d
add r9d, 0x20
mov qword [rax + rcx], r10
mov qword [rax + rcx + 8], r10
mov qword [rax + rcx + 0x10], r10
mov qword [rax + rcx + 0x18], r10
cmp r9d, r13d
jb 0x416bb8
vmovdqu xmm1, xmmword [0x006fb6b0]
vmovdqu xmm3, xmmword [0x006fb680]
vmovdqu xmm4, xmmword [0x006fb690]
vmovdqu xmm5, xmmword [0x006fb6a0]
vmovups xmmword [r12 + 0x30], xmm1
vmovdqu64 ymm1, ymmword [rsp + 0x20]
vmovups xmmword [r12], xmm3
vmovups xmmword [r12 + 0x10], xmm4
vmovups xmmword [r12 + 0x20], xmm5
vpxor ymm0, ymm1, ymmword [r12]
vmovdqu64 ymm2, ymmword [r12 + 0x20]
vmovdqu64 ymmword [r12], ymm0
mov dword [r12 + 0xe4], edx
vpxor ymm0, ymm2, ymmword [rsp + 0x40]
lea r13, [rsp + 0x60]
vmovdqu64 ymmword [r12 + 0x20], ymm0
xor r9d, r9d
xor ecx, ecx
mov eax, ecx
add ecx, 0x20
mov qword [r13 + rax], r9
mov qword [r13 + rax + 8], r9
mov qword [r13 + rax + 0x10], r9
mov qword [r13 + rax + 0x18], r9
cmp ecx, 0x80
jb 0x416c4f
mov rdx, r11
mov rcx, r13
vzeroupper
call sub.msvcrt.dll_memcpy
mov r8d, pe_nt_image_headers64
mov rdx, r13
mov rcx, r12
call fcn.004165c0
mov edx, pe_nt_image_headers64
mov rcx, r13
call fcn.004190e0
xor eax, eax
add rsp, 0xe8
pop r12
pop r13
ret
mov edx, 0xf0
mov rcx, r12
call fcn.004190e0
cmp byte [r12 + 0xe8], 0
je 0x416cd1
mov qword [r12 + 0x58], 0xffffffffffffffff
mov qword [r12 + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x416c9e
mov eax, 0xffffffff
jmp 0x416c9e

Function at 0x41b370
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov r9, r8
test rcx, rcx
je 0x41b3c0
test rdx, rdx
je 0x41b3c0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r8, rdx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
sete al
movzx eax, al
neg eax
add rsp, 0x30
pop rbx
ret
mov eax, 0xffffffff
jmp 0x41b3b1
Function at 0x44abb0
Capabilities:
Hash data using sha512

Disassembly:
push r13
push r12
sub rsp, 0x28
vmovdqu xmm0, xmmword [0x006fc6c0]
vmovdqu xmm1, xmmword [0x006fc6d0]
vmovdqu xmm2, xmmword [0x006fc6e0]
vmovdqu xmm3, xmmword [0x006fc6f0]
mov qword [rcx + 0xc8], 0
mov qword [rcx + 0xc0], 0
mov qword [rcx + 0xd0], 0
mov r12, rcx
mov r13, rdx
vmovups xmmword [rcx + 0x80], xmm0
mov rdx, r8
vmovups xmmword [rcx + 0x90], xmm1
vmovups xmmword [rcx + 0xa0], xmm2
vmovups xmmword [rcx + 0xb0], xmm3
mov r8, r9
call fcn.0044a810
mov rdx, r13
mov rcx, r12
add rsp, 0x28
pop r12
pop r13
jmp fcn.0044a920
Function at 0x455cd0
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
vpbroadcastq zmm0, rax
movabs rax, 0xbb67ae8584caa73b
vmovdqu64 zmmword [rcx + 0x400], zmm0
vpbroadcastq zmm0, rax
movabs rax, 0x3c6ef372fe94f82b
vmovdqu64 zmmword [rcx + 0x440], zmm0
vpbroadcastq zmm0, rax
movabs rax, 0xa54ff53a5f1d36f1
vmovdqu64 zmmword [rcx + 0x480], zmm0
vpbroadcastq zmm0, rax
movabs rax, 0x510e527fade682d1
vmovdqu64 zmmword [rcx + 0x4c0], zmm0
vpbroadcastq zmm0, rax
movabs rax, 0x9b05688c2b3e6c1f
vmovdqu64 zmmword [rcx + 0x500], zmm0
vpbroadcastq zmm0, rax
movabs rax, 0x1f83d9abfb41bd6b
vmovdqu64 zmmword [rcx + 0x540], zmm0
vpbroadcastq zmm0, rax
movabs rax, 0x5be0cd19137e2179
vmovdqu64 zmmword [rcx + 0x580], zmm0
vpbroadcastq zmm0, rax
mov qword [rcx + 0x710], 0
mov qword [rcx + 0x708], 0
mov qword [rcx + 0x700], 0
vmovdqu64 zmmword [rcx + 0x5c0], zmm0
vzeroupper
ret
Function at 0x466780
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0x28
lea eax, [rdx - 1]
cmp al, 0x1f
ja 0x466858
mov eax, 0x101
mov word [rsp + 2], ax
lea rax, [rcx + 0x28]
mov byte [rsp], dl
and rax, 0xfffffffffffffff8
mov edx, ecx
sub edx, eax
mov byte [rsp + 1], 0
mov dword [rsp + 4], 0
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rcx + 0x20], 0
mov qword [rcx + 0xa0], 0
mov qword [rcx + 0xa8], 0
mov qword [rcx + 0xb0], 0
mov qword [rcx + 0xb8], 0
lea r10d, [rdx + 0xc0]
xor r9d, r9d
and r10d, 0xffffffe0
xor r8d, r8d
mov edx, r8d
add r8d, 0x20
mov qword [rax + rdx], r9
mov qword [rax + rdx + 8], r9
mov qword [rax + rdx + 0x10], r9
mov qword [rax + rdx + 0x18], r9
cmp r8d, r10d
jb 0x466815
vmovdqu32 ymm1, ymmword [rsp]
xor eax, eax
vpxor ymm0, ymm1, ymmword [0x006fcfe0]
vmovdqu64 ymmword [rcx], ymm0
vzeroupper
add rsp, 0x28
ret
mov eax, 0xffffffff
jmp 0x46684e

Function at 0x467480
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rbx
sub rsp, 0x88
lea eax, [rdx - 1]
mov esi, r9d
cmp al, 0x1f
ja 0x467667
lea eax, [r9 - 1]
cmp al, 7
ja 0x467660
test r8, r8
je 0x467660
mov eax, 0x101
mov word [rsp + 0x22], ax
lea rax, [rcx + 0x28]
mov byte [rsp + 0x20], dl
and rax, 0xfffffffffffffff8
mov edx, ecx
sub edx, eax
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rcx + 0x20], 0
mov qword [rcx + 0xa0], 0
mov qword [rcx + 0xa8], 0
mov qword [rcx + 0xb0], 0
mov qword [rcx + 0xb8], 0
lea r11d, [rdx + 0xc0]
mov byte [rsp + 0x21], r9b
xor r10d, r10d
and r11d, 0xffffffe0
xor r9d, r9d
mov edx, r9d
add r9d, 0x20
mov qword [rax + rdx], r10
mov qword [rax + rdx + 8], r10
mov qword [rax + rdx + 0x10], r10
mov qword [rax + rdx + 0x18], r10
cmp r9d, r11d
jb 0x467533
vmovdqu32 ymm1, ymmword [rsp + 0x20]
lea rbx, [rsp + 0x40]
vpxor ymm0, ymm1, ymmword [0x006fcfe0]
movzx edx, sil
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
vmovdqu64 ymmword [rcx], ymm0
mov r9, rbx
mov rax, r8
cmp edx, 8
jae 0x467638
xor r8d, r8d
test dl, 4
je 0x4675d8
mov r8d, dword [rax]
mov dword [r9], r8d
mov r8d, 4
test dl, 2
je 0x4675eb
movzx r10d, word [rax + r8]
mov word [r9 + r8], r10w
add r8, 2
and edx, 1
je 0x4675f9
movzx eax, byte [rax + r8]
mov byte [r9 + r8], al
mov r8d, 0x40
mov rdx, rbx
vzeroupper
call fcn.00467380
mov rax, rbx
nop dword [rax]
mov rdx, rax
lea rsi, [rsp + 0x80]
inc rax
mov byte [rdx], 0
cmp rax, rsi
jne 0x467610
xor eax, eax
add rsp, 0x88
pop rbx
pop rsi
ret
mov r11d, edx
and r11d, 0xfffffff8
xor eax, eax
mov r9d, eax
mov r10, qword [r8 + r9]
add eax, 8
mov qword [rbx + r9], r10
cmp eax, r11d
jb 0x467641
lea r9, [rbx + rax]
add rax, r8
jmp 0x4675c4
mov eax, 0xffffffff
jmp 0x467628
mov eax, 0xffffffff
jmp 0x467628
Function at 0x550030
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0x48
jmp fcn.0054ce00
Function at 0x5b7e10
Capabilities:
Hash data using sha256

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x140
xor r10d, r10d
mov qword [rsp + 0x20], 0x1012020
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov r13, rcx
mov rbx, r8
lea rax, [rsp + 0xa0]
xor ecx, ecx
mov r9d, ecx
add ecx, 0x20
mov qword [rax + r9], r10
mov qword [rax + r9 + 8], r10
mov qword [rax + r9 + 0x10], r10
mov qword [rax + r9 + 0x18], r10
cmp ecx, 0x80
jb 0x5b7e55
vmovdqu xmm4, xmmword [0x0073a0c0]
vmovdqu xmm5, xmmword [0x0073a0d0]
vmovups xmmword [rsp + 0x80], xmm4
vmovups xmmword [rsp + 0x90], xmm5
vmovdqu32 ymm1, ymmword [rsp + 0x80]
lea r8, [rsp + 0x40]
vpxor ymm0, ymm1, ymmword [rsp + 0x20]
lea r12, [rsp + 0x80]
vmovdqu xmm1, xmmword [rdx + 0x10]
vmovdqu32 ymmword [rsp + 0x80], ymm0
vmovdqu xmm0, xmmword [rdx]
add rax, rcx
mov rdx, r8
mov rcx, r12
mov qword [rax], 0
mov qword [rax + 8], 0
mov dword [rax + 0x10], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
vmovups xmmword [rsp + 0x40], xmm0
vmovups xmmword [rsp + 0x50], xmm1
vzeroupper
call fcn.005b79f0
mov rdx, r13
mov rcx, r12
call fcn.005b79f0
mov eax, dword [rsp + 0x130]
lea r13, [rsp + 0xb0]
cmp eax, 0x40
ja 0x5b7fd0
mov esi, pe_nt_image_headers64
sub esi, eax
add dword [rsp + 0xa0], eax
mov ecx, eax
mov eax, esi
add rcx, r13
shr eax, 2
mov dword [rsp + 0xa8], 0xffffffff
je 0x5b7f77
dec eax
lea r8, [rax*4 + 4]
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rax
mov edx, esi
and edx, 3
je 0x5b7f96
mov eax, esi
sub eax, edx
cmp esi, eax
jbe 0x5b7f96
dec edx
lea r8, [rdx + 1]
add rcx, rax
xor edx, edx
call sub.msvcrt.dll_memset
mov rdx, r13
mov rcx, r12
call fcn.005b64a0
vmovdqu xmm2, xmmword [rsp + 0x80]
vmovdqu xmm3, xmmword [rsp + 0x90]
vmovups xmmword [rbx], xmm2
vmovups xmmword [rbx + 0x10], xmm3
add rsp, 0x140
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov rdx, r13
mov rcx, r12
add dword [rsp + 0xa0], 0x40
call fcn.005b64a0
mov edi, dword [rsp + 0x130]
lea esi, [rdi - 0x40]
mov eax, esi
shr eax, 2
mov dword [rsp + 0x130], esi
je 0x5b8015
dec eax
lea rdx, [rsp + 0xf0]
lea r8, [rax*4 + 4]
mov rcx, r13
call sub.msvcrt.dll_memmove
mov edx, esi
and edx, 3
je 0x5b8040
mov eax, esi
sub eax, edx
cmp esi, eax
jbe 0x5b8040
sub edx, esi
lea r8d, [rdi + rdx - 0x41]
lea rcx, [r13 + rax]
lea rdx, [rsp + rax + 0xf0]
inc r8
call sub.msvcrt.dll_memmove
mov eax, dword [rsp + 0x130]
jmp 0x5b7f3e
Function at 0x5bdcb0
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
vpshufd xmm0, xmmword [r9], 0xb1
vpshufd xmm1, xmmword [r9 + 0x10], 0x1b
vpalignr xmm2, xmm0, xmm1, 8
vpblendw xmm1, xmm1, xmm0, 0xf0
vmovdqu64 xmm0, xmmword [0x0073a160]
vmovups xmmword [r8], xmm2
vmovups xmmword [r8 + 0x10], xmm1
vpaddd xmm0, xmm0, xmmword [rdx]
sha256rnds2 xmm1, xmm2, xmm0
vpshufd xmm0, xmm0, 0xe
sha256rnds2 xmm2, xmm1, xmm0
vmovups xmmword [rcx], xmm2
vmovups xmmword [rcx + 0x10], xmm1
ret

Function at 0x5be9b0
Capabilities:
Hash data using sha256

Disassembly:
push r13
push r12
sub rsp, 0xc8
vmovdqu xmm0, xmmword [0x0073a140]
vmovdqu xmm1, xmmword [0x0073a150]
lea r12, [rsp + 0x5f]
and r12, 0xffffffffffffffc0
mov qword [r12 + 0x60], r8
mov r13, rcx
mov r9, rdx
mov rax, r8
vmovups xmmword [r12 + 0x40], xmm0
vmovups xmmword [r12 + 0x50], xmm1
cmp r8, 0x3f
jbe 0x5beab0
vmovdqu xmm2, xmmword [rdx]
vmovdqu xmm3, xmmword [rdx + 0x10]
vmovdqu xmm4, xmmword [rdx + 0x20]
vmovdqu xmm5, xmmword [rdx + 0x30]
lea r8, [r12 + 0x40]
mov rdx, r12
mov rcx, r8
vmovups xmmword [r12], xmm2
vmovups xmmword [r12 + 0x10], xmm3
vmovups xmmword [r12 + 0x20], xmm4
vmovups xmmword [r12 + 0x30], xmm5
call fcn.005bc950
lea rdx, [rax - 0x40]
lea r11, [r9 + 0x40]
cmp rdx, 0x3f
jbe 0x5bea86
add rax, 0xffffffffffffff80
mov r10, rax
shr r10, 6
lea rdx, [r10 + 2]
shl rdx, 6
add r9, rdx
mov rdx, r11
nop
mov rcx, r8
call fcn.005bc950
add rdx, 0x40
cmp rdx, r9
jne 0x5bea60
lea rdx, [r10 + 1]
shl r10, 6
shl rdx, 6
sub rax, r10
add r11, rdx
mov rdx, rax
mov r8, rdx
mov rcx, r12
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rdx, r13
mov rcx, r12
call fcn.005be760
nop
add rsp, 0xc8
pop r12
pop r13
ret
mov rcx, r12
call sub.msvcrt.dll_memcpy
jmp 0x5bea94

Function at 0x5e0d10
Capabilities:
Hash data using sha256

Disassembly:
mov eax, 0x6a09e667
vpbroadcastd zmm0, eax
mov eax, 0xbb67ae85
vmovdqu64 zmmword [rcx + 0x400], zmm0
vpbroadcastd zmm0, eax
mov eax, 0x3c6ef372
vmovdqu64 zmmword [rcx + 0x440], zmm0
vpbroadcastd zmm0, eax
mov eax, 0xa54ff53a
vmovdqu64 zmmword [rcx + 0x480], zmm0
vpbroadcastd zmm0, eax
mov eax, 0x510e527f
vmovdqu64 zmmword [rcx + 0x4c0], zmm0
vpbroadcastd zmm0, eax
mov eax, 0x9b05688c
vmovdqu64 zmmword [rcx + 0x500], zmm0
vpbroadcastd zmm0, eax
mov eax, 0x1f83d9ab
vmovdqu64 zmmword [rcx + 0x540], zmm0
vpbroadcastd zmm0, eax
mov eax, 0x5be0cd19
vmovdqu64 zmmword [rcx + 0x580], zmm0
vpbroadcastd zmm0, eax
mov qword [rcx + 0x600], 0
vmovdqu64 zmmword [rcx + 0x5c0], zmm0
vzeroupper
ret
Function at 0x5e67e0
Capabilities:
Hash data using sha256

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
movsxd r8, r8d
call fcn.005be9b0
mov r8d, 0x20
mov rdx, r12
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.005be9b0
Function at 0x65b010
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x80]
mov rbx, rcx
and eax, 0x3f
lea ecx, [rax + 1]
mov byte [rbx + rax], pe_nt_image_headers64
mov eax, ecx
mov rsi, rdx
lea rdi, [rbx + 0x40]
add rax, rbx
cmp ecx, 0x20
jbe 0x65b120
mov edx, 0x40
sub edx, ecx
xor r9d, r9d
cmp edx, 8
jb 0x65b190
mov ecx, edx
dec edx
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x65b077
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x65b069
mov rdx, rdi
mov rcx, rbx
call fcn.006586b0
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x20], 0
mov rdx, rax
mov qword [rbx + 0x28], 0
shr rdx, 0x3d
bswap rdx
mov qword [rbx + 0x30], rdx
shl rax, 3
bswap rax
mov qword [rbx + 0x38], rax
mov rdx, rdi
mov rcx, rbx
call fcn.006586b0
lea rax, [rsi + 0x20]
cmp rdi, rax
jae 0x65b0f2
lea rax, [rbx + 0x60]
cmp rsi, rax
jb 0x65b1c0
vmovdqu64 ymm1, ymmword [rbx + 0x40]
vmovdqu64 ymmword [rsi], ymm1
vmovdqu64 ymm0, ymmword [rbx + 0x60]
vmovdqu64 ymmword [rsi + 0x20], ymm0
vzeroupper
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
sub edx, ecx
xor r9d, r9d
cmp edx, 8
jb 0x65b160
mov ecx, edx
dec edx
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x65b0a1
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x65b14a
jmp 0x65b0a1
test dl, 4
jne 0x65b207
test edx, edx
je 0x65b0a1
mov byte [rax], 0
test dl, 2
je 0x65b0a1
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x65b0a1
test dl, 4
jne 0x65b21a
test edx, edx
je 0x65b077
mov byte [rax], 0
test dl, 2
je 0x65b077
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x65b077
mov rax, qword [rbx + 0x40]
mov qword [rsi], rax
mov rax, qword [rbx + 0x48]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 0x50]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x58]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx + 0x60]
mov qword [rsi + 0x20], rax
mov rax, qword [rbx + 0x68]
mov qword [rsi + 0x28], rax
mov rax, qword [rbx + 0x70]
mov qword [rsi + 0x30], rax
mov rax, qword [rbx + 0x78]
mov qword [rsi + 0x38], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x65b0a1
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x65b077
Function at 0x65b450
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x80]
mov rbx, rcx
and eax, 0x3f
lea ecx, [rax + 1]
mov byte [rbx + rax], pe_nt_image_headers64
mov eax, ecx
mov rsi, rdx
lea rdi, [rbx + 0x40]
add rax, rbx
cmp ecx, 0x20
jbe 0x65b560
mov edx, 0x40
sub edx, ecx
xor r9d, r9d
cmp edx, 8
jb 0x65b5d0
mov ecx, edx
dec edx
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x65b4b7
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x65b4a9
mov rdx, rdi
mov rcx, rbx
call fcn.00659cd0
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x20], 0
mov rdx, rax
mov qword [rbx + 0x28], 0
shr rdx, 0x3d
bswap rdx
mov qword [rbx + 0x30], rdx
shl rax, 3
bswap rax
mov qword [rbx + 0x38], rax
mov rdx, rdi
mov rcx, rbx
call fcn.00659cd0
lea rax, [rsi + 0x20]
cmp rdi, rax
jae 0x65b532
lea rax, [rbx + 0x60]
cmp rsi, rax
jb 0x65b600
vmovdqu64 ymm1, ymmword [rbx + 0x40]
vmovdqu64 ymmword [rsi], ymm1
vmovdqu64 ymm0, ymmword [rbx + 0x60]
vmovdqu64 ymmword [rsi + 0x20], ymm0
vzeroupper
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
sub edx, ecx
xor r9d, r9d
cmp edx, 8
jb 0x65b5a0
mov ecx, edx
dec edx
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x65b4e1
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x65b58a
jmp 0x65b4e1
test dl, 4
jne 0x65b647
test edx, edx
je 0x65b4e1
mov byte [rax], 0
test dl, 2
je 0x65b4e1
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x65b4e1
test dl, 4
jne 0x65b65a
test edx, edx
je 0x65b4b7
mov byte [rax], 0
test dl, 2
je 0x65b4b7
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x65b4b7
mov rax, qword [rbx + 0x40]
mov qword [rsi], rax
mov rax, qword [rbx + 0x48]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 0x50]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x58]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx + 0x60]
mov qword [rsi + 0x20], rax
mov rax, qword [rbx + 0x68]
mov qword [rsi + 0x28], rax
mov rax, qword [rbx + 0x70]
mov qword [rsi + 0x30], rax
mov rax, qword [rbx + 0x78]
mov qword [rsi + 0x38], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x65b4e1
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x65b4b7

Function at 0x69f5a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
lea r11, [0x00756080]
lea rsi, [r11 + 0x18]
mov r9, rcx
lea rbx, [rcx + 0x5fe]
movzx r10d, word [r11]
mov r8, rbx
xor ecx, ecx
movzx eax, word [r8]
sub r8, 2
mov edx, eax
imul eax, eax, 0xaaab
shr eax, 0x19
lea eax, [rax + rax*2]
shl eax, 8
sub edx, eax
mov eax, ecx
movzx edx, dx
and eax, 0xf
shlx eax, r10d, eax
add ax, word [r9 + rdx*2]
xor word [r9 + rcx*2], ax
inc rcx
cmp rcx, 0x300
jne 0x69f5c0
add r11, 2
cmp rsi, r11
jne 0x69f5b7
pop rbx
pop rsi
ret