joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045b40
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 0x140045bd6
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 [0x140363e70]
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.140046560
test rdi, rdi
je 0x140045c65
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140045c7e
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 0x140045d76
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140045df8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140045d83
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 0x140045c40
cmp r9, 8
jae 0x140045d8c
jmp 0x140045df8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140046560
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 0x140045df8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140045df8
mov r8, rcx
cmp r9, 8
jb 0x140045df8
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 0x140045d90
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140046560
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 0x1400465a2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400465aa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400465bb
jmp 0x1400465d2
xor r10d, r10d
jmp 0x14004665d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400465d2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400465e9
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 0x140046609
add r11, r8
jmp 0x14004673b
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400466d2
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 0x140046680
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400466f0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140046702
jmp 0x14004671d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14004671d
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 0x140046737
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 0x14004d0b0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xd0], xmm6
mov qword [rbp + 0xc8], 0xfffffffffffffffe
xorps xmm6, xmm6
movaps xmmword [rbp + 0x80], xmm6
mov qword [rbp + 0x90], 0
movaps xmmword [rbp - 0x10], xmm6
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
mov qword [rbp + 0x50], 0
mov dword [rbp - 0x10], 0x68
lea rax, [0x1403649a0]
mov qword [rbp + 0xa0], rax
lea rax, [0x1403649ad]
mov qword [rbp + 0xa8], rax
mov word [rbp + 0xb0], 0
lea rsi, [rbp - 0x28]
lea rdx, [rbp + 0xa0]
mov rcx, rsi
call fcn.140041250
lea rcx, [rbp + 0x60]
mov rdx, rsi
call fcn.1400379d0
movabs rax, 0x8000000000000000
cmp qword [rbp + 0x60], rax
jne 0x14004d244
mov rdi, qword [rbp + 0x68]
mov rsi, qword [rbp + 0x70]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x14004d20f
mov dword [rbp + 0xa0], 0
mov rcx, qword [rbp + 0x80]
lea rdx, [rbp + 0xa0]
call sub.kernel32.dll_GetExitCodeProcess
mov rcx, qword [rbp + 0x80]
mov rbx, qword [sym.imp.kernel32.dll_CloseHandle]
call rbx
mov rcx, qword [rbp + 0x88]
call rbx
cmp dword [rbp + 0xa0], 0
sete bl
mov word [rdi], 0
test rsi, rsi
je 0x14004d22f
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.14004d520
jmp 0x14004d22f
mov word [rdi], 0
test rsi, rsi
je 0x14004d22d
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.14004d520
xor ebx, ebx
mov eax, ebx
movaps xmm6, xmmword [rbp + 0xd0]
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [rbp + 0x60]
movups xmm1, xmmword [rbp + 0x70]
movaps xmmword [rbp + 0xb0], xmm1
movaps xmmword [rbp + 0xa0], xmm0
lea rax, [0x1403649c0]
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__valueC:UsersHola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.40.0_src_synconeshot.rs
lea r9, [0x140364878]
lea r8, [rbp + 0xa0]
mov edx, 0x2b
call fcn.14035a2b0
ud2
Function at 0x14004d2e0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xd0], xmm6
mov qword [rbp + 0xc8], 0xfffffffffffffffe
xorps xmm6, xmm6
movaps xmmword [rbp + 0x80], xmm6
mov qword [rbp + 0x90], 0
movaps xmmword [rbp - 0x10], xmm6
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
mov qword [rbp + 0x50], 0
mov dword [rbp - 0x10], 0x68
lea rax, str.systeminfosrc_vm_system_info.rs
mov qword [rbp + 0xa0], rax
lea rax, [0x1403649e2]
mov qword [rbp + 0xa8], rax
mov word [rbp + 0xb0], 0
lea rsi, [rbp - 0x28]
lea rdx, [rbp + 0xa0]
mov rcx, rsi
call fcn.140041250
lea rcx, [rbp + 0x60]
mov rdx, rsi
call fcn.1400379d0
movabs rax, 0x8000000000000000
cmp qword [rbp + 0x60], rax
jne 0x14004d474
mov rdi, qword [rbp + 0x68]
mov rsi, qword [rbp + 0x70]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x14004d43f
mov dword [rbp + 0xa0], 0
mov rcx, qword [rbp + 0x80]
lea rdx, [rbp + 0xa0]
call sub.kernel32.dll_GetExitCodeProcess
mov rcx, qword [rbp + 0x80]
mov rbx, qword [sym.imp.kernel32.dll_CloseHandle]
call rbx
mov rcx, qword [rbp + 0x88]
call rbx
cmp dword [rbp + 0xa0], 0
sete bl
mov word [rdi], 0
test rsi, rsi
je 0x14004d45f
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.14004d520
jmp 0x14004d45f
mov word [rdi], 0
test rsi, rsi
je 0x14004d45d
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.14004d520
xor ebx, ebx
mov eax, ebx
movaps xmm6, xmmword [rbp + 0xd0]
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [rbp + 0x60]
movups xmm1, xmmword [rbp + 0x70]
movaps xmmword [rbp + 0xb0], xmm1
movaps xmmword [rbp + 0xa0], xmm0
lea rax, [0x1403649f8]
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__valueC:UsersHola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.40.0_src_synconeshot.rs
lea r9, [0x140364878]
lea r8, [rbp + 0xa0]
mov edx, 0x2b
call fcn.14035a2b0
ud2
Function at 0x14004d560
Capabilities:
Encrypt data using aes via x86 extensions

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

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xd10], 0xfffffffffffffffe
mov qword [rbp + 0xd08], r9
mov qword [rbp + 0x940], r8
cmp r8, 0x20
jne 0x14004f8ed
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1404a6020]
movzx eax, byte [rax]
cmp al, 1
je 0x14004f731
movzx eax, al
cmp eax, 0xff
jne 0x14004f785
call fcn.140357ea0
test al, al
je 0x14004f785
lea rcx, [rbp + 0x940]
mov rdx, rdi
call fcn.1401e5af0
lea rcx, [rbp + 0x850]
lea rdi, [rbp + 0x940]
mov rdx, rdi
call fcn.14004d560
lea rbx, [rbp + 0x760]
mov r8d, 0xf0
mov rcx, rbx
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x940]
mov r8d, 0x1e0
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14004f794
lea rcx, [rbp + 0x940]
mov rdx, rdi
call fcn.1401e6080
lea rbx, [rbp + 0x3a0]
lea rdx, [rbp + 0x940]
mov r8d, 0x3c0
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp - 0x40]
mov rdx, rbx
call fcn.140053d20
mov rax, qword [rbp + 0xd08]
mov r14, qword [rax + 0x10]
cmp r14, 0xe
jbe 0x14004f91c
mov rdi, qword [rax + 8]
lea r8, [rdi + 3]
lea rax, [r14 - 0xf]
lea r9, [rdi + 0xf]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x940]
lea rdx, [rbp - 0x40]
call fcn.140053800
movabs rax, 0x8000000000000000
cmp qword [rbp + 0x940], rax
jne 0x14004f89e
mov rax, qword [rbp + 0xd08]
mov r15, qword [rax]
mov dword [rbp + 0x760], r14d
mov qword [rbp + 0x768], rdi
mov dword [rbp + 0x3a0], 0
mov qword [rbp + 0x3a8], 0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rcx, [rbp + 0x760]
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.crypt32.dll_CryptUnprotectData
mov rax, qword [rbp + 0x3a8]
mov ecx, dword [rbp + 0x3a0]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
test r15, r15
je 0x14004f892
mov r8d, 1
mov rcx, rdi
mov rdx, r15
call fcn.14004d520
mov rax, qword [0x1404a6020]
movzx eax, byte [rax]
jmp 0x14004f8da
mov rax, qword [rbp + 0x950]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0x940]
movups xmmword [rsi], xmm0
mov rax, qword [0x1404a6020]
movzx eax, byte [rax]
mov rax, qword [rbp + 0xd08]
mov rdx, qword [rax]
test rdx, rdx
je 0x14004f8da
mov r8d, 1
mov rcx, rdi
call fcn.14004d520
mov rax, rsi
add rsp, 0xd98
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp - 0x40], 0
lea rax, str.C:UsersHola.cargo_registry_srcindex.crates.io_6f17d22bba15001fgeneric_array_0.14.7_srclib.rs
mov qword [rsp + 0x20], rax
lea r8, [0x140364f58]
lea rdx, [rbp + 0x940]
lea r9, [rbp - 0x40]
xor ecx, ecx
call fcn.14034eaa0
jmp 0x14004f930
lea r8, str.SL6_
mov ecx, 0xf
mov rdx, r14
call fcn.14035a3b0
ud2
Function at 0x140051290
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 0x1400512d0
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + r10]
mov al, 1
cmp edi, 0x2b
je 0x1400512c5
cmp edi, 0x2d
jne 0x1400512d0
xor eax, eax
add r11, 2
mov qword [rdx + 0x28], r11
mov r10, r11
cmp r10, rsi
jae 0x140051464
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 0x14005146f
movzx r11d, r11b
cmp rbx, rsi
jae 0x14005136d
mov ebx, 1
sub rbx, rsi
add r10, 2
jmp 0x14005132c
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 0x14005136d
movzx esi, byte [rdi + r10 - 1]
add sil, 0xd0
cmp sil, 0xa
jae 0x14005136d
mov qword [rdx + 0x28], r10
cmp r11d, 0xccccccb
jle 0x140051310
cmp r11d, 0xccccccc
jne 0x140051358
cmp sil, 7
jbe 0x140051310
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
call fcn.14034ee20
jmp 0x140051451
mov r10d, dword [rsp + 0x80]
test al, al
je 0x14005138a
lea eax, [r10 + r11]
sar eax, 0x1f
add eax, 0x80000000
add r10d, r11d
jmp 0x14005139a
xor eax, eax
cmp r10d, r11d
setns al
add eax, 0x7fffffff
sub r10d, r11d
cmovo r10d, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x140365030]
subpd xmm1, xmmword [0x140365040]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jb 0x14005140c
xorpd xmm1, xmm1
movsd xmm2, qword [0x140365050]
nop dword [rax + rax]
ucomisd xmm0, xmm1
jne 0x1400513e8
jnp 0x14005143a
test r10d, r10d
jns 0x140051498
divsd xmm0, xmm2
add r10d, 0x134
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jae 0x1400513e0
mov eax, eax
mov r9, qword [0x1404a23e8]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x140051459
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x140365060]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x140365070]
jae 0x140051498
test r8b, r8b
jne 0x140051447
xorpd xmm0, xmmword [0x140365080]
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 0x14005143f
jmp 0x140051447
mov qword [rsp + 0x28], 5
jmp 0x140051478
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.14034eec0
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140051451
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.14034eec0
mov rcx, rsi
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14005144e
Function at 0x140054aa0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rdx + 0x10]
movups xmm0, xmmword [rdx]
mov r9d, dword [rdx + 0xc]
add r9d, eax
bswap r9d
movd xmm1, r9d
shufps xmm1, xmm0, 0xe4
shufps xmm0, xmm1, 0x24
xorps xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
ret
Function at 0x1400598b0
Capabilities:
Encode data using xor

Disassembly:
mov r8, qword [rcx + 0x1008]
mov rax, qword [rcx + 0x1018]
inc rax
mov qword [rcx + 0x1018], rax
add rax, qword [rcx + 0x1010]
mov rdx, 0xfffffffffffffc00
nop word cs:[rax + rax]
mov r10, r8
shl r10, 0x15
xor r10, r8
not r10
add r10, qword [rcx + rdx + 0x1000]
mov r9, qword [rcx + rdx + 0xc00]
mov r8d, r9d
and r8d, 0x7f8
add rax, r10
add rax, qword [rcx + r8 + 0x800]
mov r8, qword [rcx + rdx + 0xc08]
mov qword [rcx + rdx + 0xc00], rax
shr eax, 8
and eax, 0x7f8
add r9, qword [rcx + rax + 0x800]
mov qword [rcx + rdx + 0x400], r9
mov rax, r10
shr rax, 5
xor rax, r10
add rax, qword [rcx + rdx + 0x1008]
mov r10d, r8d
and r10d, 0x7f8
add r9, rax
add r9, qword [rcx + r10 + 0x800]
mov qword [rcx + rdx + 0xc08], r9
shr r9d, 8
and r9d, 0x7f8
add r8, qword [rcx + r9 + 0x800]
mov qword [rcx + rdx + 0x408], r8
mov r10, rax
shl r10, 0xc
xor r10, rax
mov r9, qword [rcx + rdx + 0xc10]
add r10, qword [rcx + rdx + 0x1010]
mov eax, r9d
and eax, 0x7f8
add r8, r10
add r8, qword [rcx + rax + 0x800]
mov qword [rcx + rdx + 0xc10], r8
shr r8d, 8
and r8d, 0x7f8
add r9, qword [rcx + r8 + 0x800]
mov qword [rcx + rdx + 0x410], r9
mov r8, r10
shr r8, 0x21
xor r8, r10
mov rax, qword [rcx + rdx + 0xc18]
add r8, qword [rcx + rdx + 0x1018]
mov r10d, eax
and r10d, 0x7f8
add r9, r8
add r9, qword [rcx + r10 + 0x800]
mov qword [rcx + rdx + 0xc18], r9
shr r9d, 8
and r9d, 0x7f8
add rax, qword [rcx + r9 + 0x800]
mov qword [rcx + rdx + 0x418], rax
add rdx, 0x20
jne 0x1400598e0
xor edx, edx
nop word cs:[rax + rax]
mov r10, r8
shl r10, 0x15
xor r10, r8
not r10
add r10, qword [rcx + rdx + 0x800]
mov r9, qword [rcx + rdx + 0xc00]
mov r8, qword [rcx + rdx + 0xc08]
mov r11d, r9d
and r11d, 0x7f8
add rax, r10
add rax, qword [rcx + r11 + 0x800]
mov qword [rcx + rdx + 0xc00], rax
shr eax, 8
and eax, 0x7f8
add r9, qword [rcx + rax + 0x800]
mov qword [rcx + rdx + 0x400], r9
mov rax, r10
shr rax, 5
xor rax, r10
add rax, qword [rcx + rdx + 0x808]
mov r10d, r8d
and r10d, 0x7f8
add r9, rax
add r9, qword [rcx + r10 + 0x800]
mov qword [rcx + rdx + 0xc08], r9
shr r9d, 8
and r9d, 0x7f8
add r8, qword [rcx + r9 + 0x800]
mov qword [rcx + rdx + 0x408], r8
mov r10, rax
shl r10, 0xc
xor r10, rax
add r10, qword [rcx + rdx + 0x810]
mov r9, qword [rcx + rdx + 0xc10]
mov eax, r9d
and eax, 0x7f8
add r8, r10
add r8, qword [rcx + rax + 0x800]
mov qword [rcx + rdx + 0xc10], r8
shr r8d, 8
and r8d, 0x7f8
add r9, qword [rcx + r8 + 0x800]
mov qword [rcx + rdx + 0x410], r9
mov r8, r10
shr r8, 0x21
xor r8, r10
mov rax, qword [rcx + rdx + 0xc18]
add r8, qword [rcx + rdx + 0x818]
mov r10d, eax
and r10d, 0x7f8
add r9, r8
add r9, qword [rcx + r10 + 0x800]
mov qword [rcx + rdx + 0xc18], r9
shr r9d, 8
and r9d, 0x7f8
add rax, qword [rcx + r9 + 0x800]
mov qword [rcx + rdx + 0x418], rax
add rdx, 0x20
cmp rdx, 0x400
jne 0x140059a40
mov qword [rcx + 0x1008], r8
mov qword [rcx + 0x1010], rax
mov qword [rcx + 0x1000], 0x100
ret
Function at 0x140059bc0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x1090
call fcn.14034daf0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1008], 0xfffffffffffffffe
mov rsi, rcx
lea rdi, [rbp - 0x60]
mov r8d, 0x1020
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
mov edx, 0x800
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x140059c45
xorps xmm0, xmm0
movups xmmword [rbp + 0xfb0], xmm0
movups xmmword [rbp + 0xfa0], xmm0
mov rcx, rdi
mov dl, 1
call fcn.140059500
mov r8d, 0x1020
mov rcx, rsi
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, rsi
add rsp, 0x1090
pop rdi
pop rsi
pop rbp
ret
call fcn.1401ffae0
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x1000], rax
lea rax, [rbp + 0x1000]
mov qword [rbp + 0xff0], rax
lea rax, [fcn.1401f37a0]
mov qword [rbp + 0xff8], rax
lea rax, str.couldnt_generate_random_bytes:_HE7_
mov qword [rbp + 0xfc0], rax
mov qword [rbp + 0xfc8], 1
mov qword [rbp + 0xfe0], 0
lea rax, [rbp + 0xff0]
mov qword [rbp + 0xfd0], rax
mov qword [rbp + 0xfd8], 1
lea rdx, str.xE7_
lea rcx, [rbp + 0xfc0]
call fcn.140359e80
ud2

Function at 0x14005a870
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
movups xmm0, xmmword [0x140374720]
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0x28]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.shell32.dll_SHGetKnownFolderPath]
mov rcx, qword [rsp + 0x28]
test eax, eax
je 0x14005a8c0
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x14005a8e1
call qword [sym.imp.kernel32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.1401f5c10
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rsi
add rsp, 0x40
pop rsi
ret