joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401caa34
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401ca808
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401ca808
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401ca808
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401ca808
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401ca808
cmp dword [rcx + 0x84], 0xe
jbe 0x1401ca808
cmp dword [rcx + 0xf8], esi
je 0x1401ca808
mov ecx, r14d
call fcn.1401ca950
mov ecx, 2
call fcn.1401d0cb8
nop
cmp byte [0x140c1a028], 0
jne 0x1401ca8d2
mov r15d, 1
mov eax, r15d
xchg dword [0x140c1a018], eax
test ebx, ebx
jne 0x1401ca87b
mov rdi, qword [0x140283760]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140c1a020]
cmp rcx, rax
je 0x1401ca872
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400022d0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140c1a158]
jmp 0x1401ca887
cmp ebx, r15d
jne 0x1401ca88d
lea rcx, [0x140c1a170]
call fcn.1401cb4e8
nop
test ebx, ebx
jne 0x1401ca8a4
lea rdx, [0x1401e4a88]
lea rcx, [0x1401e4a68]
call fcn.1401cb84c
lea rdx, [0x1401e4a98]
lea rcx, [0x1401e4a90]
call fcn.1401cb84c
movzx eax, byte [0x140c1a028]
test esi, esi
cmove eax, r15d
mov byte [0x140c1a028], al
jmp 0x1401ca8d2
mov ecx, 2
call fcn.1401d0d0c
test esi, esi
jne 0x1401ca8e9
mov ecx, r14d
call fcn.1401ca904
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401ca798
Function at 0x1400019b8
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 0x14000d788
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rax + rcx + 0x88]
mov ecx, dword [rax + rcx + 0x1c]
mov qword [rsp + 0x28], rcx
mov ebp, dword [rax + rsi + 0x20]
add rbp, rsi
mov r13d, dword [rax + rsi + 0x24]
add r13, rsi
lea r14, [rsp + 0x30]
lea r15, [0x140104758]
mov r12d, dword [rbp]
add r12, rsi
mov rcx, r12
call fcn.1400f2e70
mov rcx, r14
mov rdx, r12
mov r8, rax
call fcn.14002b110
mov rcx, r14
mov rdx, r15
call fcn.1400038a6
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.140002750
test al, al
jne 0x14000d814
add rbp, 4
add r13, 2
jmp 0x14000d7d0
mov rcx, qword [rsp + 0x28]
add rcx, rsi
movzx eax, word [r13]
mov eax, dword [rcx + rax*4]
add rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14000dc91
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000dd17
mov rsi, rdx
lea rax, [rdx + 1]
cmp rax, 2
jb 0x14000dd17
mov rdi, rcx
xor edx, edx
call qword [sym.imp.kernel32.dll_TerminateProcess]
test eax, eax
je 0x14000dcf9
lea rcx, [rsp + 0x28]
and qword [rcx], 0
call fcn.140002e36
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rdi
call fcn.140007600
mov rcx, rbx
call fcn.140002e36
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140007600
mov rcx, rdi
jmp 0x14000dd12
call fcn.1400c3b4b
lea rcx, [rsp + 0x28]
and qword [rcx + 8], 0
mov dword [rcx + 0x10], eax
mov qword [rcx], 1
call fcn.140002e36
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000f21a
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x78
lea rcx, [rsp + 0x70]
and dword [rcx], 0
mov word [rcx + 4], 0x500
lea rax, [rsp + 0x68]
and qword [rax], 0
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x50], rax
and dword [rsp + 0x20], 0
mov dl, 2
mov r8d, 0x20
mov r9d, 0x220
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x14000f2a1
lea r8, [rsp + 0x64]
and dword [r8], 0
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
jne 0x14000f28d
and dword [rsp + 0x64], 0
mov rcx, qword [rsp + 0x68]
call sub.kernel32.dll_LocalFree
cmp dword [rsp + 0x64], 0
setne al
jmp 0x14000f2a3
xor eax, eax
add rsp, 0x78
ret
Function at 0x140019431
Capabilities:
Persist via run registry key

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1348
call fcn.1400eeff0
sub rsp, rax
movaps xmmword [rsp + 0x1330], xmm6
mov qword [rsp + 0x150], rcx
mov esi, 8
mov ecx, 0x40
mov edx, 8
call fcn.140004009
lea rcx, str.HKLMSOFTWAREMicrosoftWindowsCurrentVersionRunHKLMSOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunHKCUSOFTWAREMicrosoftWindowsCurrentVersionRunHKCUSOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunHKLMHKCUsrccoreutils_regeditmod.rs
mov qword [rax], rcx
mov r8d, 0x32
mov qword [rax + 8], r8
lea rcx, [0x1401048f2]
mov qword [rax + 0x10], rcx
mov ecx, 0x3e
mov qword [rax + 0x18], rcx
lea rdx, [0x140104930]
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], r8
lea rdx, [0x140104962]
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rcx
lea rcx, [rsp + 0x2a8]
mov qword [rcx], rsi
xorps xmm6, xmm6
movups xmmword [rcx + 8], xmm6
lea rcx, [rsp + 0x2c0]
mov qword [rcx], rsi
movups xmmword [rcx + 8], xmm6
lea rcx, [rsp + 0x2d8]
mov qword [rcx], rsi
movups xmmword [rcx + 8], xmm6
lea rcx, [rax + 0x40]
mov qword [rsp + 0x278], rax
mov qword [rsp + 0x280], 4
mov qword [rsp + 0x288], rax
mov qword [rsp + 0x290], rcx
lea rcx, [rsp + 0x298]
add rcx, rsi
mov qword [rsp + 0x1b8], rcx
lea rcx, [rsp + 0x80]
add rcx, rsi
mov qword [rsp + 0x168], rcx
lea rcx, [rsp + 0x60]
add rcx, rsi
mov qword [rsp + 0x1c8], rcx
lea r13, [rsp + 0x330]
lea rcx, [rsi + r13]
mov qword [rsp + 0x160], rcx
lea rcx, [rsp + 0xa8]
add rsi, rcx
mov qword [rsp + 0x1c0], rsi
lea rbp, [rsp + 0x4c]
lea r14, [rsp + 0x5c]
mov r12, qword [sym.imp.advapi32.dll_RegEnumValueW]
xor ecx, ecx
mov qword [rsp + 0x158], rax

