Function at 0x180070270
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x18029b200]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], r8
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1800702ca
mov rax, qword [rdx]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x30], xmm0
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.1800593a0
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x20]
call fcn.18011df64
mov edx, eax
test eax, eax
jne 0x180070367
mov ecx, dword [rbp - 0x10]
test cl, 1
mov eax, 0x1ff
mov r8d, 0x16d
cmovne eax, r8d
mov dword [rsp + 0x34], eax
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x18007035c
mov eax, dword [rbp - 0xc]
cmp eax, 0xa000000c
jne 0x18007034e
mov ecx, 4
jmp 0x18007038b
cmp eax, 0xa0000003
jne 0x18007035c
mov ecx, 0xa
jmp 0x18007038b
shr ecx, 4
and ecx, 1
or ecx, 2
jmp 0x18007038b
mov dword [rsp + 0x34], 0xffff
sub eax, 2
je 0x180070386
sub eax, 1
je 0x180070386
sub eax, 0x32
je 0x180070386
cmp eax, 0x46
mov ecx, r15d
jne 0x18007038b
mov ecx, 1
mov dword [rsp + 0x30], edx
lea rax, [0x180198a90]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test ecx, ecx
je 0x180070562
cmp ecx, 1
sete r14b
lea rcx, [rsp + 0x58]
call fcn.18006aac0
test r14b, r14b
je 0x180070572
movsd xmm0, qword [0x18012fb08]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x18012fb10]
mov dword [rsp + 0x48], eax
movzx eax, word [0x18012fb14]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x18012fb16]
mov byte [rsp + 0x4e], al
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800704ec
movdqa xmm4, xmmword [0x180132540]
movdqa xmm2, xmmword [0x18012b970]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180132410]
psubd xmm2, xmm0
andps xmm2, xmmword [0x180132470]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, dword [0x18012fb08]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm2, xmmword [0x180132400]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180132410]
psubd xmm2, xmm0
andps xmm2, xmmword [0x180132470]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, dword [rsp + 0x44]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x180070500
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180070546
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180035540
jmp 0x180070749
mov r14b, 1
test edx, edx
jne 0x1800707c9
jmp 0x1800703b5
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180070590
mov rdx, qword [rdi]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rcx, [rbp]
call fcn.180063d00
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], r12
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
mov qword [rbp - 0x50], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x78]
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
call fcn.180061420
nop
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.180046d40
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.180066910
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x50], Ordinal_35
cmp byte [rax], 3
jne 0x18007077e
mov rdx, qword [rax + 8]
cmp rbx, rdx
je 0x180070653
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18007064a
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.180040750
nop
movzx edx, byte [rbp - 0x30]
cmp dl, 1
jne 0x180070684
cmp qword [rbp - 0x28], 0
jne 0x1800706ff
mov r8d, 0x4e12
lea rdx, str.E:ProjectsLucasExecutor_srcmiscjson.hpp
lea rcx, str.m_data.m_type___value_t::object__m_data.m_value.object___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rbp - 0x30]
cmp dl, 2
jne 0x1800706ad
cmp qword [rbp - 0x28], 0
jne 0x1800706ff
mov r8d, 0x4e13
lea rdx, str.E:ProjectsLucasExecutor_srcmiscjson.hpp
lea rcx, str.m_data.m_type___value_t::array__m_data.m_value.array___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rbp - 0x30]
cmp dl, 3
jne 0x1800706d6
cmp qword [rbp - 0x28], 0
jne 0x1800706ff
mov r8d, 0x4e14
lea rdx, str.E:ProjectsLucasExecutor_srcmiscjson.hpp
lea rcx, str.m_data.m_type___value_t::string__m_data.m_value.string___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rbp - 0x30]
cmp dl, 8
jne 0x1800706ff
cmp qword [rbp - 0x28], 0
jne 0x1800706ff
mov r8d, 0x4e15
lea rdx, str.E:ProjectsLucasExecutor_srcmiscjson.hpp
lea rcx, str.m_data.m_type___value_t::binary__m_data.m_value.binary___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.18006b270
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r12
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x10]
call fcn.180065b40
lea rcx, [rbp + 0x18]
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 + 0xb0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, rdi
call fcn.1800360a0
nop
mov rcx, rsi
call fcn.1800360a0
mov rax, rbx
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.18011eca0
add rsp, 0x220
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, r14
call fcn.180083780
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x58]
call fcn.18005b0b0
nop
mov r9, r14
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x78]
call fcn.18005bde0
lea rdx, [0x180192850]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, str.exists
call fcn.18006a950
int3