Function at 0x18007f310
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3e8]
sub rsp, 0x4b0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rbx, r8
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rdx
mov r12, rcx
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x28], rbx
mov r15d, 1
mov dword [rsp + 0x48], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov dword [rsp + 0x48], r15d
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], dil
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x170]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp + 0x170]
call fcn.18008ec70
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov eax, edi
mov qword [rsp + 0x50], rax
mov qword [rbp + 0x50], rax
mov r13d, 0xf
mov qword [rbp + 0x58], r13
mov byte [rbp + 0x40], al
cmp qword [rbp + 0x200], rdi
jne 0x18007fa70
movups xmm3, xmmword [str.fZTT__]
movups xmmword [rsp + 0x30], xmm3
mov ecx, dword [0x18013b8b8]
mov dword [rsp + 0x40], ecx
movzx eax, word [0x18013b8bc]
mov word [rsp + 0x44], ax
cmp byte [0x18013b8bd], dil
je 0x18007f683
mov r8d, edi
cmp dword [0x180152098], 2
jl 0x18007f641
movdqa xmm5, xmmword [0x18013d300]
movdqa xmm6, xmmword [str.::::]
movdqa xmm7, xmmword [0x18013d1e0]
movdqa xmm2, xmmword [0x18013d110]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x18013d190]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x18013d130]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movdqa xmm3, xmmword [0x18013d140]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, dword [rsp + 0x38]
xorps xmm3, xmm0
movd dword [rsp + 0x38], xmm3
movdqa xmm2, xmmword [0x18013d150]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
movdqa xmm3, xmmword [0x18013d160]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rsp + 0x40], xmm3
mov r8d, 0x14
mov eax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x18007f650
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
lea rax, [rsp + 0x30]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x18007f6a1
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x20]
call fcn.180006f30
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18007f6c7
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x20]
call fcn.180014b80
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r15d, 4
mov dword [rsp + 0x48], r15d
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x18007f739
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007f734
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007f734
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800fed90
movdqa xmm0, xmmword [0x18013cf80]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
lea rax, [rbp - 0x68]
mov qword [rsp + 0x68], rax
movsd xmm0, qword [0x18013b5f0]
movsd qword [rsp + 0x30], xmm0
movzx eax, byte [0x18013b5f8]
mov byte [rsp + 0x30], 0x20
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor byte [rsp + 0x34], 0x37
xor byte [rsp + 0x35], 0x38
xor byte [rsp + 0x36], 0x39
xor byte [rsp + 0x37], 0x3a
xor al, 0x3b
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x30]
mov r8, rsi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x18007f7b0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.180006f30
nop
movsd xmm0, qword [0x18013b148]
movsd qword [rsp + 0x30], xmm0
movzx ecx, word [0x18013b150]
mov word [rsp + 0x38], cx
movzx eax, byte [0x18013b152]
mov byte [rsp + 0x30], 0x32
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor byte [rsp + 0x34], 0x37
xor byte [rsp + 0x35], 0x38
xor byte [rsp + 0x36], 0x39
xor byte [rsp + 0x37], 0x3a
xor cl, 0x3b
mov byte [rsp + 0x38], cl
xor byte [rsp + 0x39], 0x3c
xor al, 0x3d
mov byte [rsp + 0x3a], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
lea rax, [rsp + 0x30]
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x18007f840
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x20]
call fcn.180006f30
nop
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.180093890
or r15d, 2
mov dword [rsp + 0x48], r15d
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x48]
call fcn.180014650
nop
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.18005e0f0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x18007f8d0
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007f8ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007f8ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800fed90
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x18007f910
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007f90a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007f90a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800fed90
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x18007f94c
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007f946
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800801d0
call fcn.1800fed90
nop
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x170], rax
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x16c], edx
lea rcx, [rbp + 0x180]
call fcn.1800904a0
lea rcx, [rbp + 0x188]
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 + 0x220]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x18007f9e0
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007f9db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180080279
call fcn.1800fed90
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18007fa2a
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18007fa25
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x1800802d3
mov rcx, rax
call fcn.1800fed90
mov rax, r12
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1800fed70
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x170]
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 - 0x20]
lea rcx, [rbp + 0x170]
call fcn.180093a80
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]
mov r14, qword [rbp + 0x40]
test al, al
je 0x180080169
mov rsi, 0xffffffffffffffff
nop dword [rax]
nop dword [rax + rax]
lea rdi, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x18007fb4d
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x280]
call sub.VCRUNTIME140.dll_memset
lea rcx, str.__t_n_r
lea r12, [0x18013a860]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x280], 1
inc rcx
cmp rcx, r12
jne 0x18007fb10
mov r12, qword [rsp + 0x58]
lea rcx, [rbx + rdi]
mov rdx, rdi
cmp rdi, rcx
jae 0x18007fb4d
movzx eax, byte [rdx]
cmp byte [rbp + rax + 0x280], 0
je 0x18007fcc8
inc rdx
cmp rdx, rcx
jb 0x18007fb34
mov rdx, rsi
cmp rbx, rdx
cmovb rdx, rbx
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rcx, qword [rbp - 0x20]
sub rbx, rdx
lea r8, [rbx + 1]
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x10], rbx
lea rcx, [rbp - 0x20]
call fcn.180090950
inc rax
cmp rbx, rax
jb 0x1800802da
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rcx, qword [rbp - 0x20]
mov byte [rcx + rax], 0
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x180080119
lea rax, [rbp - 0x20]
mov rcx, qword [rbp - 0x20]
mov r9, qword [rbp - 8]
cmp r9, 0xf
cmova rax, rcx
cmp byte [rax], 0x3b
je 0x180080119
lea rax, [rbp - 0x20]
cmp r9, 0xf
cmova rax, rcx
cmp byte [rax], 0x23
je 0x180080119
lea rax, [rbp - 0x20]
cmp r9, 0xf
cmova rax, rcx
cmp byte [rax], 0x5b
jne 0x18007fcd0
lea rax, [rbp - 0x20]
cmp r9, 0xf
cmova rax, rcx
lea r10, [rdx - 1]
cmp byte [r10 + rax], 0x5d
jne 0x18007fcd0
lea r8, [rdx - 2]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 0
mov qword [rbp - 0x78], 0
cmp rdx, 1
jb 0x1800802da
cmp r10, r8
cmovb r8, r10
lea rdx, [rbp - 0x20]
cmp r9, 0xf
cmova rdx, rcx
inc rdx
lea rcx, [rsp + 0x70]
call fcn.180006f30
or r15d, 0x10
mov dword [rsp + 0x48], r15d
cmp r13, 0xf
jbe 0x18007fc98
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18007fc90
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800801d0
mov rcx, r14
call fcn.1800fed90
movups xmm2, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x40], xmm2
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r13, xmm0
movq r8, xmm1
mov qword [rsp + 0x50], r8
movq r14, xmm2
jmp 0x18007fcd5
sub rdx, rdi
jmp 0x18007fb50
mov r8, qword [rsp + 0x50]
mov rax, rsi
mov rdx, qword [rsp + 0x60]
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x18007fce0
lea rcx, [rbp + 0x40]
cmp r13, 0xf
cmova rcx, r14
cmp r8, rax
jne 0x180080119
test r8, r8
je 0x18007fd15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x180080119
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x18013b6fc]
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r15d, 8
mov dword [rsp + 0x48], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x80], rdi
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x7c], edx
lea rax, [rbp + 0x90]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rbx, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x90], rbx
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov r9d, 2
mov r8, qword [rbp - 0x10]
lea rcx, [rbp + 0x90]
call fcn.180092010
nop
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov r8b, 0x3d
lea rdx, [rbp]
lea rcx, [rbp + 0x80]
call fcn.180093a80
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 0x18008002c
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x80]
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 + 0x20]
lea rcx, [rbp + 0x80]
call fcn.180093a80
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 0x18008002c
lea rdi, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdi, qword [rbp]
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x18007ff0d
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x280]
call sub.VCRUNTIME140.dll_memset
lea rcx, str.__t_n_r
lea r12, [0x18013a860]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x280], 1
inc rcx
cmp rcx, r12
jne 0x18007fed0
mov r12, qword [rsp + 0x58]
lea rcx, [rbx + rdi]
mov rdx, rdi
cmp rdi, rcx
jae 0x18007ff0d
movzx eax, byte [rdx]
cmp byte [rbp + rax + 0x280], 0
je 0x18007ffc1
inc rdx
cmp rdx, rcx
jb 0x18007fef4
mov rdx, rsi
cmp rbx, rdx
cmovb rdx, rbx
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rcx, qword [rbp]
sub rbx, rdx
lea r8, [rbx + 1]
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x10], rbx
lea rdi, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdi, qword [rbp]
test rbx, rbx
je 0x18007ffc9
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x280]
call sub.VCRUNTIME140.dll_memset
lea rcx, str.__t_n_r
lea r12, [0x18013a860]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x280], 1
inc rcx
cmp rcx, r12
jne 0x18007ff71
mov r12, qword [rsp + 0x58]
lea rcx, [rbx - 1]
mov rax, rsi
cmp rcx, rsi
cmovb rax, rcx
add rax, rdi
movzx ecx, byte [rax]
cmp byte [rbp + rcx + 0x280], 0
je 0x18007ffbc
cmp rax, rdi
je 0x18007ffc9
dec rax
movzx ecx, byte [rax]
cmp byte [rbp + rcx + 0x280], 0
jne 0x18007ffa7
sub rax, rdi
jmp 0x18007ffcc
sub rdx, rdi
jmp 0x18007ff10
mov rax, rsi
lea rcx, [rax + 1]
cmp rbx, rcx
jb 0x1800802e0
mov qword [rbp + 0x10], rcx
lea rax, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rax, qword [rbp]
mov byte [rax + rcx], 0
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x18008000f
lea rdx, [rbp]
mov rcx, rax
call fcn.180014650
add qword [r12 + 8], 0x20
jmp 0x18008001e
lea r8, [rbp]
mov rdx, rax
mov rcx, r12
call fcn.180094910
lea rdi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x180080068
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180080062
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800801d7
call fcn.1800fed90
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x1800800a3
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008009e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800801de
call fcn.1800fed90
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x80], rdi
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x7c], edx
mov qword [rbp + 0x90], rbx
lea rcx, [rbp + 0x90]
call fcn.180014a60
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x98]
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 + 0x110]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x170]
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 - 0x20]
lea rcx, [rbp + 0x170]
call fcn.180093a80
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 0x18007fad0
mov rbx, qword [rsp + 0x68]
xor edi, edi
lea rcx, [rbp + 0x180]
call fcn.180091ad0
test rax, rax
jne 0x18008019e
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x170]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
cmp r13, 0xf
jbe 0x1800801ee
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1800801e5
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800801e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r14
call fcn.1800fed90
nop
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x170], rax
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x16c], edx
lea rcx, [rbp + 0x180]
call fcn.1800904a0
lea rcx, [rbp + 0x188]
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 + 0x220]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180080285
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180080280
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180080280
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800fed90
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18007fa2a
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18007fa25
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800802d3
mov rcx, r8
jmp 0x18007fa25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180014e90
nop
call fcn.180014e90
int3