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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c80], 0
lea rbx, [rcx + 0x5c88]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140019427
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400193da
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001b6e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003900
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c80]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c90]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140075048]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001942f
mov rcx, rbx
call fcn.140003900
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400197c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140075050]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019823
mov qword [rsp], rbx
lea rbx, [0x14005fad0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019803
cmp byte [r8], r9b
jne 0x140019803
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400197f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bf8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019857
mov r10, qword [r10 + 0x5c00]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001985e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019844
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140051620
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x13d0
call fcn.14005c3c0
sub rsp, rax
mov rax, qword [0x14006e040]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x13b0], xmm0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x140051670
mov dword [rsp + 0x20], 0x270
lea rsi, str.2s119sf3f59gga60473wxyzABCfDEFGHIJKLMN
xor ebx, ebx
mov edi, 0x80000000
lea rcx, [rsp + 0x20]
call fcn.14005b0f0
mov ecx, eax
imul rax, rcx, 0x64
cmp eax, 0x5f
ja 0x1400516d5
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.14005b0f0
mov ecx, eax
imul rax, rcx, 0x64
cmp eax, 0x60
jb 0x1400516c0
shr rax, 0x20
lea edx, [rax - 0x7fffff9c]
cmp edx, edi
lea eax, [rdx + rdi]
lea ecx, [rdx - 0x80000000]
cmovae ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + rsi]
add byte [rsp + rbx + 0x13b0], al
inc rbx
cmp rbx, 0xf
jl 0x1400516a5
lea rcx, [rsp + 0x13b0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14005b350
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14005b0f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14005b151
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14005b110
mov ecx, dword [r9]
jmp 0x14005b238
cmp ecx, 0x4e0
jb 0x14005b238
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14005b170
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14005b1c0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x14005bf9c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.140110850
sub rsp, rax
mov rax, qword [0x140152880]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov edi, 0x28
mov word [rsp + 0x30], bp
test al, al
je 0x14010be82
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.14011f824
cmp rax, 1
jne 0x14010bede
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14010be5f
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14010be53
cmp rcx, 1
jb 0x14010bede
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14010be20
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14010beb3
lea rcx, [rsp + 0x80]
call fcn.1401222a0
jmp 0x14010beb5
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140110580
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140113d40
int3
Function at 0x1401100e0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140152880]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
mov edi, 0x28
test al, al
je 0x140110191
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.14011f824
cmp rax, 1
jne 0x1401101c7
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14011016d
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x140110160
cmp rcx, 1
jb 0x1401101c7
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x140110130
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140110580
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140113d40
int3

