joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017efe
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
mov rax, rcx
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x140026d0c
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.140024880
cmp rsi, 0x41
jb 0x140026e16
lea r14, [rsp + 0x128]
mov rcx, r14
call fcn.140028b7c
movups xmm0, xmmword [0x140126478]
movaps xmmword [r14 - 0x18], xmm0
movups xmm0, xmmword [0x140126468]
movaps xmmword [r14 - 0x28], xmm0
and qword [r14 - 8], 0
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
mov qword [rsp + 0x30], rcx
movzx r15d, byte [rax + 0x68]
test r15, r15
je 0x140026e4a
mov r9d, 0x40
sub r9, r15
lea r12, [rsp + 0x90]
mov rcx, r12
mov rdx, rdi
mov r8, rsi
call fcn.140026be3
mov r13, qword [r12]
mov rbp, qword [r12 + 8]
mov rdi, qword [r12 + 0x10]
mov rsi, qword [r12 + 0x18]
lea r8, [0x140125c58]
mov rcx, r14
mov rdx, r15
call fcn.140026c20
lea rcx, [0x140125c70]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r13
mov r9, rbp
call fcn.14002c384
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, r14
call fcn.14002840e
mov r15, rsi
and r15, 0xffffffffffffffc0
mov r12d, esi
and r12d, 0x3f
add r15, rdi
cmp rsi, 0x3f
ja 0x140026e5b
jmp 0x140026e6f
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001fhmac_0.12.1_srclib.rs
lea rdx, [rsp + 0x50]
mov r8d, 0x40
mov rcx, rsi
call fcn.140024788
lea rcx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001fhmac_0.12.1_srclib.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, rdi
mov r9, rsi
jmp 0x140026f16
mov r15, rsi
and r15, 0xffffffffffffffc0
mov r12d, esi
and r12d, 0x3f
add r15, rdi
shr rsi, 6
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8, rsi
call fcn.14002840e
lea r9, [0x140125c88]
mov r8d, 0x40
mov rcx, r12
mov rdx, r14
call fcn.140024788
lea rcx, [0x140125ca0]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, r12
call fcn.14002c384
lea rsi, [rsp + 0x100]
mov byte [rsi + 0x68], r12b
lea r14, [rsp + 0x90]
mov ecx, 0xe
mov rdi, r14
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.14002482f
lea rdi, [rsp + 0xb8]
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call fcn.140024c0c
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rdi - 0x28], xmm0
movaps xmmword [rdi - 0x18], xmm1
lea rax, str..cargo_registry_srcindex.crates.io_6f17d22bba15001fhmac_0.12.1_srclib.rs
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
lea r8, [rsp + 0x90]
mov edx, 0x20
mov r9d, 0x20
call fcn.14002c384
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movups xmm2, xmmword [rsp + 0x70]
movups xmm3, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x30], xmm3
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
mov rax, rbx
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14002840e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [rcx]
mov rcx, qword [rax]
jmp fcn.140024bd8

Function at 0x140028424
Capabilities:
Hash data using sha1 via x86 extensions

Disassembly:
mov rax, qword [rcx]
mov rcx, qword [rax]
jmp fcn.140027cbf
Function at 0x14002842f
Capabilities:
Hash data using sha256 via x86 extensions
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [rcx]
mov rcx, qword [rax]
mov r8d, 1
jmp 0x140077d93
Function at 0x140077d55
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
mov rax, rcx
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x140077d64
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
mov rax, rcx
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x14007a1cc
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov r8d, dword [r8 + 0xc]
mov eax, r8d
rol eax, 0x19
mov r10d, dword [rdx]
mov ebx, r10d
rol ebx, 0x19
mov r11d, dword [rdx + 4]
mov ebp, r11d
rol ebp, 0x19
mov esi, dword [rdx + 8]
mov r14d, esi
rol r14d, 0x19
mov rdi, qword [rsp + 0x58]
mov r15d, r8d
rol r15d, 0xe
xor r15d, eax
mov eax, r10d
rol eax, 0xe
xor eax, ebx
mov ebx, r11d
rol ebx, 0xe
xor ebx, ebp
mov ebp, esi
rol ebp, 0xe
xor ebp, r14d
shr r8d, 3
xor r8d, r15d
add r8d, r10d
shr r10d, 3
xor r10d, eax
add r10d, r11d
shr r11d, 3
xor r11d, ebx
add r11d, esi
shr esi, 3
xor esi, ebp
add esi, dword [rdx + 0xc]
add r8d, dword [rdi + 0xc]
add r10d, dword [r9]
add r11d, dword [r9 + 4]
mov rax, rcx
add esi, dword [r9 + 8]
mov edx, dword [rdi]
mov ecx, dword [rdi + 4]
mov r9d, ecx
rol r9d, 0xf
mov edi, ecx
rol edi, 0xd
xor edi, r9d
shr ecx, 0xa
mov r9d, edx
rol r9d, 0xf
xor ecx, edi
mov edi, edx
rol edi, 0xd
add ecx, esi
xor edi, r9d
shr edx, 0xa
xor edx, edi
add edx, r11d
mov r9d, ecx
rol r9d, 0xf
mov r11d, ecx
rol r11d, 0xd
xor r11d, r9d
mov r9d, ecx
shr r9d, 0xa
xor r9d, r11d
add r9d, r10d
mov r10d, edx
rol r10d, 0xf
mov r11d, edx
rol r11d, 0xd
xor r11d, r10d
mov r10d, edx
shr r10d, 0xa
xor r10d, r11d
add r10d, r8d
mov dword [rax], r10d
mov dword [rax + 4], r9d
mov dword [rax + 8], edx
mov dword [rax + 0xc], ecx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140102810
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401783f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140102830
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140102838
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140102830
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14010288d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140102884
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140102830
add rax, 0x28
cmp rax, r9
jne 0x140102870
xor eax, eax
ret

Function at 0x140102890
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401783f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401028af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401028b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401028af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140102950
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401783f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14010296f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140102978
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x180002510
Capabilities:
Hash data with md5

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0xd0
xor edi, edi
mov dword [rax - 0x6c], 0x67452301
mov dword [rax - 0x68], 0xefcdab89
mov dword [rax - 0x64], 0x98badcfe
mov dword [rax - 0x60], 0x10325476
mov qword [rax - 0x58], rdi
mov rbx, r8
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], edi
call fcn.180021370
test eax, eax
jne 0x180002573
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.180021440
mov dword [rbx], eax
test eax, eax
jne 0x1800025b9
movzx eax, byte [rsp + 0x91]
movzx ecx, byte [rsp + 0x90]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x92]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x93]
shl ecx, 8
or eax, ecx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rdi
ret
mov eax, edi
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rdi
ret

