joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4cf400
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d04e0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4cfe02
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f2108]
test eax, eax
je 0x2fc4cfe9a
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f2110]
mov qword [rbp - 8], rax
jmp 0x2fc4cfe7e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cfe72
cmp qword [rbp - 0x10], 0
je 0x2fc4cfe72
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cfe38
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cfe9b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cffa0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cffc8
mov eax, 0
jmp 0x2fc4d0016
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cfff1
mov eax, 0
jmp 0x2fc4d0016
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d0011
mov eax, 0
jmp 0x2fc4d0016
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d001c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d009a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d0091
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d0091
mov rax, qword [rbp - 8]
jmp 0x2fc4d00af
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d0064
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140002b20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002b6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002b6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002b6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002b6a
cmp dword [rcx + 0x84], 0xe
jbe 0x140002b6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002b6c
xor al, al
add rsp, 0x28
ret
Function at 0x1a7f1b41944
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 0x1a7f1b4d7e3
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, [0x1a7f1c36598]
mov r12d, dword [rbp]
add r12, rsi
mov rcx, r12
call fcn.1a7f1c24e50
mov rcx, r14
mov rdx, r12
mov r8, rax
call fcn.1a7f1b69b50
mov rcx, r14
mov rdx, r15
call fcn.1a7f1b43641
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.1a7f1b424b0
test al, al
jne 0x1a7f1b4d86f
add rbp, 4
add r13, 2
jmp 0x1a7f1b4d82b
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 0x1a7f1b4dcec
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1a7f1b4dd72
mov rsi, rdx
lea rax, [rdx + 1]
cmp rax, 2
jb 0x1a7f1b4dd72
mov rdi, rcx
xor edx, edx
call qword [sym.imp.kernel32.dll_TerminateProcess]
test eax, eax
je 0x1a7f1b4dd54
lea rcx, [rsp + 0x28]
and qword [rcx], 0
call fcn.1a7f1b42b57
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rdi
call fcn.1a7f1b474e5
mov rcx, rbx
call fcn.1a7f1b42b57
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.1a7f1b474e5
mov rcx, rdi
jmp 0x1a7f1b4dd6d
call fcn.1a7f1bf5a65
lea rcx, [rsp + 0x28]
and qword [rcx + 8], 0
mov dword [rcx + 0x10], eax
mov qword [rcx], 1
call fcn.1a7f1b42b57
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x1a7f1b4ed39
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 0x1a7f1b4edc0
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 0x1a7f1b4edac
and dword [rsp + 0x64], 0
mov rcx, qword [rsp + 0x68]
call sub.kernel32.dll_LocalFree
cmp dword [rsp + 0x64], 0
setne al
jmp 0x1a7f1b4edc2
xor eax, eax
add rsp, 0x78
ret
Function at 0x1a7f1b59d68
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1318
call fcn.1a7f1c20fe0
sub rsp, rax
movaps xmmword [rsp + 0x1300], xmm6
mov qword [rsp + 0x128], rcx
mov esi, 8
mov ecx, 0x40
mov edx, 8
call fcn.1a7f1b43c33
lea rcx, str.HKLMSOFTWAREMicrosoftWindowsCurrentVersionRunHKLMSOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunHKCUSOFTWAREMicrosoftWindowsCurrentVersionRunHKCUSOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunHKLMHKCUsrccoreutils_regeditmod.rs
mov qword [rax], rcx
mov r8d, 0x32
mov qword [rax + 8], r8
lea rcx, [0x1a7f1c3677a]
mov qword [rax + 0x10], rcx
mov ecx, 0x3e
mov qword [rax + 0x18], rcx
lea rdx, [0x1a7f1c367b8]
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], r8
lea rdx, [0x1a7f1c367ea]
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rcx
lea rcx, [rsp + 0x278]
mov qword [rcx], rsi
xorps xmm6, xmm6
movups xmmword [rcx + 8], xmm6
lea rcx, [rsp + 0x290]
mov qword [rcx], rsi
movups xmmword [rcx + 8], xmm6
lea rcx, [rsp + 0x2a8]
mov qword [rcx], rsi
movups xmmword [rcx + 8], xmm6
lea rcx, [rax + 0x40]
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x250], 4
mov qword [rsp + 0x258], rax
mov qword [rsp + 0x260], rcx
lea rcx, [rsp + 0x268]
add rcx, rsi
mov qword [rsp + 0x188], rcx
lea rcx, [rsp + 0xc0]
add rcx, rsi
mov qword [rsp + 0x1b0], rcx
lea rcx, [rsp + 0x60]
add rcx, rsi
mov qword [rsp + 0x1a8], rcx
lea rcx, [rsp + 0x40]
add rcx, rsi
mov qword [rsp + 0x1a0], rcx
lea r13, [rsp + 0x300]
lea rcx, [rsi + r13]
mov qword [rsp + 0x198], rcx
lea rbp, [rsp + 0xe0]
add rsi, rbp
mov qword [rsp + 0x190], rsi
xor ecx, ecx
mov qword [rsp + 0x130], rax

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

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x1a7f1b6e370
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 0x1a7f1b6e400
cmp r11, r10
ja 0x1a7f1b6e476
cmp r10, rdx
ja 0x1a7f1b6e48a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1a7f1b6e402
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1a7f1b6e3e0
jmp 0x1a7f1b6e464
ja 0x1a7f1b6e40a
mov r11, r10
cmp rax, r8
jne 0x1a7f1b6e3a4
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 0x1a7f1b6e440
mov rdi, r8
sub ecx, edx
jns 0x1a7f1b6e45b
jmp 0x1a7f1b6e466
cmp r8, rsi
je 0x1a7f1b6e49b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1a7f1b6e466
xor al, 1
cmp rdi, rsi
jne 0x1a7f1b6e420
jmp 0x1a7f1b6e466
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.1a7f1c2feb0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1a7f1c2fbe0
ud2
lea rcx, [0x1a7f1c8b482]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1a7f1c2fc60
ud2
Function at 0x1a7f1b73890
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, [0x1a7f1c3f2c8]
mov ebx, 0xff
lea rsi, str.E:.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
cmp r9, 0x40
jb 0x1a7f1b739c0
mov r14d, 4
sub r14, 1
jb 0x1a7f1b738b5
cmp r9, 0xf
jbe 0x1a7f1b739ed
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.1a7f1b73ed4
mov r9, rdx
mov ecx, ebp
jmp 0x1a7f1b738c5
xor edx, edx
cmp r9, rdx
je 0x1a7f1b739de
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x1a7f1b739c2
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.E:.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.1a7f1c2fb60
ud2
Function at 0x1a7f1b843f2
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, 0xc8
mov rdi, rdx
mov rsi, rcx
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1a7f1b84b69
cmp dword [rbx], 2
jne 0x1a7f1b8442d
mov dl, byte [rsp + 0x34]
lea rcx, [rsp + 0x70]
call fcn.1a7f1b75742
jmp 0x1a7f1b8445e
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmm2, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x90], xmm2
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
mov r12d, dword [rsp + 0x70]
cmp r12d, 2
jne 0x1a7f1b8457e
add byte [rax], al
mov edx, dword [rsp + 0x74]
mov ebp, dword [rsp + 0x78]
mov ecx, ebp
shr ecx, 8
mov eax, dword [rsp + 0x7c]
mov r9, qword [rsp + 0x80]
mov word [rax + rax*4], fs
add byte [rax], al
add byte [rax - 0x75], cl
pushfq
and al, 0x88
add byte [rax], al
add byte [rbx + rcx*4 - 0x7c], al
and al, 0x90
add byte [rax], al
add byte [rdi], cl
adc byte [rsp + 0x94], al
Function at 0x1a7f1b87cc8
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 0x1a7f1b87d47
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 0x1a7f1b87cec
mov edi, eax
xor edi, 0x80000000
je 0x1a7f1b87d45
mov al, byte [0x1a7f1cdecc8]
mov ecx, 4
mov edx, 4
call fcn.1a7f1b62c70
test rax, rax
je 0x1a7f1b87d58
mov rsi, rax
mov dword [rax], edi
jmp 0x1a7f1b87d47
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.1a7f1c2f940
ud2
Function at 0x1a7f1b8b7e9
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.1a7f1b8b7b2
cmp eax, 1
je 0x1a7f1b8b81f
mov eax, eax
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
cmp eax, 2
jne 0x1a7f1b8b834
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1a7f1bf95a0
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1a7f1bf9bc0
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1a7f1c167d0
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.1a7f1bf9800
call fcn.1a7f1bf8e80
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 0x1a7f1bf9bda
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 [0x1a7f1cde0c8]
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.1a7f1c17a00
inc ebx
cmp ebx, dword [rdi + 0xf0]
jbe 0x1a7f1c16800
mov r8d, 1
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1a7f1c17890
mov edx, dword [rdi + 0xf0]
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1a7f1c16b70
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbp
call fcn.1a7f1c16ec0
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1a7f1c210f0
mov rbx, qword [rsp + 0x468]
add rsp, 0x430
pop rdi
pop rsi
pop rbp
ret
Function at 0x1a7f1b8bdef
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 0x1a7f1b8be7e
movzx ebx, r9b
shl rbx, 7
sub rbx, 0xffffffffffffff80
shl r8, 3
cmp r8, rbx
jne 0x1a7f1b8be7e
mov rdi, rdx
lea rcx, [rsp + 0x140]
mov r8d, 0xf4
xor edx, edx
call fcn.1a7f1c22810
call fcn.1a7f1b8b7b2
cmp eax, 3
je 0x1a7f1b8be61
mov eax, eax
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
cmp eax, 2
jne 0x1a7f1b8be75
call fcn.1a7f1bf94c0
jmp 0x1a7f1b8be7a
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
call fcn.1a7f1c168b0
jmp 0x1a7f1b8be7a
call fcn.1a7f1bfa990
test eax, eax
je 0x1a7f1b8be99
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.1a7f1c22170
xorps xmm6, xmm6
movaps xmmword [rbx], xmm6
lea rbx, [rsp + 0x30]
lea r8, [rsp + 0x140]
mov rcx, rbx
mov rdx, rdi
call fcn.1a7f1b8b7e9
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 0x1a7f1b8bf07
movups xmmword [rsp + rax + 0x140], xmm6
add rax, 0x10
jmp 0x1a7f1b8bef1
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x140]
mov r8d, 0x100
call fcn.1a7f1c22170
call fcn.1a7f1b8b7d1
test al, al
je 0x1a7f1b8bf55
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 0x1a7f1b8bf7a
mov eax, dword [0x1a7f1cdecd4]
not eax
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
test eax, 0x10400000
jne 0x1a7f1b8bf75
call fcn.1a7f1bf84e0
jmp 0x1a7f1b8bf7a
call fcn.1a7f1bf7ac0
lea rdi, [rsp + 0x450]
lea rdx, [rsp + 0x40]
mov r8d, 0x100
mov rcx, rdi
call fcn.1a7f1c22170
lea rcx, [rsp + 0x550]
lea rdx, [rsp + 0x358]
mov r8d, 0xf4
call fcn.1a7f1c22170
lea rcx, [rsp + 0x14c]
mov r8d, 0x200
mov rdx, rdi
call fcn.1a7f1c22170
and dword [rsi], 0
add rsi, 4
lea rdx, [rsp + 0x140]
mov r8d, 0x20c
mov rcx, rsi
call fcn.1a7f1c22170
jmp 0x1a7f1b8be84

Function at 0x1a7f1b90a0e
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.E:.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.16.20_src_rand.rs_z
mov r12d, 0xffffffff
mov r14, r15
cmp r15, rsi
jae 0x1a7f1b90a66
mov rcx, rdi
mov rdx, rsi
mov r8, r14
mov r9, rbx
call fcn.1a7f1b66eb7
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 0x1a7f1b90a31
cmp r14, rsi
setb al
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1a7f1b966b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.1a7f1b680a0
cmp rax, rcx
je 0x1a7f1b966d5
cmp rdx, 4
jae 0x1a7f1b966d8
xor eax, eax
xor r8d, r8d
jmp 0x1a7f1b96770
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1a7f1c35370]
movdqa xmm3, xmmword [0x1a7f1c35380]
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 0x1a7f1b96700
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1a7f1b96787
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1a7f1b96770
ret

Function at 0x1a7f1bbd6d9
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