Function at 0x140110400
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140152880]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x30], bp
mov edi, 0x28
test al, al
je 0x1401104af
nop dword [rax]
nop dword [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.14011f824
cmp rax, 1
jne 0x1401104e5
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14011048c
nop
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x140110480
cmp rcx, 1
jb 0x1401104e5
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x140110450
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140110580
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140113d40
int3

Function at 0x140110fe8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140111032
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140111032
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140111032
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140111032
cmp dword [rcx + 0x84], 0xe
jbe 0x140111032
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140111034
xor al, al
add rsp, 0x28
ret
Function at 0x1401153b4
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 0x140115423
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140115423
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140115423
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140115423
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140115423
cmp dword [rcx + 0x84], 0xe
jbe 0x140115423
cmp dword [rcx + 0xf8], 0
je 0x140115423
mov ecx, ebx
call fcn.1401154d4
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.1401152b0
nop
cmp dword [rbp + 0x20], 0
je 0x140115471
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14011547c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401153b4

Function at 0x1401155b8
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 0x140115423
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140115423
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140115423
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140115423
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140115423
cmp dword [rcx + 0x84], 0xe
jbe 0x140115423
cmp dword [rcx + 0xf8], 0
je 0x140115423
mov ecx, ebx
call fcn.1401154d4
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.1401152b0
nop
cmp dword [rbp + 0x20], 0
je 0x140115471
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14011547c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401153b4
Function at 0x140127110
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140127197
mov rsi, rbx
cmp word [rax], bp
je 0x140127156
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140127140
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14012713c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140122778
mov rdi, rax
test rax, rax
je 0x140127184
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14012cdd0
mov rbp, rdi
xor ecx, ecx
call fcn.1401232c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140129440
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140129456
mov al, 1
jmp 0x1401294b6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140129467
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401294b4
mov ecx, dword [rcx + 0x18]
nop
call fcn.140127458
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401294b4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401294b4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401294b4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401294b6
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14012cc20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14012cc48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14012cc48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001c21
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 0x140001c6b
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 0x140001d6e
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x140001d7d
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 0x140001da0
mov esi, edi
xor sil, 1
mov byte [rax + 0x18], sil
mov r14, r9
test r8, r8
je 0x140001cb5
mov r14, r9
sub r14, r8
jbe 0x140001caf
cmp byte [r10 + r8], 0xbf
jg 0x140001cb5
jmp 0x140001db2
jne 0x140001db2
test r14, r14
je 0x140001d84
mov r15b, byte [r10 + r8]
movzx ebp, r15b
test bpl, bpl
jns 0x140001d2b
mov r14d, ebp
and r14d, 0x1f
movzx r12d, byte [r10 + r8 + 1]
and r12d, 0x3f
cmp bpl, 0xdf
jbe 0x140001d18
movzx ebp, byte [r10 + r8 + 2]
shl r12d, 6
and ebp, 0x3f
or ebp, r12d
cmp r15b, 0xf0
jb 0x140001d24
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 0x140001d2b
shl r14d, 6
or r14d, r12d
mov ebp, r14d
jmp 0x140001d2b
shl r14d, 0xc
or ebp, r14d
test dil, dil
jne 0x140001d89
cmp ebp, 0x110000
je 0x140001d99
mov edi, 1
cmp ebp, 0x80
jb 0x140001d61
mov edi, 2
cmp ebp, 0x800
jb 0x140001d61
cmp ebp, 0x10000
mov edi, 4
sbb rdi, 0
add r8, rdi
mov qword [rdx], r8
mov edi, esi
jmp 0x140001c81
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
call fcn.14000176b
jmp 0x140001da3
test dil, dil
je 0x140001d99
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov r11d, 1
jmp 0x140001da0
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_9d871b0617a4b3d6610b7cee0ab5310dcb542c62librarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, r10
mov rdx, r9
call fcn.140029320
ud2
Function at 0x140005e70
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 0x140005f00
cmp r10, r11
jb 0x140005f76
cmp r10, rdx
ja 0x140005f8a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140005f02
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140005ee0
jmp 0x140005f64
ja 0x140005f0a
mov r11, r10
cmp rax, r8
jne 0x140005ea4
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 0x140005f40
mov rdi, r8
sub ecx, edx
jns 0x140005f5b
jmp 0x140005f66
cmp r8, rsi
je 0x140005f9b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140005f66
xor al, 1
cmp rdi, rsi
jne 0x140005f20
jmp 0x140005f66
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.1400290c0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140028e50
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_9d871b0617a4b3d6610b7cee0ab5310dcb542c62library_alloc_srccollections_btree_navigate.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140028ed0
ud2
Function at 0x14000c070
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 0x14000c0cb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000c0cb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000c0e6
cmp eax, 0x42
jne 0x14000c0cb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000c196
cmp byte [r9 + r11], 0x5f
jne 0x14000c196
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000c1fe
mov rcx, rsi
xor edx, edx
call fcn.140007900
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 fcn.140007900
test al, al
jne 0x14000c291
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000c122
lea rdx, [0x14055e1ab]
mov r8d, 1
call fcn.140003cd0
test al, al
jne 0x14000c291
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000c0da
xor r14d, r14d
lea rbx, [0x14055e58e]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000c154
cmp byte [rax + rcx], 0x45
je 0x14000c2b3
sub r14, 1
jb 0x14000c179
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000c179
mov r8d, 2
mov rdx, rbx
call fcn.140003cd0
test al, al
jne 0x14000c291
mov rcx, rsi
call fcn.14000c2d0
test al, al
jne 0x14000c291
mov rax, qword [rsi]
test rax, rax
jne 0x14000c140
jmp 0x14000c0da
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000c258
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000c1f2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000c1dc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000c1cb
add dl, 0xa9
jmp 0x14000c1da
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000c258
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000c258
movzx edx, bl
add rax, rdx
jae 0x14000c1a0
jmp 0x14000c258
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000c258
cmp rax, rcx
jae 0x14000c255
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000c2ab
cmp qword [rsi + 0x20], 0
je 0x14000c2bf
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 fcn.14000c070
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000c0dc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000c299
lea rax, [0x14055e559]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140003cd0
test al, al
je 0x14000c299
mov dil, 2
jmp 0x14000c0da
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000c0da
mov dil, 1
xor r8d, r8d
jmp 0x14000c25a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000c0da
xor edi, edi
jmp 0x14000c0da
Function at 0x140010770
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x140560be8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400107e3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14001081a
test eax, eax
js 0x1400107f4
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14001080d
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14000f3e0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14000f480
mov ecx, 7
int 0x29
ud2