Function at 0x14004d440
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xe8
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14004d8ab
test r8, r8
je 0x14004d8ab
lea rax, [rbp + 0xb]
mov qword [rbp + 0x27], rdx
mov qword [rsp + 0x128], rbx
lea r8, [rbp + 0xf]
xor ebx, ebx
mov qword [rbp + 0xf], 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 + 0x17], rbx
mov qword [rbp + 0x1f], rbx
mov dword [rbp + 0xb], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14004d5bb
mov dword [rbp - 0x69], 0xc5e3c596
mov ecx, 0x3a33
mov dword [rbp - 0x65], 0xc5f0c592
mov dword [rbp - 0x61], 0xc5b3c597
mov dword [rbp - 0x5d], 0xc5b8c5ba
mov dword [rbp - 0x59], 0xc5b2c5b0
mov dword [rbp - 0x55], 0xc5acc5f7
mov dword [rbp - 0x51], 0xc5fac5b6
mov dword [rbp - 0x4d], 0xc5aec5af
mov dword [rbp - 0x49], 0xc5b0c5bc
mov dword [rbp - 0x45], 0xc58cc5ac
mov dword [rbp - 0x41], 0xc596c580
mov dword [rbp - 0x3d], 0xc5c4c586
mov dword [rbp - 0x39], 0xc58fc593
mov dword [rbp - 0x35], 0xc59cc595
mov dword [rbp - 0x31], 0xc58bc59c
mov dword [rbp - 0x2d], 0xc5ccc587
mov dword [rbp - 0x29], 0xc58ac58c
mov dword [rbp - 0x25], 0xc582c58b
mov dword [rbp - 0x21], 0xc581c594
mov dword [rbp - 0x1d], 0xc5d4c580
mov dword [rbp - 0x19], 0xc58ec5c5
mov word [rbp - 0x15], bx
mov byte [rbp - 0x13], 1
nop
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x69], ax
inc rbx
cmp rbx, 0x2a
jb 0x14004d570
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x69]
mov byte [rbp - 0x13], 0
call fcn.140054ba0
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, [0x140054d80]
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 0x14004d7c0
mov rdi, qword [rbp + 0x1f]
mov qword [rsp + 0xe0], r14
test rdi, rdi
je 0x14004d7e1
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 7]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x69]
xorps xmm0, xmm0
mov dword [rsp + 0x28], ebx
mov r9d, 0x30
mov qword [rsp + 0x20], rbx
mov edx, 0x80862007
mov qword [rbp - 0x51], rbx
mov rcx, rsi
mov qword [rbp - 0x41], recv
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x69], 0x19
mov qword [rbp - 0x49], rdi
mov dword [rbp + 7], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14004d7e1
mov r14, qword [rbp - 0x51]
test r14, r14
je 0x14004d7e1
mov r9d, recv
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.14004d3a0
mov qword [rsp + 0x38], rbx
lea r8, [rbp - 0x69]
movzx r15d, al
mov qword [rbp - 0x49], rbx
lea rax, [rbp + 7]
mov qword [rbp - 0x41], recv
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 - 0x69], 0x1a
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r14
mov dword [rbp + 7], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14004d7b4
mov dword [rbp - 0x69], 0xc5efc596
mov ecx, 0x3a33
mov dword [rbp - 0x65], 0xc5f0c592
mov dword [rbp - 0x61], 0xc5b3c597
mov dword [rbp - 0x5d], 0xc5b8c5ba
mov dword [rbp - 0x59], 0xc5b2c5b0
mov dword [rbp - 0x55], 0xc5acc5f7
mov dword [rbp - 0x51], 0xc5fac5b6
mov dword [rbp - 0x4d], 0xc5b2c5ae
mov dword [rbp - 0x49], 0xc5bfc5b0
mov dword [rbp - 0x45], 0xc5c0c5af
mov dword [rbp - 0x41], 0xc5adc5a8
mov dword [rbp - 0x3d], 0xc597c5c3
mov dword [rbp - 0x39], 0xc587c595
mov dword [rbp - 0x35], 0xc58dc584
mov dword [rbp - 0x31], 0xc585c5c9
mov dword [rbp - 0x2d], 0xc5ccc58d
mov dword [rbp - 0x29], 0xc586c59d
mov dword [rbp - 0x25], 0xc583c596
mov dword [rbp - 0x21], 0xc591c598
mov dword [rbp - 0x1d], 0xc598c592
mov dword [rbp - 0x19], 0xc597c5d5
mov dword [rbp - 0x15], 0xc59cc593
mov dword [rbp - 0x11], 0xc59fc58b
mov dword [rbp - 0xd], 0xc58fc588
mov dword [rbp - 9], 0xc5cec5dd
mov dword [rbp - 5], 0xc587
mov byte [rbp - 1], 1
nop dword [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x69], ax
inc rbx
cmp rbx, 0x33
jb 0x14004d770
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x69]
mov byte [rbp - 1], 0
call fcn.140054ba0
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, [0x140054d80]
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 + 0xe0]
mov rbx, qword [rsp + 0x128]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006cad0
add rsp, 0xe8
pop r15
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x69], 0xc5e3c596
mov ecx, 0x3a33
mov dword [rbp - 0x65], 0xc5f0c592
mov dword [rbp - 0x61], 0xc5b3c597
mov dword [rbp - 0x5d], 0xc5b8c5ba
mov dword [rbp - 0x59], 0xc5b2c5b0
mov dword [rbp - 0x55], 0xc5acc5f7
mov dword [rbp - 0x51], 0xc5fac5b6
mov dword [rbp - 0x4d], 0xc5bdc5b6
mov dword [rbp - 0x49], 0xc5fec5ad
mov dword [rbp - 0x45], 0xc5afc596
mov dword [rbp - 0x41], 0xc591c5c1
mov dword [rbp - 0x3d], 0xc585c593
mov dword [rbp - 0x39], 0xc583c586
mov dword [rbp - 0x35], 0xc587c5c7
mov dword [rbp - 0x31], 0xc5cac58f
mov dword [rbp - 0x2d], 0xc594c5db
mov word [rbp - 0x29], bx
mov byte [rbp - 0x27], 1
nop
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x69], ax
inc rbx
cmp rbx, 0x20
jb 0x14004d860
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x69]
mov byte [rbp - 0x27], 0
call fcn.140054ba0
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, [0x140054d80]
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 0x14004d7b8
xor al, al
jmp 0x14004d7c8