Function at 0x180006340
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1800f0040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], bl
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [0x1800e8ff0]
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1800e8ee0]
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x58], 0xc9e4abd6
mov dword [rsp + 0x5c], 0xe5d4d8fd
mov dword [rsp + 0x60], 0xcfe2cdf8
mov word [rsp + 0x64], 0x100
mov eax, ebx
nop dword [rax]
lea ecx, [rax + 0x7a]
xor byte [rsp + rax + 0x38], cl
inc rax
cmp rax, 0x2c
jb 0x1800063d0
mov byte [rsp + 0x65], 0
lea r8, [rsp + 0x64]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.1800113a0
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.180003330
nop
cmp qword [rax + 0x18], 0xf
jbe 0x180006412
mov rax, qword [rax]
mov r8d, 1
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.18000fb90
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x14], edx
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180006489
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006484
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006484
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
movdqa xmm0, xmmword [0x1800e8d40]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1800064d9
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800064d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800064d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x10]
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 - 0x50]
lea rcx, [rbp - 0x10]
call fcn.180012980
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 0x180006577
nop dword [rax]
cmp qword [rbp - 0x40], 0
je 0x1800065bc
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x10]
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 - 0x50]
lea rcx, [rbp - 0x10]
call fcn.180012980
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 0x180006530
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1800066ca
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800066c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800066c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [rsp + 0x68]
call fcn.180003fa0
mov r10, rax
cmp byte [rax + 3], 0
je 0x18000668c
cmp dword [0x1800f0088], 2
jl 0x180006658
movdqa xmm3, xmmword [0x1800e8d50]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1800e8dc0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1800e8dc0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1800e8d70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800e8da0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, dword [rax]
xorps xmm2, xmm0
movd dword [rax], xmm2
jmp 0x18000668c
mov r8, r10
nop dword [rax + rax]
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
sub al, cl
add al, 0x32
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 4
jl 0x180006660
lea rdx, [rsp + 0x30]
call fcn.180006700
movzx ecx, byte [rax + 1]
test cl, cl
je 0x1800066a7
xor byte [rax], 0x32
xor cl, 0x33
mov byte [rax + 1], cl
mov r9d, 0x10
mov r8, r10
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1800145b0
nop
lea rcx, [rbp - 0x10]
call fcn.180006e20
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.180014590
mov rbx, qword [rsp + 0x220]
add rsp, 0x210
pop rbp
ret