Function at 0x14002718c
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x14002f930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14002f9c0
cmp r11, r10
ja 0x14002fa36
cmp r10, rdx
ja 0x14002fa4a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14002f9c2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14002f9a0
jmp 0x14002fa24
ja 0x14002f9ca
mov r11, r10
cmp rax, r8
jne 0x14002f964
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14002fa00
mov rdi, r8
sub ecx, edx
jns 0x14002fa1b
jmp 0x14002fa26
cmp r8, rsi
je 0x14002fa5b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14002fa26
xor al, 1
cmp rdi, rsi
jne 0x14002f9e0
jmp 0x14002fa26
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400fded0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400fdc00
ud2
lea rcx, [0x14015ab02]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400fdc80
ud2
Function at 0x140034e50
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x14010d600]
mov ebx, 0xff
lea rsi, str.Z:WorkspaceDevelopTools.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
cmp r9, 0x40
jb 0x140034f80
mov r14d, 4
sub r14, 1
jb 0x140034e75
cmp r9, 0xf
jbe 0x140034fad
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.140035494
mov r9, rdx
mov ecx, ebp
jmp 0x140034e85
xor edx, edx
cmp r9, rdx
je 0x140034f9e
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x140034f82
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.Z:WorkspaceDevelopTools.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.1400fdb80
ud2
Function at 0x140036a11
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
add byte [rax], al
add byte [rax - 0x77], cl
xlatb
mov rsi, rcx

Function at 0x140037ae2
Capabilities:
Get disk size

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x278
mov r14, r8
mov r15, rdx
mov rsi, rcx
xor ebx, ebx
lea r12, [rsp + 0x6e]
mov r8d, 0x20a
mov rcx, r12
xor edx, edx
call fcn.1400f0830
add r14, r15
lea rdi, [rsp + 0x48]
mov qword [rdi], r15
mov qword [rdi + 8], r14
and word [rdi + 0x10], 0
mov dword [rdi + 0x18], 1
lea r14, [rsp + 0x30]
mov rcx, r14
mov rdx, rdi
call fcn.140037773
mov r14, qword [r14]
mov rcx, r14
mov rdx, r12
mov r8d, 0x105
call sub.kernel32.dll_GetVolumePathNameW
test eax, eax
jne 0x140037b5d
call fcn.140037c00
mov rbx, rax
mov rdx, qword [rsp + 0x38]
mov rcx, r14
call fcn.140037ad2
test rbx, rbx
je 0x140037b7c
mov qword [rsi + 8], rbx
mov qword [rsi], 1
jmp 0x140037bef
lea rdx, [rsp + 0x28]
and dword [rdx], 0
lea r8, [rsp + 0x2c]
and dword [r8], 0
lea r9, [rsp + 0x30]
and dword [r9], 0
and dword [rsp + 0x48], 0
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x6e]
call sub.kernel32.dll_GetDiskFreeSpaceW
test eax, eax
je 0x140037bde
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
imul rcx, rax
mov eax, dword [rsp + 0x30]
imul rax, rcx
mov edx, dword [rsp + 0x48]
imul rdx, rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rcx
xor eax, eax
jmp 0x140037bec
call fcn.140037c00
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14004570b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsp

Function at 0x1400461cb
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x38], rcx
mov r12, qword [rcx]
xorps xmm6, xmm6
lea rbp, [rsp + 0x2c]
lea r15, [0x14008c650]
lea r14, [rsp + 0x40]
mov rdi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov r13, qword [sym.imp.kernel32.dll_SleepEx]
test rsi, rsi
je 0x1400462b5
mov rcx, qword [r12]
mov eax, 0xffffffff
cmp rsi, rax
mov r8d, 0xffffffff
cmovb r8, rsi
and dword [rsp + 0x2c], 0
movaps xmmword [rsp + 0x40], xmm6
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r15
mov rdx, rbx
mov r9, r14
call rdi
test eax, eax
je 0x14004628a
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rsp + 0x2c], 0
je 0x140046255
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14004628f
mov ecx, dword [rsp + 0x34]
test rcx, rcx
je 0x14004629c
mov rax, rsi
sub rax, rcx
jb 0x1400462d1
add rbx, rcx
mov rsi, rax
jmp 0x140046210
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rbx, rax
jmp 0x1400462a3
lea rbx, [0x140156c40]
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rdi + 8]
call fcn.1400461b8
mov qword [rdi + 8], rbx
test rsi, rsi
setne al
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._rustc_a57770440f1ebe5b992551d3bcc489ae211908d4library_std_srciomod.rs
mov rdx, rsi
call fcn.1400fdb00
ud2
Function at 0x140049cf4
Capabilities:
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdx, rcx
mov ebx, 0x20
xor esi, esi
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test rbx, rbx
je 0x140049d73
cmp rbx, r14
mov r8d, 0xffffffff
cmovb r8, rbx
sub rbx, r8
lea r12, [rdx + r8]
xor ecx, ecx
mov r9d, 2
call r15
mov rdx, r12
cmp eax, 0xc0000000
jb 0x140049d18
mov edi, eax
xor edi, 0x80000000
je 0x140049d71
mov al, byte [0x1401b0ce0]
mov ecx, 4
mov edx, 4
call fcn.140037c20
test rax, rax
je 0x140049d84
mov rsi, rax
mov dword [rax], edi
jmp 0x140049d73
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.1400fd960
ud2
Function at 0x14004d71b
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
call fcn.14004d6e4
cmp eax, 1
je 0x14004d751
mov eax, eax
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
cmp eax, 2
jne 0x14004d766
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400c75a0
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400c7bc0
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400e47d0
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
lea rsp, [rsp - 0xb8]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp + 0x20], xmm7
movaps xmmword [rsp + 0x30], xmm8
movaps xmmword [rsp + 0x40], xmm9
movaps xmmword [rsp + 0x50], xmm10
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x80], xmm13
movaps xmmword [rsp + 0x90], xmm14
movaps xmmword [rsp + 0xa0], xmm15
movdqu xmm0, xmmword [rdi]
call fcn.1400c7800
call fcn.1400c6e80
movdqu xmmword [rsi], xmm0
movaps xmm6, xmmword [rsp + 0x10]
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x60]
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm14, xmmword [rsp + 0x90]
movaps xmm15, xmmword [rsp + 0xa0]
lea rsp, [rsp + 0xb8]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
movups xmm2, xmmword [rcx]
mov eax, dword [r8 + 0xf0]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
lea r8, [r8 + 0x20]
xorps xmm2, xmm0
aesenc xmm2, xmm1
dec eax
movups xmm1, xmmword [r8]
lea r8, [r8 + 0x10]
jne 0x1400c7bda
aesenclast xmm2, xmm1
pxor xmm0, xmm0
pxor xmm1, xmm1
movups xmmword [rdx], xmm2
pxor xmm2, xmm2
repz ret
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x1401b00c8]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
xor ebx, ebx
nop dword [rax]
lea eax, [rbx*4]
mov edx, ebx
movups xmm0, xmmword [rdi + rax*4]
shl rdx, 6
lea r8, [rsp + 0x60]
add r8, rdx
movq rcx, xmm0
psrldq xmm0, 8
unpcklpd xmm0, xmm0
mov qword [r8], rcx
movups xmmword [r8 + 0x20], xmm0
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rcx
movups xmmword [r8 + 0x30], xmm0
mov qword [r8 + 0x18], rcx
mov rcx, r8
call fcn.1400e5a00
inc ebx
cmp ebx, dword [rdi + 0xf0]
jbe 0x1400e4800
mov r8d, 1
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1400e5890
mov edx, dword [rdi + 0xf0]
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400e4b70
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbp
call fcn.1400e4ec0
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400ef100
mov rbx, qword [rsp + 0x468]
add rsp, 0x430
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004dd2a
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x668
movaps xmmword [rsp + 0x650], xmm6
mov rsi, rcx
mov rax, r8
shr rax, 0x3d
jne 0x14004ddb9
movzx ebx, r9b
shl rbx, 7
sub rbx, 0xffffffffffffff80
shl r8, 3
cmp r8, rbx
jne 0x14004ddb9
mov rdi, rdx
lea rcx, [rsp + 0x140]
mov r8d, 0xf4
xor edx, edx
call fcn.1400f0830
call fcn.14004d6e4
cmp eax, 3
je 0x14004dd9c
mov eax, eax
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
cmp eax, 2
jne 0x14004ddb0
call fcn.1400c74c0
jmp 0x14004ddb5
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
call fcn.1400e48b0
jmp 0x14004ddb5
call fcn.1400c8990
test eax, eax
je 0x14004ddd4
mov dword [rsi], 2
movaps xmm6, xmmword [rsp + 0x650]
add rsp, 0x668
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x358]
lea rbx, [rsp + 0x140]
mov r8d, 0xf4
mov rcx, rdi
mov rdx, rbx
call fcn.1400efbc0
xorps xmm6, xmm6
movaps xmmword [rbx], xmm6
lea rbx, [rsp + 0x30]
lea r8, [rsp + 0x140]
mov rcx, rbx
mov rdx, rdi
call fcn.14004d71b
mov r14, qword [rbx]
mov rdi, qword [rbx + 8]
bswap r14
bswap rdi
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], rdi
xor eax, eax
cmp rax, 0x100
je 0x14004de42
movups xmmword [rsp + rax + 0x140], xmm6
add rax, 0x10
jmp 0x14004de2c
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x140]
mov r8d, pe_nt_image_headers64
call fcn.1400efbc0
call fcn.14004d703
test al, al
je 0x14004de90
mov rax, r14
shld rax, rdi, 1
shld rdi, r14, 1
sar r14, 0x3f
movabs rcx, 0xc200000000000000
and rcx, r14
xor rcx, rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
jmp 0x14004deb5
mov eax, dword [0x1401b0cec]
not eax
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
test eax, 0x10400000
jne 0x14004deb0
call fcn.1400c64e0
jmp 0x14004deb5
call fcn.1400c5ac0
lea rdi, [rsp + 0x450]
lea rdx, [rsp + 0x40]
mov r8d, pe_nt_image_headers64
mov rcx, rdi
call fcn.1400efbc0
lea rcx, [rsp + 0x550]
lea rdx, [rsp + 0x358]
mov r8d, 0xf4
call fcn.1400efbc0
lea rcx, [rsp + 0x14c]
mov r8d, 0x200
mov rdx, rdi
call fcn.1400efbc0
and dword [rsi], 0
add rsi, 4
lea rdx, [rsp + 0x140]
mov r8d, 0x20c
mov rcx, rsi
call fcn.1400efbc0
jmp 0x14004ddbf

Function at 0x140052a82
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
lea rbx, str.Z:WorkspaceDevelopTools.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.16.20_src_rand.rs_c
mov r12d, 0xffffffff
mov r14, r15
cmp r15, rsi
jae 0x140052ada
mov rcx, rdi
mov rdx, rsi
mov r8, r14
mov r9, rbx
call fcn.1400288a6
mov r15, rdx
cmp rdx, r12
cmovae r15, r12
mov rcx, rax
mov edx, r15d
call sub.advapi32.dll_SystemFunction036
add r15, r14
test al, al
jne 0x140052aa5
cmp r14, rsi
setb al
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140058720
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140029660
cmp rax, rcx
je 0x140058745
cmp rdx, 4
jae 0x140058748
xor eax, eax
xor r8d, r8d
jmp 0x1400587e0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140103360]
movdqa xmm3, xmmword [0x140103370]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140058770
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400587f7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400587e0
ret

Function at 0x14007f87d
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov rsi, qword [rsp + 0x58]
mov eax, dword [rdx]
mov edi, r8d
rol edi, 0x19
mov r10d, dword [rdx + 4]
mov ebx, eax
rol ebx, 0x19
mov r11d, dword [rdx + 8]
mov ebp, r10d
rol ebp, 0x19
mov r14d, r11d
rol r14d, 0x19
mov r15d, r8d
rol r15d, 0xe
xor r15d, edi
mov edi, eax
rol edi, 0xe
xor edi, ebx
mov ebx, r10d
rol ebx, 0xe
xor ebx, ebp
mov ebp, r11d
rol ebp, 0xe
xor ebp, r14d
shr r8d, 3
xor r8d, r15d
add r8d, eax
shr eax, 3
xor eax, edi
add eax, r10d
shr r10d, 3
xor r10d, ebx
add r10d, r11d
shr r11d, 3
xor r11d, ebp
add r11d, dword [rdx + 0xc]
add r8d, dword [rsi + 0xc]
add eax, dword [r9]
add r10d, dword [r9 + 4]
add r11d, dword [r9 + 8]
mov edx, dword [rsi + 4]
mov edi, edx
rol edi, 0xf
mov r9d, dword [rsi]
mov esi, edx
rol esi, 0xd
xor esi, edi
shr edx, 0xa
xor edx, esi
add edx, r11d
mov r11d, r9d
rol r11d, 0xf
mov esi, r9d
rol esi, 0xd
xor esi, r11d
shr r9d, 0xa
xor r9d, esi
mov r11d, edx
rol r11d, 0xf
add r9d, r10d
mov r10d, edx
rol r10d, 0xd
xor r10d, r11d
mov r11d, edx
shr r11d, 0xa
xor r11d, r10d
add r11d, eax
mov eax, r9d
rol eax, 0xf
mov r10d, r9d
rol r10d, 0xd
xor r10d, eax
mov eax, r9d
shr eax, 0xa
xor eax, r10d
add eax, r8d
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret