joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020fc0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
movaps xmmword [rsp + 0x130], xmm6
mov rsi, r8
mov rax, qword [rcx + 0x20]
movzx r10d, byte [rcx + 0x80]
mov r9, r8
test r10, r10
je 0x140021003
mov r8d, 0x40
sub r8, r10
mov r9, rsi
sub r9, r8
jbe 0x140021027
not rax
mov r8d, r9d
and r8d, 0x3f
shr r9, 6
cmp r8, 1
sbb r9, 0xffffffffffffffff
cmp r9, rax
ja 0x140021a5b
test r10b, r10b
je 0x140021069
mov r11d, 0x40
sub r11, r10
lea rax, [rcx + r10]
add rax, 0x40
mov r8, rsi
sub r8, r11
jae 0x14002105b
test rsi, rsi
je 0x140021a35
cmp rsi, 0x10
jae 0x1400219d7
xor r11d, r11d
jmp 0x140021a20
mov rdi, r8
cmp r10b, 0x30
jbe 0x14002106e
xor r10d, r10d
jmp 0x1400210c0
mov rax, rsi
jmp 0x1400210db
mov r10d, r11d
and r10d, 0xfffffff0
mov r8, qword [rax]
mov r9, qword [rax + 8]
xor qword [rdx], r8
xor qword [rdx + 8], r9
cmp r10, 0x10
je 0x1400210af
mov r8, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
xor qword [rdx + 0x10], r8
xor qword [rdx + 0x18], r9
cmp r10d, 0x20
je 0x1400210af
mov r8, qword [rax + 0x20]
xor qword [rdx + 0x20], r8
mov r8, qword [rax + 0x28]
xor qword [rdx + 0x28], r8
cmp r11d, r10d
je 0x1400210d5
nop word cs:[rax + rax]
movzx r8d, byte [rax + r10]
xor byte [rdx + r10], r8b
lea r8, [r10 + 1]
mov r10, r8
cmp r11, r8
jne 0x1400210c0
add rdx, r11
mov rax, rdi
mov esi, eax
and esi, 0x3f
mov qword [rsp + 0xa0], rax
cmp rax, 0x40
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0x90], rsi
jae 0x140021448
mov rax, qword [rsp + 0xa0]
shr rax, 6
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x70]
lea r8, [rcx + 0x40]
lea rdx, [rsp + 0x30]
cmp rdx, r8
setb dl
cmp rax, rcx
seta al
and al, dl
mov byte [rsp + 0x2f], al
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x30]
xor r8d, r8d
jmp 0x14002158f
mov r11, rsi
and r11, 0xfffffffffffffff0
mov r8, qword [rax]
mov r9, qword [rax + 8]
xor qword [rdx], r8
xor qword [rdx + 8], r9
cmp r11, 0x10
je 0x140021a18
mov r8, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
xor qword [rdx + 0x10], r8
xor qword [rdx + 0x18], r9
cmp r11, 0x20
je 0x140021a18
mov r8, qword [rax + 0x20]
xor qword [rdx + 0x20], r8
mov r8, qword [rax + 0x28]
xor qword [rdx + 0x28], r8
cmp r11, rsi
je 0x140021a35
nop dword [rax]
movzx r8d, byte [rax + r11]
xor byte [rdx + r11], r8b
lea r8, [r11 + 1]
mov r11, r8
cmp rsi, r8
jne 0x140021a20
add sil, r10b
lea rax, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fcipher_0.4.4_src_stream.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x1400708e0]
lea r8, [rsp + 0x30]
mov edx, 0x2b
call fcn.14006afc0
int3
Function at 0x140024110
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
movdqa xmmword [rsp + 0x1c0], xmm8
movdqa xmmword [rsp + 0x1b0], xmm7
movdqa xmmword [rsp + 0x1a0], xmm6
mov rax, rdx
mov qword [rsp + 0x30], rcx
movzx ebx, byte [rdx]
cmp bl, 5
mov qword [rsp + 0xa8], rdx
jne 0x140024957
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
xor r8d, r8d
test rcx, rcx
mov rax, r9
cmove rax, rcx
setne r8b
mov qword [rsp + 0xd0], r8
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rdx
mov qword [rsp + 0x110], rax
mov byte [rsp + 0x118], 6
cmp rax, 0x1000
mov ecx, 0x1000
cmovb rcx, rax
test rax, rax
mov qword [rsp + 0x158], r9
je 0x140024205
cmp rax, 8
jae 0x140024216
xor ecx, ecx
cmp rax, 4
setae cl
lea rsi, [rcx*4 + 4]
jmp 0x140024247
lea rbx, [0x14006fca0]
xor edi, edi
xor r14d, r14d
jmp 0x1400242a5
shl ecx, 3
movzx eax, cx
imul eax, eax, 0x2493
shr eax, 0x10
sub ecx, eax
movzx ecx, cx
shr ecx, 1
add ecx, eax
shr ecx, 2
dec rcx
bsr rcx, rcx
not ecx
mov rsi, 0xffffffffffffffff
shr rsi, cl
inc rsi
mov rax, rsi
shl rax, 4
lea rdi, [rax + rax*2]
lea r14, [rsi + rdi]
add r14, 0x10
movzx eax, byte [0x140090df8]
xor ecx, ecx
mov rdx, r14
call fcn.14004a280
test rax, rax
je 0x140024c2d
mov rbx, rax
lea r8, [rsi + 0x10]
add rbx, rdi
lea r14, [rsi - 1]
mov rax, rsi
shr rax, 3
mov rdi, rsi
and rdi, 0xfffffffffffffff8
sub rdi, rax
cmp rsi, 9
cmovb rdi, r14
mov rcx, rbx
mov dl, 0xff
call fcn.140068b50
lea r15, [rsp + 0x118]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], r14
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], 0
movabs rdi, 0x5851f42d4c957f2d
movabs r12, 0xa4093822299f31d0
and bh, byte [rax]
or dword [rcx + rcx*2 + 0x4e6c89bd], esp
in al, dx
cwde
cli
or byte cs:[rsi + 0xf], ah
or byte [rsi + 0xf], ah
jbe 0x1400242e9
lea r8, [0x140070738]
lea rdx, [rsp + 0x27]
mov ecx, 0x10
Function at 0x14002bb40
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rax, rdx
mov qword [rsp + 0x10], rcx
mov edi, dword [rdx]
mov r11d, dword [rdx + 4]
mov ecx, dword [rdx + 8]
mov qword [rsp], rcx
mov ebp, dword [rdx + 0xc]
mov esi, dword [r8]
mov ecx, dword [r8 + 4]
mov qword [rsp + 8], rcx
mov ecx, dword [r8 + 8]
mov r13d, dword [r8 + 0xc]
mov r8d, dword [rdx + 0x10]
mov edx, dword [rdx + 0x14]
mov r9d, dword [rax + 0x18]
mov eax, dword [rax + 0x1c]
mov ebx, 0x79622d32
mov r14d, 0x3320646e
mov r12d, 0x61707865
mov r15d, 0x6b206574
mov r10d, 0xa
mov qword [rsp + 0x18], r10
mov r10, qword [rsp]
mov qword [rsp], r11
lea r11d, [rdx + r12]
rol r11d, 7
xor r11d, ebp
mov qword [rsp + 0x30], r11
lea ebp, [r11 + r12]
rol ebp, 9
xor ebp, ecx
mov qword [rsp + 0x40], rbp
lea ecx, [r11 + rbp]
rol ecx, 0xd
xor ecx, edx
mov qword [rsp + 0x48], rcx
add ecx, ebp
rol ecx, 0x12
xor ecx, r12d
lea edx, [rdi + r14]
rol edx, 7
xor edx, r13d
mov qword [rsp + 0x28], rdx
lea r12d, [rdx + r14]
rol r12d, 9
xor r12d, r9d
mov qword [rsp + 0x38], r12
add edx, r12d
rol edx, 0xd
xor edx, edi
lea r9d, [rdx + r12]
rol r9d, 0x12
xor r9d, r14d
lea r11d, [rsi + rbx]
rol r11d, 7
xor r11d, eax
mov qword [rsp + 0x20], r11
lea r12d, [r11 + rbx]
rol r12d, 9
xor r12d, dword [rsp]
lea r14d, [r12 + r11]
rol r14d, 0xd
xor r14d, esi
lea eax, [r14 + r12]
rol eax, 0x12
xor eax, ebx
lea esi, [r8 + r15]
rol esi, 7
xor esi, r10d
lea r13d, [rsi + r15]
rol r13d, 9
xor r13d, dword [rsp + 8]
lea ebx, [rsi + r13]
rol ebx, 0xd
xor ebx, r8d
lea r8d, [rbx + r13]
rol r8d, 0x12
xor r8d, r15d
mov qword [rsp], r8
lea edi, [rsi + rcx]
rol edi, 7
xor edi, edx
lea r11d, [rdi + rcx]
rol r11d, 9
xor r11d, r12d
lea r10d, [r11 + rdi]
rol r10d, 0xd
xor r10d, esi
lea r12d, [r10 + r11]
rol r12d, 0x12
xor r12d, ecx
mov rdx, qword [rsp + 0x30]
lea esi, [r9 + rdx]
rol esi, 7
xor esi, r14d
lea ecx, [rsi + r9]
rol ecx, 9
xor ecx, r13d
lea ebp, [rcx + rsi]
rol ebp, 0xd
xor ebp, edx
mov qword [rsp + 8], rcx
lea r14d, [rcx + rbp]
rol r14d, 0x12
xor r14d, r9d
mov rdx, qword [rsp + 0x28]
lea r8d, [rax + rdx]
rol r8d, 7
xor r8d, ebx
lea ecx, [r8 + rax]
rol ecx, 9
xor ecx, dword [rsp + 0x40]
lea r13d, [rcx + r8]
rol r13d, 0xd
xor r13d, edx
lea ebx, [rcx + r13]
rol ebx, 0x12
xor ebx, eax
mov r15, qword [rsp + 0x20]
mov rax, qword [rsp]
lea edx, [rax + r15]
rol edx, 7
xor edx, dword [rsp + 0x48]
lea r9d, [rdx + rax]
rol r9d, 9
xor r9d, dword [rsp + 0x38]
lea eax, [r9 + rdx]
rol eax, 0xd
xor eax, r15d
lea r15d, [rax + r9]
rol r15d, 0x12
xor r15d, dword [rsp]
dec qword [rsp + 0x18]
jne 0x14002bbb0
mov rax, qword [rsp + 0x10]
mov dword [rax], r12d
mov dword [rax + 4], r14d
mov dword [rax + 8], ebx
mov dword [rax + 0xc], r15d
mov dword [rax + 0x10], esi
mov rdx, qword [rsp + 8]
mov dword [rax + 0x14], edx
mov dword [rax + 0x18], ecx
mov dword [rax + 0x1c], r13d
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14003bf20
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14003bf45
cmp rax, rcx
je 0x14003bf4b
cmp rdx, 4
jae 0x14003bf4f
xor eax, eax
xor r8d, r8d
jmp 0x14003bfe0
pop rbp
jmp fcn.140027250
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14006e6b0]
movdqa xmm3, xmmword [0x14006e6c0]
pxor xmm1, xmm1
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 0x14003bf70
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14003bff7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14003bfe0
pop rbp
ret

Function at 0x140042580
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140080a88]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400425f1
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14004261e
test eax, eax
js 0x1400425fd
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140042614
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140041be0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140041d70
mov ecx, 7
int 0x29
ud2
Function at 0x1400482f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm6
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x140048361
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x140048361
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x140048361
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x14004843c
cmp byte [rdx], 0xed
jne 0x140048445
movzx r15d, byte [rdx + 1]
mov r8d, r15d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x140048445
cmp rbx, 3
jb 0x1400483a1
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
movzx r12d, byte [rdx + 2]
shl r15d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
mov rcx, rax
sub rcx, rbx
cmp rcx, r8
jb 0x14004852f
and r15d, 0x3c0
or r15d, r14d
or r12d, r15d
lea r8d, [r12 + 0x10000]
mov r9d, r8d
shr r9d, 0x12
shr r8d, 4
and r8d, 0xff00
or r8d, r9d
shl r15d, 0xa
and r15d, 0xff0000
or r15d, r8d
shl r12d, 0x18
or r12d, r15d
movd xmm6, r12d
pand xmm6, xmmword [0x14006ea60]
por xmm6, xmmword [0x14006ea70]
cmp rcx, 3
jbe 0x140048561
add rdx, 3
mov rcx, qword [rsi + 8]
movd dword [rcx + rbx], xmm6
add rbx, 4
mov qword [rsi + 0x10], rbx
add rdi, 0xfffffffffffffffd
jmp 0x1400484d3
test rdi, rdi
je 0x1400484d0
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x140048468
add r9, 2
cmp r8, rax
cmovne r8, r9
nop dword [rax]
mov r9, r8
cmp r8, rax
je 0x1400484d0
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x140048460
cmp r10b, 0xe0
jb 0x14004844e
cmp r10b, 0xed
jne 0x14004849f
cmp r8, rax
je 0x1400484d0
lea r8, [r9 + 2]
cmp r8, rax
je 0x1400484d0
cmp byte [r9 + 1], 0x9f
ja 0x1400484cc
add r9, 3
mov r8, r9
jmp 0x140048460
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x140048460
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x140048460
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x140048502
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.14006c020
mov rdx, r14
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r13, rdx
mov rdx, rbx
call fcn.14006c020
mov rdx, r13
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
mov rcx, rax
sub rcx, rbx
jmp 0x1400483c0
mov qword [rsp + 0x20], 1
mov r8d, 4
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
call fcn.14006c020
mov rdx, r14
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
jmp 0x14004841e

Function at 0x1400492b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
add byte [rax - 0x77], cl
invalid
movups xmm0, xmmword [0x140080a88]
Function at 0x14004c4aa
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x508
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x480], 0xfffffffffffffffe
mov qword [rbp + 0x410], rcx
mov qword [rbp + 0x418], rdx
mov qword [rbp + 0x428], r8
lock inc qword [0x140090df0]
jle 0x14004cce9
mov eax, dword [0x140090dfc]
mov r8, qword gs:[0x58]
mov rax, qword [r8 + rax*8]
cmp byte [rax + 0x30], 0
jne 0x14004cd61
mov edi, r9d
mov eax, dword [0x140090dfc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
inc qword [rax + 0x28]
mov byte [rax + 0x30], 1
mov eax, dword [0x140090d50]
cmp eax, 0x3ffffffd
ja 0x14004c551
lea ecx, [rax + 1]
lock cmpxchg dword [0x140090d50], ecx
je 0x14004c55d
lea rcx, [0x140090d50]
call fcn.14006c560
mov bl, byte [rbp + 0x4f0]
mov al, byte [0x140090d58]
cmp qword [0x140090d60], 0
jne 0x14004c628
mov r14, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x410]
mov rax, qword [rbp + 0x418]
call qword [rax + 0x28]
mov r12, rax
mov qword [rbp + 0x3f0], rdx
mov sil, 3
test bl, bl
jne 0x14004c5d4
mov eax, dword [0x140090dfc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov sil, 1
cmp qword [rax + 0x28], 1
ja 0x14004c5d4
mov sil, byte [0x140090d48]
dec sil
cmp sil, 3
jae 0x14004c701
mov rsi, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x410]
mov rax, qword [rbp + 0x418]
call qword [rax + 0x28]
push rax
sub byte [rbp + rcx*4 + 0x45], cl
mov al, 0x49
mov dword [rax], eax
lea rdx, str.RUST_BACKTRACEfailed_to_write_the_buffered_data
lea rcx, [rbp - 0x50]
push 0xe
pop r8
call fcn.140047700
mov rcx, qword [rbp - 0x50]
mov rax, rcx
neg rax
jno 0x14004c8ed
add dword [rax], eax
invalid
mov rax, qword [rbp - 0x48]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne case.0x1400467f1.70
mov qword [rbp + 0x450], rcx
mov qword [rbp + 0x448], r12
mov qword [rbp + 0x458], r14
add al, 0
add byte [rax - 0x78], al
mov ebp, 0x47f
lea rcx, [rbp + 0x3f8]
and dword [rcx], 0
mov byte [rcx + 4], 0
lea rax, [rbp + 0x428]
lea r8, [rbp + 0x3b0]
mov qword [r8], rax
lea rax, [0x14004c280]
mov qword [r8 + 8], rax
lea rax, [rbp + 0x410]
mov qword [r8 + 0x10], rax
lea rax, [0x140080628]
lea rdx, [rbp - 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], 3
and qword [rdx + 0x20], 0
lea rax, [0x140027c20]
mov qword [r8 + 0x18], rax
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], 2
call fcn.140041be0
lea rcx, [rbp + 0x430]
jmp 0x14004cded
call qword [rdx + 0x30]
test rax, rax
push 1
pop r8
cmovne r8, rax
cmove rdx, rax
lea rax, [rbp + 0x430]
lea rcx, [rbp + 0x3e0]
and dword [rcx], 0
mov qword [rax], r8
mov qword [rax + 8], rdx
mov byte [rcx + 4], 0
lea rdx, [rbp + 0x428]
lea r8, [rbp + 0x3b0]
mov qword [r8], rdx
lea rdx, [0x14004c280]
mov qword [r8 + 8], rdx
mov qword [r8 + 0x10], rax
lea rax, str.panicked_at_:_nstd_srcpath.rs
lea rdx, [rbp - 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], 3
and qword [rdx + 0x20], 0
lea rax, [0x140043fa0]
mov qword [r8 + 0x18], rax
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], 2
call fcn.140041be0
lea rcx, [rbp + 0x3f8]
mov qword [rcx], rax
call fcn.140041d70
push 7
pop rcx
int 0x29
ud2
Function at 0x14004d630
Capabilities:
Set file attributes

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
invalid

Function at 0x14004e780
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
sub rsp, 0x128
movaps xmmword [rsp + 0x110], xmm15
movaps xmmword [rsp + 0x100], xmm14
movaps xmmword [rsp + 0xf0], xmm13
movaps xmmword [rsp + 0xe0], xmm12
movaps xmmword [rsp + 0xd0], xmm11
movaps xmmword [rsp + 0xc0], xmm10
movaps xmmword [rsp + 0xb0], xmm9
movaps xmmword [rsp + 0xa0], xmm8
movaps xmmword [rsp + 0x90], xmm7
movaps xmmword [rsp + 0x80], xmm6
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x14004e826
mov edi, eax
lea rcx, [rsp + 0x30]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x14004e99e
mov rcx, qword [rsp + 0x30]
movabs rdx, 0x3f00000000000000
and rdx, rcx
movabs rax, 0x8000000000000000
or rax, rdx
mov rdx, rcx
mov r8, rcx
mov r9, rcx
mov r10d, ecx
mov r11d, ecx
movd xmm0, ecx
shr ecx, 8
movd xmm1, ecx
shr r11d, 0x10
movd xmm3, r11d
shr r10d, 0x18
movd xmm2, r10d
shr r9, 0x20
movd xmm5, r9d
shr r8, 0x28
movd xmm6, r8d
shr rax, 0x38
movd xmm4, eax
mov rax, qword [rsp + 0x38]
shr rdx, 0x30
movd xmm7, edx
mov rcx, rax
shr rcx, 0x20
movd xmm8, ecx
mov rcx, rax
shr rcx, 0x28
movd xmm9, ecx
mov rcx, rax
shr rcx, 0x30
movd xmm11, ecx
mov rcx, rax
shr rcx, 0x38
movd xmm10, ecx
mov ecx, eax
shr ecx, 0x10
movd xmm12, ecx
mov ecx, eax
shr ecx, 0x18
movd xmm13, ecx
movd xmm14, eax
and eax, 0xf00
or eax, 0x4000
shr eax, 8
movd xmm15, eax
punpcklbw xmm1, xmm0
punpcklbw xmm2, xmm3
punpcklwd xmm2, xmm1
punpcklbw xmm6, xmm5
punpcklbw xmm4, xmm7
punpcklwd xmm4, xmm6
punpckldq xmm4, xmm2
punpcklbw xmm9, xmm8
punpcklbw xmm10, xmm11
punpcklwd xmm10, xmm9
punpcklbw xmm13, xmm12
punpcklbw xmm15, xmm14
punpcklwd xmm13, xmm15
punpckldq xmm10, xmm13
punpcklqdq xmm10, xmm4
movdqu xmmword [rsi], xmm10
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
movaps xmm10, xmmword [rsp + 0xc0]
movaps xmm11, xmmword [rsp + 0xd0]
movaps xmm12, xmmword [rsp + 0xe0]
movaps xmm13, xmmword [rsp + 0xf0]
movaps xmm14, xmmword [rsp + 0x100]
movaps xmm15, xmmword [rsp + 0x110]
add rsp, 0x128
pop rdi
pop rsi
ret
and edi, 0x7fffffff
mov dword [rsp + 0x2c], edi
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x40], rax
lea rax, [0x14002de90]
mov qword [rsp + 0x48], rax
lea rax, [0x1400817d0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fuuid_1.10.0_src_rng.rs
lea rcx, [rsp + 0x50]
call fcn.14006ad40
int3
Function at 0x14005af94
Capabilities:
Parse pe header

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

Function at 0x14005e710
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14005e77f
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14005e77f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005e77f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005e77f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005e77f
cmp dword [rcx + 0x84], 0xe
jbe 0x14005e77f
cmp dword [rcx + 0xf8], 0
je 0x14005e77f
mov ecx, ebx
call fcn.14005e830
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14005e60c
nop
cmp dword [rbp + 0x20], 0
je 0x14005e7cd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14005e7d8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14005e710

Function at 0x14005e914
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14005e710
Function at 0x1400619dc
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 0x140061a0c
xor eax, eax
jmp 0x140061acf
mov rbp, rbx
cmp word [rax], si
je 0x140061a31
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140061a18
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140061a14
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.1400618fc
movsxd r14, eax
test eax, eax
jne 0x140061a6f
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x140061a05
mov rcx, r14
call fcn.1400628b8
mov rdi, rax
test rax, rax
jne 0x140061a88
xor ecx, ecx
call fcn.14005ff5c
jmp 0x140061a64
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.1400618fc
test eax, eax
jne 0x140061ab9
mov rcx, rdi
call fcn.14005ff5c
jmp 0x140061ac3
xor ecx, ecx
call fcn.14005ff5c
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