joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140049800
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14004980d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14004981d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140049805
lea eax, [rcx + 1]
jmp 0x14004982b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14004983e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140049824
sub eax, 3
jb 0x14004985e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400498ad
sar eax, 1
movsxd rbp, eax
jb 0x140049894
jmp 0x14004986c
add ebx, ebx
jne 0x14004986a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140049894
inc ecx
add ebx, ebx
jne 0x14004987a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140049894
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14004988d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14004987c
add ecx, 2
jmp 0x140049899
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400497c2
jmp 0x14004980d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x29c00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400498f9
cmp rsi, rcx
jae 0x140049901
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400498e0
cmp al, 0x8f
ja 0x1400498e0
cmp byte [rsi - 2], 0xf
je 0x1400498e6
sub al, 0xe8
cmp al, 1
ja 0x1400498ca
cmp rsi, rcx
jae 0x140049901
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400498d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140049901
lodsb al, byte [rsi]
jmp 0x1400498e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x47000]
mov eax, dword [rdi]
or eax, eax
je 0x14004996a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x497a0]
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 0x14004990e
jns 0x140049943
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14004994d
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 0x140049964
mov qword [rbx], rax
add rbx, 8
jmp 0x14004992e
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 0x1400499a4
cmp al, 0xef
ja 0x140049996
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140049976
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140049985
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 + 0x237]
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 0x1400499f8
sub rsp, 0xffffffffffffff80
jmp 0x14000c1a0
Function at 0x140002990
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400029b1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400029de
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400029e0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002a39
test ecx, ecx
jle 0x140002a19
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002a39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002a39
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140002a60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002a91
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140002aa8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002acb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002acd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002b09
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140002b9e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140002b44
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140002b7e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140002b9e
cmp rbx, rax
ja 0x140002b50
test rbx, rbx
je 0x140002b9e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140002fc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140002fe4
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140003027
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x140003027
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x140003158
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000306a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140003095
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000315d
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000310a
sub eax, 1
je 0x14000310a
cmp eax, 2
jne 0x140003158
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000315d
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14000313b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140003158
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000315d
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140003540
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003609
cmp byte [rcx + 0x71], 0
je 0x140003609
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400035fc
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400035b8
sub eax, 1
je 0x1400035bc
cmp eax, 2
jne 0x1400035fc
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x1400035ea
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400035fc
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x140004190
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword gs:[0x60]
mov r9, qword [rax + 0x18]
add r9, 0x10
nop dword [rax]
mov r9, qword [r9]
mov rax, qword [r9 + 0x60]
cmp word [rax], 0
je 0x14000211f
xor edx, edx
jmp 0x140002133
mov edx, r8d
lea r8d, [rdx + 1]
cmp word [rax + r8*2], 0
mov rcx, r8
jne 0x140002130
test ecx, ecx
je 0x14000211f
lea r10, [rax + rdx*2 + 2]
xor ecx, ecx
nop
movzx edx, word [rax]
lea r8d, [rdx - 0x41]
cmp r8w, 0x19
ja 0x1400021f0
imul r8d, ecx, 0x1003f
lea ecx, [rdx + 0x20]
add rax, 2
movzx ecx, cx
mov bh, 0xc9
add ecx, r8d
cmp r10, rax
jne 0x14000214f
cmp ecx, 0x1acbb37d
jne 0x14000211f
mov r8, qword [r9 + 0x30]
lea r11, [rsp + 0x60]
mov r9d, dword [r8 + 0x17583c]
mov r10d, dword [r8 + 0x175840]
test r9d, r9d
je 0x1400021cb
mov rdx, r11
add r9d, 2
mov eax, 2
nop dword [rax + rax]
mov ecx, eax
add eax, 1
add rdx, 4
mov ebx, dword [r8 + rcx*4 + 0x17583c]
add ebx, r10d
mov dword [rdx - 4], ebx
cmp r9d, eax
jne 0x1400021af
mov eax, dword [rsp + 0x14c]
mov qword [rsp + 0x38], r11
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x58], r8
add rax, r8
call rax
nop
add rsp, 0x300
pop rbx
ret
imul ecx, ecx, 0x1003f
add rax, 2
add ecx, edx
cmp rax, r10
jne 0x14000214f
test dword [rdx - 1], ecx
invalid
invalid
cmp ecx, 0x1acbb37d
jne 0x14000211f
jmp 0x140002182
invalid
Function at 0x140013e40
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rax, qword [0x140285110]
mov edi, r8d
mov dword [rsp + 0xb8], edx
mov dword [rsp + 0x3c], r8d
mov rsi, rcx
mov ecx, 0xfffffff5
mov rdx, qword [rax]
mov qword [rsp + 0x58], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x28], rdx
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
mov eax, 0x50
cmovne ax, word [rsp + 0x40]
cwde
sub eax, dword [rsp + 0xb8]
test dil, dil
mov dword [rsp + 0x38], eax
jne 0x140014040
cmp byte [rsi], 0
je 0x140014094
mov rcx, qword [sym.imp.msvcrt.dll___iob_func]
mov r14, rsi
mov r13d, 1
xor ebx, ebx
xor r12d, r12d
xor ebp, ebp
mov qword [rsp + 0x30], rcx
jmp 0x140013f28
test r13b, r13b
je 0x140014030
mov rsi, qword [rsp + 0x30]
add ebx, 1
call rsi
lea r9, [rax + 0x30]
mov rcx, r14
movsxd r8, ebp
mov edx, 1
mov r14, rdi
call sub.msvcrt.dll_fwrite
cmp dword [rsp + 0x38], ebx
jbe 0x140014020
xor r13d, r13d
xor r12d, r12d
xor ebp, ebp
cmp byte [rdi], 0
je 0x140013fd0
mov rsi, rdi
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call sym.libvlccore.dll_vlc_towc
cmp rax, 0xffffffffffffffff
mov r15, rax
je 0x140013fd0
movzx ecx, word [rsp + 0x40]
mov edx, 8
lea rdi, [rsi + rax]
call sub.msvcrt.dll_iswctype
test eax, eax
jne 0x140013ee0
add ebp, r15d
add r12d, 1
add ebx, 1
cmp dword [rsp + 0x38], ebx
ja 0x140013f1c
test r13b, r13b
mov ebx, r12d
je 0x140013f9f
call qword [sym.imp.msvcrt.dll___iob_func]
movsxd r8, ebp
lea r9, [rax + 0x30]
mov rcx, r14
sub r8, r15
mov edx, 1
mov ebp, r15d
mov r14, rsi
mov ebx, 1
mov r12d, 1
call sub.msvcrt.dll_fwrite
mov edx, dword [rsp + 0xb8]
lea r8, [0x14017e394]
lea rcx, [0x14017e395]
mov r13d, 1
call fcn.140013d50
cmp byte [rdi], 0
jne 0x140013f25
nop dword [rax + rax]
test r13b, r13b
je 0x140014080
cmp byte [rsp + 0x3c], 0
lea r8, str._s_ne_0m
lea rcx, [0x14017e388]
cmovne rcx, r8
mov rdx, r14
call fcn.140013d50
mov r9, qword [0x140285110]
mov rbx, qword [rsp + 0x58]
xor rbx, qword [r9]
jne 0x14001408f
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor ebx, ebx
xor r12d, r12d
xor ebp, ebp
jmp 0x140013f9f
mov ecx, 0x20
call sub.msvcrt.dll_putchar
jmp 0x140013ee9
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.e_34_1m
lea r9, [rax + 0x30]
mov r8d, 7
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp byte [rsi], 0
jne 0x140013ebc
mov r14, rsi
lea rcx, str._s_ne_0m
jmp 0x140013ff0
mov ecx, 0x20
call sub.msvcrt.dll_putchar
jmp 0x140013fd9
call fcn.1400c4ec0
mov r14, rsi
lea rcx, [0x14017e388]
jmp 0x140013ff0
Function at 0x1400140b0
Capabilities:
Set console window title
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x140285110]
mov qword [rsp + 0x50], r8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x58], r9
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], r8
call fcn.14015d2b0
mov rdx, qword [rsp + 0x28]
xor rdx, qword [rbx]
jne 0x140013d3f
add rsp, 0x30
pop rbx
ret
call fcn.1400c4ec0
nop
nop
nop word cs:[rax + rax]
push rsi
push rbx
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rcx, str.VLC_media_player_version_3.0.20
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov rbx, qword [sym.imp.msvcrt.dll___iob_func]
call rbx
lea rdx, [0x14017e3e0]
lea r8, [rax + 0x60]
lea rcx, [0x14017e3e2]
call sub.msvcrt.dll_freopen
call rbx
lea rdx, [0x14017e3ea]
lea rcx, str.CONIN_
mov r8, rax
call sub.msvcrt.dll_freopen
call rbx
lea rdx, [0x14017e3f3]
lea r8, [rax + 0x30]
lea rcx, str.vlc_help.txt
call sub.msvcrt.dll_freopen
test rax, rax
je 0x140014170
call rbx
lea rcx, [0x14017e403]
lea r9, [rax + 0x30]
mov r8d, 3
mov edx, 1
call sub.msvcrt.dll_fwrite
lea rcx, str._nDumped_content_to_vlc_help.txt_file._n
call sym.libvlccore.dll_vlc_gettext
mov rsi, rax
call rbx
lea rcx, [rax + 0x60]
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp 0x140013d00
call rbx
lea rdx, [0x14017e3e0]
lea r8, [rax + 0x30]
lea rcx, [0x14017e3e2]
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_freopen
Function at 0x140015610
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rax, qword [0x140285110]
mov byte [rsp + 0x2f], cl
lea rcx, [0x14017e63a]
mov rdi, qword [rax]
mov qword [rsp + 0x38], rdi
xor edi, edi
call sub.msvcrt.dll_getenv
test rax, rax
je 0x14001575b
lea rcx, [rsp + 0x30]
xor r13d, r13d
lea r14, str.___s__s_n
call sym.libvlccore.dll_module_list_get
cmp qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rax
je 0x14001571e
nop
mov rdx, qword [rsp + 0x20]
mov rdi, qword [rdx + r13*8]
mov rcx, rdi
call sym.libvlccore.dll_module_get_object
mov rdx, qword [rdi + 0x28]
mov rcx, rdi
mov rbp, rax
call sym.libvlccore.dll_module_gettext
lea rcx, str.____22s__s_n
mov r8, rax
mov rdx, rbp
call fcn.140013d50
cmp byte [rsp + 0x2f], 0
je 0x14001570f
mov esi, dword [rdi + 0x10]
xor r15d, r15d
mov r12, qword [rdi + 0x18]
test esi, esi
jne 0x1400156c9
jmp 0x1400156f6
add r15d, 1
cmp r15d, esi
jae 0x1400156f6
mov ecx, r15d
mov rdx, rbp
mov rbx, qword [r12 + rcx*8]
mov rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x1400156c0
mov rdx, rbx
mov rcx, r14
add r15d, 1
call fcn.140013d50
mov esi, dword [rdi + 0x10]
cmp r15d, esi
jb 0x1400156c9
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14001570f
mov r8d, dword [rdi + 0x40]
lea rcx, str.___c__s___d__n
call fcn.140013d50
add r13, 1
cmp r13, qword [rsp + 0x30]
jb 0x140015670
mov rcx, qword [rsp + 0x20]
call sym.libvlccore.dll_module_list_free
lea rcx, [0x14017e63a]
call sub.msvcrt.dll_getenv
test rax, rax
je 0x140015773
mov r8, qword [0x140285110]
mov rdi, qword [rsp + 0x38]
xor rdi, qword [r8]
jne 0x1400157ab
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x14001564a
call fcn.1400140b0
jmp 0x14001564a
lea rcx, str._nPress_the_RETURN_key_to_continue..._n
call sym.libvlccore.dll_vlc_gettext
mov r14, qword [sym.imp.msvcrt.dll___iob_func]
mov r13, rax
call r14
lea rcx, [rax + 0x60]
mov rdx, r13
call sym.libvlccore.dll_utf8_fprintf
call sub.msvcrt.dll_getchar
call r14
lea rcx, [rax + 0x30]
call sub.msvcrt.dll_fclose
jmp 0x140015739
call fcn.1400c4ec0
nop
nop dword [rax + rax]
nop word cs:[rax + rax]
Function at 0x140017f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rsi, qword [0x140285110]
mov r12, qword [rsp + 0xb0]
mov rdi, rdx
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
xor eax, eax
lea rax, [rcx + 3]
cmp rax, 1
ja 0x1400180c0
test r9, r9
je 0x140018151
mov rbx, qword [r9]
lea rbp, [0x14017f620]
lea r10, [0x14017f820]
cmp rcx, 0xfffffffffffffffe
cmovne r10, rbp
test rdi, rdi
je 0x1400181e0
mov rdx, qword [rdi]
test rdx, rdx
je 0x1400181e0
mov rcx, rdx
add rcx, qword [r8]
mov r11, rbx
add r11, qword [r12]
cmp rdx, rcx
jae 0x1400181b3
lea rbp, [0x14017eea0]
jmp 0x140018059
lea r13, [rdx + 1]
cmp rcx, r13
jbe 0x1400181e4
movzx r13d, byte [rdx + 1]
lea r14d, [r13 - 0x40]
cmp r14b, 0x3f
ja 0x140018174
sub eax, 0xc1
sub r13d, 0x40
cdqe
movsxd r13, r13d
shl rax, 6
add rax, r13
movzx r13d, word [rbp + rax*2]
test r13w, r13w
je 0x140018174
add rdx, 2
cmp r13w, 0x7f
ja 0x140018084
cmp r11, rbx
jbe 0x1400181d0
mov byte [rbx], r13b
add rbx, 1
cmp rcx, rdx
jbe 0x1400181b3
movzx r13d, byte [rdx]
mov rax, r13
movzx r13d, word [r10 + r13*2]
lea r14d, [rax + 0x3f]
cmp r14b, 0xe
jbe 0x140017ff0
test r13w, r13w
je 0x140018174
add rdx, 1
cmp r13w, 0x7f
jbe 0x140018040
cmp r13w, 0x7ff
ja 0x140018110
lea r14, [rbx + 1]
cmp r11, r14
jbe 0x1400181d0
mov eax, r13d
shr r13w, 6
add rbx, 2
and eax, 0x3f
or r13d, 0xffffffc0
or eax, 0xffffff80
mov byte [rbx - 2], r13b
mov byte [rbx - 1], al
jmp 0x140018050
test rdx, rdx
mov qword [rsp + 0x40], 0
je 0x140018160
mov rdx, qword [rdx]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x40]
call fcn.1400e6ec0
mov rcx, qword [rsp + 0x40]
mov qword [rdi], rcx
mov rdi, qword [rsp + 0x48]
xor rdi, qword [rsi]
jne 0x1400181eb
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rax, [rbx + 2]
cmp r11, rax
jbe 0x1400181d0
mov eax, r13d
mov r14d, r13d
shr r13w, 0xc
shr ax, 6
and r14d, 0x3f
or r13d, 0xffffffe0
and eax, 0x3f
or r14d, 0xffffff80
mov byte [rbx], r13b
or eax, 0xffffff80
mov byte [rbx + 2], r14b
add rbx, 3
mov byte [rbx - 2], al
jmp 0x140018050
xor ebx, ebx
jmp 0x140017fa4
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], r12
call fcn.1400e6ec0
jmp 0x1400180f1
mov ebp, 0x2a
sub rcx, rdx
sub r11, rbx
mov qword [rdi], rdx
mov qword [rsp + 0x38], r9
mov qword [r8], rcx
mov qword [r12], r11
call qword [sym.imp.msvcrt.dll__errno]
mov r9, qword [rsp + 0x38]
mov dword [rax], ebp
mov rax, 0xffffffffffffffff
test r9, r9
je 0x1400180f1
mov qword [r9], rbx
jmp 0x1400180f1
sub rcx, rdx
sub r11, rbx
mov qword [rdi], rdx
xor eax, eax
mov qword [r8], rcx
mov qword [r12], r11
jmp 0x1400181a2
mov ebp, 7
jmp 0x140018179
xor eax, eax
jmp 0x1400181a2
mov ebp, 0x16
jmp 0x140018179
call fcn.1400c4ec0
nop
nop dword [rax + rax]
nop word cs:[rax + rax]
Function at 0x14004ae70
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rbx, qword [0x140285110]
mov rdi, rcx
mov rsi, rdx
mov rax, qword [rbx]
mov qword [rsp + 0x78], rax
xor eax, eax
test r8b, r8b
jne 0x14004aeaa
mov edx, dword [rdx + 0x20]
mov rcx, qword [rcx + 0x28]
xor r8d, r8d
call sub.msvcrt.dll_fseek
test eax, eax
je 0x14004aed2
mov ecx, 1
call sym.libvlccore.dll_block_Alloc
mov qword [rsi + 0x18], rax
mov rax, qword [rsp + 0x78]
xor rax, qword [rbx]
jne 0x14004af52
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov r9, qword [rdi + 0x28]
lea rcx, [rsp + 0x20]
mov r8d, 1
mov edx, 0x50
call sub.msvcrt.dll_fread
cmp rax, 1
jne 0x14004aeaa
mov rcx, qword [rsp + 0x30]
call sym.libvlccore.dll_block_Alloc
test rax, rax
mov rbp, rax
je 0x14004af49
mov ecx, dword [rsp + 0x48]
mov r8, qword [rsp + 0x60]
mov r9d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
mov dword [rbp + 0x28], ecx
mov qword [rbp + 0x40], r8
mov dword [rbp + 0x2c], r9d
mov rcx, qword [rbp + 8]
mov r9, qword [rdi + 0x28]
mov r8, qword [rsp + 0x30]
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x38], rax
mov edx, 1
call sub.msvcrt.dll_fread
mov qword [rbp + 0x10], rax
mov qword [rsi + 0x18], rbp
jmp 0x14004aeb8
call fcn.1400c4ec0
nop
nop dword [rax + rax]