joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800aa640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
cmp edx, 0x1ff
jg 0x1800aa6da
dec edx
cmp edx, 0x3f
ja case.0x1800aa668.64
lea rax, [0x18020a45c]
movsxd rdx, dword [rax + rdx*4]
add rdx, rax
jmp rdx
movzx eax, byte [rcx]
test rax, rax
je 0x1800aa6aa
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 0x1800aa827
cmp edx, 0x1fff
jle 0x1800aa6fa
cmp edx, 0x7fff
jle case.0x1800aa668.64
cmp edx, 0x8000
je case.0x1800aa668.64
cmp edx, 0x20000
jmp case.0x1800aa668.64
cmp edx, 0x7ff
xor eax, eax
lea rdx, [0x18020b3a0]
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 0x1800aa7d4
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 0x1800aa720
test cl, cl
je 0x1800aa786
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 0x1800aa711
cmp r10d, 0xff
ja case.0x1800aa668.3
test cl, cl
je 0x1800aa817
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 0x1800aa827
ud2
Function at 0x1800b2fd0
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 0x1800b304d
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.1800b2fd0
mov rbx, rax
lea rdx, [rdi + r15]
lea r8, [rdi + r12]
mov rcx, rdi
mov r9, r14
call fcn.1800b2fd0
mov rdi, rax
add r15, rsi
add r12, rsi
mov rcx, rsi
mov rdx, r15
mov r8, r12
mov r9, r14
call fcn.1800b2fd0
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.1801f1350
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.1801f1350
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 0x1800b3153
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.1801f1350
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 0x1800b3170
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 0x1800b31ee
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.1800b3170
mov rbx, rax
lea rdx, [rdi + r14]
lea r8, [rdi + r12]
mov rcx, rdi
mov r9, r15
call fcn.1800b3170
mov rdi, rax
add r14, rsi
add r12, rsi
mov rcx, rsi
mov rdx, r14
mov r8, r12
mov r9, r15
call fcn.1800b3170
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 0x1800b3258
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 0x1800e92e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
movzx eax, byte [0x180281288]
mov ecx, 0x18e0
mov edx, 4
call fcn.180057670
test rax, rax
je 0x1800e93ea
xor ecx, ecx
lea rdx, [0x18020de00]
movdqa xmm0, xmmword [0x1802062a0]
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 0x1800e9320
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.1800e22a0
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.1800e8380
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.18018dc30
int3

Function at 0x1800e94e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
movzx eax, byte [0x180281288]
mov ecx, 0x238
mov edx, 4
call fcn.180057670
test rax, rax
je 0x1800e95fb
xor ecx, ecx
lea rdx, [0x18020f6e0]
movdqa xmm0, xmmword [0x1802062a0]
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 0x1800e9520
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.1800e22a0
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.1800e8380
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.18018dc30
int3
Function at 0x180108180
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 0x180108216
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 [0x180202380]
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.18003dd80
test rdi, rdi
je 0x1801082a5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1801082be
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 0x1801083b6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x180108438
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1801083c3
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 0x180108280
cmp r9, 8
jae 0x1801083cc
jmp 0x180108438
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18003dd80
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 0x180108438
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x180108438
mov r8, rcx
cmp r9, 8
jb 0x180108438
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 0x1801083d0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x18010b630
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.1801b42c0
mov rsi, rax
cmp qword [rax], 0
je 0x18010b667
mov rax, rsi
add rax, 8
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
jmp 0x18010b69b
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.18003dd80
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 0x18010b6f0
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 0x18012d0f0
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.18012d690
mov eax, dword [rsp + 0x30]
cmp eax, 2
jne 0x18012d131
mov rdx, qword [rsp + 0x38]
mov esi, 1
jmp 0x18012d344
mov esi, 1
test eax, eax
je 0x18012d291
mov r9, qword [rdi + 0x90]
mov r15, qword [rdi + 0x98]
cmp r15, r9
jne 0x18012d2d7
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 0x18012d1c8
mov rax, qword [rdi + 0x80]
sub rax, r15
cmp rax, r13
jb 0x18012d35b
mov rax, qword [rdi + 0x88]
lea rcx, [rax + r15]
cmp r13, 2
jb 0x18012d1bb
lea r8, [r13 - 1]
xor edx, edx
mov qword [rsp + 0x70], rax
call fcn.1801f1450
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 0x18012d39d
mov rcx, qword [rdi + 0x88]
add rcx, r14
mov rdx, r12
mov r8, rbx
call fcn.1801f0cd0
mov rax, qword [rdi + 0x90]
cmp rax, r14
jb 0x18012d39d
cmp rax, rbp
jb 0x18012d39d
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 0x18012d2a0
mov edx, eax
shl rdx, 0x20
or rdx, 2
jmp 0x18012d344
movabs rdx, 0x8009031700000002
jmp 0x18012d344
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
mov r9, qword [rdi + 0x90]
cmp r9, rax
jb 0x18012d2c2
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 0x18012d33b
lea rbx, [rdi + 0x10]
movabs r14, 0xd00000003
nop word [rax + rax]
sub r9, r15
jb 0x18012d39d
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x18012d39d
mov r8, qword [rdi + 0x88]
add r8, r15
mov rcx, rbx
call fcn.18018e4d0
cmp rax, 2
cmove rdx, r14
test rax, rax
jne 0x18012d344
add r15, rdx
mov qword [rdi + 0x98], r15
mov r9, qword [rdi + 0x90]
cmp r15, r9
jne 0x18012d2f0
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.1801f1b30
mov r15, qword [rdi + 0x90]
mov rax, qword [rdi + 0x88]
lea rcx, [rax + r15]
cmp r13, 2
jae 0x18012d19d
jmp 0x18012d1bb
ud2
Function at 0x18012d3a0
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.18012e8a0
mov eax, dword [rsp + 0x30]
cmp eax, 2
jne 0x18012d3e1
mov rdx, qword [rsp + 0x38]
mov esi, 1
jmp 0x18012d631
mov esi, 1
test eax, eax
je 0x18012d542
mov r9, qword [rdi + 0x190]
mov rbx, qword [rdi + 0x198]
cmp rbx, r9
jne 0x18012d587
mov r14, qword [rsp + 0x38]
mov r13d, r14d
shr r14, 0x20
cmp r14, rbp
cmovae r14, rbp
mov r15d, dword [rsp + 0x34]
lea rbp, [r14 + r15]
add r13, rbp
sub r13, rbx
jbe 0x18012d478
mov rax, qword [rdi + 0x180]
sub rax, rbx
cmp rax, r13
jb 0x18012d648
mov rax, qword [rdi + 0x188]
lea rcx, [rax + rbx]
cmp r13, 2
jb 0x18012d46b
lea r8, [r13 - 1]
xor edx, edx
mov qword [rsp + 0x70], rax
call fcn.1801f1450
add rbx, r13
dec rbx
mov rcx, qword [rsp + 0x70]
add rcx, rbx
mov byte [rcx], 0
inc rbx
mov qword [rdi + 0x190], rbx
cmp rbp, rbx
ja 0x18012d68a
mov rcx, qword [rdi + 0x188]
add rcx, r15
mov rdx, r12
mov r8, r14
call fcn.1801f0cd0
mov rax, qword [rdi + 0x190]
cmp rax, r15
jb 0x18012d68a
cmp rax, rbp
jb 0x18012d68a
mov rcx, qword [rdi + 0x188]
lea rdx, [rcx + r15]
sub eax, ebp
add rbp, rcx
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x34], 7
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], r14d
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 + 0x1f0]
lea r8, [rsp + 0x78]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x18012d551
mov edx, eax
shl rdx, 0x20
or rdx, 2
jmp 0x18012d631
movabs rdx, 0x8009031700000002
jmp 0x18012d631
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
mov r9, qword [rdi + 0x190]
cmp r9, rax
jb 0x18012d573
mov qword [rdi + 0x190], rax
mov r9, rax
mov qword [rdi + 0x198], 0
mov qword [rdi + 0x218], r14
xor ebx, ebx
cmp rbx, r9
je 0x18012d628
lea r14, [rdi + 0x10]
lea r15, [rdi + 0x18]
movabs r13, 0xd00000003
lea r12, [rsp + 0x30]
nop word [rax + rax]
sub r9, rbx
jb 0x18012d68a
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x18012d68a
mov r8, qword [rdi + 0x188]
add r8, rbx
cmp dword [r14], 2
jne 0x18012d5f0
mov rcx, r15
call fcn.18018e4d0
cmp rax, 2
cmove rdx, r13
test rax, rax
je 0x18012d612
jmp 0x18012d631
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov rcx, r14
mov r8, r12
call fcn.180101540
cmp rax, 2
cmove rdx, r13
test rax, rax
jne 0x18012d631
add rbx, rdx
mov qword [rdi + 0x198], rbx
mov r9, qword [rdi + 0x190]
cmp rbx, r9
jne 0x18012d5b0
mov rdx, qword [rdi + 0x218]
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 + 0x180]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rdx, rbx
mov r8, r13
call fcn.1801f1b30
mov rbx, qword [rdi + 0x190]
mov rax, qword [rdi + 0x188]
lea rcx, [rax + rbx]
cmp r13, 2
jae 0x18012d44d
jmp 0x18012d46b
ud2
Function at 0x180132f80
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x180132fb4
mov rdx, qword [rsp + 0x20]
mov al, cl
add rsp, 0x28
ret
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x18014c670
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x20
call fcn.180182e40
test rax, rax
je 0x18014c6d2
mov rbx, rax
mov r14, rdx
mov rax, qword [rdx]
test rax, rax
je 0x18014c6bb
mov rcx, rbx
call rax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x18014c722
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.180057680
jmp 0x18014c722
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x70]
lea r8, [0x180223b04]
lea rdx, [rsp + 0x40]
mov r9d, 8
call fcn.180182d00
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.180180910
Function at 0x18015b9f0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r8, rdx
mov rax, qword [rcx + 0x38]
test rax, rax
jle 0x18015ba17
cmp qword [rcx + 0x40], 0
js 0x18015ba17
add rax, 0xffffffffffffff00
mov qword [rcx + 0x38], rax
mov edx, 6
jmp fcn.180180910
mov rdx, r8
jmp fcn.18015ba20

Function at 0x18015ba20
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x20
call fcn.180182e40
test rax, rax
je 0x18015ba82
mov rbx, rax
mov r14, rdx
mov rax, qword [rdx]
test rax, rax
je 0x18015ba6b
mov rcx, rbx
call rax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x18015bad2
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.180057680
jmp 0x18015bad2
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x70]
lea r8, [0x180224264]
lea rdx, [rsp + 0x40]
mov r9d, 8
call fcn.180182d00
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.180180910
Function at 0x1801728b0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r8, rdx
mov rax, qword [rcx + 0x38]
test rax, rax
jle 0x1801728d7
cmp qword [rcx + 0x40], 0
js 0x1801728d7
add rax, 0xffffffffffffff00
mov qword [rcx + 0x38], rax
mov edx, 6
jmp fcn.180180910
mov rdx, r8
jmp fcn.180172a30

Function at 0x180172a30
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x20
call fcn.180182e40
test rax, rax
je 0x180172a92
mov rbx, rax
mov r14, rdx
mov rax, qword [rdx]
test rax, rax
je 0x180172a7b
mov rcx, rbx
call rax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x180172ae2
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.180057680
jmp 0x180172ae2
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x70]
lea r8, [0x18025ae78]
lea rdx, [rsp + 0x40]
mov r9d, 8
call fcn.180182d00
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.180180910