joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033e90
Capabilities:
Initialize winsock library

Disassembly:
push rsi
sub rsp, 0x1d0
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
test cl, 2
jne 0x140033f17
lea rcx, str.iphlpapi.dll
call fcn.140033f73
mov qword [0x1401ed388], rax
test rax, rax
je 0x140033ee3
lea rdx, str.if_nametoindex
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140033ee3
mov qword [0x1401ed380], rax
mov dword [rsp + 0x20], 3
xor esi, esi
mov ecx, 6
xor edx, edx
xor r8d, r8d
mov r9d, 2
call fcn.1400a9af8
mov byte [0x1401ed390], al
lea rcx, [0x1401ed398]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x140033f58
lea rsi, [rsp + 0x30]
mov r8d, 0x198
mov rcx, rsi
mov dl, 0xaa
call fcn.1401615d0
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140033f53
movzx eax, word [rsp + 0x30]
cmp eax, 0x202
je 0x140033eaf
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, 2
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.14015c2e0
mov eax, esi
add rsp, 0x1d0
pop rsi
ret

Function at 0x140033f73
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
lea rcx, [0x14019e1d2]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140033fd6
mov rbx, rax
lea rdx, [0x14019e1e4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x14019e1f4]
mov rcx, rdi
call fcn.140183490
test rax, rax
je 0x140033fe8
test rsi, rsi
je 0x140034025
mov r9, qword [case.0x140031f00.0]
mov rcx, rdi
xor edx, edx
mov r8d, 8
jmp 0x140034014
xor r14d, r14d
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rsi, rsi
je 0x14003403a
lea rdx, str.AddDllDirectory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003403a
mov r9, qword [case.0x140031f00.0]
mov rcx, rdi
xor edx, edx
mov r8d, 0x800
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp r9
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r14d, r14d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140033fd9
mov r15d, eax
mov rcx, rdi
call fcn.14018303c
mov rdx, qword [fcn.14017d250]
lea ecx, [r15 + 1]
add rcx, rax
add rcx, rcx
mov rax, rdx
call qword [case.0x140031f00.0]
mov rbx, rax
test rax, rax
je 0x1400340cf
mov rcx, rbx
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400340cf
mov rcx, rbx
call fcn.14018303c
lea rcx, [rbx + rax*2]
lea rdx, [0x14019e20a]
call fcn.140183020
mov rcx, rbx
call fcn.14018303c
lea rcx, [rbx + rax*2]
mov rdx, rdi
call fcn.140183020
mov rcx, rbx
test rsi, rsi
je 0x1400340d4
xor edx, edx
mov r8d, 8
mov rax, rsi
call qword [case.0x140031f00.0]
jmp 0x1400340da
xor r14d, r14d
jmp 0x1400340dd
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
mov rax, qword [fcn.14017bff0]
mov rcx, rbx
call qword [case.0x140031f00.0]
jmp 0x140033fd9
Function at 0x14003cfaa
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x34]
mov dword [r9], 0xaaaaaaaa
lea rax, [rsp + 0x30]
mov dword [rax], 4
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1008
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x14003d00a
cmp dword [rsp + 0x34], 1
jne 0x14003d00a
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14015c2e0
nop
add rsp, 0x40
pop rsi
ret
Function at 0x140042d22
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140042d3a
mov rsi, rcx
call fcn.1400aa4fc
test al, al
je 0x140042d41
xor eax, eax
jmp 0x140042dee
mov rcx, rsi
call fcn.1401812d0
mov rdi, rax
mov rcx, rsi
mov edx, 0x2e
mov r8, rax
call fcn.1400b9a08
test rax, rax
je 0x140042d84
sub rax, rsi
mov rcx, rsi
mov edx, 0x2e
mov r8, rax
call fcn.1400b9a08
test rax, rax
je 0x140042d84
inc rax
add rdi, rsi
sub rdi, rax
jmp 0x140042d86
xor eax, eax
test rax, rax
cmovne rsi, rax
test rdi, rdi
jle 0x140042de9
add rdi, rsi
mov ecx, 0x1505
mov rbx, rcx
shl rbx, 5
add rbx, rcx
mov cl, byte [rsi]
inc rsi
call fcn.140047874
movsx rcx, al
xor rcx, rbx
cmp rsi, rdi
jb 0x140042d9a
movabs rdx, 0x410410410410411
mov rax, rcx
mul rdx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
mov rdx, rax
shl rdx, 6
sub rax, rdx
add rax, rcx
jmp 0x140042dee
mov eax, 0x1a
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14005aea8
Capabilities:
Initialize winsock library

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x208
movaps xmmword [rsp + 0x1f0], xmm6
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
mov word [rcx + 8], r8w
xor ebx, ebx
mov qword [rcx + 0x10], rbx
add rcx, 0x18
mov edx, 2
call fcn.14015ed5c
mov qword [rsi + 0x70], rbx
mov dword [rsi + 0x78], 0
xorps xmm6, xmm6
movups xmmword [rsi + 0x80], xmm6
mov ecx, 0xd0
call fcn.14015c21c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsi + 0x80], rax
lea rcx, [rsi + 0x90]
mov edx, 0x102
call fcn.14015ed5c
lea r14, [rsi + 0xe0]
mov qword [rsi + 0x100], rbx
movups xmmword [rsi + 0xf0], xmm6
movups xmmword [rsi + 0xe0], xmm6
mov ecx, reloc.WS2_32.dll_recv
call fcn.14015c21c
mov qword [rax + 8], rbx
mov qword [rsi + 0xe0], rax
mov qword [rax], r14
lea rcx, [rsi + 0x108]
mov edx, 2
call fcn.14015ed5c
mov rcx, rdi
call fcn.1401781e0
mov qword [rsi], rax
lea rdi, [rsp + 0x50]
mov r8d, 0x198
mov rcx, rdi
mov dl, 0xaa
call fcn.1401615d0
mov cx, 0x202
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14005afe7
mov byte [rsi + 0x68], 1
lea r8, [rsp + 0x28]
mov qword [r8], rsi
lea rax, [0x14005b020]
lea rdx, [rsp + 0x20]
mov qword [rdx], rax
lea rcx, [rsp + 0x30]
call fcn.14002532e
cmp dword [rsi + 0x78], 0
jne 0x14005b00f
lea rax, [rsi + 0x70]
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm0
movups xmmword [rax], xmm0
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.14015c2e0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x1f0]
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140025324
int3
Function at 0x14005e42c
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x88], rax
test r8, r8
je 0x14005e4ea
mov rsi, r8
mov edi, edx
mov rbx, rcx
mov r14, qword [r8]
mov r15, qword [r8 + 8]
cmp r14, r15
je 0x14005e497
mov rax, qword [r14]
mov rax, qword [rax]
mov rcx, r14
xor edx, edx
call qword [case.0x140031f00.0]
add r14, 0x20
cmp r14, r15
jne 0x14005e476
mov rax, qword [rsi]
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], edi
mov dword [rsp + 0x28], 0x400
mov rdx, qword [rbx]
test rdx, rdx
je 0x14005e4f4
mov r8, qword [rbx + 8]
lea rbx, [rsp + 0x60]
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.140002d20
cmp qword [rbx + 0x18], 0x10
jb 0x14005e50c
mov rbx, qword [rsp + 0x60]
jmp 0x14005e50c
mov ebx, 0xffffffff
jmp 0x14005e5bd
lea rbx, [rsp + 0x60]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x58]
mov rcx, rbx
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebx, eax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14005e53b
mov rcx, qword [rsp + 0x60]
inc rdx
call fcn.140002b34
test ebx, ebx
jne 0x14005e5bd
mov r14, qword [rsp + 0x58]
xor ebx, ebx
test r14, r14
je 0x14005e5b5
lea r12, [rsp + 0x68]
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rbp, method.std::codecvt_char__char__struct__Mbstatet_.virtual_0
xorps xmm6, xmm6
lea r15, [rsp + 0x60]
test edi, edi
je 0x14005e573
cmp dword [r14 + 4], edi
jne 0x14005e5a5
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x60], rbp
movups xmmword [r12], xmm6
mov dword [r12 + 0x10], 0
mov rcx, r14
mov rdx, r15
call fcn.14005e1ed
test al, al
je 0x14005e5a5
mov rcx, rsi
mov rdx, r15
call fcn.14005ea96
mov r14, qword [r14 + 0x28]
test r14, r14
jne 0x14005e569
mov rcx, qword [rsp + 0x58]
jmp 0x14005e5b7
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14015c2e0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400658d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x140065946
xor r11d, r11d
nop dword [rax + rax]
mov rdi, qword [r8 + r11*8]
mov rsi, qword [rcx + r11*8]
mov rbx, rsi
xor rbx, rdi
mov r14d, eax
lea rax, [rbx - 1]
mov r15, rsi
sub r15, rdi
xor r15, rsi
or r15, rbx
not rbx
and rax, rbx
sar rax, 0x3f
xor r15, rsi
sar r15, 0x3f
mov rsi, r15
not r15
and r15d, 1
or r15, rsi
mov rsi, rax
and r14d, esi
not rax
and rax, r15
or rax, r14
inc r11
cmp r10, r11
jne 0x1400658f0
mov r11, rdx
sub r11, r9
jae 0x140065962
mov r11, r9
sub r11, rdx
cmp r11, 4
jae 0x14006597d
xor r10d, r10d
mov rcx, rdx
jmp 0x1400659e0
jbe 0x140065a9e
cmp r11, 4
jae 0x140065a09
xor r10d, r10d
mov r8, r9
jmp 0x140065a70
mov rsi, r11
and rsi, 0xfffffffffffffffc
lea rcx, [rsi + rdx]
lea rdx, [r8 + rdx*8]
add rdx, 0x10
pxor xmm0, xmm0
xor r10d, r10d
pxor xmm1, xmm1
nop dword [rax + rax]
movdqu xmm2, xmmword [rdx + r10*8 - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [rdx + r10*8]
por xmm1, xmm2
add r10, 4
cmp rsi, r10
jne 0x1400659a0
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp r11, rsi
je 0x1400659ec
nop word cs:[rax + rax]
or r10, qword [r8 + rcx*8]
inc rcx
cmp r9, rcx
jne 0x1400659e0
mov rcx, r10
not rcx
dec r10
and r10, rcx
sar r10, 0x3f
mov rcx, r10
and ecx, eax
not r10
jmp 0x140065a98
mov rsi, r11
and rsi, 0xfffffffffffffffc
lea r8, [rsi + r9]
lea r9, [rcx + r9*8]
add r9, 0x10
pxor xmm0, xmm0
xor r10d, r10d
pxor xmm1, xmm1
nop word [rax + rax]
movdqu xmm2, xmmword [r9 + r10*8 - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r9 + r10*8]
por xmm1, xmm2
add r10, 4
cmp rsi, r10
jne 0x140065a30
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp r11, rsi
je 0x140065a7c
nop word cs:[rax + rax]
or r10, qword [rcx + r8*8]
inc r8
cmp rdx, r8
jne 0x140065a70
mov rcx, r10
not rcx
dec r10
and r10, rcx
sar r10, 0x3f
mov rcx, r10
and ecx, eax
not r10
and r10d, 1
or r10d, ecx
mov eax, r10d
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140065c50
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
movsxd r8, dword [rcx + 8]
movsxd rax, dword [rdx + 8]
cmp r8d, eax
jge 0x140065c77
mov r10, qword [rdx]
mov rsi, rax
sub rsi, r8
cmp rsi, 4
jae 0x140065c7c
xor r9d, r9d
mov r11, r8
jmp 0x140065ce0
xor r9d, r9d
jmp 0x140065cec
mov rdi, rsi
and rdi, 0xfffffffffffffffc
lea r11, [rdi + r8]
lea r9, [r10 + r8*8]
add r9, 0x10
pxor xmm0, xmm0
xor ebx, ebx
pxor xmm1, xmm1
nop dword [rax]
movdqu xmm2, xmmword [r9 + rbx*8 - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r9 + rbx*8]
por xmm1, xmm2
add rbx, 4
cmp rdi, rbx
jne 0x140065ca0
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r9, xmm0
cmp rsi, rdi
je 0x140065cec
nop word cs:[rax + rax]
or r9, qword [r10 + r11*8]
inc r11
cmp rax, r11
jne 0x140065ce0
cmp eax, r8d
jge 0x140065d7c
mov r10, qword [rcx]
mov rsi, r8
sub rsi, rax
cmp rsi, 4
jae 0x140065d09
mov r11, rax
jmp 0x140065d70
mov rdi, rsi
and rdi, 0xfffffffffffffffc
lea r11, [rdi + rax]
movq xmm1, r9
lea r9, [r10 + rax*8]
add r9, 0x10
pxor xmm0, xmm0
xor ebx, ebx
nop word [rax + rax]
movdqu xmm2, xmmword [r9 + rbx*8 - 0x10]
por xmm1, xmm2
movdqu xmm2, xmmword [r9 + rbx*8]
por xmm0, xmm2
add rbx, 4
cmp rdi, rbx
jne 0x140065d30
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r9, xmm1
cmp rsi, rdi
je 0x140065d7c
nop word cs:[rax + rax]
or r9, qword [r10 + r11*8]
inc r11
cmp r8, r11
jne 0x140065d70
cmp r8d, eax
cmovl eax, r8d
test eax, eax
jle 0x140065e23
mov r8, qword [rcx]
mov r10, qword [rdx]
mov r11d, eax
cmp eax, 4
jae 0x140065d9d
xor eax, eax
jmp 0x140065e10
mov eax, r11d
and eax, 0xfffffffc
movq xmm0, r9
lea r9, [r11*8]
and r9, 0xffffffffffffffe0
pxor xmm1, xmm1
xor esi, esi
nop word [rax + rax]
movdqu xmm2, xmmword [r8 + rsi]
movdqu xmm3, xmmword [r8 + rsi + 0x10]
movdqu xmm4, xmmword [r10 + rsi]
pxor xmm4, xmm2
por xmm0, xmm4
movdqu xmm2, xmmword [r10 + rsi + 0x10]
pxor xmm2, xmm3
por xmm1, xmm2
add rsi, 0x20
cmp r9, rsi
jne 0x140065dc0
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r9, xmm0
cmp rax, r11
je 0x140065e23
nop word [rax + rax]
mov rsi, qword [r10 + rax*8]
xor rsi, qword [r8 + rax*8]
or r9, rsi
inc rax
cmp r11, rax
jne 0x140065e10
mov eax, dword [rdx + 0x10]
xor eax, dword [rcx + 0x10]
movsxd rcx, eax
xor eax, eax
or rcx, r9
sete al
pop rbx
pop rdi
pop rsi
ret
Function at 0x140077930
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x7c], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x1401a5e30]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [0x1401a5e40]
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x8c], 0x20
lea rcx, [rsp + 0x20]
call fcn.140092f90
mov ebx, dword [rsp + 0x8c]
mov ebp, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x44]
lea rdi, [rsp + 0x48]
mov eax, dword [rsp + 0x88]
lea rcx, [rax + 1]
mov byte [rsp + rax + 0x48], 0x80
cmp rax, 0x38
jb 0x1400779fb
cmp eax, 0x3f
je 0x1400779e4
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.1401615d0
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.1400cbb00
xor ecx, ecx
jmp 0x140077a01
cmp rcx, 0x38
je 0x140077a14
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1401615d0
bswap r14d
bswap ebp
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x84], ebp
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.1400cbb00
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x40], 0
lea eax, [rbx - 0x21]
cmp eax, 0xffffffe3
jb 0x140077ac9
shr ebx, 2
mov eax, dword [rsp + 0x20]
bswap eax
mov dword [rsi], eax
cmp ebx, 1
je 0x140077ac9
mov eax, dword [rsp + 0x24]
bswap eax
mov dword [rsi + 4], eax
cmp ebx, 2
je 0x140077ac9
mov eax, dword [rsp + 0x28]
bswap eax
mov dword [rsi + 8], eax
cmp ebx, 3
je 0x140077ac9
mov eax, dword [rsp + 0x2c]
bswap eax
mov dword [rsi + 0xc], eax
cmp ebx, 4
je 0x140077ac9
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [rsi + 0x10], eax
cmp ebx, 5
je 0x140077ac9
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [rsi + 0x14], eax
cmp ebx, 6
je 0x140077ac9
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [rsi + 0x18], eax
cmp ebx, 7
je 0x140077ac9
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [rsi + 0x1c], eax
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_WSASetLastError
call fcn.1400c0a00
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14015c2e0
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140077b00
Capabilities:
Hash data using sha512

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x100
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0xf8], rax
lea rdi, [rsp + 0x70]
movaps xmm0, xmmword [section..rdata]
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
movabs rax, 0x6a09e667f3bcc908
mov qword [rsp + 0x20], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rsp + 0x28], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsp + 0x30], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsp + 0x38], rax
movabs rax, 0x510e527fade682d1
mov qword [rsp + 0x40], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsp + 0x48], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x50], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x58], rax
movabs rax, 0x4000000000
mov qword [rsp + 0xf0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x20]
call fcn.140079690
mov eax, dword [rsp + 0xf0]
mov ebx, dword [rsp + 0xf4]
lea rcx, [rax + 1]
mov byte [rsp + rax + 0x70], 0x80
cmp rax, 0x70
jb 0x140077c56
cmp eax, 0x7f
je 0x140077c3f
mov r8d, 0x7f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.1401615d0
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.1400cf100
xor ecx, ecx
jmp 0x140077c5c
cmp rcx, 0x70
je 0x140077c6f
mov r8d, reloc.WS2_32.dll_WSASetLastError
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1401615d0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
bswap rcx
mov qword [rsp + 0xe0], rcx
bswap rax
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.1400cf100
test rsi, rsi
je 0x140077d43
cmp ebx, 8
jb 0x140077d43
shr rbx, 3
lea rcx, [rbx - 1]
mov eax, ebx
and eax, 3
cmp rcx, 3
jae 0x140077cce
xor edx, edx
mov rcx, rsi
jmp 0x140077d1c
and ebx, 0xfffffffc
xor edx, edx
mov rcx, rsi
nop word cs:[rax + rax]
mov r8, qword [rsp + rdx*8 + 0x20]
bswap r8
mov qword [rcx], r8
mov r8, qword [rsp + rdx*8 + 0x28]
bswap r8
mov qword [rcx + 8], r8
mov r8, qword [rsp + rdx*8 + 0x30]
bswap r8
mov qword [rcx + 0x10], r8
mov r8, qword [rsp + rdx*8 + 0x38]
bswap r8
mov qword [rcx + 0x18], r8
add rcx, 0x20
add rdx, 4
cmp rbx, rdx
jne 0x140077ce0
test rax, rax
je 0x140077d43
lea rdx, [rsp + rdx*8]
add rdx, 0x20
xor r8d, r8d
nop dword [rax]
mov r9, qword [rdx + r8*8]
bswap r9
mov qword [rcx + r8*8], r9
inc r8
cmp rax, r8
jne 0x140077d30
lea rcx, [rsp + 0x20]
mov edx, 0xd8
call fcn.1400c0a00
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14015c2e0
mov rax, rsi
add rsp, 0x100
pop rbx
pop rdi
pop rsi
ret
Function at 0x140079600
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret
Function at 0x14008a730
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r15, r8
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x160]
mov qword [rcx + 0x180], 0
xorps xmm0, xmm0
movaps xmmword [rcx], xmm0
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x40], xmm0
cmp r9, 0xc
jne 0x14008a789
mov eax, dword [r15 + 8]
mov dword [rsi + 8], eax
mov rax, qword [r15]
mov qword [rsi], rax
mov byte [rsi + 0xf], 1
mov ebx, 2
jmp 0x14008a93c
mov r14, r9
cmp r9, 0x10
jb 0x14008a849
lea r12, [rsi + 0x60]
mov r13, r14
nop dword [rax]
movzx eax, byte [r15]
xor byte [rsi], al
movzx eax, byte [r15 + 1]
xor byte [rsi + 1], al
movzx eax, byte [r15 + 2]
xor byte [rsi + 2], al
movzx eax, byte [r15 + 3]
xor byte [rsi + 3], al
movzx eax, byte [r15 + 4]
xor byte [rsi + 4], al
movzx eax, byte [r15 + 5]
xor byte [rsi + 5], al
movzx eax, byte [r15 + 6]
xor byte [rsi + 6], al
movzx eax, byte [r15 + 7]
xor byte [rsi + 7], al
movzx eax, byte [r15 + 8]
xor byte [rsi + 8], al
movzx eax, byte [r15 + 9]
xor byte [rsi + 9], al
movzx eax, byte [r15 + 0xa]
xor byte [rsi + 0xa], al
movzx eax, byte [r15 + 0xb]
xor byte [rsi + 0xb], al
movzx eax, byte [r15 + 0xc]
xor byte [rsi + 0xc], al
movzx eax, byte [r15 + 0xd]
xor byte [rsi + 0xd], al
movzx eax, byte [r15 + 0xe]
xor byte [rsi + 0xe], al
movzx eax, byte [r15 + 0xf]
xor byte [rsi + 0xf], al
mov rcx, rsi
mov rdx, r12
mov rax, rbx
call qword [case.0x140031f00.0]
add r15, 0x10
add r13, 0xfffffffffffffff0
cmp r13, 0xf
ja 0x14008a7a0
test r13, r13
jne 0x14008a855
jmp 0x14008a91a
mov r13, r14
test r13, r13
je 0x14008a91a
cmp r13, 8
jb 0x14008a86d
lea rax, [r15 + r13]
cmp rax, rsi
jbe 0x14008a8e1
lea rax, [rsi + r13]
cmp r15, rax
jae 0x14008a8e1
xor eax, eax
mov rcx, rax
not rcx
add rcx, r13
mov rdx, r13
and rdx, 3
je 0x14008a8a1
nop word cs:[rax + rax]
movzx r8d, byte [r15 + rax]
xor byte [rsi + rax], r8b
inc rax
dec rdx
jne 0x14008a890
cmp rcx, 3
jb 0x14008a90a
nop word [rax + rax]
movzx ecx, byte [r15 + rax]
xor byte [rsi + rax], cl
movzx ecx, byte [r15 + rax + 1]
xor byte [rsi + rax + 1], cl
movzx ecx, byte [r15 + rax + 2]
xor byte [rsi + rax + 2], cl
movzx ecx, byte [r15 + rax + 3]
xor byte [rsi + rax + 3], cl
add rax, 4
cmp r13, rax
jne 0x14008a8b0
jmp 0x14008a90a
mov eax, r13d
and eax, 8
xor ecx, ecx
nop dword [rax]
mov rdx, qword [r15 + rcx]
xor qword [rsi + rcx], rdx
add rcx, 8
cmp rax, rcx
jne 0x14008a8f0
cmp r13, rax
jne 0x14008a86f
lea rdx, [rsi + 0x60]
mov rcx, rsi
mov rax, rbx
call qword [case.0x140031f00.0]
shl r14, 3
bswap r14
xor qword [rsi + 8], r14
lea rdx, [rsi + 0x60]
mov rcx, rsi
mov rax, rbx
call qword [case.0x140031f00.0]
mov ebx, dword [rsi + 0xc]
bswap ebx
inc ebx
mov rax, qword [rsi + 0x170]
lea rdx, [rsi + 0x20]
mov rcx, rsi
mov r8, rdi
call qword [case.0x140031f00.0]
bswap ebx
mov dword [rsi + 0xc], ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret