Function at 0x140002ce0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x140026010]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov r15, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14000319b
test r8, r8
je 0x14000319b
lea rax, [rbp + 0x20]
mov qword [rbp + 0x40], rdx
mov qword [rsp + 0x198], rbx
lea r8, [rbp + 0x28]
xor ebx, ebx
mov qword [rbp + 0x28], 0x25
mov qword [rsp + 0x38], rbx
mov edx, 0x80862007
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
lea r9d, [rbx + 0x20]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rbx
mov dword [rbp + 0x20], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140002e5b
mov dword [rbp - 0x40], 0xce7ece09
mov ecx, 0x31ae
mov dword [rbp - 0x3c], 0xce75ce09
mov dword [rbp - 0x38], 0xce36ce10
mov dword [rbp - 0x34], 0xce35ce31
mov dword [rbp - 0x30], 0xce3fce3f
mov dword [rbp - 0x2c], 0xce29ce7c
mov dword [rbp - 0x28], 0xce7fce31
mov dword [rbp - 0x24], 0xce13ce14
mov dword [rbp - 0x20], 0xce0dce03
mov dword [rbp - 0x1c], 0xce09ce17
mov dword [rbp - 0x18], 0xce13ce07
mov dword [rbp - 0x14], 0xce49ce0d
mov dword [rbp - 0x10], 0xce02ce1c
mov dword [rbp - 0xc], 0xce19ce1e
mov dword [rbp - 8], 0xce0ece1b
mov dword [rbp - 4], 0xce51ce1c
mov dword [rbp], 0xce17ce13
mov dword [rbp + 4], 0xce07ce10
mov dword [rbp + 8], 0xce04ce13
mov dword [rbp + 0xc], 0xce59ce0b
mov dword [rbp + 0x10], 0xce03ce4a
mov word [rbp + 0x14], bx
mov byte [rbp + 0x16], 1
nop
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x40], ax
inc rbx
cmp rbx, 0x2a
jb 0x140002e10
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x40]
mov byte [rbp + 0x16], 0
call fcn.14000a700
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14000a8e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x1400030b1
mov rdi, qword [rbp + 0x38]
mov qword [rsp + 0x150], r14
test rdi, rdi
je 0x1400030d2
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x40]
xorps xmm0, xmm0
mov dword [rsp + 0x28], ebx
mov r9d, 0x30
mov qword [rsp + 0x20], rbx
mov edx, 0x80862007
mov qword [rbp - 0x28], rbx
mov rcx, rsi
mov qword [rbp - 0x18], 0xc
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x40], 0x19
mov qword [rbp - 0x20], rdi
mov dword [rbp - 0x50], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400030d2
mov r14, qword [rbp - 0x28]
test r14, r14
je 0x1400030d2
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x40]
mov dword [rsp + 0x28], ebx
mov r9d, 0x28
mov edx, 0x80862007
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x40], 0x33
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 0xc
mov dword [rbp - 0x50], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsp + 0x38], rbx
lea r8, [rbp - 0x40]
test eax, eax
mov qword [rbp - 0x20], rbx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], 0xc
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
mov dword [rsp + 0x28], ebx
mov r9d, 0x30
mov edx, 0x80862007
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x40], 0x1a
setne r15b
mov qword [rbp - 0x28], r14
movdqu xmmword [rbp - 0x38], xmm0
mov dword [rbp - 0x50], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400030a5
mov dword [rsp + 0x40], 0xce72ce09
mov ecx, 0x31ae
mov dword [rsp + 0x44], 0xce75ce09
mov dword [rsp + 0x48], 0xce36ce10
mov dword [rsp + 0x4c], 0xce35ce31
mov dword [rsp + 0x50], 0xce3fce3f
mov dword [rsp + 0x54], 0xce29ce7c
mov dword [rsp + 0x58], 0xce7fce31
mov dword [rsp + 0x5c], 0xce0fce15
mov dword [rsp + 0x60], 0xce02ce0f
mov dword [rsp + 0x64], 0xce45ce14
mov dword [rsp + 0x68], 0xce28ce2f
mov dword [rsp + 0x6c], 0xce1ace48
mov dword [rsp + 0x70], 0xce0ace1a
mov dword [rsp + 0x74], 0xce08ce0f
mov dword [rsp + 0x78], 0xce00ce4e
mov dword [rsp + 0x7c], 0xce51ce16
mov dword [rbp - 0x80], 0xce1bce02
mov dword [rbp - 0x7c], 0xce06ce0d
mov dword [rbp - 0x78], 0xce14ce1f
mov dword [rbp - 0x74], 0xce15ce19
mov dword [rbp - 0x70], 0xce1ace5a
mov dword [rbp - 0x6c], 0xce19ce18
mov dword [rbp - 0x68], 0xce1ace0c
mov dword [rbp - 0x64], 0xcef2cef3
mov dword [rbp - 0x60], 0xceb3cea2
mov dword [rbp - 0x5c], 0xcefc
mov byte [rbp - 0x58], 1
nop dword [rax]
nop dword [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x33
jb 0x140003060
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rsp + 0x40]
mov byte [rbp - 0x58], 0
call fcn.14000a700
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14000a8e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
movzx eax, r15b
mov r14, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.140015b50
add rsp, 0x158
pop r15
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x40], 0xce7ece09
mov ecx, 0x31ae
mov dword [rbp - 0x3c], 0xce75ce09
mov dword [rbp - 0x38], 0xce36ce10
mov dword [rbp - 0x34], 0xce35ce31
mov dword [rbp - 0x30], 0xce3fce3f
mov dword [rbp - 0x2c], 0xce29ce7c
mov dword [rbp - 0x28], 0xce7fce31
mov dword [rbp - 0x24], 0xce00ce0d
mov dword [rbp - 0x20], 0xce43ce12
mov dword [rbp - 0x1c], 0xce2ace2d
mov dword [rbp - 0x18], 0xce14ce46
mov dword [rbp - 0x14], 0xce08ce18
mov dword [rbp - 0x10], 0xce0ece09
mov dword [rbp - 0xc], 0xce02ce4c
mov dword [rbp - 8], 0xce4fce08
mov dword [rbp - 4], 0xce09ce40
mov word [rbp], bx
mov byte [rbp + 2], 1
nop
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x40], ax
inc rbx
cmp rbx, 0x20
jb 0x140003150
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x40]
mov byte [rbp + 2], 0
call fcn.14000a700
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14000a8e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x1400030a9
xor al, al
jmp 0x1400030b9