joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800200c0
Capabilities:
Encrypt data using des

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
xor r10d, r10d
mov rbx, r8
mov esi, edx
mov r11, rcx
lea r14, [0x180000000]
mov r9d, r10d
movzx eax, byte [r9 + r14 + 0x447b0]
dec eax
movsxd r8, eax
mov rax, r8
and r8d, 7
sar rax, 3
movzx ecx, byte [rax + r11]
test byte [r14 + r8*4 + 0x44830], cl
setne al
inc r9
mov byte [rsp + r9 - 1], al
cmp r9, 0x38
jl 0x1800200f0
mov rdi, r10
mov ebp, 0x1c
lea r15, [0x180044800]
nop word [rax + rax]
movzx edx, byte [rdi + r14 + 0x447f0]
xor eax, eax
mov r8, r10
mov r11d, edx
mov qword [rsp + 0x70], rax
lea r9d, [rdx - 0x1c]
neg r11d
nop dword [rax]
lea eax, [r11 + rdx]
mov ecx, gethostname
cmp eax, ebp
mov eax, r9d
cmovl ecx, ebp
cmp edx, ecx
cmovl eax, edx
inc r8
inc edx
cdqe
inc r9d
movzx ecx, byte [rsp + rax]
mov byte [rsp + r8 + 0x37], cl
cmp r8, 0x38
jl 0x180020160
mov ecx, r10d
mov r9, r15
movzx eax, byte [r9]
cmp byte [rsp + rax + 0x37], r10b
je 0x1800201ce
mov eax, 0xaaaaaaab
lea r8, [rsp + 0x70]
mul ecx
shr edx, 2
mov eax, edx
add r8, rax
lea edx, [rdx + rdx*2]
mov eax, ecx
add edx, edx
sub eax, edx
movsxd rdx, eax
mov eax, dword [r14 + rdx*4 + 0x44830]
sar eax, 2
or byte [r8], al
inc ecx
inc r9
cmp ecx, 0x30
jl 0x180020195
movzx eax, byte [rsp + 0x72]
movzx ecx, byte [rsp + 0x70]
inc rdi
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x74]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x76]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x73]
mov dword [rbx + rdi*8 - 8], ecx
movzx ecx, byte [rsp + 0x71]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x75]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x77]
shl ecx, 8
or ecx, eax
mov dword [rbx + rdi*8 - 4], ecx
cmp rdi, 0x10
jl 0x180020140
cmp esi, 1
jne 0x18002026c
lea rdx, [rbx + 0x7c]
nop dword [rax]
mov eax, dword [rdx - 4]
mov ecx, dword [rbx + r10*4]
add r10, 2
mov dword [rbx + r10*4 - 8], eax
mov dword [rdx - 4], ecx
mov eax, dword [rdx]
mov ecx, dword [rbx + r10*4 - 4]
mov dword [rbx + r10*4 - 4], eax
lea rdx, [rdx - 8]
mov dword [rdx + 8], ecx
cmp r10, 0x10
jl 0x180020240
lea r11, [rsp + 0x80]
xor eax, eax
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x180020290
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov r9d, dword [rcx]
mov r10d, dword [rdx]
mov r11, rdx
mov rbx, rcx
lea rdi, [r8 + 8]
mov esi, 8
lea r14, [0x180043fb0]
mov eax, r10d
lea rdi, [rdi + 0x10]
ror eax, 4
xor eax, dword [rdi - 0x18]
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r14 + rcx*4]
xor edx, dword [r14 + rax*4 + 0x200]
mov eax, r8d
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x400]
mov eax, dword [rdi - 0x14]
xor edx, dword [r14 + r8*4 + 0x600]
xor eax, r10d
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
xor r9d, edx
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r14 + rcx*4 + 0x100]
xor edx, dword [r14 + rax*4 + 0x300]
mov eax, r8d
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x500]
xor edx, dword [r14 + r8*4 + 0x700]
xor r9d, edx
mov eax, r9d
ror eax, 4
xor eax, dword [rdi - 0x10]
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r14 + rcx*4]
xor edx, dword [r14 + rax*4 + 0x200]
mov eax, r8d
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x400]
mov eax, dword [rdi - 0xc]
xor edx, dword [r14 + r8*4 + 0x600]
xor eax, r9d
mov r8d, eax
mov ecx, eax
xor r10d, edx
shr rax, 0x10
shr rcx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov edx, dword [r14 + rcx*4 + 0x100]
xor edx, dword [r14 + rax*4 + 0x300]
mov eax, r8d
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x500]
xor edx, dword [r14 + r8*4 + 0x700]
xor r10d, edx
dec rsi
jne 0x1800202c0
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
mov dword [rbx], r9d
mov rbx, qword [rsp + 8]
mov dword [r11], r10d
ret

