joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c080
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140060ec8], eax
jle 0x14001c1fd
lea rcx, [0x140060ec8]
call fcn.14001c69c
cmp dword [0x140060ec8], 0xffffffff
jne 0x14001c1fd
mov ecx, 0x40
call fcn.14001c57c
mov rbx, rax
mov qword [rsp + 0x20], rax
lea rcx, [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
mov dword [rbx + 0xc], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x90]
cmp eax, 1
ja 0x14001c11f
mov eax, 2
jmp 0x14001c12d
cmp eax, 0xa
jbe 0x14001c12b
mov eax, 0xa
jmp 0x14001c12d
dec eax
mov dword [rbx + 8], eax
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rsp + 0x40]
mov edx, 0x40000000
test eax, eax
cmove rcx, rdx
mov qword [rbx], 0xa000000
xorps xmm1, xmm1
test rcx, rcx
js 0x14001c169
cvtsi2sd xmm1, rcx
jmp 0x14001c17e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, qword [str.ffffff]
mov eax, dword [rbx + 8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
xor ecx, ecx
movsd xmm0, qword [0x140052118]
comisd xmm1, xmm0
jb 0x14001c1bc
subsd xmm1, xmm0
comisd xmm1, xmm0
jae 0x14001c1bc
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm1
add rax, rcx
and rax, 0xffffffffff800000
cmp rax, 0x800000
jae 0x14001c1db
mov qword [rbx], 0x1800000
jmp 0x14001c1ea
mov edx, 0xff800000
cmp rax, rdx
cmova rax, rdx
mov qword [rbx], rax
mov qword [0x140060ed0], rbx
lea rcx, [0x140060ec8]
call fcn.14001c630
mov rax, qword [0x140060ed0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14001c2c0
add rsp, 0xb0
pop rbx
ret

Function at 0x14001cf70
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001cfba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001cfba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001cfba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001cfba
cmp dword [rcx + 0x84], 0xe
jbe 0x14001cfba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001cfbc
xor al, al
add rsp, 0x28
ret

Function at 0x1400276d0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400274cc
Function at 0x14003068c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400306bc
xor eax, eax
jmp 0x14003077f
mov rbp, rbx
cmp word [rax], si
je 0x1400306e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400306c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400306c4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400305ac
movsxd r14, eax
test eax, eax
jne 0x14003071f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400306b5
mov rcx, r14
call fcn.14002b734
mov rdi, rax
test rax, rax
jne 0x140030738
xor ecx, ecx
call fcn.14002b6f8
jmp 0x140030714
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400305ac
test eax, eax
jne 0x140030769
mov rcx, rdi
call fcn.14002b6f8
jmp 0x140030773
xor ecx, ecx
call fcn.14002b6f8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140033950
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002bb0c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400339f1
cmp ebx, dword [rsp + 0x30]
je 0x1400339ea
test esi, esi
je 0x1400339ea
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400339c5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400339d2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400339af
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400339d6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400339f3
mov eax, 1
jmp 0x1400339f3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140039930
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14005b440]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140039987
cmp word [rdx], r13w
jne 0x140039987
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14003998c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140039ab1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140039ad2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400399c5
mov rdx, r9
mov word [rbx], cx
jmp 0x1400399ec
cmp r9, r8
jae 0x1400399fc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400399a6
jmp 0x140039ab1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140039aa6
cmp dword [rsp + 0x80], esi
je 0x140039aa6
lea r8, [0x14005b440]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140039a7e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140039a4e
mov word [rbx], r13w
jmp 0x140039aae
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140039a5b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140039aae
cmp word [rsp + 0x70], r13w
jne 0x140039a8b
cmp rbx, r14
je 0x140039a48
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140039850
cmp word [rsp + 0x70], r13w
je 0x140039ab1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14005b440]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140039aab
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140039ab1
Function at 0x14003adc8
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140039850
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140039850
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14003af18
cmp rax, 0xffffffffffffffff
je 0x14003af18
xor edi, edi
test rbp, rbp
jle 0x14003aec3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002be6c
mov rbx, rax
test rax, rax
jne 0x14003ae50
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14003aeb9
mov edx, 0x8000
mov ecx, r14d
call fcn.140028464
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140035bd4
cmp eax, 0xffffffff
je 0x14003ae99
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14003ae60
mov edx, r15d
mov ecx, r14d
call fcn.140028464
jmp 0x14003aeb9
cmp byte [rsi + 0x38], dil
je 0x14003aeb0
cmp dword [rsi + 0x34], 5
jne 0x14003aeb0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14003aeb9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002b6f8
jmp 0x14003af2c
jns 0x14003af2c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140039850
cmp rax, 0xffffffffffffffff
jne 0x14003aee4
cmp byte [rsi + 0x30], dil
je 0x14003af2c
mov edi, dword [rsi + 0x2c]
jmp 0x14003af2c
mov ecx, r14d
call fcn.14003126c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14003af2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14003af2c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14003af25
mov eax, dword [rsi + 0x2c]
jmp 0x14003af2a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140039850
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14003b9e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003ba08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14003ba08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14016e300]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14016e310]
mov dword [rax], 1
mov rax, qword [0x14016e320]
mov dword [rax], 1
mov rax, qword [0x14016e2b0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14016e2f0]
mov dword [0x14018600c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14016e3d0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14016e3b0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14016e260]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140005560
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp r8, qword [rsp + 0x70]
jne 0x1400055e0
test r8, r8
je 0x1400055d7
movzx r10d, byte [rcx + 0x100]
movzx eax, byte [rcx + 0x101]
xor r11d, r11d
nop word cs:[rax + rax]
inc r10b
movzx esi, r10b
movzx ebx, byte [rcx + rsi]
add al, bl
movzx edi, al
movzx ebp, byte [rcx + rdi]
mov byte [rcx + rsi], bpl
mov byte [rcx + rdi], bl
add bl, byte [rcx + rsi]
movzx esi, byte [rdx + r11]
movzx edi, bl
xor sil, byte [rcx + rdi]
mov byte [r9 + r11], sil
lea rsi, [r11 + 1]
mov r11, rsi
cmp r8, rsi
jne 0x140005590
mov byte [rcx + 0x100], r10b
mov byte [rcx + 0x101], al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x14012aa38]
lea r8, [0x14012ac88]
mov edx, 0x2d
call dbg.panic
ud2

Function at 0x140005a40
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp rdx, r9
jne 0x140005b1e
cmp rdx, qword [rsp + 0x58]
ja 0x140005b38
test rdx, rdx
jle 0x140005b19
mov rax, qword [rsp + 0x50]
cmp rdx, 8
jae 0x140005a74
xor r9d, r9d
jmp 0x140005b00
cmp rdx, 0x20
jae 0x140005a7f
xor r9d, r9d
jmp 0x140005aca
mov r9, rdx
and r9, 0xffffffffffffffe0
xor r10d, r10d
nop dword [rax]
movups xmm0, xmmword [r8 + r10]
movups xmm1, xmmword [r8 + r10 + 0x10]
movups xmm2, xmmword [rax + r10]
xorps xmm2, xmm0
movups xmm0, xmmword [rax + r10 + 0x10]
xorps xmm0, xmm1
movups xmmword [rcx + r10], xmm2
movups xmmword [rcx + r10 + 0x10], xmm0
add r10, 0x20
cmp r9, r10
jne 0x140005a90
cmp r9, rdx
je 0x140005b19
test dl, 0x18
je 0x140005b00
mov r10, r9
mov r9, rdx
and r9, 0xfffffffffffffff8
nop word cs:[rax + rax]
mov r11, qword [rax + r10]
xor r11, qword [r8 + r10]
mov qword [rcx + r10], r11
add r10, 8
cmp r9, r10
jne 0x140005ae0
cmp r9, rdx
je 0x140005b19
nop word [rax + rax]
movzx r10d, byte [rax + r9]
xor r10b, byte [r8 + r9]
mov byte [rcx + r9], r10b
lea r10, [r9 + 1]
mov r9, r10
cmp rdx, r10
jne 0x140005b00
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_dst.len____plaintext.len__
lea r8, [0x14012b070]
mov edx, 0x2e
call dbg.panic
ud2
lea rcx, str.assertion_failed:_plaintext.len_____keystream.len__
lea r8, [0x14012b028]
mov edx, 0x34
call dbg.panic
ud2
Function at 0x140005e90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r11, rdx
mov rdx, qword [rdx + 8]
mov r10, qword [r11 + 0x10]
mov rax, rdx
sub rax, r10
mov rdi, qword [r8 + 0x10]
mov r9, qword [r8 + 0x18]
sub rdi, r9
cmp rax, rdi
cmovb rdi, rax
mov rax, rdi
add rax, r10
jb 0x140005f86
cmp rax, rdx
ja 0x140005f9a
mov rbx, qword [r11]
mov qword [r11 + 0x10], rax
mov r11, rdi
add r11, r9
jb 0x140005fab
mov rsi, qword [r8 + 8]
cmp r11, rsi
ja 0x140005fbf
mov rsi, qword [r8]
mov qword [r8 + 0x18], r11
test rdi, rdi
je 0x140005f6f
add rbx, r10
add rsi, r9
movzx r9d, byte [rcx + 0x100]
movzx r8d, byte [rcx + 0x101]
xor r10d, r10d
nop dword [rax + rax]
movzx r11d, byte [rbx + r10]
inc r9b
movzx r14d, r9b
movzx ebp, byte [rcx + r14]
add r8b, bpl
movzx r15d, r8b
movzx r12d, byte [rcx + r15]
mov byte [rcx + r14], r12b
mov byte [rcx + r15], bpl
add bpl, byte [rcx + r14]
movzx r14d, bpl
xor r11b, byte [rcx + r14]
mov byte [rsi + r10], r11b
lea r11, [r10 + 1]
mov r10, r11
cmp rdi, r11
jne 0x140005f20
mov byte [rcx + 0x100], r9b
mov byte [rcx + 0x101], r8b
cmp rax, rdx
setne dl
xor eax, eax
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_buffer.rsP
mov rcx, r10
mov rdx, rax
call dbg.slice_index_order_fail
ud2
lea r8, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_buffer.rsP
mov rcx, rax
call dbg.slice_end_index_len_fail
ud2
lea r8, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_buffer.rsP
mov rcx, r9
mov rdx, r11
call dbg.slice_index_order_fail
ud2
lea r8, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_buffer.rsP
mov rcx, r11
mov rdx, rsi
call dbg.slice_end_index_len_fail
ud2
Function at 0x1400097b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
mov r10d, dword [rdx + 8]
mov eax, dword [rdx + 0xc]
xor r10d, dword [rcx + 8]
xor eax, dword [rcx + 0xc]
mov r9, qword [rdx]
xor r9, qword [rcx]
movq xmm0, r9
mov qword [rcx], r9
mov dword [rcx + 8], r10d
pshufd xmm0, xmm0, 0x55
movd r11d, xmm0
pxor xmm0, xmm0
mov edx, 0x800
nop word cs:[rax + rax]
mov esi, eax
shld esi, r10d, 0x1f
shld r10d, r11d, 0x1f
shld r11d, r9d, 0x1f
and r9d, 1
neg r9d
movdqu xmm1, xmmword [r8 + rdx - 0x20]
movdqu xmm2, xmmword [r8 + rdx - 0x10]
movd xmm3, r9d
pshufd xmm3, xmm3, 0
pand xmm3, xmm2
mov edi, eax
shr edi, 1
shld edi, esi, 0x1f
pxor xmm3, xmm0
shld esi, r10d, 0x1f
mov r9d, r10d
shld r9d, r11d, 0x1f
and r11d, 1
neg r11d
movd xmm0, r11d
pshufd xmm0, xmm0, 0
pand xmm0, xmm1
pxor xmm0, xmm3
shr eax, 2
mov r10d, edi
mov r11d, esi
add rdx, 0xffffffffffffffe0
jne 0x1400097f0
movdqu xmmword [rcx], xmm0
pop rdi
pop rsi
ret
Function at 0x140009bb0
Capabilities:
Encode data using xor

Disassembly:
push rsi
mov eax, dword [rcx + 0x819]
mov r9d, dword [rcx + 0x81d]
mov edx, dword [rcx + 0x821]
mov r8d, dword [rcx + 0x825]
cmp byte [rcx + 0x818], 0
mov byte [rcx + 0x818], 0
je 0x140009c8c
bswap eax
bswap r9d
bswap edx
bswap r8d
xor r8d, dword [rcx + 0x800]
xor edx, dword [rcx + 0x804]
xor r9d, dword [rcx + 0x808]
xor eax, dword [rcx + 0x80c]
pxor xmm0, xmm0
mov r10d, 0x800
nop dword [rax]
mov r11d, eax
shld r11d, r9d, 0x1f
shld r9d, edx, 0x1f
shld edx, r8d, 0x1f
and r8d, 1
neg r8d
movdqu xmm1, xmmword [rcx + r10 - 0x20]
movdqu xmm2, xmmword [rcx + r10 - 0x10]
movd xmm3, r8d
pshufd xmm3, xmm3, 0
pand xmm3, xmm2
mov esi, eax
shr esi, 1
shld esi, r11d, 0x1f
pxor xmm3, xmm0
shld r11d, r9d, 0x1f
mov r8d, r9d
shld r8d, edx, 0x1f
and edx, 1
neg edx
movd xmm0, edx
pshufd xmm0, xmm0, 0
pand xmm0, xmm1
pxor xmm0, xmm3
shr eax, 2
mov r9d, esi
mov edx, r11d
add r10, 0xffffffffffffffe0
jne 0x140009c10
movdqu xmmword [rcx + 0x800], xmm0
pop rsi
ret
Function at 0x140009d90
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp r8, 0x10
jb 0x140009fe8
cmp byte [rcx + 0x829], 0
je 0x140009dc8
mov eax, dword [rcx + 0x800]
mov r9d, dword [rcx + 0x804]
mov r8d, dword [rcx + 0x808]
mov ecx, dword [rcx + 0x80c]
jmp 0x140009fb5
mov eax, dword [rcx + 0x819]
mov r10d, dword [rcx + 0x81d]
mov r8d, dword [rcx + 0x821]
mov r9d, dword [rcx + 0x825]
cmp byte [rcx + 0x818], 0
mov byte [rcx + 0x818], 0
je 0x140009ed0
bswap eax
bswap r10d
bswap r8d
bswap r9d
xor r9d, dword [rcx + 0x800]
xor r8d, dword [rcx + 0x804]
xor r10d, dword [rcx + 0x808]
xor eax, dword [rcx + 0x80c]
pxor xmm0, xmm0
mov r11d, 0x800
nop word [rax + rax]
mov esi, eax
shld esi, r10d, 0x1f
shld r10d, r8d, 0x1f
shld r8d, r9d, 0x1f
and r9d, 1
neg r9d
movdqu xmm1, xmmword [rcx + r11 - 0x20]
movdqu xmm2, xmmword [rcx + r11 - 0x10]
movd xmm3, r9d
pshufd xmm3, xmm3, 0
pand xmm3, xmm2
mov edi, eax
shr edi, 1
shld edi, esi, 0x1f
pxor xmm3, xmm0
shld esi, r10d, 0x1f
mov r9d, r10d
shld r9d, r8d, 0x1f
and r8d, 1
neg r8d
movd xmm0, r8d
pshufd xmm0, xmm0, 0
pand xmm0, xmm1
pxor xmm0, xmm3
shr eax, 2
mov r10d, edi
mov r8d, esi
add r11, 0xffffffffffffffe0
jne 0x140009e30
movdqu xmmword [rcx + 0x800], xmm0
movd eax, xmm0
pshufd xmm1, xmm0, 0x55
movd r8d, xmm1
pshufd xmm1, xmm0, 0xee
movd esi, xmm1
pshufd xmm0, xmm0, 0xff
movd r10d, xmm0
jmp 0x140009eea
mov eax, dword [rcx + 0x800]
mov r8d, dword [rcx + 0x804]
mov esi, dword [rcx + 0x808]
mov r10d, dword [rcx + 0x80c]
mov r9, qword [rcx + 0x810]
lea r11d, [r9*8]
xor r11d, esi
shr r9, 0x1d
xor r9d, r10d
pxor xmm0, xmm0
mov r10d, 0x800
nop dword [rax]
mov esi, r9d
shld esi, r11d, 0x1f
shld r11d, r8d, 0x1f
shld r8d, eax, 0x1f
and eax, 1
neg eax
movdqu xmm1, xmmword [rcx + r10 - 0x20]
movdqu xmm2, xmmword [rcx + r10 - 0x10]
movd xmm3, eax
pshufd xmm3, xmm3, 0
pand xmm3, xmm2
mov edi, r9d
shr edi, 1
shld edi, esi, 0x1f
pxor xmm3, xmm0
shld esi, r11d, 0x1f
mov eax, r11d
shld eax, r8d, 0x1f
and r8d, 1
neg r8d
movd xmm0, r8d
pshufd xmm0, xmm0, 0
pand xmm0, xmm1
pxor xmm0, xmm3
shr r9d, 2
mov r11d, edi
mov r8d, esi
add r10, 0xffffffffffffffe0
jne 0x140009f10
movdqu xmmword [rcx + 0x800], xmm0
mov byte [rcx + 0x829], 1
movd eax, xmm0
pshufd xmm1, xmm0, 0x55
movd r9d, xmm1
pshufd xmm1, xmm0, 0xee
movd r8d, xmm1
pshufd xmm0, xmm0, 0xff
movd ecx, xmm0
bswap ecx
bswap r8d
bswap r9d
bswap eax
movd xmm0, eax
movd xmm1, r9d
punpckldq xmm1, xmm0
movd xmm0, r8d
movd xmm2, ecx
punpckldq xmm2, xmm0
punpcklqdq xmm2, xmm1
movdqu xmmword [rdx], xmm2
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14012b4f0]
lea r8, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_ghash.rsassertion_failed:_bytes.len____16
mov edx, 0x24
call dbg.panic
ud2
Function at 0x14000a610
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
cmp r8, qword [rsp + 0x80]
jne 0x14000a874
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
cmp r8, 5
jae 0x14000a672
test rsi, rsi
je 0x14000a6e5
xor r15d, r15d
nop word [rax + rax]
lea r12, [r15 + 1]
movzx ebp, byte [rbx + r15]
mov rcx, r14
call sym.crypto::hc128::Hc128::next::hd69e5a89fdf485a2
xor al, bpl
mov byte [rdi + r15], al
mov r15, r12
cmp rsi, r12
jne 0x14000a650
jmp 0x14000a6e5
cmp qword [r14 + 0x1008], 0
je 0x14000a6f4
xor r15d, r15d
nop
movzx ebp, byte [rbx + r15]
mov rcx, r14
call sym.crypto::hc128::Hc128::next::hd69e5a89fdf485a2
xor al, bpl
mov byte [rdi + r15], al
inc r15
cmp qword [r14 + 0x1008], 0
je 0x14000a6a6
cmp r15, rsi
jb 0x14000a680
lea rax, [r15 + 4]
cmp rax, rsi
jbe 0x14000a700
mov r12, r15
cmp r12, rsi
jae 0x14000a6e5
nop word [rax + rax]
movzx ebp, byte [rbx + r12]
mov rcx, r14
call sym.crypto::hc128::Hc128::next::hd69e5a89fdf485a2
cmp r12, rsi
jae 0x14000a84b
xor al, bpl
mov byte [rdi + r12], al
inc r12
cmp rsi, r12
jne 0x14000a6c0
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor r15d, r15d
lea rax, [r15 + 4]
cmp rax, rsi
ja 0x14000a6af
mov rdx, qword [r14 + 0x1000]
jmp 0x14000a792
mov edx, dword [r14 + r10*4]
rol edx, 0x16
mov r10d, dword [r14 + r11*4]
rol r10d, 9
xor r10d, edx
add r10d, dword [r14 + rcx*4]
mov edx, dword [r14 + r8*4]
rol edx, 0x18
add edx, r10d
mov dword [r14 + rcx*4], edx
mov r8d, dword [r14 + r9*4]
movzx ecx, r8b
lea rcx, [r14 + rcx*4]
add rcx, 0x800
shr r8, 0xe
and r8d, 0x3fc
add r8, r14
add r8, 0xc00
mov r9d, dword [rbx + r15]
xor r9d, edx
mov edx, dword [r8]
and eax, 0x3ff
add edx, dword [rcx]
xor edx, r9d
mov qword [r14 + 0x1000], rax
mov dword [rdi + r15], edx
lea r12, [r15 + 4]
add r15, 8
mov rdx, rax
cmp r15, rsi
mov r15, r12
ja 0x14000a6b2
cmp r15, 0xfffffffffffffffc
jae 0x14000a85f
mov ecx, edx
and ecx, 0x1ff
lea r10d, [rdx + 0x1fd]
and r10d, 0x1ff
lea r8d, [rdx + 0x1f6]
and r8d, 0x1ff
lea rax, [rdx + 1]
mov r11d, eax
and r11d, 0x1ff
lea r9d, [rdx + 0x1f4]
and r9d, 0x1ff
cmp rdx, 0x200
jb 0x14000a710
mov edx, dword [r14 + r10*4 + 0x800]
rol edx, 0xa
mov r10d, dword [r14 + r11*4 + 0x800]
rol r10d, 0x17
xor r10d, edx
add r10d, dword [r14 + rcx*4 + 0x800]
mov edx, dword [r14 + r8*4 + 0x800]
rol edx, 8
add edx, r10d
mov dword [r14 + rcx*4 + 0x800], edx
mov r8d, dword [r14 + r9*4 + 0x800]
movzx ecx, r8b
lea rcx, [r14 + rcx*4]
shr r8, 0xe
and r8d, 0x3fc
add r8, r14
add r8, 0x400
jmp 0x14000a75c
lea r8, [0x14012b628]
mov rcx, r12
mov rdx, rsi
call dbg.panic_bounds_check
ud2
lea rdx, [r15 + 4]
lea r8, [0x14012b640]
mov rcx, r15
call dbg.slice_index_order_fail
ud2
lea rcx, [0x14012b370]
lea r8, [0x14012b658]
mov edx, 0x2d
call dbg.panic
ud2