Function at 0x1400508a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140091010]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rsi, rcx
xor ebx, ebx
mov dword [rbp - 0x50], ebx
lea r9, [rbp - 0x50]
mov r8, qword [0x1401bc9a8]
call fcn.140051a60
mov r8d, dword [rbp - 0x50]
lea rcx, str.xxxxxx____xxxxx____xxx____xxxxx____x____xx_x
mov qword [rsp + 0x20], rcx
lea r9, [0x140084b78]
mov rdx, rax
mov rcx, rsi
call fcn.140051620
mov qword [0x1401bc928], rax
mov dword [rbp - 0x50], ebx
lea r9, [rbp - 0x50]
mov r8, qword [0x1401bc9a8]
mov rcx, rsi
call fcn.140051a60
mov r8d, dword [rbp - 0x50]
lea rcx, str.xxxxxx
mov qword [rsp + 0x20], rcx
lea r9, [0x140084bb0]
mov rdx, rax
mov rcx, rsi
call fcn.140051620
mov rcx, rax
mov qword [0x1401bc930], rax
mov edi, 0x4199
mov rax, qword [0x1401bc928]
test rax, rax
jne 0x140050b69
mov dword [rbp - 0x50], ebx
lea r9, [rbp - 0x50]
mov r8, qword [0x1401bc9a8]
mov rcx, rsi
call fcn.140051a60
mov r8d, dword [rbp - 0x50]
lea rcx, str.xxx____xxxxx____xxx____x____x
mov qword [rsp + 0x20], rcx
lea r9, [0x140084bd8]
mov rdx, rax
mov rcx, rsi
call fcn.140051620
mov qword [0x1401bc928], rax
mov dword [rsp + 0x54], 0x41bc41c6
test rax, rax
jne 0x140050a7d
mov dword [rsp + 0x50], 0x41b741c2
mov dword [rsp + 0x58], 0x41ff41ca
mov dword [rsp + 0x5c], 0x41ce41ed
mov dword [rsp + 0x60], 0x41cc41c8
mov dword [rsp + 0x64], 0x418441c4
mov dword [rsp + 0x68], 0x41cf41f5
mov dword [rsp + 0x6c], 0x41ec41e3
mov dword [rsp + 0x70], 0x41e641eb
mov dword [rsp + 0x74], 0x41cf41c4
mov dword [rsp + 0x78], 0x418e41c6
mov dword [rsp + 0x7c], 0x41df41c1
mov dword [rbp - 0x80], 0x419241c5
mov dword [rbp - 0x7c], 0x41db41d5
mov dword [rbp - 0x78], 0x41d841c0
mov dword [rbp - 0x74], 0x41d3
mov byte [rbp - 0x70], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rdi + rbx]
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x1f
jb 0x140050a40
mov byte [rbp - 0x70], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140055b70
lea rdx, [0x140055d50]
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___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 0x1400515eb
mov dword [rsp + 0x50], 0x41b141c2
mov dword [rsp + 0x58], 0x41f741cd
mov dword [rsp + 0x5c], 0x41e441db
mov dword [rsp + 0x60], 0x41ee41e3
mov dword [rsp + 0x64], 0x41c741cc
mov dword [rsp + 0x68], 0x418641ce
mov dword [rsp + 0x6c], 0x41c741c1
mov dword [rsp + 0x70], 0x41c441dc
mov dword [rsp + 0x74], 0x418c41cf
mov dword [rsp + 0x78], 0x41c741da
mov dword [rsp + 0x7c], 0x41d841db
mov dword [rbp - 0x80], 0x41c14191
mov dword [rbp - 0x7c], 0x41d741d6
mov dword [rbp - 0x78], 0x41d841da
mov dword [rbp - 0x74], 0x419841d3
mov dword [rbp - 0x70], 0x41db41c9
mov dword [rbp - 0x6c], 0x41c841cf
mov dword [rbp - 0x68], 0x41cc41d8
mov dword [rbp - 0x64], 0x41d1
mov byte [rbp - 0x60], 1
mov rdx, rbx
nop dword [rax]
nop dword [rax + rax]
lea eax, [rdi + rdx]
xor word [rsp + rdx*2 + 0x50], ax
inc rdx
cmp rdx, 0x27
jb 0x140050b20
mov byte [rbp - 0x60], bl
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140055b70
lea rdx, [0x140055d50]
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___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]
mov rax, qword [0x1401bc928]
add rax, 0x10
mov rcx, qword [0x1401bc930]
jmp 0x140050b6d
add rax, 0x1c
mov qword [0x1401bc928], rax
test rcx, rcx
jne 0x140050c3f
mov dword [rsp + 0x50], 0x41b741c2
mov dword [rsp + 0x54], 0x41bc41c6
mov dword [rsp + 0x58], 0x41ff41ca
mov dword [rsp + 0x5c], 0x41ce41ed
mov dword [rsp + 0x60], 0x41cc41c8
mov dword [rsp + 0x64], 0x418441c4
mov dword [rsp + 0x68], 0x41cf41f5
mov dword [rsp + 0x6c], 0x41ec41e3
mov dword [rsp + 0x70], 0x41e941eb
mov dword [rsp + 0x74], 0x41cf41ca
mov dword [rsp + 0x78], 0x41cb41c5
mov dword [rsp + 0x7c], 0x41d141fb
mov dword [rbp - 0x80], 0x41de41d3
mov dword [rbp - 0x7c], 0x419441d6
mov dword [rbp - 0x78], 0x41d941db
mov dword [rbp - 0x74], 0x419841c3
mov dword [rbp - 0x70], 0x41d541df
mov dword [rbp - 0x6c], 0x41d241ce
mov dword [rbp - 0x68], 0x41d9
mov byte [rbp - 0x64], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rdi + rbx]
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x25
jb 0x140050c20
mov byte [rbp - 0x64], 0
lea rdx, [rsp + 0x50]
jmp 0x140050a5a
movdqa xmm0, xmmword [0x140085eb0]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0xd49b8adb
mov word [rbp - 0x1c], 0x100
mov rdx, rbx
nop dword [rax]
lea eax, [rdx - 0x67]
xor byte [rbp + rdx - 0x30], al
inc rdx
cmp rdx, 0x14
jb 0x140050c60
mov byte [rbp - 0x1b], bl
lea rdx, [rbp - 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14005a0b0
lea rdx, [0x14004caa0]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [0x1401bc928]
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___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x140055d50]
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___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]
movdqa xmm0, xmmword [0x140085de0]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0x8ccec6cb
mov dword [rbp - 0x1c], 0x90dddafd
mov dword [rbp - 0x18], 0x100ca81
mov rdx, rbx
nop dword [rax + rax]
lea eax, [rdx - 0x67]
xor byte [rbp + rdx - 0x30], al
inc rdx
cmp rdx, 0x1a
jb 0x140050ce0
mov byte [rbp - 0x15], bl
lea rdx, [rbp - 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14005a0b0
lea rdx, [0x14004caa0]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [0x1401bc930]
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___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x140055d50]
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___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]
mov r14, qword [0x1401bc928]
mov dword [rbp - 0x50], ebx
lea r8, [r14 + 3]
mov r9d, 4
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14004e2c0
test al, al
jne 0x140050d5e
mov qword [rsp + 0x40], rbx
jmp 0x140050d6e
movsxd rax, dword [rbp - 0x50]
add rax, 7
add rax, r14
mov qword [rsp + 0x40], rax
mov r14, qword [0x1401bc930]
mov dword [rbp - 0x4c], ebx
lea r8, [r14 + 6]
mov r9d, 4
lea rdx, [rbp - 0x4c]
mov rcx, rsi
call fcn.14004e2c0
test al, al
jne 0x140050d97
mov r15, rbx
jmp 0x140050da2
movsxd r15, dword [rbp - 0x4c]
add r15, 0xa
add r15, r14
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14004ffb0
test al, al
jne 0x140050e5f
mov dword [rsp + 0x50], 0x41b741c2
mov dword [rsp + 0x54], 0x41bc41c6
mov dword [rsp + 0x58], 0x41ff41de
mov dword [rsp + 0x5c], 0x418741f1
mov dword [rsp + 0x60], 0x418241d5
mov dword [rsp + 0x64], 0x41cb41cf
mov dword [rsp + 0x68], 0x41cd41c6
mov dword [rsp + 0x6c], 0x41f84187
mov dword [rsp + 0x70], 0x41ee41c0
mov dword [rsp + 0x74], 0x41ee41ef
mov dword [rsp + 0x78], 0x41cf41ee
mov dword [rsp + 0x7c], 0x41d841cc
mov dword [rbp - 0x80], 0x41e641d4
mov dword [rbp - 0x7c], 0x41d641d2
mov dword [rbp - 0x78], 0x41d341d9
mov word [rbp - 0x74], bx
mov byte [rbp - 0x72], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rdi + rbx]
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x1e
jb 0x140050e40
mov byte [rbp - 0x72], 0
lea rdx, [rsp + 0x50]
jmp 0x140050a5a
mov dword [rbp - 0x30], 0x41b141c2
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41f741cd
mov dword [rbp - 0x24], 0x41e441db
mov dword [rbp - 0x20], 0x41ee41e3
mov dword [rbp - 0x1c], 0x41c741cc
mov dword [rbp - 0x18], 0x418641ce
mov dword [rbp - 0x14], 0x41c741eb
mov dword [rbp - 0x10], 0x41c141ca
mov dword [rbp - 0xc], 0x41c841ce
mov word [rbp - 8], bx
mov byte [rbp - 6], 1
mov rdx, rbx
lea eax, [rdi + rdx]
xor word [rbp + rdx*2 - 0x30], ax
inc rdx
cmp rdx, 0x14
jb 0x140050eb0
mov byte [rbp - 6], bl
lea rdx, [rbp - 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140055b70
lea rdx, [0x140055d50]
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___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]
lea rcx, [rbp + 0x28]
call fcn.14004cac0
nop
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rcx, qword [rbp + 0x28]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x64], ebx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x74], xmm0
mov dword [rbp - 0x7c], ebx
mov dword [rsp + 0x70], 0x5284eac3
mov qword [rsp + 0x68], rcx
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140050f30
add ax, ax
mov word [rsp + 0x60], ax
add ax, 2
mov word [rsp + 0x62], ax
lea r8, [rsp + 0x50]
mov rdx, r15
mov rcx, rsi
call fcn.140050650
mov r14, rax
test rax, rax
jne 0x140050fde
mov dword [rbp - 0x30], 0x41b741c2
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41f141d3
mov dword [rbp - 0x24], 0x418041eb
mov dword [rbp - 0x20], 0x41cd41c7
mov dword [rbp - 0x1c], 0x41ca41d6
mov dword [rbp - 0x18], 0x418641c1
mov dword [rbp - 0x14], 0x41c641ce
mov dword [rbp - 0x10], 0x41c94189
mov dword [rbp - 0xc], 0x41cf41ca
mov dword [rbp - 8], 0x41cb41c5
mov word [rbp - 4], bx
mov byte [rbp - 2], 1
nop dword [rax + rax]
lea eax, [rdi + rbx]
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x16
jb 0x140050fc0
mov byte [rbp - 2], 0
lea rdx, [rbp - 0x30]
jmp 0x14005157a
lea r8, [rax + 8]
mov r9d, 8
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.14004e2c0
test al, al
jne 0x14005107e
mov dword [rbp - 0x30], 0x41b741c2
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41ff41de
mov dword [rbp - 0x24], 0x418741f1
mov dword [rbp - 0x20], 0x418241d5
mov dword [rbp - 0x1c], 0x41c141c4
mov dword [rbp - 0x18], 0x418641d1
mov dword [rbp - 0x14], 0x41da41d7
mov dword [rbp - 0x10], 0x41dc41cc
mov dword [rbp - 0xc], 0x41c9418b
mov dword [rbp - 8], 0x41da41c3
mov dword [rbp - 4], 0x41c941dd
mov word [rbp], bx
mov byte [rbp + 2], 1
nop dword [rax + rax]
lea eax, [rdi + rbx]
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x18
jb 0x140051060
mov byte [rbp + 2], 0
lea rdx, [rbp - 0x30]
jmp 0x14005157a
mov r9d, 8
mov r8, r14
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.14004e2c0
test al, al
jne 0x14005111e
mov dword [rbp - 0x30], 0x41b741c2
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41ff41de
mov dword [rbp - 0x24], 0x418741f1
mov dword [rbp - 0x20], 0x418241d5
mov dword [rbp - 0x1c], 0x41c141c4
mov dword [rbp - 0x18], 0x418641d1
mov dword [rbp - 0x14], 0x41cd41c9
mov dword [rbp - 0x10], 0x41de41d1
mov dword [rbp - 0xc], 0x41c9418b
mov dword [rbp - 8], 0x41da41c3
mov dword [rbp - 4], 0x41c941dd
mov word [rbp], bx
mov byte [rbp + 2], 1
nop word [rax + rax]
lea eax, [rdi + rbx]
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x18
jb 0x140051100
mov byte [rbp + 2], 0
lea rdx, [rbp - 0x30]
jmp 0x14005157a
movdqa xmm0, xmmword [0x140085cc0]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0xdedfc4ec
mov dword [rbp - 0x1c], 0x90928ed4
mov dword [rbp - 0x18], 0x100ca81
mov r8, rbx
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 - 0x67]
xor byte [rbp + r8 - 0x30], al
inc r8
cmp r8, 0x1a
jb 0x140051150
mov byte [rbp - 0x15], 0
lea rdx, [rbp - 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14005a0b0
lea rdx, [0x14004caa0]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, r14
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]
lea rdx, [0x140055d50]
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___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]
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1400514f3
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], 0x33
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 8
mov dword [rbp + 0x20], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x28
lea r8, [rbp - 0x30]
mov edx, 0x80862007
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400514f3
mov rax, qword [rbp - 0x48]
add rax, 8
je 0x14005146d
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], 0x33
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 8
mov dword [rbp + 0x20], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x28
lea r8, [rbp - 0x30]
mov edx, 0x80862007
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14005146d
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.140050400
test al, al
jne 0x14005132e
mov dword [rbp - 0x30], 0x41b741c2
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41ff41de
mov dword [rbp - 0x24], 0x418741f1
mov dword [rbp - 0x20], 0x418241d5
mov dword [rbp - 0x1c], 0x41c141c7
mov dword [rbp - 0x18], 0x41c341c9
mov dword [rbp - 0x14], 0x41cd41d3
mov dword [rbp - 0x10], 0x41cc4189
mov dword [rbp - 0xc], 0x41c341d9
mov dword [rbp - 8], 0x418e41c0
mov dword [rbp - 4], 0x41d941ff
mov dword [rbp], 0x41f641f5
mov dword [rbp + 4], 0x41f741f1
mov dword [rbp + 8], 0x41d541d4
mov dword [rbp + 0xc], 0x41dd41df
mov dword [rbp + 0x10], 0x41db41ed
mov dword [rbp + 0x14], 0x41d041d9
mov dword [rbp + 0x18], 0x41d8
mov byte [rbp + 0x1c], 1
lea eax, [rdi + rbx]
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x25
jb 0x140051310
mov byte [rbp + 0x1c], 0
lea rdx, [rbp - 0x30]
jmp 0x14005157a
mov dword [rbp + 0x24], ebx
lea r14, [r15 + 0x40]
mov r9d, 4
mov r8, r14
lea rdx, [rbp + 0x24]
mov rcx, rsi
call fcn.14004e2c0
mov eax, dword [rbp + 0x24]
test eax, eax
je 0x1400513ad
dec eax
mov dword [rbp + 0x24], eax
test r14, r14
je 0x1400513ad
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], 0x33
lea rax, [rbp + 0x24]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 4
mov dword [rbp + 0x20], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x28
lea r8, [rbp - 0x30]
mov edx, 0x80862007
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140050200
mov dword [rsp + 0x50], 0x41b141c2
mov dword [rsp + 0x54], 0x41bc41c6
mov dword [rsp + 0x58], 0x41f741cd
mov dword [rsp + 0x5c], 0x41e441db
mov dword [rsp + 0x60], 0x41e141e3
mov dword [rsp + 0x64], 0x41c741c2
mov dword [rsp + 0x68], 0x41c341cd
mov dword [rsp + 0x6c], 0x41c941f3
mov dword [rsp + 0x70], 0x41c641cb
mov dword [rsp + 0x74], 0x418c41ce
mov dword [rsp + 0x78], 0x41c241ee
mov dword [rsp + 0x7c], 0x41d141ca
mov dword [rbp - 0x80], 0x41d741df
mov dword [rbp - 0x7c], 0x41d7
mov byte [rbp - 0x78], 1
nop dword [rax]
lea eax, [rdi + rbx]
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x1b
jb 0x140051430
mov byte [rbp - 0x78], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140055b70
lea rdx, [0x140055d50]
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___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]
mov bl, 1
jmp 0x1400515a5
mov dword [rsp + 0x50], 0x41b741c2
mov dword [rsp + 0x54], 0x41bc41c6
mov dword [rsp + 0x58], 0x41ff41de
mov dword [rsp + 0x5c], 0x418741f1
mov dword [rsp + 0x60], 0x418241d5
mov dword [rsp + 0x64], 0x41c141d0
mov dword [rsp + 0x68], 0x418641d1
mov dword [rsp + 0x6c], 0x41da41d7
mov dword [rsp + 0x70], 0x41dc41cc
mov dword [rsp + 0x74], 0x41c9418b
mov dword [rsp + 0x78], 0x41da41c3
mov dword [rsp + 0x7c], 0x41c941dd
mov word [rbp - 0x80], bx
mov byte [rbp - 0x7e], 1
nop word [rax + rax]
lea eax, [rdi + rbx]
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x18
jb 0x1400514e0
jmp 0x140051571
mov dword [rsp + 0x50], 0x41b741c2
mov dword [rsp + 0x54], 0x41bc41c6
mov dword [rsp + 0x58], 0x41ff41de
mov dword [rsp + 0x5c], 0x418741f1
mov dword [rsp + 0x60], 0x418241d5
mov dword [rsp + 0x64], 0x41c141d0
mov dword [rsp + 0x68], 0x418641d1
mov dword [rsp + 0x6c], 0x41cd41c9
mov dword [rsp + 0x70], 0x41de41d1
mov dword [rsp + 0x74], 0x41c9418b
mov dword [rsp + 0x78], 0x41da41c3
mov dword [rsp + 0x7c], 0x41c941dd
mov word [rbp - 0x80], bx
mov byte [rbp - 0x7e], 1
nop dword [rax + rax]
lea eax, [rdi + rbx]
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x18
jb 0x140051560
lea rdx, [rsp + 0x50]
mov byte [rbp - 0x7e], 0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140055b70
lea rdx, [0x140055d50]
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___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]
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140050200
xor bl, bl
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x1400515e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400515e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400515e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b0
movzx eax, bl
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1400726c0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret