joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1802f3c90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1802f3d26
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1804871e0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1802f50b0
test rdi, rdi
je 0x1802f3db5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1802f3dce
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1802f3ec6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1802f3f48
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1802f3ed3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1802f3d90
cmp r9, 8
jae 0x1802f3edc
jmp 0x1802f3f48
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1802f50b0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1802f3f48
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1802f3f48
mov r8, rcx
cmp r9, 8
jb 0x1802f3f48
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1802f3ee0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1802f50b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1802f50f2
mov r10d, 8
sub r10, r11
cmp r10, r8
mov rdi, r8
cmovb rdi, r10
cmp rdi, 4
jb 0x1802f50fa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1802f510b
jmp 0x1802f5122
xor r10d, r10d
jmp 0x1802f51ad
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1802f5122
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1802f5139
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1802f5159
add r11, r8
jmp 0x1802f528a
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov r11, qword [rax + 0x10]
mov r9, qword [rax]
add r9, r11
mov rdi, qword [rax + 8]
add rdi, rcx
rol r11, 0xd
xor r11, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, rdi
add rdi, r11
rol r11, 0x11
add r9, rcx
xor r11, rdi
rol rcx, 0x15
mov qword [rax + 0x10], r11
xor rcx, r9
rol rdi, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], rdi
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1802f5222
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1802f51d0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1802f5240
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1802f5252
jmp 0x1802f526c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1802f526c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1802f5286
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x180309e30
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [rcx + 0x20]
movzx eax, word [rcx]
cmp eax, 0x5a4d
jne 0x180309e81
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x180309e81
cmp dword [rcx + rdx + 0x84], 7
jb 0x180309e81
mov eax, dword [rcx + rdx + 0xb8]
test rax, rax
je 0x180309e81
mov edx, dword [rcx + rdx + 0xbc]
imul r8d, edx, 0xb6db6db7
ror r8d, 2
cmp r8d, 0x9249249
ja 0x180309e81
cmp edx, 0x1c
jae 0x180309e84
xor eax, eax
ret
shr edx, 2
imul rdx, rdx, 0x24924925
shr rdx, 0x20
mov r9d, edx
lea rdx, [rax + rcx]
add rdx, 0x14
lea rax, [r9 + r9*8]
lea r8, [rax + rax*2]
add r8, r9
xor eax, eax
xor r9d, r9d
jmp 0x180309eb9
add r9, 0x1c
cmp r8, r9
je 0x180309ed5
cmp dword [rdx + r9 - 8], 2
jne 0x180309eb0
mov r10d, dword [rdx + r9]
cmp dword [rcx + r10], 0x53445352
jne 0x180309eb0
add rcx, r10
mov rax, rcx
ret

Function at 0x18030c770
Capabilities:
Get hostname

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov dword [rsp + 0x2c], 0
lea r8, [rsp + 0x2c]
mov ecx, 5
xor edx, edx
call qword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
jne 0x18030c7c0
call fcn.18030c890
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
test rax, rax
je 0x18030c7c0
lea rcx, [rsp + 0x38]
call fcn.1802d31e0
mov r14d, dword [rsp + 0x2c]
lea rdi, [r14 + r14]
test r14, r14
je 0x18030c7f0
movzx eax, byte [0x1805297c8]
mov edx, 2
mov rcx, rdi
call fcn.1802cbf10
test rax, rax
je 0x18030c877
mov rbx, rax
jmp 0x18030c7f5
mov ebx, 2
lea r8, [rsp + 0x2c]
mov ecx, 5
mov rdx, rbx
call qword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x18030c81e
mov r8d, dword [rsp + 0x2c]
mov rcx, rsi
mov rdx, rbx
call fcn.1804378a0
jmp 0x18030c854
call fcn.18030c890
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edx
shl rdx, 0x20
or rdx, 2
mov qword [rsi + 8], rdx
movabs rcx, 0x8000000000000000
mov qword [rsi], rcx
test rax, rax
je 0x18030c854
lea rcx, [rsp + 0x30]
call fcn.1802d31e0
test r14d, r14d
je 0x18030c86a
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.1802cbf20
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 2
mov rdx, rdi
call fcn.180407090
int3
Function at 0x180322b20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
cmp edx, 0x1ff
jg 0x180322bba
dec edx
cmp edx, 0x3f
ja case.0x180322b48.64
lea rax, [0x18048fb4c]
movsxd rdx, dword [rax + rdx*4]
add rdx, rax
jmp rdx
movzx eax, byte [rcx]
test rax, rax
je 0x180322b8a
lea ecx, [rax - 1]
mov edx, 1
xor r9d, r9d
shld r9, rdx, cl
mov r10d, ecx
shr r10b, 7
movzx r10d, r10b
xor r11d, r11d
shl rdx, cl
test cl, 0x40
cmovne r9, rdx
cmovne rdx, r11
shl r10, 4
or qword [r8 + r10], rdx
or qword [r8 + r10 + 8], r9
mov r10d, eax
shr r10d, 7
mov edx, 1
xor r9d, r9d
mov ecx, eax
shld r9, rdx, cl
shl rdx, cl
xor ecx, ecx
test al, 0x40
cmovne r9, rdx
cmovne rdx, rcx
shl r10, 4
add r8, r10
jmp 0x180322d07
cmp edx, 0x1fff
jle 0x180322bda
cmp edx, 0x7fff
jle case.0x180322b48.64
cmp edx, 0x8000
je case.0x180322b48.64
cmp edx, 0x20000
jmp case.0x180322b48.64
cmp edx, 0x7ff
xor eax, eax
lea rdx, [0x180490a90]
mov r9d, 1
xor ecx, ecx
movzx r10d, cx
lea r11d, [rcx + 1]
movzx esi, r11w
xor r11d, r11d
lea edi, [r10 + r11]
movzx edi, di
cmp edi, 0xff
jae 0x180322cb4
cmp byte [r10 + rdx], 0
setne bl
lea rdi, [rsi + r11]
cmp byte [rdx + rdi], 0
setne dil
xor dil, bl
inc r11
test dil, dil
je 0x180322c00
test cl, cl
je 0x180322c66
dec ecx
xor esi, esi
shld rsi, r9, cl
mov ebx, ecx
shr bl, 7
movzx edi, bl
mov ebx, 1
shl rbx, cl
test cl, 0x40
cmovne rsi, rbx
cmovne rbx, rax
shl rdi, 4
or qword [r8 + rdi], rbx
or qword [r8 + rdi + 8], rsi
lea ecx, [r10 - 1]
movzx esi, cl
add rsi, r11
lea ecx, [r10 - 1]
movzx ecx, cl
add rcx, r11
add r10, r11
xor r11d, r11d
shld r11, r9, cl
shr sil, 7
movzx esi, sil
mov edi, 1
shl rdi, cl
test cl, 0x40
cmovne r11, rdi
cmovne rdi, rax
shl rsi, 4
or qword [r8 + rsi], rdi
or qword [r8 + rsi + 8], r11
mov ecx, r10d
jmp 0x180322bf1
cmp r10d, 0xff
ja case.0x180322b48.3
test cl, cl
je 0x180322cf7
dec ecx
mov eax, 1
xor edx, edx
shld rdx, rax, cl
mov r9d, ecx
shr r9b, 7
movzx r9d, r9b
xor r10d, r10d
shl rax, cl
test cl, 0x40
cmovne rdx, rax
cmovne rax, r10
shl r9, 4
or qword [r8 + r9], rax
or qword [r8 + r9 + 8], rdx
add r8, 0x10
movabs r9, 0x8000000000000000
xor edx, edx
or qword [r8], rdx
or qword [r8 + 8], r9
pop rbx
pop rdi
pop rsi
ret
mov edx, 0x3600
xor r9d, r9d
jmp 0x180322d07
ud2
Function at 0x18032b4c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r12, r8
mov rdi, rdx
mov rbx, rcx
cmp r9, 8
jb 0x18032b53d
mov r14, r9
shr r14, 3
mov r15, r14
shl r15, 7
lea rdx, [rbx + r15]
mov rsi, r12
imul r12, r14, 0xe0
lea r8, [rbx + r12]
mov rcx, rbx
mov r9, r14
call fcn.18032b4c0
mov rbx, rax
lea rdx, [rdi + r15]
lea r8, [rdi + r12]
mov rcx, rdi
mov r9, r14
call fcn.18032b4c0
mov rdi, rax
add r15, rsi
add r12, rsi
mov rcx, rsi
mov rdx, r15
mov r8, r12
mov r9, r14
call fcn.18032b4c0
mov r12, rax
mov qword [rsp + 0x38], rdi
mov rbp, qword [rbx + 8]
mov rsi, qword [rbx + 0x10]
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov r13, rsi
sub r13, r8
mov qword [rsp + 0x48], r8
cmovb r8, rsi
mov rcx, rbp
mov qword [rsp + 0x50], rdx
call fcn.180469550
cdqe
test eax, eax
cmovne r13, rax
movzx r15d, byte [rbx + 0x18]
movzx ecx, byte [rdi + 0x18]
mov eax, r15d
mov byte [rsp + 0x2f], cl
sub al, cl
xor r14d, r14d
cmp al, 0xff
sete r14b
xor eax, eax
test r13, r13
sets al
cmovne r14d, eax
mov rdx, qword [r12 + 8]
mov r13, qword [r12 + 0x10]
mov rdi, r12
mov r12, rsi
sub r12, r13
cmovae rsi, r13
mov rcx, rbp
mov qword [rsp + 0x30], rdx
mov r8, rsi
call fcn.180469550
cdqe
test eax, eax
cmovne r12, rax
mov qword [rsp + 0x40], rdi
movzx ebp, byte [rdi + 0x18]
sub r15b, bpl
xor eax, eax
cmp r15b, 0xff
sete al
xor ecx, ecx
test r12, r12
sets cl
cmovne eax, ecx
cmp r14b, al
jne 0x18032b643
mov rax, qword [rsp + 0x48]
mov rsi, rax
sub rsi, r13
cmovb r13, rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
mov r8, r13
call fcn.180469550
cdqe
test eax, eax
cmovne rsi, rax
movzx ecx, byte [rsp + 0x2f]
sub cl, bpl
xor eax, eax
cmp cl, 0xff
sete al
xor ecx, ecx
test rsi, rsi
sets cl
cmovne eax, ecx
xor r14b, al
mov rbx, qword [rsp + 0x38]
cmovne rbx, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x18032b660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp r9, 8
jb 0x18032b6de
mov r14, r9
mov r15, r9
shr r15, 3
and r14, 0xfffffffffffffff8
lea rdx, [rbx + r14]
mov r12, r15
shl r12, 4
sub r12, r15
sub r12, r15
lea r8, [rbx + r12]
mov rcx, rbx
mov r9, r15
call fcn.18032b660
mov rbx, rax
lea rdx, [rdi + r14]
lea r8, [rdi + r12]
mov rcx, rdi
mov r9, r15
call fcn.18032b660
mov rdi, rax
add r14, rsi
add r12, rsi
mov rcx, rsi
mov rdx, r14
mov r8, r12
mov r9, r15
call fcn.18032b660
mov rsi, rax
movzx r10d, byte [rbx]
movzx r11d, byte [rbx + 1]
movzx ecx, byte [rdi]
movzx edx, byte [rdi + 1]
xor r8d, r8d
cmp r11b, dl
setb r8b
xor eax, eax
cmp r10b, cl
setb al
cmove eax, r8d
movzx r8d, byte [rsi]
movzx r9d, byte [rsi + 1]
xor ebp, ebp
cmp r11b, r9b
setb bpl
xor r11d, r11d
cmp r10b, r8b
setb r11b
cmove r11d, ebp
cmp al, r11b
jne 0x18032b748
xor r10d, r10d
cmp dl, r9b
setb r10b
xor edx, edx
cmp cl, r8b
setb dl
cmove edx, r10d
xor al, dl
cmovne rdi, rsi
mov rbx, rdi
mov rax, rbx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1803618f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
movzx eax, byte [0x1805297c8]
mov ecx, 0x18e0
mov edx, 4
call fcn.1802cbf10
test rax, rax
je 0x1803619fa
xor ecx, ecx
lea rdx, [0x1804934f0]
movdqa xmm0, xmmword [0x18048b990]
nop dword [rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x18e0
jne 0x180361930
mov rcx, rax
add rcx, 0x18e0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0x31c
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x20]
call fcn.18035a790
mov rax, qword [rsp + 0x58]
test rax, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x20], xmm0
sete byte [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.180360990
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x60
pop rsi
ret
mov ecx, 4
mov edx, 0x18e0
call fcn.180407090
int3

Function at 0x180361af0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
movzx eax, byte [0x1805297c8]
mov ecx, 0x238
mov edx, 4
call fcn.1802cbf10
test rax, rax
je 0x180361c0b
xor ecx, ecx
lea rdx, [0x180494dd0]
movdqa xmm0, xmmword [0x18048b990]
nop dword [rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x230
jne 0x180361b30
movabs rcx, 0x1fbf90001fbf0
mov qword [rax + 0x230], rcx
mov rcx, rax
add rcx, 0x238
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0x47
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x20]
call fcn.18035a790
mov rax, qword [rsp + 0x58]
test rax, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x20], xmm0
sete byte [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.180360990
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x60
pop rsi
ret
mov ecx, 4
mov edx, 0x238
call fcn.180407090
int3
Function at 0x180380b80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x180380c16
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1804871e0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1802f50b0
test rdi, rdi
je 0x180380ca5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x180380cbe
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x180380db6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x180380e38
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x180380dc3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x180380c80
cmp r9, 8
jae 0x180380dcc
jmp 0x180380e38
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1802f50b0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x180380e38
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x180380e38
mov r8, rcx
cmp r9, 8
jb 0x180380e38
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x180380dd0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x180384030
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
call fcn.18042c520
mov rsi, rax
cmp qword [rax], 0
je 0x180384067
mov rax, rsi
add rax, 8
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
jmp 0x18038409b
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rax, rsi
add rax, 8
mov qword [rsi], 1
mov qword [rsi + 0x10], r14
lea rcx, [rbx + 1]
mov qword [rax], rcx
movabs r15, 0x736f6d6570736575
xor r15, rbx
movabs r12, 0x646f72616e646f6d
xor r12, r14
movabs r13, 0x6c7967656e657261
xor r13, rbx
movabs rbp, 0x7465646279746573
xor rbp, r14
mov esi, 1
lea rdi, [rsp + 0x50]
xorps xmm6, xmm6
nop word cs:[rax + rax]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
movups xmmword [rdi], xmm6
mov qword [rdi + 0x10], 0
mov qword [rsp + 0x68], rsi
mov r8d, 8
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x68]
call fcn.1802f50b0
mov r9, qword [rsp + 0x50]
shl r9, 0x38
or r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
xor rcx, r9
mov rax, qword [rsp + 0x20]
add rax, rdx
mov r8, qword [rsp + 0x28]
rol rdx, 0xd
add r8, rcx
xor rdx, rax
rol rcx, 0x10
xor rcx, r8
rol rax, 0x20
add r8, rdx
add rax, rcx
rol rdx, 0x11
xor rdx, r8
rol rcx, 0x15
rol r8, 0x20
xor rcx, rax
xor rax, r9
xor r8, 0xff
add rax, rdx
add r8, rcx
rol rdx, 0xd
xor rdx, rax
rol rcx, 0x10
rol rax, 0x20
xor rcx, r8
add r8, rdx
rol rdx, 0x11
add rax, rcx
xor rdx, r8
rol rcx, 0x15
xor rcx, rax
rol r8, 0x20
add rax, rdx
add r8, rcx
rol rdx, 0xd
xor rdx, rax
rol rcx, 0x10
rol rax, 0x20
xor rcx, r8
add r8, rdx
rol rdx, 0x11
add rax, rcx
xor rdx, r8
rol rcx, 0x15
xor rcx, rax
rol r8, 0x20
add rax, rdx
add r8, rcx
rol rdx, 0xd
xor rdx, rax
rol rcx, 0x10
xor rcx, r8
add r8, rdx
rol rdx, 0x11
rol rcx, 0x15
mov rax, r8
rol rax, 0x20
xor rax, rdx
xor rax, rcx
inc rsi
xor rax, r8
je 0x1803840f0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1803a5d80
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rbp, r8
mov r12, rdx
mov rdi, rcx
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1803a6320
mov eax, dword [rsp + 0x30]
cmp eax, 2
jne 0x1803a5dc1
mov rdx, qword [rsp + 0x38]
mov esi, 1
jmp 0x1803a5fd4
mov esi, 1
test eax, eax
je 0x1803a5f21
mov r9, qword [rdi + 0x90]
mov r15, qword [rdi + 0x98]
cmp r15, r9
jne 0x1803a5f67
mov rbx, qword [rsp + 0x38]
mov r13d, ebx
shr rbx, 0x20
cmp rbx, rbp
cmovae rbx, rbp
mov r14d, dword [rsp + 0x34]
lea rbp, [rbx + r14]
add r13, rbp
sub r13, r15
jbe 0x1803a5e58
mov rax, qword [rdi + 0x80]
sub rax, r15
cmp rax, r13
jb 0x1803a5feb
mov rax, qword [rdi + 0x88]
lea rcx, [rax + r15]
cmp r13, 2
jb 0x1803a5e4b
lea r8, [r13 - 1]
xor edx, edx
mov qword [rsp + 0x70], rax
call fcn.1804691b0
add r15, r13
dec r15
mov rcx, qword [rsp + 0x70]
add rcx, r15
mov byte [rcx], 0
inc r15
mov qword [rdi + 0x90], r15
cmp rbp, r15
ja 0x1803a602d
mov rcx, qword [rdi + 0x88]
add rcx, r14
mov rdx, r12
mov r8, rbx
call fcn.180468b10
mov rax, qword [rdi + 0x90]
cmp rax, r14
jb 0x1803a602d
cmp rax, rbp
jb 0x1803a602d
mov rcx, qword [rdi + 0x88]
lea rdx, [rcx + r14]
sub eax, ebp
add rbp, rcx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], 7
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 6
mov qword [rsp + 0x58], rbp
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rax
lea rcx, [rdi + 0xf0]
lea r8, [rsp + 0x78]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1803a5f30
mov edx, eax
shl rdx, 0x20
or rdx, 2
jmp 0x1803a5fd4
movabs rdx, 0x8009031700000002
jmp 0x1803a5fd4
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
mov r9, qword [rdi + 0x90]
cmp r9, rax
jb 0x1803a5f52
mov qword [rdi + 0x90], rax
mov r9, rax
mov qword [rdi + 0x98], 0
mov qword [rdi + 0x118], rbx
xor r15d, r15d
cmp r15, r9
je 0x1803a5fcb
lea rbx, [rdi + 0x10]
movabs r14, 0xd00000003
nop word [rax + rax]
sub r9, r15
jb 0x1803a602d
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1803a602d
mov r8, qword [rdi + 0x88]
add r8, r15
mov rcx, rbx
call fcn.180407930
cmp rax, 2
cmove rdx, r14
test rax, rax
jne 0x1803a5fd4
add r15, rdx
mov qword [rdi + 0x98], r15
mov r9, qword [rdi + 0x90]
cmp r15, r9
jne 0x1803a5f80
mov rdx, qword [rdi + 0x118]
xor esi, esi
mov rax, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rdi + 0x80]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rdx, r15
mov r8, r13
call fcn.180469640
mov r15, qword [rdi + 0x90]
mov rax, qword [rdi + 0x88]
lea rcx, [rax + r15]
cmp r13, 2
jae 0x1803a5e2d
jmp 0x1803a5e4b
ud2