Function at 0x180020980
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x90
xor eax, eax
mov rbx, r8
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x6c], 0x67452301
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x70], 0xefcdab89
mov dword [rsp + 0x74], 0x98badcfe
mov dword [rsp + 0x78], 0x10325476
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], eax
call fcn.180021370
test eax, eax
jne 0x1800209e0
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.180021440
add rsp, 0x90
pop rbx
ret

Function at 0x1800209f0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x90
xor eax, eax
mov rbx, r8
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x6c], 0x67452301
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x70], 0xefcdab89
mov dword [rsp + 0x74], 0x98badcfe
mov dword [rsp + 0x78], 0x10325476
mov dword [rsp + 0x7c], 0xc3d2e1f0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], eax
call fcn.1800270e0
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.1800271f0
xor eax, eax
add rsp, 0x90
pop rbx
ret
Function at 0x180020a60
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xa0
xor eax, eax
mov rbx, r8
xor r8d, r8d
mov qword [r11 - 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [r11 - 0x80], rax
mov qword [r11 - 0x78], rax
mov qword [r11 - 0x70], rax
mov dword [rsp + 0x20], 0x6a09e667
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
mov qword [r11 - 0x28], r8
mov dword [r11 - 0x20], r8d
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180025a40
test eax, eax
jne 0x180020af1
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.180025cb0
add rsp, 0xa0
pop rbx
ret

Function at 0x180021440
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x180021465
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov edx, dword [rbx]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
lea rdi, [rcx + 0xc]
mov ecx, dword [rcx + 4]
lea eax, [rdx + rcx]
mov dword [rbx + 4], eax
cmp eax, ecx
jae 0x180021485
inc dword [rbx + 8]
mov byte [rdx + rdi], 0x80
mov ecx, dword [rbx]
xor ebp, ebp
inc ecx
mov dword [rbx], ecx
cmp ecx, 0x38
jbe 0x1800214b9
mov r8d, 0x40
xor edx, edx
sub r8d, ecx
add rcx, rdi
call fcn.18002ed60
mov rcx, rbx
mov dword [rbx], 0x40
call fcn.180020ba0
mov dword [rbx], ebp
mov ecx, dword [rbx]
mov r8d, gethostname
xor edx, edx
sub r8d, ecx
add rcx, rdi
call fcn.18002ed60
mov edx, dword [rbx + 4]
mov ecx, dword [rbx + 8]
mov eax, edx
shr eax, 0x1d
lea eax, [rax + rcx*8]
mov rcx, rbx
mov dword [rbx + 8], eax
lea eax, [rdx*8]
mov dword [rbx + 4], eax
mov dword [rdi + 0x38], eax
mov eax, dword [rbx + 8]
mov dword [rdi + 0x3c], eax
call fcn.180020ba0
mov rdi, qword [rsp + 0x38]
movups xmm0, xmmword [rbx + 0x4c]
movups xmmword [rsi], xmm0
mov qword [rbx], rbp
mov dword [rbx + 8], ebp
mov rbp, qword [rsp + 0x30]
mov dword [rbx + 0x4c], 0x67452301
mov dword [rbx + 0x50], 0xefcdab89
mov dword [rbx + 0x54], 0x98badcfe
mov dword [rbx + 0x58], 0x10325476
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x180022220
Capabilities:
Generate random numbers via winapi

Disassembly:
push rdi
sub rsp, 0x70
mov rdi, rcx
test rcx, rcx
jne 0x180022239
mov eax, 0xffffff53
add rsp, 0x70
pop rdi
ret
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], 0
mov byte [rcx + 0x18], 0
xor ecx, ecx
call fcn.180022550
test eax, eax
jne 0x18002233e
mov rax, qword [0x180051db0]
mov qword [rsp + 0x80], rbx
mov ecx, 0x78
test rax, rax
je 0x180022275
call rax
jmp 0x18002227a
call fcn.180035088
mov qword [rdi + 0x10], rax
mov ebx, gethostbyname
test rax, rax
jne 0x18002228d
lea ecx, [rax - 0x7d]
jmp 0x1800222f5
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1800222f0
mov rcx, qword [rdi]
lea r8, [rsp + 0x40]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1800222f0
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x40]
call fcn.180022110
test eax, eax
jne 0x1800222f0
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
xor edx, edx
call fcn.180021dc0
mov ecx, eax
jmp 0x1800222f5
mov ecx, 2
lea rax, [rsp + 0x40]
nop word [rax + rax]
mov byte [rax], 0
lea rax, [rax + 1]
dec ebx
jne 0x180022300
mov rbx, qword [rsp + 0x80]
test ecx, ecx
jne 0x180022323
mov byte [rdi + 0x18], 1
mov eax, ecx
add rsp, 0x70
pop rdi
ret
cmp ecx, 4
je 0x18002233e
mov byte [rdi + 0x18], 2
cmp ecx, 2
jne 0x180022347
mov ecx, 0xffffff39
mov eax, ecx
add rsp, 0x70
pop rdi
ret
mov byte [rdi + 0x18], 3
mov ecx, 0xffffff2f
mov eax, ecx
add rsp, 0x70
pop rdi
ret
Function at 0x180022350
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
test rcx, rcx
je 0x1800224b0
test rdx, rdx
je 0x1800224b0
cmp r8d, 0x10000
ja 0x1800224b0
cmp byte [rcx + 0x18], 1
je 0x1800223a2
mov eax, 0xffffff39
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rcx + 0x10]
call fcn.180021dc0
mov ecx, eax
cmp eax, 3
jne 0x180022463
lea ecx, [rax - 2]
call fcn.180022550
test eax, eax
jne 0x18002247e
lea r9d, [rax + 1]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebx, 0x20
test eax, eax
je 0x180022449
mov rcx, qword [rdi]
lea r8, [rsp + 0x30]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x180022449
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov r8d, ebx
call fcn.180021970
test eax, eax
jne 0x180022449
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
xor edx, edx
call fcn.180021dc0
mov ecx, eax
test eax, eax
jne 0x18002244e
mov rcx, qword [rdi + 0x10]
mov r8d, esi
mov rdx, rbp
call fcn.180021dc0
mov ecx, eax
jmp 0x18002244e
mov ecx, 2
lea rax, [rsp + 0x30]
mov byte [rax], 0
lea rax, [rax + 1]
dec ebx
jne 0x180022453
mov rbx, qword [rsp + 0x60]
test ecx, ecx
jne 0x180022479
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
cmp ecx, 4
jne 0x180022497
mov eax, 0xffffff2f
mov byte [rdi + 0x18], 3
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov eax, 0xffffff39
mov byte [rdi + 0x18], 2
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov eax, 0xffffff53
add rsp, 0x50
pop rdi
ret
Function at 0x180022550
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x18004f200]
xor rax, rsp
mov qword [rsp + 0x140], rax
or esi, 0xffffffff
test ecx, ecx
lea rcx, [rsp + 0xc0]
mov ebx, esi
je 0x18002268d
lea rdx, [0x180044980]
call fcn.180022110
xor edi, edi
test eax, eax
jne 0x1800225f0
lea r8d, [rsi + 0x21]
lea rdx, [0x1800449b0]
lea rcx, [rsp + 0xc0]
call fcn.180021970
test eax, eax
jne 0x1800225f0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
mov r8d, 0x80
call fcn.180021dc0
test eax, eax
jne 0x1800225f0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
mov r8d, 0x80
call fcn.180021dc0
test eax, eax
cmove ebx, edi
lea rcx, [rsp + 0xc0]
call fcn.1800221b0
test eax, eax
cmovne ebx, esi
test ebx, ebx
jne 0x180022763
mov r9, rdi
lea r10, [0x180000000]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsp + r9 + 0x43]
movzx r8d, byte [r9 + r10 + 0x448d3]
movzx ecx, byte [r9 + r10 + 0x448d2]
movzx edx, byte [r9 + r10 + 0x448d0]
xor r8d, eax
movzx eax, byte [rsp + r9 + 0x42]
xor ecx, eax
movzx eax, byte [rsp + r9 + 0x41]
add r9, 4
or r8d, ecx
movzx ecx, byte [r9 + r10 + 0x448cd]
xor ecx, eax
or r8d, ecx
movzx ecx, byte [rsp + r9 + 0x3c]
xor edx, ecx
or r8d, edx
or edi, r8d
cmp r9, 0x80
jl 0x180022620
test edi, edi
je 0x180022763
mov eax, esi
jmp 0x180022765
lea rdx, [0x180044950]
call fcn.180022110
xor edi, edi
test eax, eax
jne 0x1800226d8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
mov r8d, 0x80
call fcn.180021dc0
test eax, eax
jne 0x1800226d8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
mov r8d, 0x80
call fcn.180021dc0
test eax, eax
cmove ebx, edi
lea rcx, [rsp + 0xc0]
call fcn.1800221b0
test eax, eax
cmovne ebx, esi
test ebx, ebx
jne 0x180022763
mov r9, rdi
lea r10, [0x180000000]
nop dword [rax + rax]
movzx eax, byte [rsp + r9 + 0x43]
movzx r8d, byte [r9 + r10 + 0x44853]
movzx ecx, byte [r9 + r10 + 0x44852]
movzx edx, byte [r9 + r10 + 0x44850]
xor r8d, eax
movzx eax, byte [rsp + r9 + 0x42]
xor ecx, eax
movzx eax, byte [rsp + r9 + 0x41]
add r9, 4
or r8d, ecx
movzx ecx, byte [r9 + r10 + 0x4484d]
xor ecx, eax
or r8d, ecx
movzx ecx, byte [rsp + r9 + 0x3c]
xor edx, ecx
or r8d, edx
or edi, r8d
cmp r9, 0x80
jl 0x180022700
test edi, edi
cmovne ebx, esi
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180032820
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180022840
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
mov r11, r8
mov rbx, rdx
mov r10, rcx
test rcx, rcx
je 0x1800228d7
test rdx, rdx
je 0x1800228d7
test r8, r8
je 0x1800228d7
mov qword [rsp + 0x10], rsi
movzx esi, byte [rcx + 1]
mov qword [rsp + 0x18], rdi
movzx edi, byte [rcx]
test r9d, r9d
je 0x1800228c2
sub rbx, r8
nop dword [rax + rax]
movzx r8d, byte [rdi + r10 + 2]
lea r11, [r11 + 1]
lea eax, [r8 + rsi]
movzx esi, al
lea eax, [rdi + 1]
movzx ecx, byte [rsi + r10 + 2]
mov byte [rdi + r10 + 2], cl
movzx edi, al
mov byte [rsi + r10 + 2], r8b
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [rcx + r10 + 2]
xor al, byte [r11 - 1]
mov byte [rbx + r11 - 1], al
dec r9d
jne 0x180022880
mov byte [r10], dil
mov rdi, qword [rsp + 0x18]
mov byte [r10 + 1], sil
mov rsi, qword [rsp + 0x10]
xor eax, eax
pop rbx
ret
mov eax, 0xffffff53
pop rbx
ret

Function at 0x180023940
Capabilities:
Encode data using xor

Disassembly:
movzx eax, cl
or al, dl
test al, 7
jne 0x180023972
sub rdx, rcx
mov r8d, 2
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + rcx]
lea rcx, [rcx + 8]
xor qword [rcx - 8], rax
dec r8
jne 0x180023960
ret
lea rax, [rdx + 0xf]
lea r8, [rcx + 0xf]
cmp rcx, rax
ja 0x1800239b0
cmp r8, rdx
jb 0x1800239b0
sub rdx, rcx
mov r8d, reloc.WS2_32.dll_recv
nop dword [rax]
movzx eax, byte [rcx + rdx]
lea rcx, [rcx + 1]
xor byte [rcx - 1], al
dec r8
jne 0x180023990
ret
movdqu xmm1, xmmword [rcx]
movdqu xmm0, xmmword [rdx]
pxor xmm1, xmm0
movdqu xmmword [rcx], xmm1
ret
Function at 0x180024e80
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x28
xor r8d, r8d
test edx, edx
je 0x180024f08
dec edx
je 0x180024ec6
dec edx
je 0x180024eb5
cmp edx, 2
jne 0x180024f0d
test rcx, rcx
je 0x180024f0d
mov qword [rcx + 0xd8], r8
call fcn.18001eba0
mov qword [rcx + 0x220], r8
add rsp, 0x28
ret
call fcn.180025de0
mov qword [rcx + 0x220], r8
add rsp, 0x28
ret
test rcx, rcx
je 0x180024f0d
mov dword [rcx + 0x5c], 0xc3d2e1f0
mov dword [rcx + 8], r8d
mov qword [rcx], r8
mov dword [rcx + 0x58], 0x10325476
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x4c], 0x67452301
mov qword [rcx + 0x60], r8
mov eax, r8d
mov qword [rcx + 0x220], r8
add rsp, 0x28
ret
test rcx, rcx
jne 0x180024ed2
mov eax, 0xffffff53
mov qword [rcx + 0x220], r8
add rsp, 0x28
ret
Function at 0x180024f20
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov edi, r9d
mov rbp, rcx
mov r9, r8
test r8, r8
jne 0x180024f3e
test edi, edi
jne 0x1800251af
cmp edx, 8
ja 0x1800251af
mov eax, 0x1b7
bt eax, edx
jae 0x1800251af
mov byte [rcx + 0x229], 0
mov byte [rcx + 0x228], dl
call fcn.180024e80
mov ebx, eax
test eax, eax
jne 0x180024fbe
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
lea r15, [rcx + 0x160]
lea r14, [rcx + 0xe0]
movzx ecx, byte [rcx + 0x228]
test ecx, ecx
je 0x18002508f
dec ecx
je 0x180025054
dec ecx
je 0x180025016
cmp ecx, 2
je 0x180024fc6
mov eax, 0xffffff53
mov r14, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
mov esi, 0x80
cmp edi, esi
jbe 0x180025098
test r9, r9
je 0x18002500d
mov r8d, edi
mov rdx, r9
mov rcx, rbp
call fcn.18001fa40
mov ebx, eax
test eax, eax
jne 0x1800251a8
mov rdx, r14
mov rcx, rbp
call fcn.18001ff70
mov ebx, eax
test eax, eax
jne 0x1800251a8
lea edi, [rsi - 0x40]
jmp 0x1800250e3
mov ebx, 0xffffff53
mov eax, ebx
jmp 0x180024faf
mov esi, 0x40
cmp edi, esi
jbe 0x180025098
mov r8d, edi
mov rdx, r9
mov rcx, rbp
call fcn.180025a40
mov ebx, eax
test eax, eax
jne 0x1800251a8
mov rdx, r14
mov rcx, rbp
call fcn.180025cb0
mov ebx, eax
test eax, eax
jne 0x1800251a8
lea edi, [rsi - 0x20]
jmp 0x1800250e3
mov esi, 0x40
cmp edi, esi
jbe 0x180025098
mov r8d, edi
mov rdx, r9
mov rcx, rbp
call fcn.1800270e0
mov ebx, eax
test eax, eax
jne 0x1800251a8
mov rdx, r14
mov rcx, rbp
call fcn.1800271f0
mov ebx, eax
test eax, eax
jne 0x1800251a8
lea edi, [rsi - 0x2c]
jmp 0x1800250e3
mov esi, 0x40
cmp edi, esi
ja 0x1800250b1
test r9, r9
je 0x1800250ab
mov r8, rdi
mov rdx, r9
mov rcx, r14
call fcn.18002efa0
cmp edi, esi
jae 0x1800250f5
jmp 0x1800250e3
mov r8d, edi
mov rdx, r9
mov rcx, rbp
call fcn.180021370
mov ebx, eax
test eax, eax
jne 0x1800251a8
mov rdx, r14
mov rcx, rbp
call fcn.180021440
mov ebx, eax
test eax, eax
jne 0x1800251a8
mov edi, reloc.WS2_32.dll_recv
mov r8d, esi
mov ecx, edi
xor edx, edx
sub r8d, edi
add rcx, r14
call fcn.18002ed60
xor edx, edx
test esi, esi
je 0x1800251a8
cmp esi, 0x20
jb 0x18002517e
lea eax, [rsi - 1]
lea r8, [rax + r14]
add rax, r15
cmp r14, rax
ja 0x180025118
cmp r8, r15
jae 0x18002517e
movdqa xmm2, xmmword [0x180046df0]
movdqa xmm3, xmmword [str.6666666666666666_]
mov eax, esi
and eax, 0x1f
mov r8d, esi
sub r8d, eax
movdqu xmm0, xmmword [rdx + r14]
lea eax, [rdx + 0x10]
pxor xmm0, xmm2
movdqu xmmword [rdx + r15], xmm0
movdqu xmm1, xmmword [rdx + r14]
pxor xmm1, xmm3
movdqu xmmword [rdx + r14], xmm1
movdqu xmm0, xmmword [rax + r14]
add edx, 0x20
pxor xmm0, xmm2
movdqu xmmword [rax + r15], xmm0
movdqu xmm1, xmmword [rax + r14]
pxor xmm1, xmm3
movdqu xmmword [rax + r14], xmm1
cmp edx, r8d
jb 0x180025133
cmp edx, esi
jae 0x1800251a8
mov eax, edx
sub r15, r14
add rax, r14
sub esi, edx
mov edx, esi
nop
movzx ecx, byte [rax]
lea rax, [rax + 1]
xor cl, 0x5c
mov byte [r15 + rax - 1], cl
xor byte [rax - 1], 0x36
dec rdx
jne 0x180025190
mov eax, ebx
jmp 0x180024faf
mov eax, 0xffffff53
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x180025530
Capabilities:
Hash data using sha256

Disassembly:
test rcx, rcx
jne 0x18002553b
mov eax, 0xffffff53
ret
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x68], eax
ret

Function at 0x180025590
Capabilities:
Hash data using sha256

Disassembly:
test rcx, rcx
jne 0x18002559b
mov eax, 0xffffff53
ret
xor eax, eax
mov qword [rcx + 0x70], rdx
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x68], eax
ret
Function at 0x180025de0
Capabilities:
Hash data using sha256

Disassembly:
test rcx, rcx
jne 0x180025deb
mov eax, 0xffffff53
ret
xor edx, edx
xor eax, eax
mov qword [rcx + 0x70], rax
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rdx
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x68], eax
ret
Function at 0x1800271f0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
test rdx, rdx
jne 0x180027215
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov edx, dword [rbx]
mov qword [rsp + 0x30], rsi
lea rsi, [rcx + 0xc]
mov ecx, dword [rcx + 4]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
lea eax, [rdx + rcx]
mov dword [rbx + 4], eax
cmp eax, ecx
jae 0x18002723a
inc dword [rbx + 8]
mov byte [rdx + rsi], 0x80
mov ecx, dword [rbx]
xor r14d, r14d
inc ecx
mov edi, reloc.WS2_32.dll_recv
mov dword [rbx], ecx
cmp ecx, 0x38
jbe 0x18002729e
mov r8d, 0x40
xor edx, edx
sub r8d, ecx
add rcx, rsi
call fcn.18002ed60
mov dword [rbx], 0x40
mov rdx, rsi
mov r8d, edi
mov eax, dword [rdx]
lea rdx, [rdx + 4]
mov ecx, eax
rol eax, 8
and eax, 0xff00ff
ror ecx, 8
and ecx, 0xff00ff00
or ecx, eax
mov dword [rdx - 4], ecx
dec r8
jne 0x180027270
mov rcx, rbx
call fcn.180025ed0
mov dword [rbx], r14d
mov ecx, dword [rbx]
mov r8d, gethostname
xor edx, edx
sub r8d, ecx
add rcx, rsi
call fcn.18002ed60
mov rax, rsi
nop word [rax + rax]
mov ecx, dword [rax]
lea rax, [rax + 4]
mov edx, ecx
rol ecx, 8
and ecx, 0xff00ff
ror edx, 8
and edx, 0xff00ff00
or edx, ecx
mov dword [rax - 4], edx
dec rdi
jne 0x1800272c0
mov r8d, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov ecx, r8d
shr ecx, 0x1d
lea edx, [rcx + rax*8]
lea eax, [r8*8]
mov rcx, rbx
mov dword [rbx + 4], eax
mov dword [rbx + 8], edx
mov dword [rsi + 0x38], edx
mov eax, dword [rbx + 4]
mov dword [rsi + 0x3c], eax
call fcn.180025ed0
mov eax, dword [rbx + 0x4c]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x50]
mov dword [rbx + 0x4c], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x54]
mov dword [rbx + 0x50], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x58]
mov dword [rbx + 0x54], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x5c]
mov dword [rbx + 0x58], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x5c], ecx
movups xmm0, xmmword [rbx + 0x4c]
movups xmmword [rbp], xmm0
mov eax, dword [rbx + 0x5c]
mov dword [rbp + 0x10], eax
mov qword [rbx], r14
mov dword [rbx + 8], r14d
mov r14, qword [rsp + 0x40]
mov dword [rbx + 0x4c], 0x67452301
mov dword [rbx + 0x50], 0xefcdab89
mov dword [rbx + 0x54], 0x98badcfe
mov dword [rbx + 0x58], 0x10325476
mov dword [rbx + 0x5c], 0xc3d2e1f0
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop rbp
ret