Function at 0x180029990
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1800c3040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor r14d, r14d
lea rdx, [0x1800c4c98]
lea rcx, [rbp - 0x70]
call fcn.18002d300
nop
mov qword [rbp - 0x50], r14
lea edx, [r14 + 2]
lea rcx, [rbp - 0x70]
call fcn.180025cb0
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.180028560
cmp dword [rax], 1
seta bl
lea rcx, [rbp - 0x70]
call fcn.1800167f0
lea rsi, [0x1800c30e8]
lea rdi, [0x1800c3108]
test bl, bl
je 0x180029ef5
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x1800c4c98]
lea rcx, [rbp + 0xb0]
call fcn.18002b100
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x80], 0xf
mov byte [rbp + 0x68], r14b
movups xmmword [rbp + 0x88], xmm0
movdqa xmm1, xmmword [0x1800afb90]
movdqu xmmword [rbp + 0x98], xmm1
mov byte [rbp + 0x88], r14b
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xb0]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0xb0]
call fcn.18002d100
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x180029b28
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rdx, qword [rbp + 0x68]
mov r8, qword [rbp + 0x78]
lea rcx, [rbp + 0x88]
call fcn.180014ee0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xb0]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0xb0]
call fcn.18002d100
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x180029ac2
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x30], r14
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x48]
call fcn.18000f980
mov r8, rax
lea rdx, [rbp - 0x28]
call fcn.180011390
nop
lea r8, [rbp - 8]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.180017910
nop
lea rcx, [rbp - 0x28]
call fcn.18000fac0
mov dword [rsp + 0x40], 0xfce8fffe
mov dword [rsp + 0x44], 0xf7fcf1e1
mov word [rsp + 0x48], 0x100
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 8
jb 0x180029b90
mov byte [rsp + 0x49], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x58]
call fcn.180017a30
mov r8, rax
lea r9, [rbp + 0x58]
mov qword [rsp + 0x70], r9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movabs r15, 0x8000000000000000
mov qword [rbp - 0x78], r15
movzx edx, byte [r9]
lea rbx, [0x180000000]
cmp edx, 9
ja case.0x180029c1a.0
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x29f68]
add rcx, rbx
jmp rcx
cmp edx, 9
ja case.0x180029c1a.0
mov ecx, dword [rbx + rdx*4 + 0x29f90]
add rcx, rbx
jmp rcx
mov rax, qword [r9 + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x78], rcx
jmp 0x180029c40
mov rax, qword [r9 + 8]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x80], rcx
jmp 0x180029c40
mov qword [rbp - 0x78], 1
lea rdx, [rsp + 0x70]
mov rcx, r8
call fcn.180017700
test al, al
je 0x180029e44
mov dword [rsp + 0x40], 0xfdfeedfb
mov dword [rsp + 0x44], 0xf6e3fff8
mov word [rsp + 0x48], 0x100
mov rcx, r14
nop
lea eax, [rcx - 0x75]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 8
jb 0x180029c70
mov byte [rsp + 0x49], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x58]
call fcn.180017a30
mov r8, rax
lea r9, [rbp + 0x58]
mov qword [rsp + 0x50], r9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x68], r15
movzx edx, byte [r9]
cmp edx, 9
ja case.0x180029ceb.0
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x29fb8]
add rcx, rbx
jmp rcx
cmp edx, 9
ja case.0x180029ceb.0
mov ecx, dword [rbx + rdx*4 + 0x29fe0]
add rcx, rbx
jmp rcx
mov rax, qword [r9 + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
jmp 0x180029d13
mov rax, qword [r9 + 8]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x60], rcx
jmp 0x180029d13
mov qword [rsp + 0x68], 1
lea rdx, [rsp + 0x50]
mov rcx, r8
call fcn.180017700
test al, al
je 0x180029e44
mov dword [rsp + 0x30], 0xfce8fffe
mov dword [rsp + 0x34], 0xf7fcf1e1
mov word [rsp + 0x38], 0x100
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x180029d50
mov byte [rsp + 0x39], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180029d86
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.18000fe70
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x58]
call fcn.1800147d0
mov rdx, rax
mov rcx, rsi
call fcn.18002c760
mov dword [rsp + 0x30], 0xfdfeedfb
mov dword [rsp + 0x34], 0xf6e3fff8
mov word [rsp + 0x38], 0x100
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x180029de0
mov byte [rsp + 0x39], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x30]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180029e10
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.18000fe70
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x58]
call fcn.1800147d0
mov rdx, rax
mov rcx, rdi
call fcn.18002c760
lea rcx, [rbp + 0xc0]
call fcn.18002b7b0
test rax, rax
jne 0x180029e78
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xb0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
movzx edx, byte [rbp + 0x58]
lea rcx, [rbp + 0x60]
call fcn.1800160d0
nop
lea rcx, [rbp + 0x88]
call fcn.18000fac0
nop
lea rcx, [rbp + 0x68]
call fcn.18000fac0
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc0]
call fcn.18002b090
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
cmp qword [0x1800c30f8], 0
je 0x180029f3b
cmp qword [0x1800c3118], 0
je 0x180029f3b
cmp qword [0x1800c3120], 0xf
cmova rdi, qword [0x1800c3108]
cmp qword [0x1800c3100], 0xf
cmova rsi, qword [0x1800c30e8]
mov rdx, rdi
mov rcx, rsi
call fcn.180012930
mov qword [0x180a4f138], rax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18009ab20
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret