joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14019cc50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
test dword [rdx + 0x58], 0x1000000
lea rdi, [rdx + 0x80]
mov rbx, rdx
mov rsi, rcx
je 0x14019cc9b
mov qword [rdx + 0x238], 0
lea rcx, [0x14019ca10]
mov rdx, rdi
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
jmp 0x14019cd55
xor eax, eax
lea rcx, [rdi + 0x40]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
test dword [rdx + 0x58], 0x80000
je 0x14019ccc5
mov rax, qword [rdi + 0x70]
or rax, 1
mov qword [rdi + 0x58], rax
mov qword [rsp + 0x20], rcx
lea rdx, [0x14053c527]
mov rcx, qword [rbx + 0x118]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14019ccf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14019cd59
test dword [rbx + 0x58], 0x80000
je 0x14019cdb0
cmp qword [rdi + 0x70], 0
jne 0x14019cd26
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rdi + 0x70], rax
test rax, rax
je 0x14019cde9
cmp qword [rdi + 0x78], 0xffffffffffffffff
lea rcx, [rdi + 0x78]
jne 0x14019cdb0
mov rdx, qword [rdi + 0x58]
lea r8, [0x1401982f0]
mov dword [rsp + 0x28], 4
mov r9, rdi
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x14019cdb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x14019cd6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14019cd79
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x68], 0
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x14019cda6
mov rax, qword [rax + 0x68]
mov qword [rdi + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rdi
mov qword [rsi + 0x48], rdi
jmp 0x14019cdcf
mov qword [rdi + 0x68], rdi
mov qword [rsi + 0x48], rdi
jmp 0x14019cdcf
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x14019cdcf
xor r9d, r9d
lea rdx, [0x14019dd30]
lea r8d, [r9 + 0x32]
call fcn.140199b20
or dword [rbx + 0x58], 0x10000
inc dword [rbx + 0x78]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.14019e560
int3
Function at 0x14019d4e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rdx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rcx, rbx
movaps xmm0, xmmword [rsp + 0x30]
mov edi, r9d
mov edx, r8d
lea r8, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [rbx + 0x68]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14019d59f
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14019d59f
mov rcx, qword [rbx + 0x118]
lea r9, [rsp + 0x70]
cmp edi, eax
mov qword [rsp + 0x20], 0
cmova edi, eax
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14019d581
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [rsp + 0x40]
mov rdx, rbx
mov r8d, eax
call fcn.14019d440
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov edx, dword [rsp + 0x70]
lea r8, [rsp + 0x30]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
lea r8, [rsp + 0x30]
mov rdx, 0xfffffffffffff024
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x50
pop rdi
ret
Function at 0x14019fa80
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor eax, eax
mov ebx, 2
mov qword [0x1407d1fb0], rax
xor ecx, ecx
mov word [0x1407d1fb0], bx
mov qword [0x1407d1fb8], rax
call qword [sym.imp.WS2_32.dll_htons]
lea rdx, [0x1407d1fb4]
mov word [0x1407d1fb2], ax
lea rcx, str.0.0.0.0
call fcn.14019f090
test eax, eax
jne 0x14019fd20
lea r8, [0x1407d1fe0]
xor edx, edx
lea rcx, [0x1404d586c]
call fcn.14018c750
test eax, eax
jne 0x14019fd20
lea ecx, [rbx + 0x41]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
je 0x14019fc7a
mov ecx, 0x202
lea rdx, [rsp + 0x2c0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14019fc93
mov qword [rsp + 0x480], rdi
xor r8d, r8d
mov edi, 1
mov ecx, ebx
mov edx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14019fbad
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x274
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x2005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14019fca2
mov eax, dword [0x1407d1ffc]
mov rcx, rbx
test dword [rsp + 0x40], 0x20000
cmove eax, edi
mov dword [0x1407d1ffc], eax
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x14019fcb7
jmp 0x14019fbd4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x14019fd0b
cmp eax, 0x273a
jbe 0x14019fd0b
cmp eax, 0x2740
jae 0x14019fd0b
xor r8d, r8d
mov edx, edi
lea ecx, [r8 + 0x17]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14019fc4b
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x274
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x2005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14019fccc
mov eax, dword [0x1407d1fc0]
mov rcx, rbx
test dword [rsp + 0x40], 0x20000
cmove eax, edi
mov dword [0x1407d1fc0], eax
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x14019fce1
jmp 0x14019fc72
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x14019fcf6
cmp eax, 0x273a
jbe 0x14019fcf6
cmp eax, 0x2740
jae 0x14019fcf6
mov rdi, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140343400
add rsp, 0x470
pop rbx
ret
lea rdx, str.WSAStartup
mov ecx, eax
call fcn.14019e560
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.getsockopt
call fcn.14019e560
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.closesocket
call fcn.14019e560
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.getsockopt
call fcn.14019e560
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.closesocket
call fcn.14019e560
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.socket
call fcn.14019e560
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.socket
call fcn.14019e560
int3
call fcn.14036c2ac
int3
Function at 0x1401a09f0
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rdx + 0x3f8]
mov r8d, 0x80
lea r10, [rcx + 0x3f8]
cmp rcx, rax
ja 0x1401a0a11
xor r9d, r9d
cmp r10, rdx
jae 0x1401a0a81
mov r9, rdx
lea rax, [rcx + 0x10]
sub r9, rcx
mov r10d, reloc.WS2_32.dll_recv
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r9 + rax - 0x10]
movdqu xmm2, xmmword [r9 + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r9 + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub r10, 1
jne 0x1401a0a21
mov r9, r8
cmp r9, r8
jae 0x1401a0aa1
sub rdx, rcx
lea rax, [rcx + r9*8]
sub r8, r9
mov rcx, qword [rax + rdx]
xor qword [rax], rcx
lea rax, [rax + 8]
sub r8, 1
jne 0x1401a0a90
ret
Function at 0x1401a1000
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x1401a1247
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rbp + 0x10], rax
movaps xmm0, xmmword [0x1404871f0]
movabs rax, 0x6a09e667f2bdc948
movaps xmm1, xmmword [0x140487200]
mov edi, r8d
movaps xmmword [rsp + 0x30], xmm0
mov rbx, rdx
movaps xmm0, xmmword [0x140487210]
mov rsi, rcx
movaps xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x30]
movaps xmm1, xmmword [0x140487220]
mov qword [rsp + 0x30], rax
mov eax, dword [rdx + 0x54]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x120], r14
xor r14d, r14d
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r14
lea r8d, [r14 + 4]
mov qword [rsp + 0x78], r14
mov qword [rbp], r14
mov dword [rsp + 0x20], eax
call fcn.1401a7c10
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1401a1167
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
test byte [rbx + 0x70], 1
je 0x1401a1167
mov ecx, dword [rbx + 0x18]
xor eax, eax
mov rdi, qword [rbx + 0x10]
rep stosb byte [rdi], al
mov dword [rbx + 0x18], r14d
mov eax, dword [rbx + 0x28]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1401a119a
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x1401a11e2
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
test byte [rbx + 0x70], 2
je 0x1401a11e2
mov ecx, dword [rbx + 0x38]
xor eax, eax
mov rdi, qword [rbx + 0x30]
rep stosb byte [rdi], al
mov dword [rbx + 0x38], r14d
mov eax, dword [rbx + 0x48]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov rdx, qword [rbx + 0x40]
mov r14, qword [rsp + 0x120]
test rdx, rdx
je 0x1401a121d
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov r8d, 0x40
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1401a7d10
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140343400
add rsp, 0x128
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1401a1009
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x1401a1247
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rbp + 0x10], rax
movaps xmm0, xmmword [0x1404871f0]
movabs rax, 0x6a09e667f2bdc948
movaps xmm1, xmmword [0x140487200]
mov edi, r8d
movaps xmmword [rsp + 0x30], xmm0
mov rbx, rdx
movaps xmm0, xmmword [0x140487210]
mov rsi, rcx
movaps xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x30]
movaps xmm1, xmmword [0x140487220]
mov qword [rsp + 0x30], rax
mov eax, dword [rdx + 0x54]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x120], r14
xor r14d, r14d
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r14
lea r8d, [r14 + 4]
mov qword [rsp + 0x78], r14
mov qword [rbp], r14
mov dword [rsp + 0x20], eax
call fcn.1401a7c10
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1401a1167
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
test byte [rbx + 0x70], 1
je 0x1401a1167
mov ecx, dword [rbx + 0x18]
xor eax, eax
mov rdi, qword [rbx + 0x10]
rep stosb byte [rdi], al
mov dword [rbx + 0x18], r14d
mov eax, dword [rbx + 0x28]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1401a119a
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x1401a11e2
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
test byte [rbx + 0x70], 2
je 0x1401a11e2
mov ecx, dword [rbx + 0x38]
xor eax, eax
mov rdi, qword [rbx + 0x30]
rep stosb byte [rdi], al
mov dword [rbx + 0x38], r14d
mov eax, dword [rbx + 0x48]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov rdx, qword [rbx + 0x40]
mov r14, qword [rsp + 0x120]
test rdx, rdx
je 0x1401a121d
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1401a7c10
mov r8d, 0x40
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1401a7d10
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140343400
add rsp, 0x128
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1401a80b8
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14d, 0x40
mov rbx, rdx
mov rsi, rcx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rcx
mov ecx, 0x200
shr rbx, 6
lea r9d, [r14 - 0x20]
call fcn.140016a20
lea edi, [r14 - 0x3f]
cmp ebx, edi
je 0x1401a8136
mov ecx, edi
lea r8d, [rdi - 1]
shl rcx, 6
mov r9d, r14d
add rcx, rsi
shl r8, 6
mov dword [rsp + 0x28], r14d
add r8, rsi
mov qword [rsp + 0x20], rcx
mov ecx, 0x200
call fcn.140016a20
inc edi
cmp edi, ebx
jne 0x1401a8105
mov ebp, 3
xor edi, edi
test ebx, ebx
je 0x1401a81de
xor edx, edx
mov r9d, edi
shl r9, 6
add r9, rsi
mov eax, dword [r9]
div ebx
lea eax, [rbx - 1]
mov r8d, edx
add eax, edi
xor edx, edx
shl r8, 6
div ebx
mov ecx, edx
lea rdx, [rsp + 0x30]
shl rcx, 6
sub r8, rdx
add r8, rsi
mov edx, reloc.WS2_32.dll_recv
movups xmm0, xmmword [rcx + rsi]
movups xmm1, xmmword [rcx + rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rcx + rsi + 0x20]
movaps xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [rcx + rsi + 0x30]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov eax, dword [r8 + rcx]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1401a81a8
mov dword [rsp + 0x28], r14d
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r9
mov ecx, 0x200
mov r9d, r14d
call fcn.140016a20
inc edi
cmp edi, ebx
jne 0x1401a8145
sub rbp, 1
jne 0x1401a813b
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140343400
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401a8208
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r13, qword [r9]
xor ebp, ebp
mov r14, r9
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x38], rcx
mov rsi, rcx
mov ebx, edx
lea edi, [rbp + 4]
mov eax, dword [r14 + 0x1c]
lea r8, [rbx + rbp]
mov cl, byte [r14 + 0x24]
mov r9d, 0x40
mov edx, dword [r14 + 0x20]
add rdx, r8
mov dword [rsp + 0x28], 0x40
imul rdx, rax
mov qword [rsp + 0x20], rsi
shr rdx, cl
mov ecx, 0x200
imul edx, dword [r14 + 0x18]
sub r8d, edx
mov eax, r8d
mov r8, rsi
shl rax, 6
movups xmm0, xmmword [rax + r13]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + r13 + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rax + r13 + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rax + r13 + 0x30]
lea eax, [rbx + rbp]
movups xmmword [rsi + 0x30], xmm1
xor dword [rsi], eax
call fcn.140016a20
inc rbp
add rsi, 0x40
cmp rbp, rdi
jb 0x1401a824c
mov rbx, qword [rsp + 0x38]
xor r10d, r10d
xor r11d, r11d
mov ebp, dword [r14 + 0x24]
lea r9, [rsp + 0x40]
mov r15d, dword [r14 + 0x20]
mov rax, r11
mov r12d, dword [r14 + 0x1c]
xor r8d, r8d
and eax, 0xf
lea rsi, [rbx + rax*4]
mov ebx, dword [rsp + 0x30]
lea eax, [r8 + rbx]
xor eax, r10d
imul ecx, eax, 0x1000193
xor ecx, dword [rsi]
mov edx, ecx
lea rax, [r15 + rcx]
mov rcx, rbp
imul rax, r12
shr rax, cl
imul eax, dword [r14 + 0x18]
sub edx, eax
mov ecx, edx
shl rcx, 6
add rcx, r13
mov qword [r9], rcx
prefetcht0 byte [rcx]
inc r8d
lea rsi, [rsi + 0x40]
lea r9, [r9 + 8]
cmp r8d, edi
jb 0x1401a82f9
mov rbx, qword [rsp + 0x38]
mov esi, reloc.WS2_32.dll_recv
mov r8, qword [rsp + 0x40]
mov rdx, rbx
sub r8, rbx
mov r9d, esi
imul eax, dword [rdx], 0x1000193
mov ecx, dword [r8 + rdx]
xor ecx, eax
mov dword [rdx], ecx
add rdx, rdi
sub r9, 1
jne 0x1401a8356
mov r8, qword [rsp + 0x48]
lea rdx, [rbx + 0x40]
sub r8, rbx
mov r9, rsi
imul eax, dword [rdx], 0x1000193
mov ecx, dword [r8 + rdx - 0x40]
xor ecx, eax
mov dword [rdx], ecx
add rdx, rdi
sub r9, 1
jne 0x1401a837c
mov r8, qword [rsp + 0x50]
lea rdx, [rbx + 0x80]
sub r8, rbx
mov r9, rsi
imul eax, dword [rdx], 0x1000193
mov ecx, dword [r8 + rdx - 0x80]
xor ecx, eax
mov dword [rdx], ecx
add rdx, rdi
sub r9, 1
jne 0x1401a83a6
mov r8, qword [rsp + 0x58]
lea rdx, [rbx + 0xc0]
sub r8, rbx
mov r9, rsi
imul eax, dword [rdx], 0x1000193
mov ecx, dword [r8 + rdx - 0xc0]
xor ecx, eax
mov dword [rdx], ecx
add rdx, rdi
sub r9, 1
jne 0x1401a83d0
inc r10d
inc r11
cmp r10d, 0x200
jne 0x1401a82d7
mov dword [rsp + 0x28], 0x40
mov r9d, 0x40
mov r8, rbx
mov qword [rsp + 0x20], rbx
mov ecx, 0x200
call fcn.140016a20
add rbx, 0x40
sub rdi, 1
jne 0x1401a83fe
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140343400
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1401ab730
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push r14
sub rsp, 0xb8
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov rbp, r8
movups xmm0, xmmword [0x140487128]
movups xmm1, xmmword [0x140487138]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [r11 - 0x58], xmm1
mov qword [r11 - 0x48], 0
cmp r8, 0x80
jae 0x1401ab792
lea rcx, [rsp + 0x30]
call fcn.1401ab490
jmp 0x1401ab7ec
cmp rsi, 0x40
jb 0x1401ab7cf
mov qword [rsp + 0xb0], rdi
mov rdi, rsi
shr rdi, 6
imul rbp, rdi, 0xffffffffffffffc0
add rbp, rsi
nop
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1401a8c10
add rbx, 0x40
sub rdi, 1
jne 0x1401ab7b0
mov rdi, qword [rsp + 0xb0]
test rbp, rbp
je 0x1401ab7e4
mov r8, rbp
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140361cf0
add qword [rsp + 0x90], rsi
mov r9, r14
lea rcx, [rsp + 0x30]
call fcn.1401ab540
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140343400
add rsp, 0xb8
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x140228d30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x20
call fcn.140344150
sub rsp, rax
mov rax, qword [rcx + 8]
lea rsi, [r9 + 1]
mov rbx, rdx
mov rdx, qword [rdx + 8]
mov r9, qword [rax + 0xc0]
test byte [r9 + 0x60], 1
je 0x140228db9
lea rax, [rsi + r8]
cmp rax, rdx
ja 0x140228dbe
add qword [rbx + 0x20], r8
sub rdx, r8
add qword [rbx + 0x28], r8
sub qword [rbx + 0x10], r8
mov qword [rbx + 8], rdx
mov rax, qword [rbx + 0x20]
mov rcx, qword [rcx + 0x430]
mov qword [rsp + 0x40], rdi
movzx edi, byte [rax + rdx - 1]
call fcn.140016e00
mov rcx, rax
call fcn.1402426f0
mov r8, qword [rbx + 8]
and eax, 0x200000
je 0x140228dcb
sub r8, rdi
mov eax, 1
dec r8
jmp 0x140228e86
cmp rsi, rdx
jbe 0x140228d7c
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
lea rcx, [rdi + rsi]
mov qword [rsp + 0x38], rbp
mov ebp, 0x100
mov r9, r8
sub r9, rcx
mov rax, r8
xor r9, rcx
xor rax, rcx
or r9, rax
xor r9, r8
shr r9, 0x3f
dec r9
cmp r8, rbp
cmovb rbp, r8
xor r10d, r10d
test rbp, rbp
je 0x140228e5d
mov r11, qword [rbx + 0x20]
mov rsi, rdi
shr rsi, 0x3f
dec r11
add r11, r8
nop word [rax + rax]
mov rax, r10
lea r11, [r11 - 1]
shr rax, 0x3f
mov rcx, rdi
sub rcx, r10
inc r10
shr rcx, 0x3f
xor cl, al
xor al, sil
or cl, al
movzx eax, byte [r11 + 1]
dec cl
movzx edx, cl
mov rcx, rdi
xor rcx, rax
and rdx, rcx
not rdx
and r9, rdx
cmp r10, rbp
jb 0x140228e20
mov rbp, qword [rsp + 0x38]
lea rax, [rdi + 1]
not r9
movzx ecx, r9b
dec rcx
shr rcx, 0x3f
neg rcx
and rax, rcx
sub r8, rax
mov eax, ecx
and eax, 1
not ecx
or eax, ecx
mov rdi, qword [rsp + 0x40]
mov qword [rbx + 8], r8
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x140243780
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.140344150
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x140259130
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.140344150
sub rsp, rax
lea rcx, [0x140534448]
add rsp, 0x28
jmp fcn.1402435e0

Function at 0x140263800
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x140263827
sub r10, rcx
nop
movzx edx, byte [r10 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor dl, al
or r9b, dl
sub r8, 1
jne 0x140263810
movzx eax, r9b
ret