Function at 0x1801061e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x18032f0e0]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor r14d, r14d
mov r13d, r14d
mov dword [rsp + 0x30], r14d
mov dword [0x18035eaf0], r14d
movabs rax, 0x5006d96c995a5827
mov qword [0x1803afcd8], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x28], 0x7f7fffff
mov rax, qword [rsp + 0x28]
mov qword [0x18035ebb8], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x28], 0x7f7fffff
mov rax, qword [rsp + 0x28]
mov qword [0x18035ebc0], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x28], 0x7f7fffff
mov rax, qword [rsp + 0x28]
mov qword [0x18035ebc8], rax
mov dword [0x18035eae0], 3
call fcn.180110360
lea ecx, [r14 + 0x58]
call fcn.1801fd5b0
mov rbx, rax
mov qword [rsp + 0x48], rax
mov dword [rax], 0xa
mov dword [0x18035eae0], r14d
mov dword [0x18035eaf0], r14d
movabs rsi, 0xd80958fc74e988a6
mov qword [0x1803afcd8], rsi
call fcn.180110360
mov ecx, dword [rax]
mov dword [0x18035eaf0], r14d
movabs rax, 0xcff869cbfa210d82
mov qword [0x1803afcd8], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x28], ecx
mov rax, qword [rsp + 0x28]
mov qword [0x18035ebb8], rax
mov qword [0x18035ebc0], rbx
mov dword [0x18035eae0], 2
call fcn.180110360
movsxd rdi, dword [rax]
mov qword [rsp + 0x40], rdi
test rdi, rdi
jle 0x180106ca4
add rbx, 8
mov qword [rsp + 0x38], rbx
movabs r15, 0x9a9112a0fe9a4713
movabs r12, 0x11fe353cf9733e6f
movsd xmm6, qword [0x1802fb650]
movss xmm7, dword [0x1802fc858]
movss xmm8, dword [0x1802fb90c]
nop word [rax + rax]
mov dword [0x18035eae0], r14d
mov dword [0x18035eaf0], r14d
mov qword [0x1803afcd8], rsi
call fcn.180110360
mov ecx, dword [rax]
mov dword [0x18035eaf0], r14d
mov qword [0x1803afcd8], r15
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x28], ecx
mov rax, qword [rsp + 0x28]
mov qword [0x18035ebb8], rax
mov qword [0x18035ebc0], r14
mov dword [0x18035eae0], 2
call fcn.180110360
mov ecx, dword [rbx]
cmp ecx, dword [rax]
je 0x180106c87
call fcn.1800e4750
mov dword [0x18035eaf0], r14d
mov qword [0x1803afcd8], r12
lea rax, str.mp_car_stats_01
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
mov dword [0x18035eaf0], r14d
movabs rcx, 0x85f01b8d5b90570e
mov qword [0x1803afcd8], rcx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x30]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
cmp dword [rax], 0
je 0x180106c87
mov eax, dword [rbx]
mov dword [0x18035eaf0], r14d
movabs rcx, 0x9f47b058362c84b5
mov qword [0x1803afcd8], rcx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x30]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov ebx, dword [rax]
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.180032340
nop
mov dword [0x18035eaf0], r14d
movabs rax, 0xb215aac32d25d019
mov qword [0x1803afcd8], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x30], ebx
mov rax, qword [rsp + 0x30]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov rdx, qword [rax]
lea rcx, [rsp + 0x60]
call fcn.180037e00
nop
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
or r13d, 2
mov dword [rsp + 0x30], r13d
mov ecx, dword [rbp - 0x28]
test cl, 2
jne 0x180106526
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x180106526
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x18010654b
test cl, 4
jne 0x180106554
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x180106554
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rbp + 0x50]
call fcn.1800294e0
and r13d, 0xfffffffd
or r13d, 1
mov rcx, qword [rbp + 0x60]
inc rcx
call fcn.1801fd5b0
mov rdi, rax
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rax, qword [rbp + 0x50]
mov rdx, rdi
sub rdx, rax
nop
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x180106580
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rdi + rsi], 0
jne 0x180106595
xor r15d, r15d
mov ebx, r15d
test rsi, rsi
je 0x1801065d3
mov eax, r15d
nop dword [rax]
movsx ecx, byte [rax + rdi]
call fcn.18022e718
add eax, ebx
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
inc r14d
mov eax, r14d
cmp rax, rsi
jb 0x1801065b0
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [0x18035eaf0], r15d
movabs rcx, 0xf417c2502fffed43
mov qword [0x1803afcd8], rcx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x30]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
movss xmm0, dword [rax]
cvtps2pd xmm0, xmm0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rsp + 0x30], eax
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp byte [rdi + rsi], r15b
jne 0x180106640
mov r14d, r15d
mov ebx, r15d
test rsi, rsi
je 0x18010667a
mov rax, r15
movsx ecx, byte [rax + rdi]
call fcn.18022e718
add eax, ebx
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
inc r14d
mov eax, r14d
cmp rax, rsi
jb 0x180106657
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [0x18035eaf0], r15d
movabs rcx, 0x8c044c5c84505b6a
mov qword [0x1803afcd8], rcx
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
movss xmm0, dword [rax]
mulss xmm0, xmm7
cvtps2pd xmm0, xmm0
addsd xmm0, xmm6
cvttsd2si r12d, xmm0
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rdi + rsi], r15b
jne 0x1801066e1
mov r14d, r15d
mov ebx, r15d
test rsi, rsi
je 0x180106723
mov rax, r15
nop dword [rax + rax]
movsx ecx, byte [rax + rdi]
call fcn.18022e718
add eax, ebx
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
inc r14d
mov eax, r14d
cmp rax, rsi
jb 0x180106700
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [0x18035eaf0], r15d
movabs rcx, 0xbfba3ba79cff7ebf
mov qword [0x1803afcd8], rcx
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
movss xmm0, dword [rax]
mulss xmm0, xmm7
cvtps2pd xmm0, xmm0
addsd xmm0, xmm6
cvttsd2si r15d, xmm0
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp byte [rdi + rsi], 0
jne 0x180106790
xor r14d, r14d
xor ebx, ebx
test rsi, rsi
je 0x1801067c8
xor eax, eax
movsx ecx, byte [rax + rdi]
call fcn.18022e718
add eax, ebx
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
inc r14d
mov eax, r14d
cmp rax, rsi
jb 0x1801067a5
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
xor r14d, r14d
mov dword [0x18035eaf0], r14d
movabs rcx, 0x539de94d44fdfd0d
mov qword [0x1803afcd8], rcx
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
movss xmm0, dword [rax]
mulss xmm0, xmm8
cvtps2pd xmm0, xmm0
addsd xmm0, xmm6
cvttsd2si ebx, xmm0
mov dword [0x18035eaf0], r14d
movabs rax, 0xba7148484bd90365
mov qword [0x1803afcd8], rax
mov qword [0x18035ebb8], rdi
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
movabs rax, 0xf6e48914c7a8694e
mov qword [0x1803afcd8], rax
mov qword [rsp + 0x20], r14
mov esi, dword [rsp + 0x28]
mov dword [rsp + 0x20], esi
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebb8], rax
lea rax, str.SET_VEHICLE_INFOR_AND_STATS
mov qword [0x18035ebc0], rax
mov dword [0x18035eae0], 2
call fcn.180110360
mov dword [0x18035eaf0], r14d
movabs rax, 0xba7148484bd90365
mov qword [0x1803afcd8], rax
mov qword [0x18035ebb8], rdi
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
movabs rax, 0xba7148484bd90365
mov qword [0x1803afcd8], rax
lea rax, str.Vehicle_Stat_Menu
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
movabs rax, 0xba7148484bd90365
mov qword [0x1803afcd8], rax
lea rax, str.MPCarHUD
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
movabs rax, 0xba7148484bd90365
mov qword [0x1803afcd8], rax
mov qword [0x18035ebb8], rdi
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
movabs rdi, 0xba7148484bd90365
mov qword [0x1803afcd8], rdi
lea rax, str.Top_Speed
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
mov qword [0x1803afcd8], rdi
lea rax, str.Acceleration
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
mov qword [0x1803afcd8], rdi
lea rax, str.Braking
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
mov qword [0x1803afcd8], rdi
lea rax, str.Traction
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
movabs rdi, 0xc3d0841a0cc546a6
mov qword [0x1803afcd8], rdi
mov qword [rsp + 0x20], r14
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
mov qword [0x1803afcd8], rdi
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x20], r12d
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
mov qword [0x1803afcd8], rdi
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x20], r15d
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
mov qword [0x1803afcd8], rdi
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x20], ebx
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebb8], rax
mov dword [0x18035eae0], 1
call fcn.180110360
mov dword [0x18035eaf0], r14d
movabs rax, 0x54972adaf0294a93
mov qword [0x1803afcd8], rax
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x20], esi
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebb8], rax
mov qword [rsp + 0x20], r14
movss xmm0, dword [0x18034bd64]
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebc0], rax
mov qword [rsp + 0x20], r14
movss xmm0, dword [0x180385718]
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebc8], rax
mov qword [rsp + 0x20], r14
movss xmm0, dword [0x18034bd58]
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebd0], rax
mov qword [rsp + 0x20], r14
movss xmm0, dword [0x18034bd5c]
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebd8], rax
mov qword [rsp + 0x20], r14
mov eax, dword [0x18034bd54]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebe0], rax
mov qword [rsp + 0x20], r14
mov eax, dword [0x18034bd50]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebe8], rax
mov qword [rsp + 0x20], r14
mov eax, dword [0x18034bd4c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebf0], rax
mov qword [rsp + 0x20], r14
mov eax, dword [0x18034bd48]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x20]
mov qword [0x18035ebf8], rax
mov qword [0x18035ec00], r14
mov dword [0x18035eae0], 0xa
call fcn.180110360
mov dword [0x18035eae0], r14d
mov dword [0x18035eaf0], r14d
movabs rax, 0xc6796a8ffa375e53
mov qword [0x1803afcd8], rax
call fcn.180110360
nop
lea rcx, [rbp + 0x50]
call fcn.1800292b0
nop
lea rcx, [rsp + 0x50]
call fcn.18002b2c0
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
movabs rsi, 0xd80958fc74e988a6
movabs r15, 0x9a9112a0fe9a4713
movabs r12, 0x11fe353cf9733e6f
add rbx, 8
mov qword [rsp + 0x38], rbx
sub rdi, 1
mov qword [rsp + 0x40], rdi
jne 0x180106370
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.1801fcf24
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1801fcf00
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret