joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c53e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov r12, rcx
sar rdi, 2
test rdi, rdi
je 0x1400c55c3
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x30], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x1400c5431
mov eax, listen
jmp 0x1400c545f
cmp rdi, 0x44
jb 0x1400c543e
mov eax, 7
jmp 0x1400c545f
cmp rdi, 0x27
jb 0x1400c544b
mov eax, 5
jmp 0x1400c545f
cmp rdi, 7
jb 0x1400c5458
mov eax, 3
jmp 0x1400c545f
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x1400c5478
mov r15, rdi
mov r8, rdi
mov qword [rsp + 0x38], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x1400c552a
nop dword [rax]
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea rbp, [rsi + rdx*4]
mov r8d, r11d
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [rbp]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x1400c54ed
mov rax, rbx
jmp 0x1400c5502
cmp rcx, rbx
ja 0x1400c54ff
mov rax, qword [r12]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x1400c5502
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [rbp], r8d
cmp rcx, r15
jb 0x1400c54a0
add r15, rdi
cmp rcx, r15
jae 0x1400c55aa
inc r14
lea rbp, [rcx - 1]
inc r13
nop dword [rax]
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x1400c5540
mov rbp, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x1400cb0a0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
call qword [sym.imp.MSVCP140.dll__Thrd_id]
movzx edx, al
movabs rcx, 0x100000001b3
mov dword [rsp + 0x20], eax
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [rsp + 0x21]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x22]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x23]
imul rdx, rcx
xor rdx, rax
mov eax, dword [rbx + 0x60a4]
imul rdx, rcx
cmp rax, rdx
je 0x1400cb132
movzx eax, byte [rbx + 0x60a0]
test al, al
jne 0x1400cb132
mov eax, 1
lea rcx, [rbx + 0x60a8]
xchg byte [rbx + 0x60a0], al
call qword [sym.imp.MSVCP140.dll__Cnd_broadcast]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400cd0f0
add rsp, 0x30
pop rbx
ret
Function at 0x1400cb700
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movzx r14d, r8b
mov rsi, rdx
mov rbx, rcx
call qword [sym.imp.MSVCP140.dll__Thrd_id]
movzx ecx, al
movabs r15, 0x100000001b3
mov dword [rsp + 0x20], eax
movabs r12, 0xcbf29ce484222325
movzx eax, byte [rsp + 0x21]
xor rcx, r12
imul rcx, r15
xor edi, edi
xor rcx, rax
movzx eax, byte [rsp + 0x22]
imul rcx, r15
xor rcx, rax
movzx eax, byte [rsp + 0x23]
imul rcx, r15
xor rcx, rax
mov eax, dword [rbx + 0x60a4]
imul rcx, r15
cmp rax, rcx
je 0x1400cb7a3
movzx eax, byte [rbx + 0x60a0]
test al, al
je 0x1400cb7a3
mov eax, edi
lea rcx, [rbx + 0x60a8]
xchg byte [rbx + 0x60a0], al
call qword [sym.imp.MSVCP140.dll__Cnd_broadcast]
mov qword [rsp + 0x70], rbp
test r14b, r14b
je 0x1400cb7b6
mov rdx, qword [rbx + 0x18]
mov rbp, qword [rbx]
jmp 0x1400cb7be
mov rdx, qword [rbx + 0x10]
mov rbp, qword [rbx + 8]
test rdx, rdx
je 0x1400cb808
test rbp, rbp
je 0x1400cb808
cmp dword [rdx + 0x38], 5
jne 0x1400cb808
test r14b, r14b
jne 0x1400cb867
mov rcx, qword [rbp + 0x28]
add rcx, 0xf0
mov rax, qword [rcx]
cmp rax, rcx
je 0x1400cb867
nop
mov rax, qword [rax]
inc rdi
cmp rax, rcx
jne 0x1400cb7f0
cmp rdi, 0x32
jbe 0x1400cb867
mov qword [rcx], rcx
mov qword [rcx + 8], rcx
test rsi, rsi
je 0x1400cb839
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x1400cb81b
mov rcx, rsi
call rax
test byte [rsi + 8], 4
jne 0x1400cb830
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400cb830
call qword [0x14011a190]
mov rcx, rsi
call qword [0x14011a190]
mov rcx, rbx
call fcn.1400cb0a0
xor al, al
mov rbp, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400cd0f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov r8, rsi
mov rcx, rdx
call fcn.140052210
test eax, eax
jne 0x1400cb808
call qword [sym.imp.MSVCP140.dll__Thrd_id]
movzx edx, al
xor rdx, r12
mov dword [rsp + 0x20], eax
movzx eax, byte [rsp + 0x21]
imul rdx, r15
xor rdx, rax
movzx eax, byte [rsp + 0x22]
imul rdx, r15
xor rdx, rax
movzx eax, byte [rsp + 0x23]
imul rdx, r15
xor rdx, rax
mov eax, dword [rbx + 0x60a4]
imul rdx, r15
cmp rax, rdx
jne 0x1400cb8d5
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [0x140123a88]
xor r8d, r8d
xor edx, edx
mov dword [rbp + 0x40], eax
mov rcx, rbp
call fcn.1400556d0
mov rcx, rbx
call fcn.1400cb0a0
mov al, 1
jmp 0x1400cb843
Function at 0x1400cc0b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.1400cd110
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400cc400]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400cc123
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400cd0f0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400cc140
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.1400cd110
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400cc430]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400cc1b3
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400cd0f0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400cc5e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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
cmp byte [0x140125370], 0
lea rbp, [0x14011a200]
mov edi, edx
mov esi, ecx
jne 0x1400cc689
mov byte [0x140125370], 1
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400cc631
imul rax, rax, 0x64
jmp 0x1400cc64f
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, rax
mov dword [0x14011a204], eax
mov edx, 1
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 + 4], ecx
inc rdx
cmp rdx, 0x270
jb 0x1400cc660
mov dword [0x14011a200], 0x270
mov r15d, 0x80000000
lea eax, [rsi - 0x80000000]
cmp esi, r15d
lea r14d, [rsi + r15]
cmovae r14d, eax
lea ebx, [rdi + r15]
cmp edi, r15d
lea eax, [rdi - 0x80000000]
cmovae ebx, eax
sub ebx, r14d
cmp ebx, 0xffffffff
jne 0x1400cc6c4
mov rcx, rbp
call fcn.140092670
mov edx, eax
jmp 0x1400cc700
lea edi, [rbx + 1]
xor r8d, r8d
xor eax, eax
test ebx, ebx
je 0x1400cc6e0
mov rcx, rbp
call fcn.140092670
mov r8d, eax
mov eax, 0xffffffff
xor edx, edx
div edi
mov ecx, eax
mov r9d, edx
xor edx, edx
mov eax, r8d
div edi
cmp eax, ecx
jb 0x1400cc6f9
cmp r9d, ebx
jne 0x1400cc6c7
xor edx, edx
mov eax, r8d
div edi
mov rbx, qword [rsp + 0x40]
add edx, r14d
mov rbp, qword [rsp + 0x48]
cmp edx, r15d
mov rsi, qword [rsp + 0x50]
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + r15]
cmovae eax, ecx
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400cd040
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400cd0c4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400cd0c4
dec r8
sub rdx, 1
jne 0x1400cd0aa
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400cdf80
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x14001d640
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400350fd]
call fcn.140011960
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001d697
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001d7a3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001d73c
cmp qword [rbp + 0x28], 0
jle 0x14001d73c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001d6dc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400118e3
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001d792
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001d792
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011519
Capabilities:
Terminate process

Disassembly:
jmp 0x140020360
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 0x140011663
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14001d820
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002e040]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x1400350ff]
call fcn.140011960
xor ecx, ecx
call fcn.14001da70
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
lea rdx, str.MADE_BY_ZAKALMA
lea rcx, [rbp + 0x188]
call fcn.1400113f7
nop
lea rcx, [rbp + 0x188]
call fcn.1400118f7
nop
lea rcx, [rbp + 0x188]
call fcn.1400111ae
mov dword [rbp + 4], 0
jmp 0x14001d8aa
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x64
jge 0x14001d93a
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov eax, edx
add eax, 0xf
mov dword [rbp + 0x24], eax
mov edx, dword [rbp + 0x24]
lea rcx, [rbp + 0x48]
call fcn.1400111f4
nop
lea rdx, str.Generated_string:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001110e
lea rdx, [rbp + 0x48]
mov rcx, rax
call fcn.14001187f
lea rdx, [0x14001105f]
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 dword [rbp + 0x1e4], 0x12c
lea rdx, [rbp + 0x1e4]
lea rcx, [rbp + 0x1c8]
call fcn.1400116e0
mov rcx, rax
call fcn.1400117b7
nop
lea rcx, [rbp + 0x48]
call fcn.1400111ae
jmp 0x14001d8a2
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rbp + 0x84], 0x78
xor eax, eax
cmp eax, 1
je 0x14001d9c0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0xa4], 8
jmp 0x14001d97e
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0xbe
jg 0x14001d9be
mov ecx, dword [rbp + 0xa4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
cmp eax, 0xffff8001
jne 0x14001d9bc
mov ecx, dword [rbp + 0xa4]
call fcn.1400117f3
movzx eax, al
test eax, eax
jne 0x14001d9bc
movzx ecx, byte [rbp + 0xa4]
call fcn.1400113f2
jmp 0x14001d970
jmp 0x14001d952
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140028850]
call fcn.1400117d5
mov eax, edi
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.14001145b
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret
Function at 0x140011681
Capabilities:
Parse pe header

Disassembly:
jmp 0x140020e90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140020eb0
xor al, al
jmp 0x140020f31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140020ec3
xor al, al
jmp 0x140020f31
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 0x140020eed
xor al, al
jmp 0x140020f31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140020f01
xor al, al
jmp 0x140020f31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140020f13
xor al, al
jmp 0x140020f31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140020f2f
xor al, al
jmp 0x140020f31
mov al, 1
add rsp, 0x38
ret
Function at 0x140011947
Capabilities:
Write file on windows

Disassembly:
jmp 0x140019440
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14002e040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400350fd]
call fcn.140011960
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x1400194a6
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400194ad
mov al, 1
jmp 0x1400195fd
call fcn.140011285
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.140011285
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140011776
movzx eax, al
test eax, eax
je 0x1400194fe
xor al, al
jmp 0x1400195fd
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140019563
cmp dword [rbp + 0x154], 1
je 0x14001956e
cmp dword [rbp + 0x154], 3
je 0x1400195ec
jmp 0x1400195fb
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1400195be
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1400195be
xor al, al
jmp 0x1400195fd
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400195d9
mov dword [rbp + 0x154], 1
jmp 0x1400195e3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1400195fd
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400195fd
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140028750]
call fcn.1400117d5
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001145b
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1400010dd
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movaps xmmword [rcx + 0xa0], xmm10
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140008ca0
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 0x140008d30
cmp r11, r10
ja 0x140008da6
cmp r10, rdx
ja 0x140008dba
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140008d32
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140008d10
jmp 0x140008d94
ja 0x140008d3a
mov r11, r10
cmp rax, r8
jne 0x140008cd4
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 0x140008d70
mov rdi, r8
sub ecx, edx
jns 0x140008d8b
jmp 0x140008d96
cmp r8, rsi
je 0x140008dcb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140008d96
xor al, 1
cmp rdi, rsi
jne 0x140008d50
jmp 0x140008d96
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.14001a850
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001a5e0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001a660
ud2

Function at 0x14000d550
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140006630
cmp rax, rcx
je 0x14000d575
cmp rdx, 4
jae 0x14000d578
xor eax, eax
xor r8d, r8d
jmp 0x14000d610
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14001c350]
movdqa xmm3, xmmword [0x14001c360]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000d5a0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000d627
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000d610
ret