joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004560
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1118
call fcn.180047df0
sub rsp, rax
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x1080], xmm14
movdqa xmmword [rbp + 0x1070], xmm13
movdqa xmmword [rbp + 0x1060], xmm12
movdqa xmmword [rbp + 0x1050], xmm11
movdqa xmmword [rbp + 0x1040], xmm10
movdqa xmmword [rbp + 0x1030], xmm9
movdqa xmmword [rbp + 0x1020], xmm8
movdqa xmmword [rbp + 0x1010], xmm7
movdqa xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xfe8], 0xfffffffffffffffe
mov r12, rcx
mov rsi, qword [0x18005c460]
cmp byte [0x18005dbdc], 0
jne 0x18000468a
movabs rax, 0x427d7ab6b516ea64
add rax, rsi
movabs rcx, 0x427d7ab6b516ea82
add rcx, rsi
xor edx, edx
lea r8, [0x18005dbd4]
nop word cs:[rax + rax]
movzx r9d, byte [rcx + rdx]
movzx r10d, byte [rax + rdx]
mov r11d, r10d
and r11b, 0x47
mov ebx, r10d
and bl, 0xb8
xor r11b, 0xd7
mov edi, r10d
and dil, 0x28
xor bl, 0x6f
and bl, r11b
mov r11d, r10d
xor r11b, 0xb8
xor r10b, 0x47
or r10b, r11b
not r10b
or r10b, dil
or r10b, bl
mov r11d, r9d
xor r11b, 0xb8
or r11b, r10b
not r10b
xor r9b, 0x47
or r9b, r10b
xor r11b, r9b
mov byte [rdx + r8], r11b
inc rdx
cmp rdx, 8
jne 0x180004620
mov byte [0x18005dbdc], 1
lea rcx, [0x18005dbd4]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
cmp byte [0x18005dbea], 0
jne 0x180004734
movabs rax, 0x427d7ab6b516eaa9
add rax, rsi
movabs rcx, 0x427d7ab6b516eabc
add rcx, rsi
xor edx, edx
lea r8, [0x18005dbdd]
nop word [rax + rax]
movzx r9d, byte [rcx + rdx]
movzx r10d, byte [rax + rdx]
mov r11d, r10d
not r11b
or r11b, r9b
not r9b
mov edi, r9d
xor dil, r10b
or r9b, r10b
mov r10d, r9d
mov r14d, r11d
mov r15d, r9d
and dil, r11b
xor r9b, r11b
xor r11b, 0x68
xor r10b, 0x68
xor r14b, 0x97
and r14b, r10b
xor r15b, 0x97
and r15b, r11b
or r15b, r14b
or r9b, dil
not r9b
or r9b, r15b
mov byte [rdx + r8], r9b
inc rdx
cmp rdx, 0xd
jne 0x1800046d0
mov byte [0x18005dbea], 1
lea rcx, [0x18005dbdd]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, qword [0x18005c478]
movabs rdx, 0x427d7ab6b516ea27
add rdx, rcx
movabs r8, 0x427d7ab6b516e8df
add r8, rcx
test rbx, rbx
cmovne r8, rdx
movabs rdx, 0x6ebfcf84b6e992ce
mov r8, qword [r8]
add r8, rdx
jmp r8
Function at 0x180015ce0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov rax, rcx
cmp byte [0x18005e069], 0
jne 0x180015f4e
mov rcx, qword [0x18005c6b8]
movabs r9, 0x2e3b8fff31feb3e5
add r9, rcx
movabs r10, 0x2e3b8fff31feb3fe
add r10, rcx
movabs r8, 0x2e3b8fff31feb413
add r8, rcx
lea rdx, [0x18005e054]
cmp r8, rdx
setbe r11b
lea r8, [0x18005e069]
cmp r9, r8
setae r8b
or r8b, r11b
cmp r8b, 1
jne 0x180015e95
movss xmm2, dword [r10]
movss xmm3, dword [r9]
movaps xmm0, xmmword [str.]
movaps xmm4, xmm2
xorps xmm4, xmm0
movaps xmm5, xmm3
xorps xmm5, xmm0
movaps xmm1, xmmword [0x18004dcd0]
xorps xmm2, xmm1
orps xmm2, xmm5
xorps xmm3, xmm1
orps xmm3, xmm4
xorps xmm3, xmm2
movss dword [0x18005e054], xmm3
movabs r11, 0x2e3b8fff31feb402
movss xmm2, dword [rcx + r11]
movabs r11, 0x2e3b8fff31feb3e9
movss xmm3, dword [rcx + r11]
movaps xmm4, xmm2
xorps xmm4, xmm0
movaps xmm5, xmm3
xorps xmm5, xmm0
xorps xmm2, xmm1
orps xmm2, xmm5
xorps xmm3, xmm1
orps xmm3, xmm4
xorps xmm3, xmm2
movss dword [0x18005e058], xmm3
movabs r11, 0x2e3b8fff31feb406
movss xmm2, dword [rcx + r11]
movabs r11, 0x2e3b8fff31feb3ed
movss xmm3, dword [rcx + r11]
movaps xmm4, xmm2
xorps xmm4, xmm0
movaps xmm5, xmm3
xorps xmm5, xmm0
xorps xmm2, xmm1
orps xmm2, xmm5
xorps xmm3, xmm1
orps xmm3, xmm4
xorps xmm3, xmm2
movss dword [0x18005e05c], xmm3
movabs r11, 0x2e3b8fff31feb40a
movss xmm2, dword [rcx + r11]
movabs r11, 0x2e3b8fff31feb3f1
movss xmm3, dword [rcx + r11]
movaps xmm4, xmm2
xorps xmm4, xmm0
movaps xmm5, xmm3
xorps xmm5, xmm0
xorps xmm2, xmm1
orps xmm2, xmm5
xorps xmm3, xmm1
orps xmm3, xmm4
xorps xmm3, xmm2
movss dword [0x18005e060], xmm3
movabs r11, 0x2e3b8fff31feb40e
movss xmm2, dword [rcx + r11]
movabs r11, 0x2e3b8fff31feb3f5
movss xmm3, dword [rcx + r11]
movaps xmm4, xmm2
xorps xmm4, xmm0
xorps xmm0, xmm3
xorps xmm2, xmm1
orps xmm2, xmm0
xorps xmm3, xmm1
orps xmm3, xmm4
xorps xmm3, xmm2
movss dword [0x18005e064], xmm3
mov r11d, 0x14
jmp 0x180015e98
xor r11d, r11d
movzx r10d, byte [r10 + r11]
movzx r9d, byte [r9 + r11]
mov ebx, r10d
xor bl, 0x27
mov esi, r9d
xor sil, 0x27
xor r10b, 0xd8
or r10b, sil
xor r9b, 0xd8
or r9b, bl
xor r9b, r10b
mov byte [r11 + rdx], r9b
test r8b, r8b
jne 0x180015f47
movabs r8, 0x2e3b8fff31feb400
add rcx, r8
nop word cs:[rax + rax]
movzx r8d, byte [rcx + r11 - 0x1a]
movzx r9d, byte [rcx + r11 - 1]
mov r10d, r9d
xor r10b, 0x27
mov ebx, r8d
xor bl, 0x27
xor r9b, 0xd8
or r9b, bl
xor r8b, 0xd8
or r8b, r10b
xor r8b, r9b
mov byte [r11 + rdx + 1], r8b
movzx r8d, byte [rcx + r11 - 0x19]
movzx r9d, byte [rcx + r11]
mov r10d, r9d
xor r10b, 0x27
mov ebx, r8d
xor bl, 0x27
xor r9b, 0xd8
or r9b, bl
xor r8b, 0xd8
or r8b, r10b
xor r8b, r9b
mov byte [r11 + rdx + 2], r8b
add r11, 2
cmp r11, 0x14
jne 0x180015ee0
mov byte [0x18005e069], 1
mov qword [rax + 0x10], 0
lea rcx, [0x18005e054]
mov qword [rax + 8], rcx
lea rcx, vtable.std::bad_array_new_length.0
mov qword [rax], rcx
pop rbx
pop rsi
ret
Function at 0x18001bbf0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x18005db00]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x18001bd1d
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x18001bc4d
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x18001bc4d
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x18001bd62
cmp qword [rdi + 0x80], 0
je 0x18001bd21
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x18001bc87
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x18001bd28
mov byte [rsp + 0x5f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x5f]
mov r8, rbx
call qword [r10 + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x18001bd41
mov r15, qword [rsp + 0x48]
sub r15, r14
je 0x18001bd0d
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x18001bd60
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rbx
mov eax, 0xffffffff
jmp 0x18001bd5b
xor esi, esi
jmp 0x18001bd62
mov esi, 0xffffffff
jmp 0x18001bd62
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x18001bd62
cmp eax, 3
jne 0x18001bd60
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180047e50
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x18001c1d0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x18001c20b
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x18001c212
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
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]
xor esi, esi
jmp 0x18001c315
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18001c265
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x18001c265
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x18001c276
jmp 0x18001c312
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x18001c312
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x18001c2a2
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop dword [rax]
cmp r14, 0x1000
jb 0x18001c2ed
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call r15
add rdi, rax
mov rcx, rax
sub rcx, r14
mov r14, rcx
neg r14
cmp rax, 0xfff
je 0x18001c2b0
add rsi, rcx
jmp 0x18001c315
test r14, r14
je 0x18001c30f
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r14, rax
jmp 0x18001c312
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x18001c330
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x18001c366
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
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 [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x18001c3b3
test rsi, rsi
jle 0x18001c3b3
mov rax, qword [rbx + 0x58]
mov r15d, dword [rax]
test r15d, r15d
jle 0x18001c3b3
cmp r15, rsi
cmovae r15, rsi
mov rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x58]
sub dword [rax], r15d
mov rax, qword [rbx + 0x40]
add qword [rax], r15
test r14, r14
jg 0x18001c3bb
jmp 0x18001c3db
mov r14, rsi
test r14, r14
jle 0x18001c3db
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x18001c3db
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub r14, rax
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x18001c7d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x18005db00]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x18001c87a
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x18001c87a
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18001c878
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x18001c891
cmp eax, 1
je 0x18001c847
test eax, eax
jne 0x18001c878
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x18001c86e
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x18001c878
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x18001c87a
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180047e50
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x18001c87a
Function at 0x18001f7a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
mov eax, 0x84222325
sub r8, rdx
je 0x18001f859
xor ecx, ecx
nop word cs:[rax + rax]
movzx r9d, byte [rdx + rcx]
mov r10d, r9d
and r10d, 8
mov esi, r9d
and esi, 0xa
xor esi, 0x841840a
mov r11d, r9d
xor r11d, 0x500e01f5
or r11d, esi
mov esi, r11d
xor esi, 0x584f85ff
mov edi, r11d
and edi, 0x584004fd
xor r11d, 0x83
and r11d, esi
and esi, 2
or esi, edi
mov edi, esi
xor edi, 0xa7bffb02
xor esi, 0x669a681
and esi, edi
or r11d, esi
or edi, r9d
and r9d, 2
or r10d, 0x30540607
or r9d, 0xc11c0271
xor r9d, r10d
xor r9d, r11d
not edi
and edi, 0x840040a
or edi, r9d
xor edi, eax
xor edi, 0xaf61a60a
imul eax, edi, 0x1b3
inc rcx
cmp r8, rcx
jne 0x18001f7c0
pop rdi
pop rsi
ret

Function at 0x180022790
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebp, edx
mov rsi, rcx
mov edi, 1
cmp edx, 0x3a
je 0x1800227bf
xor edi, edi
cmp ebp, 0x3d
je 0x1800227bf
xor eax, eax
cmp ebp, 0x2e
mov edi, 0xe
cmove edi, eax
mov rbx, qword [rsi]
xor r14d, r14d
movabs r15, 0x4800800000000001
jmp 0x1800227eb
mov rcx, rsi
call fcn.180020750
inc r14
mov eax, dword [rsi + 0x7c]
lea ecx, [rax + 1]
cmp ecx, 0x3e
ja 0x1800227e0
bt r15, rcx
jae 0x1800227e0
cmp eax, ebp
jne 0x1800228ab
cmp ebp, 0x3a
jne 0x180022842
mov r8, qword [rsi]
mov rcx, qword [rsi + 0x68]
mov r9d, dword [rsi + 0x70]
shr r9d, 8
and r9d, 1
mov rdx, rbx
call fcn.180021910
test ax, ax
je 0x1800228b2
lea rcx, [rsi + 0x40]
mov rdx, qword [rsi + 0x48]
mov r8d, eax
xor r9d, r9d
call fcn.180021c90
jmp 0x180022889
cmp ebp, 0x2e
je 0x180022865
cmp ebp, 0x3d
jne 0x180022889
mov r8, qword [rsi]
cmp rbx, r8
je 0x1800228bc
lea rcx, [rsi + 0x40]
mov rdx, rbx
mov r9, r14
call fcn.1800228d0
jmp 0x180022889
mov r8, qword [rsi]
cmp rbx, r8
je 0x1800228bc
lea rcx, [rsi + 0x40]
mov rax, qword [rsi + 0x48]
add rax, 0x20
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov r9, r14
call fcn.180022dd0
mov rcx, rsi
call fcn.180020750
cmp dword [rsi + 0x7c], 0x5d
jne 0x1800228ab
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.180020750
mov ecx, edi
call sub.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_
xor ecx, ecx
call sub.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_
int3
Function at 0x180023630
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [rcx]
mov rsi, qword [rdx]
sub rsi, rax
shl rsi, 3
add rsi, qword [rdx + 8]
test r8, r8
je 0x180023824
mov rdi, r8
mov r14, rcx
mov rcx, qword [rcx + 0x18]
movabs rdx, 0x7fffffffffffffff
xor rdx, rcx
cmp rdx, r8
jb 0x180023838
mov dword [rsp + 0x28], 0
lea rdx, [rdi + rcx]
add rdx, 0x1f
shr rdx, 5
mov rbx, qword [r14 + 8]
mov rcx, rbx
sub rcx, rax
sar rcx, 2
mov r15, rdx
sub r15, rcx
jae 0x1800236aa
lea rax, [rax + rdx*4]
jmp 0x1800236e1
jbe 0x1800236e5
mov rcx, qword [r14 + 0x10]
sub rcx, rax
sar rcx, 2
cmp rcx, rdx
jae 0x1800236cb
lea r8, [rsp + 0x28]
mov rcx, r14
call fcn.180023840
jmp 0x1800236e5
lea r8, [r15*4]
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + r15*4]
mov qword [r14 + 8], rax
mov r8, qword [r14 + 0x18]
test r8, r8
je 0x180023820
mov rax, qword [r14]
mov r9, r8
shr r9, 5
movabs rdx, 0xf800000000000000
lea rcx, [r9 + rdx]
test r8, r8
cmovns rcx, r9
mov ebx, r8d
and ebx, 0x1f
add rdi, r8
mov r8, rsi
shr r8, 5
or rdx, r8
test rsi, rsi
cmovns rdx, r8
mov qword [r14 + 0x18], rdi
mov r14d, esi
and r14d, 0x1f
cmp rdx, rcx
jne 0x180023744
cmp r14, rbx
je 0x180023824
lea r15, [rax + rdx*4]
mov r12d, edi
and r12d, 0x1f
mov rdx, rdi
shr rdx, 5
movabs r8, 0x3800000000000000
or r8, rdx
test rdi, rdi
cmovns r8, rdx
lea rdi, [rax + rcx*4]
lea r13, [rax + r8*4]
mov ebp, 0x1f
nop word [rax + rax]
cmp r12, 1
mov eax, 0
sbb rax, rax
sub r12, 1
cmovb r12, rbp
cmp rbx, 1
mov edx, 0
sbb rdx, rdx
sub rbx, 1
cmovb rbx, rbp
lea r13, [r13 + rax*4]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r12
mov eax, 1
mov ecx, ebx
shl eax, cl
and eax, dword [rdi + rdx*4]
lea rdi, [rdi + rdx*4]
mov ecx, eax
not ecx
mov edx, ecx
and edx, 0xa0230470
mov r8d, eax
and r8d, 0x45c88180
and eax, 0x10107008
and ecx, 0xa040a07
add edx, r8d
add edx, 0x10107008
add eax, ecx
add eax, 0xa0230470
xor eax, edx
cmp eax, 0x1a147a0f
setne dl
lea rcx, [rsp + 0x28]
call fcn.1800232f0
cmp r15, rdi
jne 0x180023780
cmp r14, rbx
jne 0x180023780
jmp 0x180023824
mov qword [r14 + 0x18], rdi
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.18001ff50
int3
Function at 0x180029e30
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov edi, r9d
cmp r8, 2
jb 0x18002a059
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov r15d, 1
nop word [rax + rax]
mov rcx, rsi
call fcn.18002c280
cmp byte [r14 + r15], al
jne 0x180029e7b
inc r15
cmp rbx, r15
jne 0x180029e60
jmp 0x18002a059
cmp byte [0x18005e2d0], 0
jne 0x18002a03f
mov rdx, qword [0x18005ca08]
movabs rax, 0x82668535241ac904
add rax, rdx
movabs rcx, 0x82668535241ac91a
add rcx, rdx
movabs r8, 0x82668535241ac92a
add r8, rdx
lea rdx, [0x18005e2c0]
cmp r8, rdx
jbe 0x180029f70
lea r8, [0x18005e2d0]
cmp rax, r8
jae 0x180029f70
xor r8d, r8d
nop dword [rax]
movzx r9d, byte [rcx + r8]
movzx r10d, byte [rax + r8]
mov r11d, r10d
and r11b, 0x44
mov ebx, r9d
and bl, 0x44
or bl, 0x88
and r9b, 0xbb
xor r9b, bl
xor r11b, 0x66
mov ebx, r10d
or bl, 0x44
and bl, r11b
mov r11d, r10d
and r11b, 0x99
or r11b, bl
mov ebx, r10d
xor bl, 0xbb
mov edi, r10d
xor dil, 0x44
or dil, bl
mov ebx, r11d
and bl, 0xfe
and r10b, 1
or r10b, bl
not dil
xor r10b, dil
and dil, r11b
or dil, r10b
mov r10d, edi
and r10b, 0xb0
or r10b, 0x45
and dil, 0x4f
xor dil, r9b
xor dil, r10b
xor dil, 0x89
mov byte [r8 + rdx], dil
inc r8
cmp r8, 0x10
jne 0x180029ee0
jmp 0x18002a038
movdqu xmm1, xmmword [rcx]
movdqu xmm3, xmmword [rax]
movdqa xmm0, xmmword [str.DDDDDDDDDDDDDDDD]
movdqa xmm4, xmm3
movdqa xmm2, xmm1
pand xmm2, xmm0
por xmm2, xmmword [0x18004de60]
pand xmm4, xmm0
pxor xmm4, xmmword [str.ffffffffffffffff]
movdqa xmm5, xmm3
por xmm5, xmm0
pand xmm5, xmm4
movdqa xmm4, xmmword [0x18004dd80]
pand xmm4, xmm3
por xmm4, xmm5
movdqa xmm5, xmmword [0x18004de70]
pand xmm1, xmm5
pxor xmm5, xmm3
pxor xmm0, xmm3
por xmm0, xmm5
movdqa xmm5, xmmword [0x18004de90]
pand xmm5, xmm4
pand xmm3, xmmword [0x18004dd10]
por xmm3, xmm5
pcmpeqd xmm5, xmm5
pxor xmm5, xmm0
pxor xmm5, xmm3
pandn xmm0, xmm4
por xmm0, xmm5
movdqa xmm3, xmmword [0x18004dea0]
pand xmm3, xmm0
por xmm3, xmmword [str.EEEEEEEEEEEEEEEEOOOOOOOOOOOOOOOO]
pxor xmm1, xmm2
pand xmm0, xmmword [0x18004dec0]
pxor xmm0, xmm1
pxor xmm0, xmm3
pxor xmm0, xmmword [0x18004ded0]
movdqa xmmword [0x18005e2c0], xmm0
mov byte [0x18005e2d0], 1
movabs rax, 0x82668535241aae82
add rax, qword [0x18005ca10]
mov qword [rsi + 0x70], rax
mov edi, 0xe
mov eax, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x180043500
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
cmp byte [0x18005dba6], 0
jne 0x1800435f8
xor eax, eax
lea rdx, [0x18005dba0]
nop word [rax + rax]
movzx r10d, byte [rcx + rax]
movzx esi, byte [rcx + rax + 0x13]
mov r11d, r10d
not r11b
mov ebx, esi
and bl, 0xf9
mov edi, esi
and dil, 6
mov r8d, r10d
and r8b, 6
lea r9d, [rdi + 0x11]
xor r9b, bl
xor bl, 0xf9
mov ebp, ebx
and bpl, 8
and sil, 0xf1
or sil, bpl
or sil, 4
xor sil, dil
xor sil, 0xf5
or bl, dil
not bl
or bl, sil
xor r9b, 0x17
mov esi, r9d
xor sil, bl
or r9b, bl
not r9b
or r9b, sil
mov esi, r11d
and sil, 0x30
mov ebx, r10d
and bl, 0xc9
or bl, sil
xor bl, 0x30
and bl, r11b
and r11b, 0x90
mov esi, r10d
and sil, 0x68
or sil, r11b
and r10b, 1
or r10b, 0x92
or sil, 3
xor sil, r10b
lea r10d, [r8 - 8]
xor r8b, 7
and r8b, sil
not sil
and r10b, sil
or r8b, r10b
mov r10d, r8d
and r10b, 0xd7
and sil, 0x28
or sil, r10b
xor sil, bl
and r8b, bl
or r8b, sil
xor r8b, r9b
mov byte [rax + rdx], r8b
inc rax
cmp rax, 6
jne 0x180043520
mov byte [0x18005dba6], 1
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x180043730
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
cmp byte [0x18005dbba], 0
jne 0x180043852
xor eax, eax
lea rdx, [0x18005dbb6]
nop dword [rax]
movzx r8d, byte [rcx + rax]
movzx r11d, byte [rcx + rax + 0x1d]
mov r9d, r11d
not r9b
mov esi, r11d
or sil, 7
mov ebx, esi
not bl
and r9b, 0xf8
mov edi, r11d
xor dil, 7
or dil, r9b
mov r9d, r8d
xor r9b, 3
and r9b, r8b
and sil, 0xed
mov r10d, ebx
and r10b, 0x10
or r10b, sil
mov esi, r10d
xor sil, 0x12
xor r10b, 0xa1
and r10b, sil
and bl, 0xb0
mov ebp, r10d
and bpl, bl
mov r14d, edi
and r14b, 0xb2
and r11b, 1
or r11b, r14b
or sil, dil
and dil, 0x4c
or r11b, 0x44
xor r11b, dil
and r10b, 0xf8
xor r10b, bl
or r10b, bpl
xor r10b, r11b
mov r11d, esi
xor r11b, r10b
xor r10b, 8
xor r11b, 0xd
or r10b, sil
not r10b
or r10b, r11b
mov r11d, r8d
and r11b, 0x40
mov ebx, r8d
and bl, 3
mov esi, r9d
and sil, 7
xor sil, bl
mov ebx, r8d
and bl, 0xb8
xor bl, 0xbb
and r9b, 3
xor sil, 0x43
or r9b, sil
xor r11b, 0x44
and r11b, sil
not r9b
and r9b, bl
mov ebx, r8d
xor bl, 7
xor r8b, 0xf8
or r8b, bl
not r8b
or r8b, r11b
or r8b, r9b
xor r8b, r10b
mov byte [rax + rdx], r8b
inc rax
cmp rax, 4
jne 0x180043750
mov byte [0x18005dbba], 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x180043980
Capabilities:
Encode data using xor

Disassembly:
push rbx
cmp byte [0x18005e0aa], 0
jne 0x1800439f7
xor r8d, r8d
movabs r9, 0x4924924924924925
lea r10, [0x18005e083]
nop
mov rax, r8
shr rax, 2
mul r9
shr rdx, 1
imul rax, rdx, 0xffffffffffffffe4
lea rdx, [rcx + r8]
movzx r11d, byte [rcx + r8 + 0x1c]
movzx eax, byte [rax + rdx]
mov edx, r11d
not dl
and dl, al
not al
and al, r11b
mov r11d, edx
xor r11b, 0x59
mov ebx, eax
xor bl, 0x59
xor dl, 0xa6
and dl, bl
xor al, 0xa6
and al, r11b
or al, dl
mov byte [r8 + r10], al
inc r8
cmp r8, 0x27
jne 0x1800439a0
mov byte [0x18005e0aa], 1
pop rbx
ret
Function at 0x180043a30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0x18005e0e0], 0
jne 0x180043b8b
lea rdx, [rcx + 0x36]
lea rax, [0x18005e0c8]
cmp rdx, rax
jbe 0x180043ac3
lea rdx, [0x18005e0e0]
cmp rcx, rdx
jae 0x180043ac3
xor edx, edx
nop dword [rax + rax]
movzx r8d, byte [rcx + rdx]
movzx r9d, byte [rcx + rdx + 0x1e]
mov r10d, r8d
xor r10b, 0x9b
xor r8b, r9b
xor r9b, 0x64
and r8b, r10b
or r9b, r10b
not r9b
or r9b, r8b
mov byte [rdx + rax], r9b
movzx r8d, byte [rcx + rdx + 1]
movzx r9d, byte [rcx + rdx + 0x1f]
mov r10d, r8d
xor r10b, 0x9b
xor r8b, r9b
xor r9b, 0x64
and r8b, r10b
or r9b, r10b
not r9b
or r9b, r8b
mov byte [rdx + rax + 1], r9b
add rdx, 2
cmp rdx, 0x18
jne 0x180043a60
jmp 0x180043b84
mov rax, qword [rcx]
mov rdx, qword [rcx + 0x1e]
movq xmm3, rdx
movq xmm2, rax
movdqa xmm0, xmmword [0x18004e040]
pxor xmm2, xmm0
movdqa xmm1, xmmword [str.dddddddd]
pxor xmm3, xmm1
xor rax, rdx
movq xmm4, rax
pand xmm4, xmm2
por xmm3, xmm2
pcmpeqd xmm2, xmm2
pxor xmm3, xmm2
por xmm3, xmm4
movq qword [0x18005e0c8], xmm3
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x26]
movq xmm3, rdx
movq xmm4, rax
pxor xmm4, xmm0
pxor xmm3, xmm1
xor rax, rdx
movq xmm5, rax
pand xmm5, xmm4
por xmm3, xmm4
pxor xmm3, xmm2
por xmm3, xmm5
movq qword [0x18005e0d0], xmm3
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x2e]
movq xmm3, rcx
movq xmm4, rax
pxor xmm4, xmm0
pxor xmm3, xmm1
xor rax, rcx
movq xmm0, rax
pand xmm0, xmm4
por xmm3, xmm4
pxor xmm3, xmm2
por xmm3, xmm0
movq qword [0x18005e0d8], xmm3
mov byte [0x18005e0e0], 1
ret

Function at 0x180043b90
Capabilities:
Encode data using xor

Disassembly:
push rbx
cmp byte [0x18005e12a], 0
jne 0x180043c13
xor r8d, r8d
movabs r9, 0x2e8ba2e8ba2e8ba3
lea r10, [0x18005e112]
nop
mov rax, r8
mul r9
shr rdx, 2
imul rax, rdx, 0xffffffffffffffea
lea rdx, [rcx + r8]
movzx r11d, byte [rcx + r8 + 0x16]
movzx eax, byte [rax + rdx]
mov edx, r11d
and dl, 0xad
or dl, 0x50
mov ebx, r11d
and bl, 0x52
xor bl, dl
xor bl, 0xaf
and bl, al
not al
and al, r11b
mov edx, ebx
xor dl, 0x6f
mov r11d, eax
xor r11b, 0x6f
xor bl, 0x90
and bl, r11b
xor al, 0x90
and al, dl
or al, bl
mov byte [r8 + r10], al
inc r8
cmp r8, 0x18
jne 0x180043bb0
mov byte [0x18005e12a], 1
pop rbx
ret