joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4045e0
Capabilities:
Delete directory

Disassembly:
push r15
mov eax, 0x13d8
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.0040a640
sub rsp, rax
lea rbp, [rsp + 0x3c0]
mov qword [rsp + 0x1420], rcx
mov rdx, rcx
mov rcx, rbp
mov rbx, rbp
call sub.msvcrt.dll_strcpy
mov edx, dword [rbx]
add rbx, 4
lea eax, [rdx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x404617
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea rdx, [rbx + 2]
cmove rbx, rdx
add al, al
sbb rbx, 3
sub rbx, rbp
movzx eax, byte [rsp + rbx + 0x3bf]
cmp al, 0x5c
je 0x404660
cmp al, 0x2f
jne 0x404813
mov rax, rbx
lea rdi, [rsp + 0x290]
mov edx, 0x2a
mov rcx, rbp
mov word [rbp + rax], dx
mov rdx, rdi
call qword [sym.imp.msvcrt.dll__findfirst64]
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x404860
mov eax, dword [rsp + 0x290]
lea r14, [rdi + 0x28]
mov r8d, 0x104
lea r12, [rsp + 0x160]
mov rdx, r14
lea r9, [r12 + 0x24]
lea rsi, [rsp + 0x30]
mov rcx, r9
mov qword [rsp + 0x28], r9
mov dword [rsp + 0x160], eax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x2b0]
mov dword [rsp + 0x180], eax
call sub.msvcrt.dll_strncpy
mov r8d, 0x128
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov r8, rsi
mov rdx, rbx
mov rcx, rbp
call fcn.00404880
mov r15, qword [sym.imp.msvcrt.dll__findnext64]
mov qword [rsp + 0x20], r14
jmp 0x4047c6
mov eax, dword [rsp + 0x290]
mov r8d, 0x104
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov dword [rsp + 0x160], eax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x2b0]
mov dword [rsp + 0x180], eax
call sub.msvcrt.dll_strncpy
test r14d, r14d
jne 0x4047e8
mov r8d, 0x128
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov r8, rsi
mov rdx, rbx
mov rcx, rbp
call fcn.00404880
mov rdx, rdi
mov rcx, r13
call r15
cmp eax, 0xffffffff
mov r14d, eax
jne 0x404740
mov ecx, 0x25
xor eax, eax
mov rdi, r12
rep stosq qword [rdi], rax
mov rcx, r13
call qword [sym.imp.msvcrt.dll__findclose]
mov rcx, qword [rsp + 0x1420]
call sub.msvcrt.dll__rmdir
nop
add rsp, 0x13d8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x5c
mov rax, rbp
mov word [rbp + rbx], cx
add rbx, 1
mov ecx, dword [rax]
add rax, 4
lea edx, [rcx - 0x1010101]
not ecx
and edx, ecx
and edx, 0x80808080
je 0x404824
mov ecx, edx
shr ecx, 0x10
test edx, 0x8080
cmove edx, ecx
lea rcx, [rax + 2]
cmove rax, rcx
add dl, dl
sbb rax, 3
sub rax, rbp
jmp 0x404663
lea rdx, [rsp + 0x160]
mov ecx, 0x25
xor eax, eax
mov rdi, rdx
rep stosq qword [rdi], rax
jmp 0x4047f1
Function at 0x404880
Capabilities:
Delete file

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x0040d40c]
lea r9, [r8 + 0x24]
mov r10, rcx
mov ecx, 2
mov rsi, r9
repe cmpsb byte [rsi], byte [rdi]
je 0x4048b4
lea rdi, [0x0040d40e]
mov ecx, 3
mov rsi, r9
repe cmpsb byte [rsi], byte [rdi]
jne 0x4048c0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rdi, r8
mov byte [r10 + rdx], 0
mov rcx, r10
mov rdx, r9
mov rbx, r10
call sub.msvcrt.dll_strcat
test byte [rdi], 0x10
mov rcx, rbx
jne 0x4048f1
call sub.msvcrt.dll_remove
test eax, eax
je 0x4048b4
mov rcx, rbx
call fcn.00404370
jmp 0x4048b4
call fcn.004045e0
jmp 0x4048b4

Function at 0x404920
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2050
push rsi
push rbx
call fcn.0040a640
sub rsp, rax
lea rbx, [rsp + 0x50]
mov rsi, rdx
mov rdx, rcx
lea rdi, [rsp + 0x20]
mov rcx, rbx
call sub.msvcrt.dll_strcpy
lea r8, [rsp + 0x1050]
mov rdx, rsi
mov rcx, r8
call sub.msvcrt.dll_strcpy
lea rdx, [0x0040d411]
mov rcx, rax
call sub.msvcrt.dll_strtok
test rax, rax
mov rsi, rax
je 0x404a10
nop word cs:[rax + rax]
mov r9, rbx
mov r10d, dword [r9]
add r9, 4
lea r8d, [r10 - 0x1010101]
not r10d
and r8d, r10d
and r8d, 0x80808080
je 0x404983
mov eax, r8d
mov rdx, rsi
shr eax, 0x10
test r8d, 0x8080
cmove r8d, eax
lea rax, [r9 + 2]
cmove r9, rax
add r8b, r8b
sbb r9, 3
sub r9, rbx
lea rcx, [rbx + r9 + 1]
mov byte [rbx + r9], 0x5c
call sub.msvcrt.dll_strcpy
lea rdx, [0x0040d411]
xor ecx, ecx
call sub.msvcrt.dll_strtok
test rax, rax
mov rsi, rax
je 0x404a10
mov rdx, rdi
mov rcx, rbx
call fcn.0040a690
test eax, eax
jns 0x404980
mov rcx, rbx
call sub.msvcrt.dll__mkdir
jmp 0x404980
mov rdx, rdi
mov rcx, rbx
call fcn.0040a690
test eax, eax
je 0x404a40
lea rdx, [0x0040d449]
mov rcx, rbx
call fcn.00402d20
add rsp, 0x2050
pop rbx
pop rsi
pop rdi
ret
lea rcx, str.WARNING:_file_already_exists_but_should_not:__s_n
mov rdx, rbx
call fcn.00401d50
jmp 0x404a1f

Function at 0x404a60
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
mov eax, 0x1028
push rdi
push rsi
push rbx
call fcn.0040a640
sub rsp, rax
mov rdi, r8
mov rsi, rdx
lea rdx, [0x0040d44c]
call fcn.00402d20
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call fcn.00404920
test rax, rax
mov rbp, rax
je 0x404b54
test rbx, rbx
je 0x404b54
lea rdi, [rsp + 0x20]
nop dword [rax + rax]
mov rcx, rbx
call sub.msvcrt.dll_feof
test eax, eax
jne 0x404b50
mov r9, rbx
mov r8d, 1
mov edx, 0x1000
mov rcx, rdi
call sub.msvcrt.dll_fread
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x404b30
mov r9, rbp
mov r8d, 1
mov edx, 0x1000
mov rcx, rdi
call sub.msvcrt.dll_fwrite
mov rcx, rbp
call sub.msvcrt.dll_ferror
test eax, eax
je 0x404ab0
mov rcx, rbp
mov esi, 0xffffffff
call sub.msvcrt.dll_clearerr
mov rcx, rbx
call sub.msvcrt.dll_fclose
mov rcx, rbp
call sub.msvcrt.dll_fclose
mov eax, esi
add rsp, 0x1028
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbx
call sub.msvcrt.dll_ferror
test eax, eax
je 0x404ab0
mov rcx, rbx
call sub.msvcrt.dll_clearerr
jmp 0x404b0e
xor esi, esi
jmp 0x404b0e
mov eax, 0xffffffff
jmp 0x404b20
Function at 0x404bb0
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push rbp
mov eax, 0x2118
push rdi
push rsi
push rbx
call fcn.0040a640
sub rsp, rax
mov r8d, 0x1000
lea rdi, [rsp + 0x110]
mov rdx, rcx
mov dword [rsp + 0x5c], 0
lea rbp, [rsp + 0xa0]
mov rcx, rdi
call fcn.00405120
mov edx, 1
mov ecx, 0x16
call sub.msvcrt.dll_signal
mov edx, 1
mov ecx, 2
call sub.msvcrt.dll_signal
mov edx, 1
mov ecx, 0xf
call sub.msvcrt.dll_signal
mov edx, 1
mov ecx, 0x15
call sub.msvcrt.dll_signal
mov rcx, rbp
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 1
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xdc], 0x101
mov word [rsp + 0xe0], ax
call rsi
mov rcx, rax
call sub.msvcrt.dll__fileno
mov rbx, qword [sym.imp.msvcrt.dll__get_osfhandle]
mov ecx, eax
call rbx
mov qword [rsp + 0xf0], rax
call rsi
lea rcx, [rax + 0x30]
call sub.msvcrt.dll__fileno
mov ecx, eax
call rbx
mov qword [rsp + 0xf8], rax
call rsi
lea rcx, [rax + 0x60]
call sub.msvcrt.dll__fileno
mov ecx, eax
call rbx
mov qword [rsp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
mov qword [rsp + 0x40], rbp
mov rcx, rdi
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x48], rdx
lea r8, [rsp + 0x60]
mov rdx, rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404d45
lea rcx, str.Error_creating_child_process__n
call fcn.00401ce0
mov eax, 0xffffffff
add rsp, 0x2118
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x5c]
add rsp, 0x2118
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x4098d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x00420694]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x409a10
mov rax, qword [0x00420698]
xor ebx, ebx
nop dword [rax]
mov r9, qword [rax + 8]
cmp rsi, r9
jb 0x40991c
mov rdx, qword [rax + 0x10]
mov edx, dword [rdx + 8]
add r9, rdx
cmp rsi, r9
jb 0x4099a1
add ebx, 1
add rax, 0x18
cmp ebx, ecx
jne 0x409900
mov rcx, rsi
call fcn.0040a3a0
test rax, rax
mov r12, rax
je 0x409a34
movsxd rbx, ebx
lea r13, [rbx + rbx*2]
shl r13, 3
mov rbx, r13
add rbx, qword [0x00420698]
mov qword [rbx + 0x10], rax
mov dword [rbx], 0
call fcn.0040a4e0
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
mov qword [rbx + 8], rax
mov rax, qword [0x00420698]
lea rdx, [rsp + 0x20]
mov rcx, qword [rax + r13 + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x409a17
mov eax, dword [rsp + 0x44]
cmp eax, 0x40
jne 0x4099c0
add dword [0x00420694], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
cmp eax, 4
je 0x40999a
cmp eax, 0x80
je 0x40999a
cmp eax, 8
je 0x40999a
mov r9, r13
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add r9, qword [0x00420698]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40999a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00409860
nop dword [rax]
xor ebx, ebx
jmp 0x409927
mov rax, qword [0x00420698]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + r13 + 8]
call fcn.00409860
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00409860
nop
nop word cs:[rax + rax]

Function at 0x40a030
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00420c60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00420c40]
test rbx, rbx
je 0x40a084
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 0x40a07b
test rsi, rsi
je 0x40a07b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x40a060
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x00420c60]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax

Function at 0x40a2a0
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 0x40a2e0
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov ecx, dword [rax + 0xc]
mov r8d, ecx
cmp r8, rdx
ja 0x40a2d7
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x40a2e2
add rax, 0x28
cmp rax, r9
jne 0x40a2c4
xor eax, eax
repz ret
Function at 0x40a3a0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
lea rbx, [0x00400000]
cmp word [0x00400000], 0x5a4d
mov rsi, rcx
je 0x40a3c4
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rbx
call fcn.0040a260
test eax, eax
je 0x40a3bb
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.0040a2a0
Function at 0x14000b9fc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b77c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba52
mov ecx, 1
call fcn.14000b77c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
add al, 0x38
fiadd dword [rbx - 8]
xor byte [rcx], r10b
mov ebx, 0xa974f7db
div dword [rcx + rsi*4 - 0x6a]
cmp rax, 0xffffffffa574ef4e
or ebp, dword [rbp - 0x54373f51]
jle 0x140023327
popfq
cmc
sbb dword [rbp - 0x5fc1e09e], ecx
and eax, 0x2872575f
invalid
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140043e50]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140043e60]
mov dword [rax], 1
mov rax, qword [0x140043e70]
mov dword [rax], 1
mov rax, qword [0x140043df0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140043e40]
mov dword [0x140049020], 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 [0x140043f10]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140043ef0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140043da0]
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 0x140005b50
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
movdqa xmm0, xmmword [rcx]
movdqa xmm10, xmmword [rcx + 0x10]
movdqa xmm9, xmmword [rcx + 0x20]
movdqa xmm8, xmmword [rcx + 0x30]
movdqa xmm1, xmmword [rdx]
pxor xmm1, xmm0
movdqa xmm3, xmmword [rdx + 0x10]
pxor xmm3, xmm0
movdqa xmm4, xmmword [rdx + 0x20]
pxor xmm4, xmm0
movdqa xmm5, xmmword [rdx + 0x30]
pxor xmm5, xmm0
movdqa xmm2, xmmword [rdx + 0x40]
pxor xmm2, xmm0
movdqa xmm6, xmmword [rdx + 0x50]
pxor xmm6, xmm0
movdqa xmm7, xmmword [rdx + 0x60]
pxor xmm7, xmm0
pxor xmm0, xmmword [rdx + 0x70]
aesenc xmm1, xmm10
aesenc xmm3, xmm10
aesenc xmm4, xmm10
aesenc xmm5, xmm10
aesenc xmm2, xmm10
aesenc xmm6, xmm10
aesenc xmm7, xmm10
aesenc xmm0, xmm10
aesenc xmm1, xmm9
aesenc xmm3, xmm9
aesenc xmm4, xmm9
aesenc xmm5, xmm9
aesenc xmm2, xmm9
aesenc xmm6, xmm9
aesenc xmm7, xmm9
aesenc xmm0, xmm9
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x40]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x50]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x60]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x70]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x80]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x90]
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0xa0]
aesenclast xmm1, xmm8
aesenclast xmm3, xmm8
movdqa xmmword [rdx], xmm1
movdqa xmmword [rdx + 0x10], xmm3
aesenclast xmm4, xmm8
movdqa xmmword [rdx + 0x20], xmm4
aesenclast xmm5, xmm8
movdqa xmmword [rdx + 0x30], xmm5
aesenclast xmm2, xmm8
aesenclast xmm6, xmm8
movdqa xmmword [rdx + 0x40], xmm2
movdqa xmmword [rdx + 0x50], xmm6
aesenclast xmm7, xmm8
movdqa xmmword [rdx + 0x60], xmm7
aesenclast xmm0, xmm8
movdqa xmmword [rdx + 0x70], xmm0
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret

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

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x140009830
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 0x1400098c0
cmp r11, r10
ja 0x140009936
cmp r10, rdx
ja 0x14000994a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400098c2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400098a0
jmp 0x140009924
ja 0x1400098ca
mov r11, r10
cmp rax, r8
jne 0x140009864
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 0x140009900
mov rdi, r8
sub ecx, edx
jns 0x14000991b
jmp 0x140009926
cmp r8, rsi
je 0x14000995b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140009926
xor al, 1
cmp rdi, rsi
jne 0x1400098e0
jmp 0x140009926
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 dbg.slice_index_order_fail
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_srccollections_btree_navigate.rsinvalid_args
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call dbg.panic
ud2

Function at 0x1400102f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae dbg.do_count_chars
cmp rax, rcx
je 0x140010315
cmp rdx, 4
jae 0x140010318
xor r8d, r8d
xor eax, eax
jmp 0x1400103b0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14003d690]
movdqa xmm3, xmmword [0x14003d6a0]
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 0x140010340
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400103c7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400103b0
ret
Function at 0x140011870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1400118cb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400118cb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400118e6
cmp eax, 0x42
jne 0x1400118cb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140011996
cmp byte [r9 + r11], 0x5f
jne 0x140011996
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400119fe
mov rcx, rsi
xor edx, edx
call dbg.print_path
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call dbg.print_path
test al, al
jne 0x140011a91
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140011922
lea rdx, [0x140040f54]
mov r8d, 1
call dbg.pad
test al, al
jne 0x140011a91
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400118da
xor r14d, r14d
lea rbx, [0x140041308]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140011954
cmp byte [rax + rcx], 0x45
je 0x140011aba
sub r14, 1
jb 0x140011979
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140011979
mov r8d, 2
mov rdx, rbx
call dbg.pad
test al, al
jne 0x140011a91
mov rcx, rsi
call dbg.print_generic_arg
test al, al
jne 0x140011a91
mov rax, qword [rsi]
test rax, rax
jne 0x140011940
jmp 0x1400118da
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140011a58
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1400119f2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400119dc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400119cb
add dl, 0xa9
jmp 0x1400119da
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140011a58
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140011a58
movzx edx, bl
add rax, rdx
jae 0x1400119a0
jmp 0x140011a58
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140011a58
cmp rax, rcx
jae 0x140011a55
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140011a99
cmp qword [rsi + 0x20], 0
je 0x140011ab3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call dbg.print_path_maybe_open_generics
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400118dc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140011aa8
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x1400412c8]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call dbg.pad
test al, al
je 0x140011aa8
mov dil, 2
jmp 0x1400118da
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x140011a63
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400118da
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400118da