joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a730
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x258
xor r9d, r9d
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rcx
add ecx, 1
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x20], rax
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 0x40dbd8
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a730

Function at 0x40a780
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x258
mov r12, rcx
mov rcx, r8
mov rdi, r8
mov rbp, rdx
call sub.msvcrt.dll_strlen
lea ebx, [rax + 1]
cdqe
mov byte [rdi + rax], 0xa
test ebx, ebx
jle 0x40a822
xor esi, esi
lea r14, [rsp + 0x40]
lea r13, [rsp + 0x38]
lea r15, [rsp + 0x34]
nop word [rax + rax]
mov rcx, qword [rbp]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], 0
mov r8, r14
mov qword [rsp + 0x48], rcx
add ecx, 1
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x40a835
mov rcx, qword [r12]
lea rdx, [rdi + rsi]
mov r9, r15
movsxd r8, ebx
call qword [sym.imp.libcurl_4.dll_curl_easy_send]
test eax, eax
jne 0x40a830
movsxd rdx, dword [rsp + 0x34]
sub ebx, edx
add rsi, rdx
test ebx, ebx
jg 0x40a7c8
mov eax, 1
jmp 0x40a837
cmp eax, 0x51
je 0x40a7c8
xor eax, eax
add rsp, 0x258
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x40c050
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x148
mov qword [rsp + 0x40], 0
mov rbx, rcx
mov r13, rdx
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 qword [rsp + 0x20], 0
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 0x40c390
lea rsi, [rsp + 0x40]
mov r8, rbx
mov edx, 0x2712
mov rcx, rax
mov rbx, qword [sym.imp.libcurl_4.dll_curl_easy_setopt]
call rbx
mov r8d, 1
mov edx, 0x4a
mov rcx, r12
call rbx
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, [0x0040a660]
mov edx, 0x4e2b
mov rcx, r12
call rbx
lea r8, [rsp + 0x20]
mov edx, 0x2711
mov rcx, r12
call rbx
mov rax, qword [0x0071eef0]
mov r8, qword [rax]
test r8, r8
je 0x40c320
mov edx, 0x2714
mov rcx, r12
call rbx
mov rax, qword [0x0071ef00]
mov edx, 0x65
mov rcx, r12
mov r8d, dword [rax]
call rbx
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_perform]
test eax, eax
jne 0x40c370
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x40c2db
cmp qword [rsp + 0x28], 0
jne 0x40c310
lea rdx, str.Empty_data_received_for_config
mov ecx, 1
xor r13d, r13d
call fcn.0040a850
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.006820b0
mov r13, rax
jmp 0x40c2ef
lea rcx, str.http_proxy
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c2b8
lea rcx, str.all_proxy
call sub.msvcrt.dll_getenv
lea rcx, str.all_proxy
test rax, rax
je 0x40c3b0
call sub.msvcrt.dll_getenv
mov rcx, r12
mov edx, 0x2714
mov r8, rax
call rbx
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_perform]
test eax, eax
je 0x40c2c9
nop dword [rax]
mov r8, rsi
lea rdx, str.Remote_config_read_failed:__s
mov ecx, 1
xor r13d, r13d
call fcn.0040a850
jmp 0x40c2ef
lea rdx, str.Remote_config_init_failed_
mov ecx, 1
xor r13d, r13d
call fcn.0040a850
jmp 0x40c2f8
lea rcx, str.ALL_PROXY
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c3d0
lea rcx, str.ALL_PROXY
jmp 0x40c349
lea r8, [0x006c1c23]
mov edx, 0x2714
mov rcx, r12
call rbx
jmp 0x40c2b8
Function at 0x40dbc0
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x258
xor r9d, r9d
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rcx
add ecx, 1
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x20], rax
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 0x40dbd8
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a730
Function at 0x416260
Capabilities:
Hash data using sha512

Disassembly:
push rdi
push rbx
sub rsp, 0x68
mov rbx, rcx
test rcx, rcx
je 0x4163a2
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x416378
xor eax, eax
lea rdi, [rcx + 0x48]
mov byte [rsp + 0x20], dl
vmovdqu xmm3, xmmword [0x006c46c0]
mov word [rsp + 0x3e], ax
and rdi, 0xfffffffffffffff8
mov eax, ecx
vinserti128 ymm0, ymm3, xmmword [0x006c46d0], 1
sub eax, edi
mov byte [rsp + 0x31], 0
vmovdqu xmm4, xmmword [0x006c46e0]
mov qword [rsp + 0x29], 0
mov qword [rsp + 0x21], 0x10100
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 + 0xe8], 0
lea ecx, [rax + 0xf0]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
mov dword [rbx + 0xe4], edx
vmovdqu xmm2, xmmword [rsp + 0x20]
vinserti128 ymm1, ymm2, xmmword [rsp + 0x30], 1
vmovdqu xmm5, xmmword [rsp + 0x40]
vpxor ymm0, ymm0, ymm1
vinserti128 ymm1, ymm4, xmmword [0x006c46f0], 1
vmovups xmmword [rbx], xmm0
vextracti128 xmmword [rbx + 0x10], ymm0, 1
vinserti128 ymm0, ymm5, xmmword [rsp + 0x50], 1
vpxor ymm0, ymm0, ymm1
vmovups xmmword [rbx + 0x20], xmm0
vextracti128 xmmword [rbx + 0x30], ymm0, 1
vzeroupper
add rsp, 0x68
pop rbx
pop rdi
ret
mov edx, 0xf0
call fcn.00418850
cmp byte [rbx + 0xe8], 0
je 0x416393
mov qword [rbx + 0x58], 0xffffffffffffffff
mov qword [rbx + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x41636c
mov eax, 0xffffffff
jmp 0x41636c
Function at 0x4163b0
Capabilities:
Hash data using sha512

Disassembly:
push r13
push r12
push rdi
sub rsp, 0xe0
mov r10, r8
mov r12, rcx
mov r8, r9
test rcx, rcx
je 0x416561
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x416530
lea rax, [r9 - 1]
cmp rax, 0x3f
ja 0x416530
test r10, r10
je 0x416530
lea rdi, [rcx + 0x48]
xor eax, eax
mov byte [rsp + 0x20], dl
lea r13, [rsp + 0x60]
and rdi, 0xfffffffffffffff8
mov word [rsp + 0x3e], ax
xor eax, eax
vmovdqu xmm3, xmmword [0x006c46c0]
mov byte [rsp + 0x21], r9b
vinserti128 ymm0, ymm3, xmmword [0x006c46d0], 1
mov dword [rsp + 0x3a], 0
vmovdqu xmm4, xmmword [0x006c46e0]
mov qword [rsp + 0x2a], 0
mov qword [rsp + 0x22], 0x101
mov qword [rsp + 0x32], 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 + 0xe8], 0
sub ecx, edi
add ecx, 0xf0
shr ecx, 3
rep stosq qword [rdi], rax
mov rdi, r13
mov ecx, 0x10
mov dword [r12 + 0xe4], edx
rep stosq qword [rdi], rax
mov rdx, r10
mov rcx, r13
vmovdqu xmm2, xmmword [rsp + 0x20]
vinserti128 ymm1, ymm2, xmmword [rsp + 0x30], 1
vmovdqu xmm5, xmmword [rsp + 0x40]
vpxor ymm0, ymm0, ymm1
vinserti128 ymm1, ymm4, xmmword [0x006c46f0], 1
vmovups xmmword [r12], xmm0
vextracti128 xmmword [r12 + 0x10], ymm0, 1
vinserti128 ymm0, ymm5, xmmword [rsp + 0x50], 1
vpxor ymm0, ymm0, ymm1
vmovups xmmword [r12 + 0x20], xmm0
vextracti128 xmmword [r12 + 0x30], ymm0, 1
vzeroupper
call sub.msvcrt.dll_memcpy
mov r8d, pe_nt_image_headers64
mov rdx, r13
mov rcx, r12
call fcn.00415f80
mov edx, pe_nt_image_headers64
mov rcx, r13
call fcn.00418850
xor eax, eax
add rsp, 0xe0
pop rdi
pop r12
pop r13
ret
mov edx, 0xf0
mov rcx, r12
call fcn.00418850
cmp byte [r12 + 0xe8], 0
je 0x416551
mov qword [r12 + 0x58], 0xffffffffffffffff
mov qword [r12 + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x416520
mov eax, 0xffffffff
jmp 0x416520

Function at 0x41adc0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov r9, r8
test rcx, rcx
je 0x41ae10
test rdx, rdx
je 0x41ae10
mov r8, rdx
xor ecx, ecx
xor edx, edx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
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 0x41ae01
Function at 0x451a40
Capabilities:
Hash data using sha256

Disassembly:
push rdi
sub rsp, 0x20
lea eax, [rdx - 1]
mov r8, rcx
cmp al, 0x1f
ja 0x451ae0
mov eax, 0x101
lea rdi, [rcx + 0x28]
mov byte [rsp], dl
mov word [rsp + 2], ax
and rdi, 0xfffffffffffffff8
mov eax, ecx
sub eax, edi
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 + 0xb8], 0
lea ecx, [rax + 0xc0]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
vmovdqu xmm1, xmmword [rsp]
vinserti128 ymm0, ymm1, xmmword [rsp + 0x10], 1
vpxor ymm0, ymm0, ymmword [0x006c60a0]
vmovdqu ymmword [r8], ymm0
vzeroupper
add rsp, 0x20
pop rdi
ret
mov eax, 0xffffffff
jmp 0x451ad2

Function at 0x452930
Capabilities:
Hash data using sha256

Disassembly:
push rdi
push rbx
sub rsp, 0x88
mov eax, edx
mov r10, rcx
movzx edx, r9b
lea ecx, [rax - 1]
cmp cl, 0x1f
ja 0x452b06
lea ecx, [r9 - 1]
cmp cl, 7
ja 0x452aff
test r8, r8
je 0x452aff
mov byte [rsp + 0x20], al
lea rdi, [r10 + 0x28]
mov eax, 0x101
lea rbx, [rsp + 0x40]
mov word [rsp + 0x22], ax
and rdi, 0xfffffffffffffff8
mov eax, r10d
sub eax, edi
mov byte [rsp + 0x21], r9b
mov r9, rbx
lea ecx, [rax + 0xc0]
xor eax, eax
mov dword [rsp + 0x24], 0
shr ecx, 3
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [r10 + 0x20], 0
mov qword [r10 + 0xb8], 0
rep stosq qword [rdi], rax
mov rax, r8
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
vmovdqu xmm1, xmmword [rsp + 0x20]
vinserti128 ymm0, ymm1, xmmword [rsp + 0x30], 1
vpxor ymm0, ymm0, ymmword [0x006c60a0]
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
vmovdqu ymmword [r10], ymm0
cmp edx, 8
jae 0x452ad8
xor ecx, ecx
test dl, 4
jne 0x452ac0
test dl, 2
jne 0x452aa8
and edx, 1
jne 0x452a98
mov r8d, 0x40
mov rdx, rbx
mov rcx, r10
vzeroupper
call fcn.00452830
mov rax, rbx
nop word [rax + rax]
mov rdx, rax
lea rdi, [rsp + 0x80]
add rax, 1
mov byte [rdx], 0
cmp rax, rdi
jne 0x452a70
xor eax, eax
add rsp, 0x88
pop rbx
pop rdi
ret
movzx eax, byte [rax + rcx]
mov byte [r9 + rcx], al
jmp 0x452a50
movzx r8d, word [rax + rcx]
mov word [r9 + rcx], r8w
add rcx, 2
and edx, 1
je 0x452a50
jmp 0x452a98
mov ecx, dword [rax]
mov dword [r9], ecx
mov ecx, 4
test dl, 2
je 0x452a4b
jmp 0x452aa8
mov r11d, edx
xor eax, eax
and r11d, 0xfffffff8
mov ecx, eax
add eax, 8
mov r9, qword [r8 + rcx]
mov qword [rbx + rcx], r9
cmp eax, r11d
jb 0x452ae1
lea r9, [rbx + rax]
add rax, r8
jmp 0x452a3f
mov eax, 0xffffffff
jmp 0x452a89
mov eax, 0xffffffff
jmp 0x452a89
Function at 0x513890
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0x48
jmp fcn.00510890
Function at 0x51b990
Capabilities:
Encode data using base64

Disassembly:
mov r9d, 0x88
jmp fcn.00513b80

Function at 0x51bbb0
Capabilities:
Encode data using base64

Disassembly:
mov r9d, 0x48
jmp fcn.00513b80
Function at 0x56e6a0
Capabilities:
Hash data using sha256

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x140
xor eax, eax
vmovdqu xmm2, xmmword [0x006fe340]
vinserti128 ymm1, ymm2, xmmword [0x006fe350], 1
vmovdqu xmm4, xmmword [rdx]
vmovdqu xmm5, xmmword [rdx + 0x10]
mov rsi, r8
mov r13, rcx
lea r8, [rsp + 0xa0]
mov ecx, 0x12
mov rdi, r8
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], 0x1012020
lea r12, [rsp + 0x80]
rep stosq qword [rdi], rax
mov rdx, r8
mov qword [rsp + 0x28], 0
vmovdqu xmm3, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], 0
mov rcx, r12
mov qword [rsp + 0x38], 0
vinserti128 ymm0, ymm3, xmmword [rsp + 0x30], 1
mov qword [rsp + 0x60], 0
vpxor ymm0, ymm0, ymm1
vmovups xmmword [rsp + 0x40], xmm4
mov qword [rsp + 0x68], 0
vextracti128 xmmword [rsp + 0x90], ymm0, 1
mov dword [rdi], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
vmovups xmmword [rsp + 0x80], xmm0
vmovups xmmword [rsp + 0x50], xmm5
vzeroupper
call fcn.0056e1f0
mov rdx, r13
mov rcx, r12
lea r13, [rsp + 0xb0]
call fcn.0056e1f0
mov eax, dword [rsp + 0x130]
cmp eax, 0x40
ja 0x56e838
mov ebx, pe_nt_image_headers64
mov ecx, eax
add dword [rsp + 0xa0], eax
mov dword [rsp + 0xa8], 0xffffffff
sub ebx, eax
add rcx, r13
mov eax, ebx
shr eax, 2
je 0x56e7dc
sub eax, 1
xor edx, edx
lea r8, [rax*4 + 4]
call sub.msvcrt.dll_memset
mov rcx, rax
mov edx, ebx
and edx, 3
je 0x56e7fc
mov eax, ebx
sub eax, edx
cmp ebx, eax
jbe 0x56e7fc
sub edx, 1
add rcx, rax
lea r8, [rdx + 1]
xor edx, edx
call sub.msvcrt.dll_memset
mov rdx, r13
mov rcx, r12
call fcn.0056cf80
vmovdqu xmm1, xmmword [rsp + 0x80]
vmovdqu xmm2, xmmword [rsp + 0x90]
vmovups xmmword [rsi], xmm1
vmovups xmmword [rsi + 0x10], xmm2
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.0056cf80
mov edi, dword [rsp + 0x130]
lea ebx, [rdi - 0x40]
mov eax, ebx
mov dword [rsp + 0x130], ebx
shr eax, 2
je 0x56e87e
sub eax, 1
lea rdx, [rsp + 0xf0]
mov rcx, r13
lea r8, [rax*4 + 4]
call sub.msvcrt.dll_memmove
mov edx, ebx
and edx, 3
je 0x56e8aa
mov eax, ebx
sub eax, edx
cmp ebx, eax
jbe 0x56e8aa
sub edx, ebx
lea rcx, [r13 + rax]
lea r8d, [rdi + rdx - 0x41]
lea rdx, [rsp + rax + 0xf0]
add r8, 1
call sub.msvcrt.dll_memmove
mov eax, dword [rsp + 0x130]
jmp 0x56e7a2
Function at 0x572550
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
vmovdqu xmm0, xmmword [0x006fe3a0]
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 + 0x10], xmm1
vmovups xmmword [rcx], xmm2
ret
Function at 0x5730d0
Capabilities:
Hash data using sha256

Disassembly:
push r13
push r12
sub rsp, 0xc8
vmovdqu xmm0, xmmword [0x006fe380]
vmovdqu xmm1, xmmword [0x006fe390]
lea r12, [rsp + 0x5f]
mov r13, rcx
mov r9, rdx
mov rax, r8
and r12, 0xffffffffffffffc0
mov qword [r12 + 0x60], r8
vmovups xmmword [r12 + 0x40], xmm0
vmovups xmmword [r12 + 0x50], xmm1
cmp r8, 0x3f
jbe 0x5731d0
vmovdqu xmm2, xmmword [rdx]
vmovdqu xmm3, xmmword [rdx + 0x10]
lea r8, [r12 + 0x40]
vmovdqu xmm4, xmmword [rdx + 0x20]
vmovdqu xmm5, xmmword [rdx + 0x30]
mov rcx, r8
mov rdx, r12
vmovups xmmword [r12], xmm2
vmovups xmmword [r12 + 0x10], xmm3
vmovups xmmword [r12 + 0x20], xmm4
vmovups xmmword [r12 + 0x30], xmm5
call fcn.00571180
lea rdx, [rax - 0x40]
lea r11, [r9 + 0x40]
cmp rdx, 0x3f
jbe 0x5731a6
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.00571180
add rdx, 0x40
cmp rdx, r9
jne 0x573180
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.00572f00
nop
add rsp, 0xc8
pop r12
pop r13
ret
mov rcx, r12
call sub.msvcrt.dll_memcpy
jmp 0x5731b4
Function at 0x5985d0
Capabilities:
Hash data using sha256

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
movsxd r8, r8d
call fcn.005730d0
mov r8d, 0x20
mov rdx, r12
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.005730d0
Function at 0x59a620
Capabilities:
Hash data using sha256

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x60
vmovdqu xmm1, xmmword [0x006ffe80]
vmovdqu xmm2, xmmword [0x006ffe90]
xor r8d, r8d
lea r12, [rsp + 0x20]
mov rbx, rcx
mov rsi, rdx
vmovups xmmword [rsp + 0x20], xmm1
mov rcx, r12
vmovups xmmword [rsp + 0x30], xmm2
call fcn.00598620
lea rdx, [rsi + 0x40]
xor r8d, r8d
call fcn.00598620
vmovdqu xmm5, xmmword [0x006ffe80]
xor r8d, r8d
vmovdqu xmm0, xmmword [0x006ffe90]
vmovdqu xmm3, xmmword [0x006ffe60]
vmovdqu xmm4, xmmword [0x006ffe70]
mov rdx, r12
mov rcx, rbx
vmovups xmmword [rbx + 0x10], xmm0
vmovups xmmword [rbx], xmm5
vmovups xmmword [rsp + 0x40], xmm3
vmovups xmmword [rsp + 0x50], xmm4
call fcn.00598620
vmovdqu ymm1, ymmword [rbx]
vpshufb ymm0, ymm1, ymmword [0x006ffea0]
vmovdqu ymmword [rbx], ymm0
vzeroupper
add rsp, 0x60
pop rbx
pop rsi
pop r12
ret
Function at 0x5fd6e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x278
lea rdi, [rsp + 0x5f]
mov r12, r8
lea rbx, [rdx - 0x20]
mov rsi, rcx
and rdi, 0xffffffffffffffc0
mov edx, 0x50
mov rcx, r12
mov rbp, r9
lea r13, [rdi + 0x200]
mov r9d, 0x20
shr rbx, 4
mov r8, r13
add ebx, 1
call fcn.006003b0
mov rdx, qword [r12 + 0x48]
mov rcx, rdi
call fcn.005fd1f0
vmovdqu ymm0, ymmword [rdi + 0x200]
mov rcx, rdi
vmovdqu ymm2, ymmword [0x0070cee0]
mov r9d, 0x811c9dc5
nop
mov eax, dword [rcx]
xor edx, edx
add rcx, 4
xor eax, r9d
imul eax, eax, 0x1000193
div ebx
mov rax, rdx
shl rax, 4
add rax, rsi
xor r9d, dword [rax]
vpxor ymm0, ymm0, ymmword [rax]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 4]
imul r9d, r9d, 0x1000193
vpmulld ymm0, ymm2, ymm0
xor r9d, dword [rax + 8]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0xc]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x10]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x14]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x18]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x1c]
imul r9d, r9d, 0x1000193
cmp r13, rcx
jne 0x5fd750
mov r11d, 1
mov ecx, r11d
mov r10, rdi
nop word [rax + rax]
mov eax, dword [r10]
xor edx, edx
add r10, 4
rol eax, cl
xor eax, r9d
imul eax, eax, 0x1000193
div ebx
shl rdx, 4
add rdx, rsi
xor r9d, dword [rdx]
vpxor ymm0, ymm0, ymmword [rdx]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 4]
imul r9d, r9d, 0x1000193
vpmulld ymm1, ymm2, ymm0
xor r9d, dword [rdx + 8]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0xc]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x10]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x14]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x18]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x1c]
vmovdqu ymm0, ymm1
imul r9d, r9d, 0x1000193
cmp r13, r10
jne 0x5fd7e8
add r11, 1
cmp r11, 0x20
jne 0x5fd7dc
vmovdqu ymmword [rdi + 0x200], ymm1
mov rax, qword [rdi + 0x210]
mov rdx, qword [rdi + 0x218]
vmovups xmmword [rbp], xmm1
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
vzeroupper
add rsp, 0x278
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x6039d0
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x80]
and eax, 0x3f
mov rbx, rcx
lea ecx, [rax + 1]
mov rsi, rdx
mov byte [rbx + rax], pe_nt_image_headers64
mov eax, ecx
lea rdi, [rbx + 0x40]
add rax, rbx
cmp ecx, 0x20
jbe 0x603b08
mov edx, 0x40
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x603b90
mov ecx, edx
mov qword [rax], 0
mov qword [rax + rcx - 8], 0
lea rcx, [rax + 8]
and rcx, 0xfffffffffffffff8
sub rax, rcx
add edx, eax
and edx, 0xfffffff8
cmp edx, 8
jb 0x603a4c
and edx, 0xfffffff8
xor eax, eax
mov r8d, eax
add eax, 8
mov qword [rcx + r8], r9
cmp eax, edx
jb 0x603a3e
mov rdx, rdi
mov rcx, rbx
call fcn.006011f0
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 qword [rbx + 0x28], 0
mov rdx, rax
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.006011f0
lea rax, [rsi + 0x20]
cmp rdi, rax
jae 0x603ac7
lea rax, [rbx + 0x60]
cmp rsi, rax
jb 0x603bc0
vmovdqu xmm1, xmmword [rbx + 0x40]
vinserti128 ymm0, ymm1, xmmword [rbx + 0x50], 1
vmovups xmmword [rsi], xmm0
vextracti128 xmmword [rsi + 0x10], ymm0, 1
vmovdqu xmm2, xmmword [rbx + 0x60]
vinserti128 ymm0, ymm2, xmmword [rbx + 0x70], 1
vmovups xmmword [rsi + 0x20], xmm0
vextracti128 xmmword [rsi + 0x30], ymm0, 1
vzeroupper
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x603b60
mov ecx, edx
mov qword [rax], 0
mov qword [rax + rcx - 8], 0
lea rcx, [rax + 8]
and rcx, 0xfffffffffffffff8
sub rax, rcx
add edx, eax
and edx, 0xfffffff8
cmp edx, 8
jb 0x603a76
and edx, 0xfffffff8
xor eax, eax
mov r8d, eax
add eax, 8
mov qword [rcx + r8], r9
cmp eax, edx
jb 0x603b47
jmp 0x603a76
test dl, 4
jne 0x603c07
test edx, edx
je 0x603a76
mov byte [rax], 0
test dl, 2
je 0x603a76
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x603a76
test dl, 4
jne 0x603c1a
test edx, edx
je 0x603a4c
mov byte [rax], 0
test dl, 2
je 0x603a4c
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x603a4c
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 0x603a76
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x603a4c