joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140048270
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x140060020]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, qword [0x1400876d8]
test rdi, rdi
je 0x140048498
mov rcx, rdi
call fcn.1400448b0
test al, al
je 0x140048498
mov qword [rsp + 0x90], rbx
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm6
mov r8d, 0x6d
mov rdx, rdi
movaps xmmword [rsp + 0x60], xmm7
call fcn.140044500
movups xmm0, xmmword [rsp + 0x40]
lea rdx, [rsp + 0x20]
movsd xmm1, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x20], xmm0
movsd qword [rsp + 0x30], xmm1
call fcn.140044180
movsd xmm6, qword [rsp + 0x40]
xorps xmm4, xmm4
ucomisd xmm6, xmm4
movss xmm7, dword [0x140060064]
xorps xmm3, xmm3
xorps xmm2, xmm2
jp 0x140048311
je 0x140048378
mov eax, dword [0x1400876f8]
movd xmm5, eax
cvtdq2pd xmm5, xmm5
comisd xmm6, xmm5
jbe 0x140048354
movaps xmm3, xmm5
add eax, eax
subsd xmm3, xmm6
cvtps2pd xmm0, xmm7
xorps xmm3, xmmword [0x140057400]
divsd xmm3, xmm0
movd xmm0, eax
movaps xmm1, xmm3
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm5
comisd xmm1, xmm0
jbe 0x140048354
xorps xmm3, xmm3
comisd xmm5, xmm6
jbe 0x140048378
movaps xmm3, xmm6
cvtps2pd xmm0, xmm7
subsd xmm3, xmm5
divsd xmm3, xmm0
movaps xmm0, xmm3
addsd xmm0, xmm5
comisd xmm4, xmm0
jbe 0x140048378
xorps xmm3, xmm3
movsd xmm5, qword [rsp + 0x48]
ucomisd xmm5, xmm4
jp 0x140048386
je 0x1400483ed
mov eax, dword [0x140087700]
movd xmm6, eax
cvtdq2pd xmm6, xmm6
comisd xmm5, xmm6
jbe 0x1400483c9
movaps xmm2, xmm6
add eax, eax
subsd xmm2, xmm5
cvtps2pd xmm0, xmm7
xorps xmm2, xmmword [0x140057400]
divsd xmm2, xmm0
movd xmm0, eax
movaps xmm1, xmm2
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm6
comisd xmm1, xmm0
jbe 0x1400483c9
xorps xmm2, xmm2
comisd xmm6, xmm5
jbe 0x1400483ed
movaps xmm2, xmm5
cvtps2pd xmm0, xmm7
subsd xmm2, xmm6
divsd xmm2, xmm0
movaps xmm0, xmm2
addsd xmm0, xmm6
comisd xmm4, xmm0
jbe 0x1400483ed
xorps xmm2, xmm2
cvttsd2si eax, xmm3
xor ecx, ecx
mov dword [rsp + 0x28], 0
mov edx, 0x1000
mov dword [rsp + 0x2c], 1
mov r8d, edx
lea r9d, [rcx + 0x40]
xorps xmm0, xmm0
mov dword [rsp + 0x20], eax
cvttsd2si eax, xmm2
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x24], eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm7, xmmword [rsp + 0x60]
mov rbx, rax
movaps xmm6, xmmword [rsp + 0x70]
test rax, rax
je 0x140048490
movups xmm0, xmmword [0x140087690]
mov edx, 1
lea rcx, [rsp + 0x20]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1400876a0]
movsd qword [rax + 0x10], xmm1
mov edi, dword [0x1400876a8]
mov dword [rax + 0x18], edi
movzx edi, word [0x1400876ac]
mov word [rax + 0x1c], di
call rbx
xor eax, eax
mov ecx, 0x1000
mov rdi, rbx
xor edx, edx
rep stosb byte [rdi], al
mov rcx, rbx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004e190
add rsp, 0x80
pop rdi
ret
Function at 0x14004bd90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x22], 0
je 0x14004bdb3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x63]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x21
jb 0x14004bda0
mov byte [rcx + 0x22], 0
mov rax, rcx
ret

Function at 0x14004bdc0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1f], 0
je 0x14004bde3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x63]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1e
jb 0x14004bdd0
mov byte [rcx + 0x1f], 0
mov rax, rcx
ret
Function at 0x14004d9e0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14004da11
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400877a8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400877b8]
lea rdx, [rdi + rdi]
call fcn.14004cc90
mov rax, qword [0x1400877a8]
lea r9, [rdi - 1]
mov qword [0x1400877d0], r9
mov qword [0x1400877d8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14004dbb2
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400877b8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14004dafc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14004db73
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14004db39
mov r10, qword [rdx]
cmp r10, rax
je 0x14004db33
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14004db73
cmp r9, rdx
je 0x14004db4f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14004db87
cmp r9, rdx
jne 0x14004db40
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14004dbad
mov r9, qword [0x1400877d0]
jmp 0x14004da81
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14004db73
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14004ecd0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004ed1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004ed1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004ed1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004ed1a
cmp dword [rcx + 0x84], 0xe
jbe 0x14004ed1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004ed1c
xor al, al
add rsp, 0x28
ret
Function at 0x14080b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14080b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14080b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14080b06f
add dl, dl
jne 0x14080b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14080b0f6
xor eax, eax
add dl, dl
jne 0x14080b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14080b1ad
add dl, dl
jne 0x14080b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14080b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14080b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14080b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14080b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14080b07e
mov eax, 1
add dl, dl
jne 0x14080b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14080b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14080b0fb
sub eax, ebx
mov ebx, 1
jne 0x14080b14c
mov ecx, 1
add dl, dl
jne 0x14080b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14080b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14080b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14080b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14080b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14080b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14080b15d
cmp eax, 0x7d00
jae 0x14080b19b
cmp eax, 0x500
jb 0x14080b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14080b07e
cmp eax, 0x7f
ja 0x14080b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14080b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14080b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14080b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400039d0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x140003a60
jmp 0x140003a4f
jae 0x140003b20
cmp r8, 0x201
jae 0x140003a60
lea r12, [rbp - 0x58]
mov esi, 0x200
mov r15, r8
jmp 0x140003ab8
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x140003a8f
lea rcx, [rbp + 0x3c8]
mov rdx, r13
call fcn.140019bf0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x3d8], r13
mov rbx, rdi
mov r12, qword [rbp + 0x3e8]
mov rsi, r13
mov r15, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140003ae1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140003b88
mov r8d, r14d
cmp r15, r8
jne 0x140003a40
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003bab
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140003a4f
jmp 0x140003a60
cmp rsi, r8
jb 0x140003bc5
lea rcx, [rbp + 0x3a8]
mov rdx, r12
call fcn.140005180
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140003b71
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140001300
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140003b59
jmp 0x140003b71
lea rcx, str.internal_error:_entered_unreachable_code_rustc_8ede3aae28fe6e4d52b38157d7bfe0d3bceef225library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001a660
jmp 0x140003bda
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001aab0
ud2
Function at 0x140003c30
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.14000b6b0
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x410], rax
test rax, rax
je 0x140003da6
mov qword [rbp + 0x408], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x400], rax
mov qword [rbp + 0x3e8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x418], rax
xor edi, edi
xor ebx, ebx
xor esi, esi
cmp r8, 0x201
jae 0x140003ce0
jmp 0x140003ccf
jae 0x140003db8
cmp r8, 0x201
jae 0x140003ce0
lea r13, [rbp - 0x60]
mov r15d, 0x200
mov r12, r8
jmp 0x140003d37
sub r8, rsi
sub rbx, rsi
cmp rbx, r8
jae 0x140003d0f
lea rcx, [rbp + 0x3e8]
mov rdx, rsi
call fcn.140019bf0
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x418], rax
mov rdi, qword [rbp + 0x3f0]
mov eax, 0xffffffff
cmp rdi, rax
mov esi, 0xffffffff
cmovb rsi, rdi
mov qword [rbp + 0x3f8], rsi
mov rbx, rdi
mov r13, qword [rbp + 0x418]
mov r15, rsi
mov r12, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x410]
mov rdx, r13
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x140003d67
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140003e8b
mov r8d, r14d
cmp r12, r8
jne 0x140003cc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003eb5
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140003ccf
jmp 0x140003ce0
lea rcx, [rbp - 0x58]
call fcn.140001980
mov byte [rsi + 0x18], 2
jmp 0x140003e4a
cmp r15, r8
jb 0x140003ecf
lea rcx, [rbp + 0x3a0]
mov rdx, r13
call fcn.140005180
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
test rdi, rdi
je 0x140003e09
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x418]
mov rdx, rdi
call fcn.140001300
cmp byte [rbp + 0x3d8], 2
jne 0x140003e61
mov rsi, qword [rbp + 0x408]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3c0]
call fcn.140001980
mov rdx, qword [rbp + 0x400]
test rdx, rdx
je 0x140003e4a
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x410]
call fcn.140001300
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
mov rsi, qword [rbp + 0x408]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x400]
test rdx, rdx
jne 0x140003e35
jmp 0x140003e4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x3d8], 2
test rdi, rdi
jne 0x140003df1
jmp 0x140003e09
lea rcx, str.internal_error:_entered_unreachable_code_rustc_8ede3aae28fe6e4d52b38157d7bfe0d3bceef225library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001a660
jmp 0x140003ee4
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14001aab0
ud2
Function at 0x140005b80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140005bb0
test ecx, ecx
jne 0x140005c00
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140005bbc
test ecx, ecx
jne 0x140005c00
mov rcx, rdi
call fcn.140005a60
movzx eax, al
test bpl, bpl
jne 0x140005c07
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140005bf3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140005d78]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140005bf3.2
xor eax, eax
test bpl, bpl
je 0x140005bcc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140005d59
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x140005c3a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140005cb9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140005c80
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x140005c9b
inc rax
dec rdi
cmp rax, 1
jne 0x140005c60
jmp 0x140005cb9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x140005c9b
cmp ebx, 0x5c
je 0x140005c9b
inc rax
dec rdi
cmp rax, 1
jne 0x140005c80
jmp 0x140005cb9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140005d67
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140005ce3
mov al, 9
cmp rdx, 2
je 0x140005ce7
cmp rdx, 1
jne 0x140005cf7
cmp byte [r8], 0x2e
jne 0x140005cf7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140005cf7
mov al, 0xa
jmp 0x140005cf7
cmp byte [r8], 0x2e
jne 0x140005cf7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140005bf3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140005bf3.2
mov ecx, 2
jmp case.0x140005bf3.2
lea r8, str.library_std_srcpath.rs
call fcn.14001aa30
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14001aa30
ud2
Function at 0x140009fd0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14001c8f0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000a014
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000a07a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000a0b1
test eax, eax
js 0x14000a08b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000a0a4
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.140004ff0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140001c30
mov ecx, 7
int 0x29
ud2

Function at 0x140017ae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140017b5a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140017b50
cmp r10, r11
jb 0x140017bf3
cmp r10, rdx
ja 0x140017c07
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140017b52
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140017b30
jmp 0x140017bc7
ja 0x140017b5a
mov r11, r10
cmp rax, r8
jne 0x140017b02
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140017bcb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140017ba0
mov r8, r10
sub ecx, r9d
jns 0x140017bbe
jmp 0x140017bcd
cmp r10, rdx
je 0x140017bd9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140017bcd
xor al, 1
cmp r8, rdx
jne 0x140017b80
jmp 0x140017bcd
xor eax, eax
jmp 0x140017bcd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001a660
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001ab30
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001aab0
ud2
Function at 0x14001963c
Capabilities:
Parse pe header

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

Disassembly:
cmp rcx, qword [0x0040a008]
jne 0x4012ca
rol rcx, 0x10
test cx, 0xffff
jne 0x4012c6
repz ret
ror rcx, 0x10
jmp 0x4014bc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0040b0e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x0040b1d8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x401541
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x0040b0e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x401563
mov rax, qword [rsp + 0x88]
mov qword [0x0040b1d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0040b178], rax
mov rax, qword [0x0040b1d8]
mov qword [0x0040b050], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0040b160], rax
mov dword [0x0040b040], 0xc0000409
mov dword [0x0040b044], 1
mov rax, qword [0x0040a008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0040a010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0040b0d8], eax
mov ecx, 1
call fcn.00402c9c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x004072c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0040b0d8], 0
jne 0x4015ea
mov ecx, 1
call fcn.00402c9c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x4019ac
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.00402ef4
nop
cmp dword [0x0040b600], 1
je 0x401958
mov dword [0x0040b5fc], 1
mov byte [0x0040b5f8], r12b
test ebx, ebx
jne 0x401944
mov rcx, qword [0x0040c158]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x401931
mov rcx, qword [0x0040c150]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x4018d0
call fcn.00402848
cmp qword [rdi], rax
jne 0x4018d0
jmp 0x4018b6
cmp rdi, rsi
jb 0x401931
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.00402848
mov qword [rdi], rax
call rbx
mov rcx, qword [0x0040c158]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x0040c150]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x40190f
cmp r13, rax
je 0x40192f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x4018b6
lea rdx, [0x00407288]
lea rcx, [0x00407280]
call fcn.00401700
lea rdx, [0x00407298]
lea rcx, [0x00407290]
call fcn.00401700
nop
test r12d, r12d
je 0x401967
mov ecx, 8
call fcn.00402df4
test r12d, r12d
jne 0x401992
mov dword [0x0040b600], 1
lea ecx, [r12 + 8]
call fcn.00402df4
mov ecx, r15d
call fcn.00401694
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x401820

Function at 0x4019b8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x401820