Function at 0x180002c90
Capabilities:
Hash data using sha1

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x180002ca6
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov eax, 0xfff4
mov dword [rcx + 0x391], 0
mov word [rcx + 0x396], 0
and word [rcx + 0x38a], ax
xor eax, eax
mov byte [rcx + 0x380], 0
mov dword [rcx + 0x270], eax
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x180002d8e
xor r8d, r8d
add rax, 0x170
je 0x180002d13
mov qword [rax + 0x60], r8
mov dword [rax + 0x4c], 0x67452301
mov dword [rax + 0x50], 0xefcdab89
mov dword [rax + 0x54], 0x98badcfe
mov dword [rax + 0x58], 0x10325476
mov qword [rax], r8
mov dword [rax + 8], r8d
mov rax, qword [rcx + 0x18]
add rax, 0x108
je 0x180002c9e
mov qword [rax + 0x60], r8
mov dword [rax + 0x4c], 0x67452301
mov dword [rax + 0x50], 0xefcdab89
mov dword [rax + 0x54], 0x98badcfe
mov dword [rax + 0x58], 0x10325476
mov dword [rax + 0x5c], 0xc3d2e1f0
mov qword [rax], r8
mov dword [rax + 8], r8d
mov rcx, qword [rcx + 0x18]
add rcx, 0x1d8
call fcn.180025de0
test eax, eax
jne 0x180002c9e
mov rcx, qword [rdi + 0x18]
add rcx, 0x250
je 0x180002c9e
mov qword [rcx + 0xd8], r8
call fcn.18001eba0
test eax, eax
jne 0x180002c9e
lea rcx, [rdi + 0x3d0]
mov qword [rsp + 0x30], rbx
call fcn.1800054e0
mov r8, qword [rdi + 0x48]
lea rcx, [rdi + 0x3d0]
call fcn.180005410
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1800030f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r13
sub rsp, 0x498
lea ebp, [r9 + 1]
mov r13d, r9d
mov edi, edx
shr ebp, 1
mov rsi, rcx
cmp ebp, 0x100
jbe 0x180003129
mov eax, 0xffffff7c
add rsp, 0x498
pop r13
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x4c8], r12
mov r12d, dword [rsp + 0x4f8]
mov qword [rsp + 0x4d8], r14
mov qword [rsp + 0x490], r15
mov r15d, dword [rsp + 0x4e8]
lea r14d, [r15 + r12]
cmp r14d, 0x80
ja 0x180003166
cmp edi, 0xe0
jbe 0x180003170
mov eax, 0xffffff7c
jmp 0x180003327
lea rcx, [rsp + 0xd0]
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x4c0], rbx
call fcn.18002ed60
lea rcx, [rsp + 0x1b0]
mov r8, rdi
xor edx, edx
call fcn.18002ed60
mov rdx, qword [rsp + 0x4d0]
lea rcx, [rsp + 0x290]
mov r8d, ebp
call fcn.18002efa0
mov eax, r13d
mov edx, ebp
and eax, 1
lea rcx, [rsp + 0x390]
mov r8d, ebp
sub rdx, rax
add rdx, qword [rsp + 0x4d0]
call fcn.18002efa0
mov rdx, qword [rsp + 0x4e0]
lea rcx, [rsp + 0x50]
mov r8, r15
call fcn.18002efa0
mov rdx, qword [rsp + 0x4f0]
lea rcx, [rsp + 0x50]
add rcx, r15
mov r8, r12
call fcn.18002efa0
mov rbx, qword [rsp + 0x500]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x290]
lea rcx, [rsp + 0xd0]
mov r9d, ebp
mov edx, edi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call fcn.180002dc0
mov r9d, eax
test eax, eax
jne 0x18000331c
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], 2
lea r8, [rsp + 0x390]
lea rcx, [rsp + 0x1b0]
mov r9d, ebp
mov edx, edi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call fcn.180002dc0
mov r9d, eax
test eax, eax
jne 0x18000331c
xor edx, edx
test edi, edi
je 0x18000331c
cmp edi, 0x20
jb 0x1800032f1
mov eax, edi
mov r8d, edi
and eax, 0x1f
sub r8d, eax
nop dword [rax + rax]
movdqu xmm0, xmmword [rsp + rdx + 0xd0]
movdqu xmm1, xmmword [rsp + rdx + 0x1b0]
lea eax, [rdx + 0x10]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rsp + rax + 0xd0]
movdqu xmmword [rdx + rsi], xmm1
movdqu xmm1, xmmword [rsp + rax + 0x1b0]
add edx, 0x20
pxor xmm1, xmm0
movdqu xmmword [rax + rsi], xmm1
cmp edx, r8d
jb 0x1800032b0
cmp edx, edi
jae 0x18000331c
sub edi, edx
mov eax, edx
mov edx, edi
nop dword [rax + rax]
movzx ecx, byte [rsp + rax + 0x1b0]
lea rax, [rax + 1]
xor cl, byte [rsp + rax + 0xcf]
mov byte [rax + rsi - 1], cl
dec rdx
jne 0x180003300
mov rbx, qword [rsp + 0x4c0]
mov eax, r9d
mov r14, qword [rsp + 0x4d8]
mov r12, qword [rsp + 0x4c8]
mov r15, qword [rsp + 0x490]
add rsp, 0x498
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x180005c80
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
xor edi, edi
test rcx, rcx
je 0x180005cb1
mov rax, qword [0x180051da8]
test rax, rax
je 0x180005ca8
call rax
jmp 0x180005cad
call fcn.180031bb8
mov qword [rbx + 0x18], rdi
mov rax, qword [0x180051db0]
mov ecx, 0x330
test rax, rax
je 0x180005cc6
call rax
jmp 0x180005ccb
call fcn.180035088
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x180005ce4
mov eax, 0xffffff83
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov r8d, 0x330
mov rcx, rax
call fcn.18002ed60
mov rcx, qword [rbx + 0x18]
add rcx, 0x170
je 0x180005db1
mov rax, qword [rbx + 0x48]
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov qword [rcx], rdi
mov qword [rcx + 0x60], rax
mov dword [rcx + 8], edi
mov rcx, qword [rbx + 0x18]
add rcx, 0x108
je 0x180005db1
mov rax, qword [rbx + 0x48]
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov dword [rcx + 0x5c], 0xc3d2e1f0
mov qword [rcx + 0x60], rax
mov qword [rcx], rdi
mov dword [rcx + 8], edi
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x48]
add rcx, 0x1d8
call fcn.180025590
test eax, eax
jne 0x180005db6
mov rcx, qword [rbx + 0x18]
add rcx, 0x250
je 0x180005db1
mov rax, qword [rbx + 0x48]
mov qword [rcx + 0xd8], rax
call fcn.18001eba0
test eax, eax
jne 0x180005db6
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180009cc0
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
push r15
sub rsp, 0xa0
mov qword [r11 - 0x28], 0
xor eax, eax
mov r15, rdx
mov dword [rsp + 0x6c], 0x67452301
mov dword [rsp + 0x70], 0xefcdab89
mov dword [rsp + 0x74], 0x98badcfe
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x78], 0x10325476
test ecx, ecx
jle 0x180009dcf
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r14
mov r14d, ecx
mov ebx, 0x40
mov rbp, r15
test r15, r15
je 0x180009d9e
cmp eax, ebx
jae 0x180009d9e
nop dword [rax]
nop word [rax + rax]
mov esi, 0x40
lea rcx, [rsp + 0x2c]
mov rdx, rbp
sub esi, eax
cmp ebx, esi
cmovb esi, ebx
add rcx, rax
mov r8d, esi
mov edi, esi
call fcn.18002efa0
mov eax, dword [rsp + 0x20]
add rbp, rdi
add eax, esi
sub ebx, esi
mov dword [rsp + 0x20], eax
cmp eax, 0x40
jne 0x180009d9a
lea rcx, [rsp + 0x20]
call fcn.180020ba0
mov ecx, dword [rsp + 0x24]
mov eax, ecx
add ecx, 0x40
mov dword [rsp + 0x24], ecx
cmp ecx, eax
jae 0x180009d94
inc dword [rsp + 0x28]
xor eax, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x180009d40
dec r14
jne 0x180009d21
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop r15
ret
Function at 0x18000a100
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x70
movsxd rsi, dword [rsp + 0xc0]
movsxd r15, r9d
movsxd r14, r8d
lea eax, [r15 + 1]
mov r12, rdx
mov rbp, rcx
add eax, r14d
cmp eax, esi
jle 0x18000a162
mov eax, dword [rsp + 0xc8]
sub esi, r15d
mov r8, rdx
mov r13d, 1
lea rdx, [rsp + 0x30]
mov r9d, esi
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
call qword [rcx + 0x78]
mov eax, 0xfffffecf
jmp 0x18000a2dc
lea eax, [r14 + 1]
mov qword [rsp + 0xa8], rdi
xor edi, edi
mov r8d, edi
mov edx, edi
movsxd r9, eax
test eax, eax
jle 0x18000a1da
mov r11, rsi
movzx r10d, r14b
sub r11, r14
add r11, r12
nop dword [rax]
movzx eax, byte [r11 + rdx - 1]
inc rdx
xor eax, r10d
or r8d, eax
cmp rdx, r9
jl 0x18000a190
test r8d, r8d
je 0x18000a1da
mov eax, dword [rsp + 0xc8]
sub esi, r15d
mov r13d, 1
lea rdx, [rsp + 0x30]
mov r8, r12
mov r9d, esi
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
call qword [rcx + 0x78]
mov eax, 0xfffffecf
jmp 0x18000a2d4
mov eax, dword [rsp + 0xc8]
mov qword [rsp + 0xa0], rbx
mov ebx, esi
sub ebx, r14d
mov r13d, 1
lea rdx, [rsp + 0x30]
sub ebx, r15d
mov r8, r12
mov dword [rsp + 0x28], r13d
lea r9d, [rbx - 1]
mov dword [rsp + 0x20], eax
call qword [rcx + 0x78]
mov r8d, r13d
mov r10d, eax
mov dword [rsp + 0xc0], eax
mov eax, esi
sub eax, r15d
sub eax, 0x2a
cdq
and edx, 0x3f
add eax, edx
mov r9d, eax
and eax, 0x3f
sar r9d, 6
cmp eax, edx
lea eax, [rbx - 0x2b]
mov rbx, qword [rsp + 0xa0]
cmove r8d, edi
cdq
and edx, 0x3f
add eax, edx
mov ecx, eax
and eax, 0x3f
sar ecx, 6
cmp eax, edx
cmove r13d, edi
sub r9d, ecx
sub r9d, r13d
add r9d, r8d
je 0x18000a27e
movzx ecx, byte [rbp + 0x282]
mov r8, rbp
mov edx, r9d
call fcn.18000a020
mov r10d, dword [rsp + 0xc0]
mov rax, rdi
test r15d, r15d
jle 0x18000a2c5
mov r9, rsi
lea rcx, [rsp + 0x30]
sub r9, r14
sub r9, r15
sub r9, rcx
add r9, r12
nop word [rax + rax]
lea rcx, [rsp + 0x30]
add rcx, rax
inc rax
movzx edx, byte [r9 + rcx - 1]
movzx ecx, byte [rcx]
xor edx, ecx
or edi, edx
cmp rax, r15
jl 0x18000a2a0
test edi, edi
jne 0x18000a1d0
mov eax, 0xfffffecf
test r10d, r10d
cmovne r10d, eax
mov eax, r10d
mov rdi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x18000a4b0
Capabilities:
Encode data using xor

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
movzx eax, byte [rcx + 0x281]
movzx r14d, byte [rcx + 0x285]
xor ebx, ebx
mov r12, rdx
mov r10d, r9d
mov edi, r8d
mov rsi, rcx
mov ebp, ebx
mov r13d, ebx
mov edx, ebx
cmp al, 1
jne 0x18000a5f2
movzx r8d, word [rcx + 0x388]
mov eax, 0x2000
test ax, r8w
je 0x18000a512
movzx edx, word [rcx + 0x27c]
movsxd rax, edx
mov rcx, rdi
mov r13d, 1
sub rcx, rax
mov eax, 0x1000
mov r15, rdi
movzx ebp, byte [rcx + r12 - 1]
mov dword [rsp + 0xa0], r13d
test ax, r8w
je 0x18000a566
sub edi, edx
mov dword [rsp + 0x28], r9d
mov r8d, ebp
mov r9d, r14d
mov rdx, r12
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.18000a100
test eax, eax
je 0x18000a66d
jmp 0x18000a691
sub edi, r14d
mov r13d, ebx
lea eax, [rdi - 1]
cmp ebp, eax
jbe 0x18000a57b
mov ebp, ebx
mov r13d, 1
sub edi, ebp
lea rdx, [rsp + 0x30]
mov r8, r12
lea r9d, [rdi - 1]
mov rcx, rsi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r10d
call qword [rsi + 0x78]
mov r10d, eax
test r14d, r14d
jle 0x18000a5da
mov ecx, ebp
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x30]
sub r15, rcx
mov r8, r14
sub r15, r14
sub r15, rax
lea r9, [r15 + r12]
movzx ecx, byte [r9 + rdx - 1]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, eax
or ebx, ecx
dec r8
jne 0x18000a5c0
test ebx, ebx
jne 0x18000a5e8
test r10d, r10d
jne 0x18000a5e8
test r13d, r13d
je 0x18000a665
mov eax, 0xfffffecf
jmp 0x18000a691
test al, al
jne 0x18000a66d
mov r9d, edi
lea rdx, [rsp + 0x30]
mov r8, r12
sub r9d, r14d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r10d
call qword [rcx + 0x78]
mov r10d, eax
test r14d, r14d
jle 0x18000a659
mov r9, rdi
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x30]
sub r9, r14
mov r8, r14
sub r9, rax
add r9, r12
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, eax
or ebx, ecx
dec r8
jne 0x18000a640
test ebx, ebx
jne 0x18000a5e8
test r10d, r10d
je 0x18000a66d
mov eax, 0xfffffecf
jmp 0x18000a691
mov r13d, dword [rsp + 0xa0]
cmp byte [rsi + 0x281], 2
mov rax, qword [rsp + 0xc0]
jne 0x18000a687
movzx ecx, word [rsi + 0x27e]
jmp 0x18000a68d
lea ecx, [r14 + r13]
add ecx, ebp
mov dword [rax], ecx
xor eax, eax
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 0x18001eba0
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
jne 0x18001ebab
mov eax, 0xffffff53
ret
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 0x18], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x20], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x28], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x30], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x38], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x40], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x48], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x50], rax
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
ret

Function at 0x18001fa40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
xor r14d, r14d
cmp dword [rcx], 0x80
mov ebp, r8d
mov r12, rdx
mov rbx, rcx
lea r15, [rcx + 0x58]
jb 0x18001fa77
mov eax, 0xffffff7c
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
test r8d, r8d
je 0x18001fb82
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r13
movabs r13, 0xff00ff00ff00ff
nop dword [rax]
mov ecx, dword [rbx]
mov esi, 0x80
mov rdx, r12
sub esi, dword [rbx]
cmp ebp, esi
cmovb esi, ebp
add rcx, r15
mov r8d, esi
mov edi, esi
call fcn.18002efa0
add dword [rbx], esi
add r12, rdi
sub ebp, esi
cmp dword [rbx], 0x80
jne 0x18001fb6b
mov r8, r15
mov r9d, reloc.WS2_32.dll_recv
movabs r15, 0xffff0000ffff
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [r8]
lea r8, [r8 + 8]
mov rdx, rcx
mov rax, rcx
shl rcx, 8
shr rdx, 8
shl rax, 8
xor rdx, rax
and rdx, r13
xor rdx, rcx
mov rcx, rdx
mov rax, rdx
shl rdx, 0x10
shr rcx, 0x10
shl rax, 0x10
xor rcx, rax
and rcx, r15
xor rcx, rdx
rol rcx, 0x20
mov qword [r8 - 8], rcx
dec r9
jne 0x18001faf0
mov rcx, rbx
lea r15, [rbx + 0x58]
call fcn.18001ec30
mov r14d, eax
test eax, eax
jne 0x18001fb73
mov rdx, qword [rbx + 8]
lea rcx, [rdx + 0x80]
mov qword [rbx + 8], rcx
cmp rcx, rdx
jae 0x18001fb65
inc qword [rbx + 0x10]
mov dword [rbx], 0
test ebp, ebp
jne 0x18001faa0
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov eax, r14d
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret