joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4494a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x449617
movzx edx, byte [rax]
test edx, edx
jne 0x4494d4
nop dword [rax]
test r8b, r8b
jne 0x4494d4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x4494e7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x4495d7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x4495c5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x4495b7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x44953d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x449580
mov eax, 1
cmp rax, rbx
ja 0x44956b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call sym.runtime.panicSliceB
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x4495af
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x449573
mov rcx, r11
mov eax, r12d
jmp 0x449542
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call sym.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44960d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x4495d0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4494ed
mov eax, edx
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
nop
int3
Function at 0x450a20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x450acf
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005825c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers

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

Disassembly:
cmp byte [0x0058230c], 0
je 0x45998e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

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

Disassembly:
cmp byte [0x0058230c], 0
je 0x4599b5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

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

Disassembly:
cmp byte [0x0058230c], 0
je 0x4599f5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00582920]
aesenc xmm0, xmmword [0x00582930]
aesenc xmm0, xmmword [0x00582940]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

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

Disassembly:
cmp byte [0x0058230c], 0
je 0x459a36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00582920]
aesenc xmm0, xmmword [0x00582930]
aesenc xmm0, xmmword [0x00582940]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x45b2e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rdx, 2
jmp sym.sigtramp

Function at 0x45b6e0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45b714
mov rcx, 0x28
jmp 0x45b71f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005825c0], rcx
pop rbp
ret
Function at 0x461400
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4614ca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x005825c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4614af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00486460]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x46149e
mov edi, 1
lea rsi, [0x00486460]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004b9aa8]
lea rsi, [0x004b9668]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x6db690f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6db8a5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6db69278
mov rax, qword [0x6db8a5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6db6913c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6db691c5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6db69120
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6db692ad
mov rax, qword [0x6db8a5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6db8a5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6db69290
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6db691be
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6db69220
add dword [0x6db8a5e4], 1
cmp edi, 8
jae 0x6db691f3
test dil, 4
jne 0x6db69264
test edi, edi
je 0x6db691e8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6db6927f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6db691e8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6db6920c
jmp 0x6db691e8
add rsi, qword [0x6db8a5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6db691be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6db691e8
xor esi, esi
jmp 0x6db69147
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6db691e8
mov rax, qword [0x6db8a5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6db69a00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6db8a8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6db8a8a0]
test rbx, rbx
je 0x6db69a54
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6db69a4b
test rsi, rsi
je 0x6db69a4b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6db69a30
lea rcx, [0x6db8a8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6db69c90
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6db69ca0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6db69cb0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6db69cf1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6db69ce8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6db69cf3
add rax, 0x28
cmp rax, r9
jne 0x6db69cd4
xor eax, eax
ret

Function at 0x6db69d90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6db871f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6db69dfd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6db69dfd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6db69dfd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6db69df4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6db69dff
add rax, 0x28
cmp rax, r9
jne 0x6db69de0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6db69f00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6db871f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6db69f20
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6db69f18
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6db69f7d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6db69f74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6db69f84
add rax, 0x28
cmp rax, r9
jne 0x6db69f60
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6db69fa0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6db871f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6db6a00e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6db6a00e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6db6a00e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6db6a00e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6db6a005
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6db6a015
add rcx, 0x28
cmp rcx, rax
jne 0x6db69ff0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6db6a028
jmp 0x6db6a00e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6db6a036
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6db6a00e
test r9d, r9d
jg 0x6db6a020
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6db6a370
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x14057f3e0
Capabilities:
Terminate process

Disassembly:
cli
and edx, esi
and eax, dword [rcx + 0x38]
invalid
add eax, 0x755e10ab
jo 0x140559c8f
invalid
cld
pop r11
jmp 0x14057f3ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14057f3fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14057f3e5
lea eax, [rcx + 1]
jmp 0x14057f40b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14057f41e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14057f404
sub eax, 3
jb 0x14057f43e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14057f48d
sar eax, 1
movsxd rbp, eax
jb 0x14057f474
jmp 0x14057f44c
add ebx, ebx
jne 0x14057f44a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14057f474
inc ecx
add ebx, ebx
jne 0x14057f45a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14057f474
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14057f46d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14057f45c
add ecx, 2
jmp 0x14057f479
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14057f3a2
jmp 0x14057f3ed
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x57c000]
mov eax, dword [rdi]
or eax, eax
je 0x14057f4f9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x57f1e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14057f49d
jns 0x14057f4d2
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14057f4dc
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14057f4f3
mov qword [rbx], rax
add rbx, 8
jmp 0x14057f4bd
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14057f53d
cmp al, 0xef
ja 0x14057f525
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14057f505
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14057f514
mov eax, dword [rdi]
add rdi, 4
jmp 0x14057f514
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x24f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14057f591
sub rsp, 0xffffffffffffff80
jmp 0x140559cc8
Function at 0x140006428
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rdx, qword [rcx]
mov qword [rbp - 8], rcx
mov r8, qword [rcx + 0x10]
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x10], rdx
call fcn.1400e9e20
mov rax, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
test rax, rax
je 0x1400064bb
lea rdx, [rbp - 0x28]
mov rcx, qword [rdx + 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rcx
lea rcx, [rbp - 0x40]
mov r8b, 1
call fcn.1400f07e0
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
test rdi, rdi
je 0x1400064bb
mov rcx, rdi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
mov r14, qword [rbp - 0x10]
mov r15, qword [rbp - 8]
je 0x1400064df
test rsi, rsi
je 0x1400064b7
push 2
pop rdx
mov rcx, rdi
call fcn.140027af0
xor esi, esi
jmp 0x1400064c3
mov r14, qword [rbp - 0x10]
mov r15, qword [rbp - 8]
mov rdx, qword [r15 + 8]
mov rcx, r14
call fcn.1400739eb
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x1400064ff
push 2
pop rdx
mov rcx, rdi
call fcn.140027af0
mov rsi, rbx
jmp 0x1400064c3

Function at 0x14000e2d9
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, r9
mov rdi, rcx
lea rbx, [rbp - 0x20]
mov rcx, rbx
call fcn.14000e1d0
movzx r9d, byte [rsi + 0x18]
mov rdx, qword [rbx]
mov rax, qword [rsi]
mov ecx, dword [rsi + 0x10]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov qword [rbp - 8], rdx
xor r8d, r8d
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
xor esi, esi
test eax, eax
cmovne rsi, rcx
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 8]
call fcn.14010e08d
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000f0d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, rdx
add rdx, 8
cmp qword [rax], 0
je 0x14000f122
cmp qword [rax + 0x38], 0xffffffffffffffff
mov r8, qword [rax + 0x48]
mov r9, qword [rax + 0x50]
mov r10, qword [rax + 0x58]
mov rax, qword [rax + 0x60]
je 0x14000f225
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x14000f234
mov bl, byte [rax + 0x1a]
mov r10, qword [rax + 0x48]
mov r9, qword [rax + 0x50]
mov r8, qword [rax + 8]
mov dil, byte [rax + 0x18]
xor r11d, r11d
test bl, bl
jne 0x14000f257
mov esi, edi
xor sil, 1
mov byte [rax + 0x18], sil
mov r14, r9
test r8, r8
je 0x14000f16c
mov r14, r9
sub r14, r8
jbe 0x14000f166
cmp byte [r10 + r8], 0xbf
jg 0x14000f16c
jmp 0x14000f269
jne 0x14000f269
test r14, r14
je 0x14000f23b
mov r15b, byte [r10 + r8]
movzx ebp, r15b
test bpl, bpl
jns 0x14000f1e2
mov r14d, ebp
and r14d, 0x1f
movzx r12d, byte [r10 + r8 + 1]
and r12d, 0x3f
cmp bpl, 0xdf
jbe 0x14000f1cf
movzx ebp, byte [r10 + r8 + 2]
shl r12d, 6
and ebp, 0x3f
or ebp, r12d
cmp r15b, 0xf0
jb 0x14000f1db
movzx r15d, byte [r10 + r8 + 3]
and r14d, 7
shl r14d, 0x12
shl ebp, 6
and r15d, 0x3f
or r15d, ebp
or r15d, r14d
mov ebp, r15d
jmp 0x14000f1e2
shl r14d, 6
or r14d, r12d
mov ebp, r14d
jmp 0x14000f1e2
shl r14d, 0xc
or ebp, r14d
test dil, dil
jne 0x14000f240
cmp ebp, 0x110000
je 0x14000f250
mov edi, 1
cmp ebp, 0x80
jb 0x14000f218
mov edi, 2
cmp ebp, 0x800
jb 0x14000f218
cmp ebp, 0x10000
mov edi, 4
sbb rdi, 0
add r8, rdi
mov qword [rdx], r8
mov edi, esi
jmp 0x14000f138
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
call fcn.14000d63b
jmp 0x14000f25a
test dil, dil
je 0x14000f250
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov r11d, 1
jmp 0x14000f257
mov byte [rax + 0x1a], 1
xor r11d, r11d
mov qword [rcx], r11
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str._rustc_eb26296b556cef10fb713a38f3d16b9886080f26librarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, r10
mov rdx, r9
call fcn.14015d1d0
ud2
Function at 0x14003085c
Capabilities:
Manipulate console buffer

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rcx
test dl, dl
je 0x14003090a
inc rdi
mov rax, rbp
mov qword [rax], rdi
lea rcx, [rbp - 8]
mov qword [rcx], 1
lea r8, [rbp - 0x58]
mov qword [r8], rax
lea rax, [0x1401661d8]
lea rdx, [rbp - 0x38]
mov qword [rdx], rax
lea rax, [fcn.140031fe0]
mov qword [r8 + 8], rax
mov qword [rdx + 8], 3
and qword [rdx + 0x20], 0
mov qword [r8 + 0x10], rcx
mov qword [r8 + 0x18], rax
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], 2
lea rdi, [rbp + 8]
mov rcx, rdi
call fcn.14003066e
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
mov qword [rbp + 0x20], rdx
call fcn.14002feff
mov rsi, rax
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x20]
call fcn.140027e60
jmp 0x140030938
mov rcx, rsi
call fcn.14002faa4
lea rsi, [rbp - 0x38]
mov rcx, rsi
mov rdx, rax
call fcn.1400306f6
cmp qword [rsi], 0
je 0x140030936
mov rcx, qword [rbp - 0x30]
shl edi, 0x10
mov edx, edi
call qword [sym.imp.kernel32.dll_SetConsoleCursorPosition]
xor esi, esi
mov rax, rsi
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003ab70
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 0x14003ac00
cmp r10, r11
jb 0x14003ac76
cmp r10, rdx
ja 0x14003ac8a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14003ac02
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14003abe0
jmp 0x14003ac64
ja 0x14003ac0a
mov r11, r10
cmp rax, r8
jne 0x14003aba4
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 0x14003ac40
mov rdi, r8
sub ecx, edx
jns 0x14003ac5b
jmp 0x14003ac66
cmp r8, rsi
je 0x14003ac9b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14003ac66
xor al, 1
cmp rdi, rsi
jne 0x14003ac20
jmp 0x14003ac66
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.14015cf00
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14015cc00
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14015cc80
ud2
Function at 0x14003eb96
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, [0x14016b800]
mov ebx, 0xff
lea rsi, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
cmp r9, 0x40
jb 0x14003ecc6
mov r14d, 4
sub r14, 1
jb 0x14003ebbb
cmp r9, 0xf
jbe 0x14003ecf3
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.14003f1e6
mov r9, rdx
mov ecx, ebp
jmp 0x14003ebcb
xor edx, edx
cmp r9, rdx
je 0x14003ece4
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x14003ecc8
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.14015cb00
ud2