joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003922
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x18007a100
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x18007a178
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x18007a178
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x18007a178
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x18007a16c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x18007a18a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x18007a15a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x18007a17a

Function at 0x180003ae4
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1800175e0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1800868d0]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1800868c8]
call fcn.180017058
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x180017620
call qword [0x1800a8020]
jmp 0x180017626
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180003c6a
Capabilities:
Parse pe header

Disassembly:
jmp 0x18001f8a8
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18001f683
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001f683
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001f683
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001f683
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001f683
cmp dword [rcx + 0x84], 0xe
jbe 0x18001f683
cmp dword [rcx + 0xf8], 0
je 0x18001f683
mov ecx, ebx
call fcn.18001f7ec
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18001f360
nop
cmp dword [rbp + 0x20], 0
je 0x18001f6d1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18001f70c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18001f614
Function at 0x180071fd0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180071fe6
mov al, 1
jmp 0x180072046
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180071ff7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180072044
mov ecx, dword [rcx + 0x18]
nop
call fcn.180003ed1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180072044
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180072044
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180072044
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180072046
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140001120
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, 0x48
mov r10, qword [rdx + 0x20]
mov rdi, qword [rdx + 0x28]
lea rsi, [rdi + 1]
mov qword [rdx + 0x28], rsi
cmp rsi, r10
jae 0x140001300
mov byte [rsp + 0x2f], r8b
mov r8d, dword [rsp + 0xb0]
movabs rbx, 0x1999999999999998
lea ebp, [rdi + 1]
mov eax, ebp
sub eax, r10d
add rsi, qword [rdx + 0x18]
mov r15, rdi
sub r15, r10
inc r15
xor r14d, r14d
lea r12, [rbx + 1]
jmp 0x1400011a3
movzx r11d, r11b
lea r13, [rdi + r14]
add r13, 2
mov qword [rdx + 0x28], r13
lea r9, [r9 + r9*4]
lea r9, [r11 + r9*2]
inc r14
mov r11, r15
add r11, r14
je 0x140001207
movzx r13d, byte [rsi + r14]
lea r11d, [r13 - 0x30]
cmp r11b, 0xa
jae 0x1400011da
cmp r9, rbx
jbe 0x140001180
cmp r9, r12
jne 0x1400011c2
cmp r11b, 5
jbe 0x140001180
sub r8d, r14d
mov dword [rsp + 0x20], r8d
movzx r8d, byte [rsp + 0x2f]
call fcn.1401a3850
jmp 0x1400012d9
test r14d, r14d
je 0x1400012f9
mov eax, r8d
sub rax, r14
or r13d, 0x20
cmp r13d, 0x65
jne 0x140001213
mov dword [rsp + 0x20], eax
movzx r8d, byte [rsp + 0x2f]
call fcn.140001620
jmp 0x1400012d9
cmp ebp, r10d
je 0x140001310
add eax, r8d
movq xmm1, r9
punpckldq xmm1, xmmword [0x1401afa40]
subpd xmm1, xmmword [0x1401afa50]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov r9d, eax
neg r9d
cmovs r9d, eax
cmp r9d, 0x135
jb 0x140001290
xorpd xmm1, xmm1
movsd xmm2, qword [0x1401afa60]
nop word cs:[rax + rax]
ucomisd xmm0, xmm1
jne 0x14000126c
jnp 0x1400012ee
test eax, eax
jns 0x140001339
divsd xmm0, xmm2
add eax, 0x134
mov r9d, eax
neg r9d
cmovs r9d, eax
cmp r9d, 0x134
ja 0x140001260
mov r8d, r9d
mov r9, qword [0x140294038]
movsd xmm1, qword [r9 + r8*8]
test eax, eax
js 0x1400012ea
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x1401afa70]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x1401afa80]
movzx eax, byte [rsp + 0x2f]
jae 0x140001339
test al, al
jne 0x1400012cf
xorpd xmm0, xmmword [0x1401afa90]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
divsd xmm0, xmm1
movzx eax, byte [rsp + 0x2f]
test al, al
je 0x1400012c7
jmp 0x1400012cf
lea rsi, [rdi + r14]
inc rsi
cmp rsi, r10
jae 0x140001310
mov qword [rsp + 0x30], 0xd
jmp 0x140001319
mov qword [rsp + 0x30], 5
lea rax, [rsp + 0x30]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a3370
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400012d9
mov qword [rsp + 0x30], 0xe
lea rax, [rsp + 0x30]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a3a30
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
jmp 0x1400012d9
Function at 0x140001620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, qword [rdx + 0x20]
mov r11, qword [rdx + 0x28]
lea r10, [r11 + 1]
mov qword [rdx + 0x28], r10
mov al, 1
cmp r10, rsi
jae 0x140001660
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + r10]
mov al, 1
cmp edi, 0x2b
je 0x140001655
cmp edi, 0x2d
jne 0x140001660
xor eax, eax
add r11, 2
mov qword [rdx + 0x28], r11
mov r10, r11
cmp r10, rsi
jae 0x1400017f4
mov rdi, qword [rdx + 0x18]
movzx r11d, byte [rdi + r10]
lea rbx, [r10 + 1]
mov qword [rdx + 0x28], rbx
add r11b, 0xd0
cmp r11b, 0xa
jae 0x1400017ff
movzx r11d, r11b
cmp rbx, rsi
jae 0x1400016fd
add r10, 2
mov ebx, 1
sub rbx, rsi
jmp 0x1400016bc
movzx esi, sil
lea r11d, [r11 + r11*4]
lea r11d, [rsi + r11*2]
lea rsi, [rbx + r10]
inc rsi
inc r10
cmp rsi, 2
je 0x1400016fd
movzx esi, byte [rdi + r10 - 1]
add sil, 0xd0
cmp sil, 0xa
jae 0x1400016fd
mov qword [rdx + 0x28], r10
cmp r11d, 0xccccccb
jle 0x1400016a0
cmp r11d, 0xccccccc
jne 0x1400016e8
cmp sil, 7
jbe 0x1400016a0
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
call fcn.1401a3990
jmp 0x1400017e1
mov r10d, dword [rsp + 0x80]
test al, al
je 0x14000171a
lea eax, [r10 + r11]
sar eax, 0x1f
add eax, 0x80000000
add r10d, r11d
jmp 0x14000172a
xor eax, eax
cmp r10d, r11d
setns al
add eax, 0x7fffffff
sub r10d, r11d
cmovo r10d, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x1401afa40]
subpd xmm1, xmmword [0x1401afa50]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jb 0x14000179c
xorpd xmm1, xmm1
movsd xmm2, qword [0x1401afa60]
nop dword [rax + rax]
ucomisd xmm0, xmm1
jne 0x140001778
jnp 0x1400017ca
test r10d, r10d
jns 0x140001828
divsd xmm0, xmm2
add r10d, 0x134
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x134
ja 0x140001770
mov eax, eax
mov r9, qword [0x140294038]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x1400017e9
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x1401afa70]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x1401afa80]
jae 0x140001828
test r8b, r8b
jne 0x1400017d7
xorpd xmm0, xmmword [0x1401afa90]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x1400017cf
jmp 0x1400017d7
mov qword [rsp + 0x28], 5
jmp 0x140001808
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a3a30
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400017e1
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a3a30
mov rcx, rsi
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400017de
Function at 0x14000ee50
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 0x14000ee92
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000ee9a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000eeab
jmp 0x14000eec2
xor r10d, r10d
jmp 0x14000ef4d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14000eec2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14000eed9
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 0x14000eef9
add r11, r8
jmp 0x14000f02b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14000efc2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14000ef70
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14000efe0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14000eff2
jmp 0x14000f00d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14000f00d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14000f027
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 0x1400457d0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm9
movdqa xmmword [rsp + 0xa0], xmm8
movdqa xmmword [rsp + 0x90], xmm7
movdqa xmmword [rsp + 0x80], xmm6
test rcx, rcx
je 0x14004581b
mov r8, qword [rcx + 8]
cmp qword [rcx], 0
mov qword [rcx], 0
jne 0x1400459ac
call fcn.14017bf80
cmp qword [rax], 0
je 0x14004582c
add rax, 8
jmp 0x140045836
mov rcx, rax
xor edx, edx
call fcn.140001c60
movdqu xmm6, xmmword [rax]
inc qword [rax]
pshufd xmm7, xmm6, 0x44
pxor xmm7, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm8, xmm6, 0xee
pxor xmm8, xmmword [0x1401afac0]
mov ebx, 1
lea r14, [rsp + 0x60]
xorps xmm9, xmm9
lea rsi, [rsp + 0x30]
lea rdi, [rsp + 0x28]
nop word cs:[rax + rax]
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm6
movaps xmmword [r14], xmm9
mov qword [r14 + 0x10], 0
mov qword [rsp + 0x28], rbx
mov r8d, 8
mov rcx, rsi
mov rdx, rdi
call fcn.14000ee50
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rcx, r8
xor rax, rdx
rol rdx, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
rol rcx, 0x15
xor rax, r8
add rdx, rax
rol rax, 0x11
mov r8, rdx
rol r8, 0x20
xor r8, rax
xor r8, rcx
inc rbx
xor r8, rdx
je 0x140045880
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 8], 1
mov qword [rax + 0x10], r8
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400624f0
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 0x140062586
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 [0x1401afac0]
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.14000ee50
test rdi, rdi
je 0x140062615
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14006262e
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 0x140062726
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400627a8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140062733
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 0x1400625f0
cmp r9, 8
jae 0x14006273c
jmp 0x1400627a8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14000ee50
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400627a8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1400627a8
mov r8, rcx
cmp r9, 8
jb 0x1400627a8
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 0x140062740
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400a2b00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, r8
mov r14, rdx
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x48]
mov r8d, 0xb
mov rdx, rax
call fcn.1400a2790
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x140297081]
mov ecx, 0x800
mov edx, 1
call fcn.1400175d0
test rax, rax
je 0x1400a2c8e
mov rbx, rax
mov qword [rbp - 0x20], 0x800
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0
mov rsi, qword [rbp - 0x40]
lea r12, [rbp - 4]
lea r15, [rbp - 8]
mov rdi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x30], rax
sub r13, rax
nop word cs:[rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rsi
xor r8d, r8d
mov r9, r15
call rdi
cmp eax, 0xea
jne 0x1400a2beb
mov r8d, dword [rbp - 4]
cmp r13, r8
jae 0x1400a2bb0
lea rcx, [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
call fcn.1401a45a0
mov rbx, qword [rbp - 0x18]
jmp 0x1400a2b96
test eax, eax
jne 0x1400a2c0e
mov eax, dword [rbp - 4]
mov qword [rbp - 0x10], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
mov rdx, qword [rbp - 0x28]
jbe 0x1400a2c71
movabs rax, 0xde00000002
jmp 0x1400a2c1a
shl rax, 0x20
or rax, 2
mov rdx, qword [rbp - 0x28]
mov qword [rdx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdx], rax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400a2c42
mov r8d, 1
mov rcx, rbx
call fcn.1400175e0
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400a2c5c
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.1400175e0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x10]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x48]
test rdx, rdx
jne 0x1400a2c4b
jmp 0x1400a2c5c
mov ecx, 1
mov edx, 0x800
call fcn.1401ac7d0
ud2
Function at 0x1400ad530
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x178]
mov rdx, qword [rdx + 0x170]
cmp rcx, rdx
ja 0x1400ad7de
mov rax, qword [rdi + 0x168]
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x24], 1
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x68], rax
lea rcx, [rdi + 0x1f0]
lea rdx, [rsp + 0x60]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x1400ad6a4
cmp eax, 0x80090318
je 0x1400ad72a
add dword [rax], eax
invalid
test eax, eax
jne 0x1400ad717
mov rcx, qword [rsp + 0x38]
cmp eax, 0x90317
je 0x1400ad73b
mov word [rax], es
add byte [rax], al
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
jmp 0x1400ad7a0
mov byte [rsi + 1], 1
jmp 0x1400ad7ab
lea r8, [0x1401bc580]
call fcn.1401acee0

Function at 0x1400b23e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, r9
mov qword [rbp - 0x58], r8
mov qword [rbp - 0x50], rdx
mov rsi, rcx
mov rdx, qword [rcx]
mov r13, qword [rcx + 8]
lea r15, [r13 + 1]
mov rcx, r15
shr rcx, 4
xor eax, eax
test r15b, 0xf
setne al
add rax, rcx
je 0x1400b24b3
cmp rax, 1
jne 0x1400b2440
xor r8d, r8d
jmp 0x1400b2497
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1401afad0]
nop dword [rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdx + r9]
por xmm1, xmm0
movdqa xmmword [rdx + r9], xmm1
lea r8, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdx + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [rdx + r9 + 0x10], xmm1
mov r9, r8
add rcx, 0xfffffffffffffffe
jne 0x1400b2460
test al, 1
je 0x1400b24b3
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdx + r8]
por xmm0, xmmword [0x1401afad0]
movdqa xmmword [rdx + r8], xmm0
mov rbx, qword [rbp + 0x90]
cmp r15, 0x10
jae 0x1400b24eb
lea rcx, [rdx + 0x10]
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x20], rsi
test r15, r15
jne 0x1400b2501
mov rcx, 0xffffffffffffffff
xor eax, eax
jmp 0x1400b2833
movdqu xmm0, xmmword [rdx]
movdqu xmmword [rdx + r15], xmm0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x20], rsi
jne 0x1400b24e1
Function at 0x1400ddbd0
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 0x1400ddc04
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 0x140134fa0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov eax, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x140134fd0
cmp eax, 1
je 0x140135006
xor eax, eax
jmp 0x1401350f6
mov eax, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rdi, qword [rdx + rax*8]
lea rax, [rdi + 0x18]
lea rdx, [0x140135100]
mov rsi, rcx
mov rcx, rax
call fcn.140189b50
mov rcx, rsi
mov byte [rdi + 0x48], 1
movaps xmm0, xmmword [0x1401fc470]
mov al, 1
test rcx, rcx
je 0x140135040
cmp qword [rcx], 0
mov qword [rcx], 0
je 0x140135040
movups xmm0, xmmword [rcx + 8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x60], xmm1
movzx eax, byte [rcx + 0x28]
mov edx, dword [rcx + 0x2c]
mov dword [rsp + 0x2b], edx
mov ecx, dword [rcx + 0x29]
mov dword [rsp + 0x28], ecx
mov ecx, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x38]
movaps xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x28]
movaps xmmword [rsp + 0x40], xmm1
mov qword [rcx + 0x18], 1
movups xmmword [rcx + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rcx + 0x30], xmm0
mov byte [rcx + 0x40], al
mov eax, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2b]
mov dword [rcx + 0x44], edx
mov dword [rcx + 0x41], eax
cmp qword [rsp + 0x30], 0
je 0x1401350dc
mov rax, qword [rsp + 0x40]
cmp rax, 2
je 0x1401350dc
test rax, rax
je 0x1401350dc
mov rax, qword [rsp + 0x48]
lock dec qword [rax]
jne 0x1401350dc
lea rcx, [rsp + 0x48]
call fcn.14000c3e0
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x20]
add rsp, 0x78
pop rdi
pop rsi
ret