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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400f8660
mov r11d, eax
lea edx, [rax*4]
movsxd r9, edx
test edx, edx
jle 0x1400f848d
lea r8, [rbx + 8]
xor r10d, r10d
lea r8, [r8 + r9*4]
lea rcx, [rbx + 8]
nop
mov edx, dword [rcx - 8]
add r10, 4
mov eax, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rcx - 8], eax
lea rcx, [rcx + 0x10]
mov eax, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rcx - 0x14]
mov dword [rcx - 0x14], eax
mov eax, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rcx - 0x10]
mov dword [rcx - 0x10], eax
mov eax, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rcx - 0xc]
mov dword [rcx - 0xc], eax
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x1400f8440
cmp r11d, 1
jle 0x1400f8649
mov qword [rsp + 0x30], rdi
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
add rbx, 4
nop dword [rax + rax]
mov r9d, dword [rbx + 0x10]
lea rbx, [rbx + 0x10]
mov edx, dword [rbx - 4]
movzx eax, byte [rbx - 3]
movzx ecx, byte [rdi + rax*4 + 0x13a3e0]
mov eax, edx
shr rax, 0x18
mov r8d, dword [rdi + rcx*4 + 0x13afe0]
movzx eax, byte [rdi + rax*4 + 0x13a3e0]
xor r8d, dword [rdi + rax*4 + 0x13a7e0]
movzx eax, dl
movzx ecx, byte [rdi + rax*4 + 0x13a3e0]
movzx eax, byte [rbx - 2]
xor r8d, dword [rdi + rcx*4 + 0x13b3e0]
movzx ecx, byte [rdi + rax*4 + 0x13a3e0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x13abe0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx - 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x13a3e0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x13abe0]
movzx eax, byte [rdi + rcx*4 + 0x13a3e0]
xor r8d, dword [rdi + rax*4 + 0x13afe0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x13a3e0]
movzx eax, r9b
mov r9d, dword [rbx + 4]
xor r8d, dword [rdi + rcx*4 + 0x13a7e0]
movzx ecx, byte [rdi + rax*4 + 0x13a3e0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x13b3e0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx], r8d
movzx edx, byte [rdi + rcx*4 + 0x13a3e0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x13abe0]
movzx eax, byte [rdi + rcx*4 + 0x13a3e0]
xor r8d, dword [rdi + rax*4 + 0x13afe0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x13a3e0]
movzx eax, r9b
mov r9d, dword [rbx + 8]
xor r8d, dword [rdi + rcx*4 + 0x13a7e0]
movzx ecx, byte [rdi + rax*4 + 0x13a3e0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x13b3e0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx + 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x13a3e0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x13abe0]
movzx eax, byte [rdi + rcx*4 + 0x13a3e0]
xor r8d, dword [rdi + rax*4 + 0x13afe0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x13a3e0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x13a7e0]
movzx ecx, byte [rdi + rax*4 + 0x13a3e0]
xor r8d, dword [rdi + rcx*4 + 0x13b3e0]
mov dword [rbx + 8], r8d
sub r10, 1
jne 0x1400f84b0
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x1800141e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1310]
mov eax, 0x1410
call fcn.1800c2990
sub rsp, rax
mov rax, qword [0x18016ffc0]
xor rax, rsp
mov qword [rbp + 0x1300], rax
movsxd rsi, edx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 0xf
mov ebx, 0x40
mov ecx, ebx
call fcn.1800c2270
mov rcx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0x3e
mov qword [rsp + 0x60], 0x3f
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1800cd780]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1800cd790]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1800cd7a0]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1800cd7a8]
mov dword [rcx + 0x38], eax
movzx eax, word [0x1800cd7ac]
mov word [rcx + 0x3c], ax
mov byte [rcx + 0x3e], r14b
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov r10d, 0xffffffff
mov dword [rbp + 0x12f4], r10d
mov dword [rsp + 0x74], eax
lea eax, [rbx - 0x3f]
nop
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rsp + rax*4 + 0x74], edx
inc rax
cmp rax, 0x270
jb 0x1800142c0
mov dword [rsp + 0x70], 0x270
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
add rdx, qword [rsp + 0x58]
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova r9, qword [rsp + 0x48]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, 0xffffffffffffffff
nop
dec rbx
shr rax, 1
cmp rax, r10
ja 0x180014320
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x28]
mov rcx, r9
call fcn.180012950
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov r8, rsi
cmp qword [rsp + 0x58], rsi
cmovb r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.180001d20
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1800143b8
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800143b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800143b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c22ac
mov rax, rdi
mov rcx, qword [rbp + 0x1300]
xor rcx, rsp
call fcn.1800c2730
lea r11, [rsp + 0x1410]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1800241c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18016ffc0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180024293
cmp byte [rcx + 0x71], 0
je 0x180024293
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18002428f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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 0x180024254
sub eax, 1
je 0x180024258
cmp eax, 2
jne 0x18002428f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800c2730
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180024286
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18002428f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18002423c
xor al, al
jmp 0x18002423c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800c2730
add rsp, 0x60
pop rbx
ret

Function at 0x180028df0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18016ffc0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov byte [rbp - 0x28], 0x50
lea r8, [rbp - 0x28]
mov byte [rbp - 0x27], 0x74
xor eax, eax
mov byte [rbp - 0x26], 0x72
mov rbx, rcx
mov byte [rbp - 0x25], 0x68
xor edx, edx
mov byte [rbp - 0x24], 0x74
mov byte [rbp - 0x23], 0x7f
mov byte [rbp - 0x22], 0x73
mov byte [rbp - 0x21], 0x49
mov byte [rbp - 0x20], 0x5b
mov byte [rbp - 0x1f], 0x4b
mov byte [rbp - 0x1e], 0x4d
mov byte [rbp - 0x1d], 0x43
mov byte [rbp - 0x1c], 5
mov byte [rbp - 0x1b], 0x45
mov byte [rbp - 0x1a], 0x48
mov byte [rbp - 0x19], 0x46
mov byte [rbp - 0x18], 0x4f
mov byte [rbp - 0x17], 0x43
mov byte [rbp - 0x16], 0x4c
mov byte [rbp - 0x15], al
movzx eax, byte [rbp - 0x28]
nop dword [rax]
movzx eax, byte [r8]
lea ecx, [rdx + 0x19]
xor cl, al
lea r8, [r8 + 1]
movsxd rax, edx
inc edx
mov byte [rbp + rax - 0x28], cl
cmp edx, 0x13
jb 0x180028e70
lea rcx, [rbp - 0x28]
mov byte [rbp - 0x15], 0
call fcn.1800be830
lea rdx, [rbx + 0x30]
lea rcx, [rbp - 0x48]
call fcn.180002290
mov r8b, 1
mov rdx, rax
mov rcx, rbx
call fcn.180029070
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800c2730
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x18002a700
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18016ffc0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x18002a72d
xor eax, eax
jmp 0x18002a896
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x18002a76d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x18002a76d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x18002a88e
cmp qword [rdi + 0x80], 0
je 0x18002a889
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x18002a7a7
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x18002a7d2
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x18002a88e
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x18002a841
sub eax, 1
je 0x18002a841
cmp eax, 2
jne 0x18002a889
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x18002a88e
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x18002a86f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x18002a889
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x18002a88e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800c2730
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18002eaa0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x18002ead1
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 0x18002eaef
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 qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x18002eb39
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x18002ebb1
mov rcx, rbp
call fcn.180024c30
cmp rbx, 0xfff
jbe 0x18002eb91
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x18002ebd2
cmp rbx, rax
ja 0x18002eb60
test rdi, rdi
je 0x18002ebb1
mov r9, qword [rbp + 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 rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x18002ebb4
Function at 0x18002ebe0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18002ec08
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x18002ec7c
test rax, rax
jle 0x18002ec5c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x18002ec7c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18002ec7c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x180034d30
Capabilities:
Create thread
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x18016ffc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
test edx, edx
je 0x180034d88
cmp edx, 1
jne 0x180034f0e
mov r9, rcx
mov qword [rsp + 0x28], 0
xor ecx, ecx
mov dword [rsp + 0x20], 0
lea r8, [0x180034750]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
jmp 0x180034f0e
mov rcx, qword [0x180173070]
mov byte [reloc.d2d1.dll_Ordinal_1], 0
call fcn.18002ba20
mov rcx, qword [0x180173610]
call fcn.180045e40
mov rcx, qword [0x180172da8]
call fcn.180002870
call fcn.1800b78b0
call fcn.180075e50
mov byte [rsp + 0x30], 0xcc
lea r8, [rsp + 0x30]
mov byte [rsp + 0x31], 0xfa
xor eax, eax
mov byte [rsp + 0x32], 0xcd
xor edx, edx
mov byte [rsp + 0x33], 0xce
mov byte [rsp + 0x34], 0xd4
mov byte [rsp + 0x35], 0xca
mov byte [rsp + 0x36], 0xca
mov byte [rsp + 0x37], 0xc2
mov byte [rsp + 0x38], 0x86
mov byte [rsp + 0x39], 0xcb
mov byte [rsp + 0x3a], 0xc7
mov byte [rsp + 0x3b], 0xce
mov byte [rsp + 0x3c], 0xcd
mov byte [rsp + 0x3d], 0xce
mov byte [rsp + 0x3e], 0xde
mov byte [rsp + 0x3f], al
movzx eax, byte [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [r8]
lea ecx, [rdx - 0x62]
xor cl, al
lea r8, [r8 + 1]
movsxd rax, edx
inc edx
mov byte [rsp + rax + 0x30], cl
cmp edx, 0xf
jb 0x180034e20
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x3f], 0
call fcn.1800be830
call fcn.1800be480
call fcn.1800bff64
mov rbx, qword [0x180173610]
test rbx, rbx
je 0x180034e75
mov rcx, rbx
call fcn.180045ba0
mov edx, 0x28
mov rcx, rbx
call fcn.1800c22ac
mov rbx, qword [0x180172da8]
test rbx, rbx
je 0x180034e96
mov rcx, rbx
call fcn.180002570
mov edx, 0x28
mov rcx, rbx
call fcn.1800c22ac
mov rbx, qword [0x180173070]
test rbx, rbx
je 0x180034eb7
mov rcx, rbx
call fcn.1800231f0
mov edx, 0x50
mov rcx, rbx
call fcn.1800c22ac
mov rcx, qword [0x180173c40]
mov rax, qword [rcx]
call qword [rax + 0xc0]
mov qword [0x180173c48], rax
test rax, rax
jne 0x180034edc
mov qword [0x180173c50], rax
jmp 0x180034f0e
mov rax, qword [0x180173c40]
mov rbx, qword [rax + 0x4e8]
test rbx, rbx
je 0x180034f0e
call fcn.1800ae6e0
test al, al
jne 0x180034f0e
lea r8, [0x180174848]
mov rcx, rbx
lea rdx, str._sEjected_
call fcn.1800b9bb0
mov eax, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800c2730
add rsp, 0x50
pop rbx
ret
Function at 0x1800363f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
cmp dword [0x1801731f4], 0
lea rbx, [0x1801731f0]
mov r10d, edx
mov r11, rcx
jne 0x1800364c4
xor edx, edx
mov r9, rbx
nop dword [rax]
nop dword [rax + rax]
mov r8d, edx
lea r9, [r9 + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r9 - 4], eax
cmp edx, 0x100
jb 0x180036420
movzx r9d, byte [r11]
lea r8, [r11 + 1]
not r10d
mov eax, r10d
test r9b, r9b
je 0x180036506
cmp r9b, 0x23
jne 0x1800364ea
cmp byte [r8], r9b
jne 0x1800364ea
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800364d7
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180067f80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov r12, r8
mov r14, rdx
mov rbp, rcx
mov qword [rsp + 0xe8], rdx
mov rsi, rdx
lea r15, [r8 - 1]
sar r15, 1
cmp rdx, r15
jge 0x1800680dc
add rsi, rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0xf0], rax
lea rdi, [rsi + rsi*2]
shl rdi, 4
add rdi, rbp
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180002290
movzx eax, byte [rdi + 0x50]
mov byte [rsp + 0x58], al
mov rax, qword [rdi + 0x58]
mov qword [rsp + 0x60], rax
lea rdx, [rdi + 0x60]
lea rcx, [rsp + 0x68]
call fcn.180002290
movzx eax, byte [rdi + 0x80]
cmp al, byte [rsp + 0x58]
setb bl
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x180068056
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068051
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180068163
call fcn.1800c22ac
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x180068093
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006808e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180068163
call fcn.1800c22ac
movzx eax, bl
xor rax, 1
inc rax
add rsi, rax
lea rdi, [rsi + rsi*2]
shl rdi, 4
add rdi, rbp
lea rbx, [r14 + r14*2]
shl rbx, 4
add rbx, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.180023460
movzx eax, byte [rdi + 0x20]
mov byte [rbx + 0x20], al
mov rax, qword [rdi + 0x28]
mov qword [rbx + 0x28], rax
mov r14, rsi
cmp rsi, r15
jl 0x180067fc0
cmp rsi, r15
jne 0x18006811f
test r12b, 1
jne 0x18006811f
lea rdi, [r12 + r12*2]
shl rdi, 4
lea rbx, [r14 + r14*2]
shl rbx, 4
add rbx, rbp
lea rdx, [rbp - 0x30]
add rdx, rdi
mov rcx, rbx
call fcn.180023460
movzx eax, byte [rdi + rbp - 0x10]
mov byte [rbx + 0x20], al
mov rax, qword [rdi + rbp - 8]
mov qword [rbx + 0x28], rax
lea r14, [r12 - 1]
movzx eax, byte [rsp + 0x100]
mov byte [rsp + 0x100], al
mov r9, qword [rsp + 0xf8]
mov r8, qword [rsp + 0xe8]
mov rdx, r14
mov rcx, rbp
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.180068170
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180069610
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x18016ffc0]
xor rax, rsp
mov qword [rbp - 0x10], rax
movsxd r9, dword [rcx + 0x20]
mov r10, rcx
cmp r9d, 6
ja case.0x18006964a.5
lea rcx, [0x180000000]
mov edx, dword [rcx + r9*4 + 0x69830]
add rdx, rcx
jmp rdx
mov rax, qword [r10 + 0x48]
mov r8, qword [r10 + 0x28]
mov rcx, qword [rax + 0x10]
sub rcx, qword [rax + 8]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
lea rcx, [rbp - 0x30]
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rax, rdx
dec eax
cmp dword [r8], eax
mov dword [rbp - 0x30], eax
cmovl rcx, r8
xor edx, edx
mov eax, dword [rcx]
test eax, eax
cmovg edx, eax
mov dword [r8], edx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800c2730
add rsp, 0x50
pop rbp
ret
mov r9, qword [r10 + 0x28]
mov rcx, qword [r10 + 0x40]
mov rax, qword [r10 + 0x38]
mov rdx, qword [rcx]
cmp qword [r9], rdx
mov r8, qword [rax]
cmovl rdx, qword [r9]
cmp r8, rdx
cmovl r8, rdx
mov qword [r9], r8
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800c2730
add rsp, 0x50
pop rbp
ret
mov rcx, qword [r10 + 0x40]
mov rdx, qword [r10 + 0x28]
mov rax, qword [r10 + 0x38]
movsd xmm0, qword [rcx]
comisd xmm0, xmmword [rdx]
cmova rcx, rdx
movsd xmm0, qword [rcx]
comisd xmm0, xmmword [rax]
cmova rax, rcx
mov rax, qword [rax]
mov qword [rdx], rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800c2730
add rsp, 0x50
pop rbp
ret
mov rcx, qword [r10 + 0x40]
mov rdx, qword [r10 + 0x28]
mov rax, qword [r10 + 0x38]
movss xmm0, dword [rcx]
comiss xmm0, dword [rdx]
cmova rcx, rdx
movss xmm0, dword [rcx]
comiss xmm0, dword [rax]
cmova rax, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800c2730
add rsp, 0x50
pop rbp
ret
mov r9, qword [r10 + 0x28]
mov rcx, qword [r10 + 0x40]
mov rax, qword [r10 + 0x38]
mov edx, dword [rcx]
cmp dword [r9], edx
mov r8d, dword [rax]
cmovl edx, dword [r9]
cmp r8d, edx
cmovl r8d, edx
mov dword [r9], r8d
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800c2730
add rsp, 0x50
pop rbp
ret
mov byte [rbp - 0x28], 0xb2
lea r8, [rbp - 0x28]
mov byte [rbp - 0x27], 0xa6
xor eax, eax
mov byte [rbp - 0x26], 0xbb
xor edx, edx
mov byte [rbp - 0x25], 0xaf
mov byte [rbp - 0x24], 0xa8
mov byte [rbp - 0x23], 0xa3
mov byte [rbp - 0x22], 0xaa
mov byte [rbp - 0x21], 0xa0
mov byte [rbp - 0x20], 0xa6
mov byte [rbp - 0x1f], 0xaa
mov byte [rbp - 0x1e], 0xb4
mov byte [rbp - 0x1d], 0xb6
mov byte [rbp - 0x1c], 0xf3
mov byte [rbp - 0x1b], 0xa2
mov byte [rbp - 0x1a], 0xb4
mov byte [rbp - 0x19], 0xba
mov byte [rbp - 0x18], 0xa2
mov byte [rbp - 0x17], 0xbd
mov byte [rbp - 0x16], 0xf9
mov byte [rbp - 0x15], 0xff
mov byte [rbp - 0x14], 0xb2
mov byte [rbp - 0x13], al
movzx eax, byte [rbp - 0x28]
nop word [rax + rax]
movzx eax, byte [r8]
lea ecx, [rdx - 0x39]
xor cl, al
lea r8, [r8 + 1]
movsxd rax, edx
inc edx
mov byte [rbp + rax - 0x28], cl
cmp edx, 0x15
jb 0x1800697f0
mov edx, r9d
mov byte [rbp - 0x13], 0
lea rcx, [rbp - 0x28]
call fcn.1800be830
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800c2730
add rsp, 0x50
pop rbp
ret