Function at 0x14004d400
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xe8
mov rax, qword [0x140092010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14004d868
test r8, r8
je 0x14004d868
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 0x14004d578
mov dword [rbp - 0x69], 0x17d217a5
mov ecx, 0x17fe
mov dword [rbp - 0x65], 0x1821185d
mov dword [rbp - 0x61], 0x18621844
mov dword [rbp - 0x5d], 0x1869186d
mov dword [rbp - 0x59], 0x18631863
mov dword [rbp - 0x55], 0x187d1828
mov dword [rbp - 0x51], 0x182b1865
mov dword [rbp - 0x4d], 0x187f1878
mov dword [rbp - 0x49], 0x1861186f
mov dword [rbp - 0x45], 0x187d1863
mov dword [rbp - 0x41], 0x18671873
mov dword [rbp - 0x3d], 0x18351871
mov dword [rbp - 0x39], 0x187e1860
mov dword [rbp - 0x35], 0x186d186a
mov dword [rbp - 0x31], 0x187a186f
mov dword [rbp - 0x2d], 0x183d1870
mov dword [rbp - 0x29], 0x187b187f
mov dword [rbp - 0x25], 0x18531844
mov dword [rbp - 0x21], 0x18501847
mov dword [rbp - 0x1d], 0x18051857
mov dword [rbp - 0x19], 0x185f1816
mov word [rbp - 0x15], bx
mov byte [rbp - 0x13], 1
nop
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x69], ax
inc rbx
cmp rbx, 0x2a
jb 0x14004d530
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.140054ad0
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, [0x140054cb0]
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 0x14004d77d
mov rdi, qword [rbp + 0x1f]
mov qword [rsp + 0xe0], r14
test rdi, rdi
je 0x14004d79e
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 0x14004d79e
mov r14, qword [rbp - 0x51]
test r14, r14
je 0x14004d79e
mov r9d, recv
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.14004d360
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 0x14004d771
mov dword [rbp - 0x69], 0x17de17a5
mov ecx, 0x17fe
mov dword [rbp - 0x65], 0x1821185d
mov dword [rbp - 0x61], 0x18621844
mov dword [rbp - 0x5d], 0x1869186d
mov dword [rbp - 0x59], 0x18631863
mov dword [rbp - 0x55], 0x187d1828
mov dword [rbp - 0x51], 0x182b1865
mov dword [rbp - 0x4d], 0x18631879
mov dword [rbp - 0x49], 0x186e1863
mov dword [rbp - 0x45], 0x18311860
mov dword [rbp - 0x41], 0x185c185b
mov dword [rbp - 0x3d], 0x18661834
mov dword [rbp - 0x39], 0x18761866
mov dword [rbp - 0x35], 0x187c187b
mov dword [rbp - 0x31], 0x1874183a
mov dword [rbp - 0x2d], 0x183d187a
mov dword [rbp - 0x29], 0x1877186e
mov dword [rbp - 0x25], 0x18521859
mov dword [rbp - 0x21], 0x1840184b
mov dword [rbp - 0x1d], 0x18491845
mov dword [rbp - 0x19], 0x18461806
mov dword [rbp - 0x15], 0x184d184c
mov dword [rbp - 0x11], 0x184e1858
mov dword [rbp - 0xd], 0x185e185f
mov dword [rbp - 9], 0x181f180e
mov dword [rbp - 5], 0x1848
mov byte [rbp - 1], 1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x69], ax
inc rbx
cmp rbx, 0x33
jb 0x14004d730
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.140054ad0
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, [0x140054cb0]
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.14006c830
add rsp, 0xe8
pop r15
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x69], 0x17d217a5
mov ecx, 0x17fe
mov dword [rbp - 0x65], 0x1821185d
mov dword [rbp - 0x61], 0x18621844
mov dword [rbp - 0x5d], 0x1869186d
mov dword [rbp - 0x59], 0x18631863
mov dword [rbp - 0x55], 0x187d1828
mov dword [rbp - 0x51], 0x182b1865
mov dword [rbp - 0x4d], 0x186c1861
mov dword [rbp - 0x49], 0x182f187e
mov dword [rbp - 0x45], 0x185e1859
mov dword [rbp - 0x41], 0x18601832
mov dword [rbp - 0x3d], 0x18741864
mov dword [rbp - 0x39], 0x18721875
mov dword [rbp - 0x35], 0x18761838
mov dword [rbp - 0x31], 0x183b187c
mov dword [rbp - 0x2d], 0x1865182c
mov word [rbp - 0x29], bx
mov byte [rbp - 0x27], 1
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x69], ax
inc rbx
cmp rbx, 0x20
jb 0x14004d820
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.140054ad0
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, [0x140054cb0]
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 0x14004d775
xor al, al
jmp 0x14004d785