Function at 0x18003a5a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
test dl, dl
jne 0x18003a689
cmp byte [0x1802d8c67], dl
je 0x18003a67d
call fcn.180026500
xor edi, edi
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
movabs rcx, 0xd80958fc74e988a6
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026500
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
movabs rcx, 0x9a9112a0fe9a4713
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov r8d, dword [0x1802d8c74]
cmp r8d, dword [rcx]
jne 0x18003a676
mov rax, qword [0x1802d8c28]
mov rdx, qword [rax + 0xe8]
mov ecx, r8d
call rdx
test rax, rax
je 0x18003a676
mov rcx, qword [0x1802d8c78]
mov qword [rax + 0x918], rcx
mov qword [0x1802d8c78], rdi
mov dword [0x1802d8c74], edi
mov byte [0x1802d8c67], dil
mov byte [0x1802d8c66], 0
jmp 0x18003a951
call fcn.180026500
xor edi, edi
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
movabs rsi, 0xd80958fc74e988a6
mov rcx, rsi
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026500
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
movabs rbp, 0x9a9112a0fe9a4713
mov rcx, rbp
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
cmp dword [rcx], edi
je 0x18003a951
mov rax, qword [0x1802d8c28]
mov rcx, qword [rax + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x18003a951
mov rax, qword [rax + 8]
test rax, rax
je 0x18003a951
cmp qword [rax + 0xd10], rdi
je 0x18003a951
call fcn.180026500
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
mov rcx, rsi
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026500
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
mov rcx, rbp
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov ebx, dword [0x1802d8c74]
cmp ebx, dword [rcx]
je 0x18003a804
call fcn.180026500
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
movabs rcx, 0x7239b21a38f536ba
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
cmp dword [rcx], edi
je 0x18003a804
cmp qword [0x1802d8c78], rdi
je 0x18003a804
mov rax, qword [0x1802d8c28]
mov rdx, qword [rax + 0xe8]
mov ecx, dword [0x1802d8c74]
call rdx
test rax, rax
je 0x18003a804
mov rcx, qword [0x1802d8c78]
mov qword [rax + 0x918], rcx
call fcn.180026500
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
mov rcx, rsi
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026500
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
mov rcx, rbp
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov eax, dword [rcx]
cmp dword [0x1802d8c74], eax
je 0x18003a951
cmp byte [0x1802d8c66], dil
jne 0x18003a951
lea r10, [0x1801af576]
lea r9, str.deluxo
nop dword [rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, edi
imul edi, eax, 0x401
mov eax, edi
shr eax, 6
xor edi, eax
inc r9
cmp r9, r10
jne 0x18003a890
lea ecx, [rdi + rdi*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
lea rax, vtable.std::_Func_impl_no_alloc_class__public:_void___cdecl_LucaModzZ::VehicleOptions::DeluxoMode_bool____ptr64::_37::_lambda_1___void___.0
mov qword [rsp + 0x20], rax
imul eax, ecx, 0x8001
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x58], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_LucaModzZ::request_model_unsigned_int__class_std::function_void____cdecl___void___const____ptr64_::_2::_lambda_1___void___.0
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x586765fb
lea rax, [rsp + 0x60]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x60]
call fcn.180092e20
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x18003a928
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18003a94a
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov byte [0x1802d8c66], 1
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret