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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, r8
sub rbx, rdx
movabs rax, 0x7ffffffffffffffc
cmp rbx, rax
ja 0x140111bc5
mov rdi, rdx
mov rsi, rcx
cmp r8, rdx
je 0x140111aed
movzx eax, byte [0x1403af381]
mov r14d, 4
mov edx, 4
mov rcx, rbx
call fcn.140024490
test rax, rax
je 0x140111bc8
mov rcx, rbx
shr rcx, 3
cmp rbx, 0x80
jae 0x140111b0c
xor edx, edx
mov r8, rdx
or r8, 1
test bl, 8
je 0x140111a99
mov r9d, dword [rdi + rdx*8]
mov r10d, dword [rdi + rdx*8 + 4]
cmp r9d, r10d
mov r11d, r10d
cmovb r11d, r9d
cmova r10d, r9d
mov dword [rax + rdx*8], r11d
mov dword [rax + rdx*8 + 4], r10d
mov rdx, r8
cmp rcx, r8
je 0x140111af4
nop
mov r8d, dword [rdi + rdx*8]
mov r9d, dword [rdi + rdx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8], r10d
mov dword [rax + rdx*8 + 4], r9d
mov r8d, dword [rdi + rdx*8 + 8]
mov r9d, dword [rdi + rdx*8 + 0xc]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8 + 8], r10d
mov dword [rax + rdx*8 + 0xc], r9d
add rdx, 2
cmp rcx, rdx
jne 0x140111aa0
jmp 0x140111af4
mov eax, 4
xor ecx, ecx
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r8, [rax + rcx*8]
add r8, 0xfffffffffffffff8
xor edx, edx
cmp r8, rax
jb 0x140111a6a
lea r8, [rax + rcx*8]
add r8, 0xfffffffffffffffc
mov r9, rax
add r9, 4
cmp r8, r9
jb 0x140111a6a
lea r8, [rcx - 1]
shr r8, 0x3d
jne 0x140111a6a
movabs rdx, 0xffffffffffffffe
and rdx, rcx
xor r8d, r8d
movdqa xmm0, xmmword [0x140266430]
nop dword [rax]
movdqu xmm1, xmmword [rdi + r8*8]
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 + r8*8], xmm2
add r8, 2
cmp rdx, r8
jne 0x140111b60
cmp rcx, rdx
jne 0x140111a6a
jmp 0x140111af4
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.14025cfe5
int3
Function at 0x14011ab60
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
movzx eax, byte [0x1403af381]
mov ecx, 0x1818
mov edx, 4
call fcn.140024490
test rax, rax
je 0x14011ac7b
xor ecx, ecx
lea rdx, [0x1402aecb0]
movdqa xmm0, xmmword [0x140266430]
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, 0x1810
jne 0x14011aba0
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov rcx, rax
add rcx, 0x1818
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x303
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x20]
call fcn.1401105a0
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.140117b60
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, 0x1818
call fcn.14025cfe5
int3

Function at 0x14011ad70
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
movzx eax, byte [0x1403af381]
mov ecx, 0x200
mov edx, 4
call fcn.140024490
test rax, rax
je 0x14011ae7a
xor ecx, ecx
lea rdx, [0x1402b0518]
movdqa xmm0, xmmword [0x140266430]
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, 0x200
jne 0x14011adb0
mov rcx, rax
add rcx, 0x200
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x40
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x20]
call fcn.1401105a0
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.140117b60
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, 0x200
call fcn.14025cfe5
int3
Function at 0x14011f3d0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x14011f442
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
jmp 0x14011f408
add rdi, rbx
sub rsi, rbx
je 0x14011f442
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x14011f400
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x14011f400
and ebp, 0x7fffffff
jmp 0x14011f444
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14012a6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
cmp byte [rcx + 0x79], 0
je 0x14012a6e4
xor eax, eax
jmp 0x14012a90d
mov r8, qword [rcx + 0x48]
mov r9, qword [rcx + 0x50]
test byte [rcx], 1
je 0x14012a71f
lea rdx, [rcx + 8]
mov rax, qword [rcx + 0x58]
cmp qword [rcx + 0x38], 0xffffffffffffffff
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
je 0x14012a856
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x14012a865
cmp byte [rcx + 0x1a], 0
je 0x14012a73f
mov rsi, r8
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x14012a8a5
jmp 0x14012a8d7
mov rax, qword [rcx + 8]
movzx edx, byte [rcx + 0x18]
jmp 0x14012a757
add rax, r10
mov qword [rcx + 8], rax
mov r10d, edx
xor dl, 1
test rax, rax
je 0x14012a786
cmp rax, r9
jae 0x14012a780
cmp byte [r8 + rax], 0xbf
jg 0x14012a786
jmp 0x14012a915
jne 0x14012a915
cmp rax, r9
je 0x14012a87e
movzx ebx, byte [r8 + rax]
movzx r11d, bl
test r11b, r11b
jns 0x14012a800
mov esi, r11d
and esi, 0x1f
movzx edi, byte [r8 + rax + 1]
and edi, 0x3f
cmp r11b, 0xdf
jbe 0x14012a7ea
movzx r11d, byte [r8 + rax + 2]
shl edi, 6
and r11d, 0x3f
or r11d, edi
cmp bl, 0xf0
jb 0x14012a842
movzx edi, byte [r8 + rax + 3]
and esi, 7
shl esi, 0x12
shl r11d, 6
and edi, 0x3f
or edi, r11d
or edi, esi
mov r11d, edi
test r10b, 1
je 0x14012a806
jmp 0x14012a84e
shl esi, 6
or esi, edi
mov r11d, esi
nop word cs:[rax + rax]
test r10b, 1
jne 0x14012a84e
mov r10d, 1
cmp r11d, 0x80
jb 0x14012a750
mov r10d, 2
cmp r11d, 0x800
jb 0x14012a750
cmp r11d, 0x10000
mov r10d, 4
sbb r10, 0
jmp 0x14012a750
shl esi, 0xc
or r11d, esi
test r10b, 1
je 0x14012a806
mov byte [rcx + 0x18], dl
mov r9, rax
jmp 0x14012a887
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
mov rsi, r8
call fcn.140129670
mov rcx, rdi
test byte [rsp + 0x38], 1
jne 0x14012a8a5
jmp 0x14012a8d7
mov byte [rcx + 0x18], dl
test r10b, 1
je 0x14012a8c2
mov rsi, r8
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r9
mov eax, 1
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
je 0x14012a8d7
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, qword [rcx + 0x68]
sub rdx, r9
mov rax, rsi
add rax, r9
mov qword [rcx + 0x68], r8
jmp 0x14012a90d
mov rsi, r8
mov byte [rcx + 0x1a], 1
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x14012a8a5
cmp byte [rcx + 0x79], 0
jne 0x14012a6dd
mov byte [rcx + 0x79], 1
cmp byte [rcx + 0x78], 1
jne 0x14012a8f5
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
jmp 0x14012a906
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
cmp rdx, rax
je 0x14012a6dd
sub rdx, rax
add rax, qword [rcx + 0x48]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov byte [rcx + 0x18], dl
lea rcx, [0x1402f2518]
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov rdx, r9
mov r8, rax
call fcn.14025da10
int3
Function at 0x14012d2b0
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 0x14012d346
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet_b]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140266550]
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.14002c3c0
test rdi, rdi
je 0x14012d3d5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14012d3ee
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 0x14012d4e6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14012d568
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14012d4f3
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 0x14012d3b0
cmp r9, 8
jae 0x14012d4fc
jmp 0x14012d568
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14002c3c0
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 0x14012d568
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14012d568
mov r8, rcx
cmp r9, 8
jb 0x14012d568
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 0x14012d500
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14012d950
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x14012d9e6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet_b]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x140266550]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rsi, qword [rdx]
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.14002c3c0
test rdi, rdi
je 0x14012da75
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14012da8e
mov rcx, qword [rdx]
mov r8, qword [rcx]
xor edx, edx
test r8, r8
setne dl
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x1efac7090aef4a21
imul rax, rdx
test r8, r8
je 0x14012db86
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x14012dc08
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14012db93
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 0x14012da50
cmp r9, 8
jae 0x14012db9c
jmp 0x14012dc08
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14002c3c0
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 0x14012dc08
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x14012dc08
mov r8, rcx
cmp r9, 8
jb 0x14012dc08
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 0x14012dba0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140130170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, qword [rcx]
movups xmm0, xmmword [rcx + 8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rsi, qword [rdi + 0x28]
cmp rsi, 0x7fff
jbe 0x1401301d7
lea rcx, [rdx + 0x18]
mov r9, qword [rdx]
mov rax, qword [rdx + 8]
mov r8, qword [rdx + 0x10]
mov rdx, rax
call qword [r9 + 0x20]
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1401301d0
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
call qword [rax + 0x20]
xor eax, eax
jmp 0x1401302ff
lea r15, [rcx + 8]
movzx ebp, word [rcx + 0x30]
mov r14, qword [rcx + 0x28]
movzx ebx, byte [rcx + 0x32]
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
cmp rsi, qword [rdi + 0x18]
jne 0x140130210
lea rcx, [rdi + 0x18]
call fcn.1401480c0
mov rcx, qword [rdi + 0x20]
imul rax, rsi, 0x68
mov qword [rcx + rax], 0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rcx + rax + 0x18], xmm0
movups xmmword [rcx + rax + 0x28], xmm1
mov rdx, qword [rsp + 0x60]
mov qword [rcx + rax + 0x38], rdx
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rcx + rax + 0x40], xmm0
movups xmmword [rcx + rax + 0x50], xmm1
mov word [rcx + rax + 0x60], bp
lea rcx, [rsi + 1]
mov qword [rdi + 0x28], rcx
mov rcx, qword [rdi + 0x48]
mov r8, qword [rdi + 0x50]
xor r9d, r9d
xor edx, edx
mov r10d, esi
cmp r14, r8
cmovae r14, r9
test r8, r8
je 0x1401302c0
nop word [rax + rax]
movzx r11d, word [rcx + r14*4]
cmp r11w, 0xffff
je 0x1401302c2
inc rdx
movzx r15d, word [rcx + r14*4 + 2]
mov word [rcx + r14*4], r10w
mov word [rcx + r14*4 + 2], bp
inc r14
mov ebp, r15d
mov r10d, r11d
cmp r14, r8
cmovae r14, r9
test r8, r8
jne 0x140130280
nop word cs:[rax + rax]
jmp 0x1401302c0
xor bl, 1
mov word [rcx + r14*4], r10w
mov word [rcx + r14*4 + 2], bp
cmp rdx, 0x80
setb cl
test cl, bl
jne 0x1401302eb
cmp qword [rdi], 0
jne 0x1401302eb
mov qword [rdi], 1
mov rdx, qword [rdi + 0x28]
cmp rsi, rdx
jae 0x14013030c
mov rcx, qword [rdi + 0x20]
add rax, rcx
add rax, 0x18
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r8, str.C:UsersDamon.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_1.1.0_srcheadermap.rssize_overflows_MAX_SIZE
mov rcx, rsi
call fcn.14025d474
int3
Function at 0x140130320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, rcx
mov rdi, qword [rdx]
movups xmm0, xmmword [rdx + 8]
movups xmm1, xmmword [rdx + 0x18]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rbx, qword [rdi + 0x28]
cmp rbx, 0x7fff
jbe 0x14013038d
lea rcx, [r8 + 0x18]
mov rax, qword [r8]
mov rdx, qword [r8 + 8]
mov r8, qword [r8 + 0x10]
call qword [rax + 0x20]
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140130381
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
call qword [rax + 0x20]
mov qword [rsi], 0
jmp 0x1401304b8
lea r12, [rdx + 8]
movzx r15d, word [rdx + 0x30]
mov r14, qword [rdx + 0x28]
movzx ebp, byte [rdx + 0x32]
mov rax, qword [r8 + 0x20]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
cmp rbx, qword [rdi + 0x18]
jne 0x1401303c9
lea rcx, [rdi + 0x18]
call fcn.1401480c0
mov rax, qword [rdi + 0x20]
imul rcx, rbx, 0x68
mov qword [rax + rcx], 0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx + 0x18], xmm0
movups xmmword [rax + rcx + 0x28], xmm1
mov rdx, qword [rsp + 0x60]
mov qword [rax + rcx + 0x38], rdx
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movups xmmword [rax + rcx + 0x40], xmm0
movups xmmword [rax + rcx + 0x50], xmm1
mov word [rax + rcx + 0x60], r15w
lea rax, [rbx + 1]
mov qword [rdi + 0x28], rax
mov rax, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
xor r8d, r8d
xor ecx, ecx
mov r10d, ebx
mov r9, r14
cmp r9, rdx
cmovae r9, r8
test rdx, rdx
je 0x140130480
nop dword [rax]
movzx r11d, word [rax + r9*4]
cmp r11w, 0xffff
je 0x140130482
inc rcx
movzx r12d, word [rax + r9*4 + 2]
mov word [rax + r9*4], r10w
mov word [rax + r9*4 + 2], r15w
inc r9
mov r15d, r12d
mov r10d, r11d
cmp r9, rdx
cmovae r9, r8
test rdx, rdx
jne 0x140130440
nop word cs:[rax + rax]
jmp 0x140130480
xor bpl, 1
mov word [rax + r9*4], r10w
mov word [rax + r9*4 + 2], r15w
cmp rcx, 0x80
setb al
test al, bpl
jne 0x1401304ad
cmp qword [rdi], 0
jne 0x1401304ad
mov qword [rdi], 1
mov qword [rsi], rdi
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rbx
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140135160
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.140228af0
mov rsi, rax
cmp dword [rax], 1
jne 0x140135196
mov rax, rsi
add rax, 8
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
jmp 0x1401351ca
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.14002c3c0
mov r9, qword [rsp + 0x50]
shl r9, 0x38
or r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
xor rdx, r9
mov rax, qword [rsp + 0x20]
add rax, r8
mov rcx, qword [rsp + 0x28]
rol r8, 0xd
add rcx, rdx
xor r8, rax
rol rdx, 0x10
xor rdx, rcx
rol rax, 0x20
add rcx, r8
add rax, rdx
rol r8, 0x11
xor r8, rcx
rol rdx, 0x15
rol rcx, 0x20
xor rdx, rax
xor rax, r9
xor rcx, 0xff
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
rol rax, 0x20
xor rdx, rcx
add rcx, r8
rol r8, 0x11
add rax, rdx
xor r8, rcx
rol rdx, 0x15
xor rdx, rax
rol rcx, 0x20
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
rol rax, 0x20
xor rdx, rcx
add rcx, r8
rol r8, 0x11
add rax, rdx
xor r8, rcx
rol rdx, 0x15
xor rdx, rax
rol rcx, 0x20
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
xor rdx, rcx
add rcx, r8
rol r8, 0x11
rol rdx, 0x15
mov rax, rcx
rol rax, 0x20
xor rax, r8
xor rax, rdx
inc rsi
cmp rax, rcx
je 0x140135220
xor rax, rcx
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 0x140196760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test byte [rdx], 1
je 0x1401967a0
lea rax, [rdx + 8]
cmp qword [rdx + 0x38], 0xffffffffffffffff
mov r8, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov r10, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
je 0x1401968c2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x1401968d1
cmp byte [rdx + 0x1a], 0
jne 0x1401968f8
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
movzx r10d, byte [rdx + 0x18]
jmp 0x1401967c7
add r8, r11
mov qword [rdx + 8], r8
mov r11d, r10d
xor r10b, 1
test r8, r8
je 0x1401967f6
cmp r8, r9
jae 0x1401967f0
cmp byte [rax + r8], 0xbf
jg 0x1401967f6
jmp 0x140196906
jne 0x140196906
cmp r8, r9
je 0x1401968db
movzx ebx, byte [rax + r8]
movzx esi, bl
test sil, sil
js 0x140196850
test r11b, 1
jne 0x1401968b9
mov r11d, 1
cmp esi, 0x80
jb 0x1401967c0
mov r11d, 2
cmp esi, 0x800
jb 0x1401967c0
cmp esi, 0x10000
mov r11d, 4
sbb r11, 0
jmp 0x1401967c0
mov edi, esi
and edi, 0x1f
movzx ebp, byte [rax + r8 + 1]
and ebp, 0x3f
cmp sil, 0xdf
jbe 0x140196897
movzx esi, byte [rax + r8 + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp bl, 0xf0
jb 0x1401968aa
movzx ebx, byte [rax + r8 + 3]
and edi, 7
shl edi, 0x12
shl esi, 6
and ebx, 0x3f
or ebx, esi
or ebx, edi
mov esi, ebx
test r11b, 1
je 0x140196816
jmp 0x1401968b9
shl edi, 6
or edi, ebp
mov esi, edi
test r11b, 1
je 0x140196816
jmp 0x1401968b9
shl edi, 0xc
or esi, edi
test r11b, 1
je 0x140196816
mov byte [rdx + 0x18], r10b
mov r9, r8
jmp 0x1401968e5
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
mov rdx, rax
call fcn.140195f90
jmp 0x1401968fd
mov byte [rdx + 0x18], r10b
test r11b, 1
je 0x1401968f4
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r9
mov eax, 1
jmp 0x1401968fa
mov byte [rdx + 0x1a], 1
xor eax, eax
mov qword [rcx], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov byte [rdx + 0x18], r10b
lea rcx, [0x140301fd8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, r9
call fcn.14025da10
int3
Function at 0x1401ac3e0
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 0x1401ac414
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