Function at 0x18004ea20
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov r14, rcx
xor r15d, r15d
lea rax, str.database.json
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xd
call fcn.1801102d0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.180044f70
nop
lea rax, str.HorseMenu
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 9
call fcn.1801102d0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.180044f70
nop
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x18004ead0
mov qword [rsp + 0x28], rcx
call fcn.1801102d0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.180044f70
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.180026220
nop
lea r8, [rbp - 0x80]
mov rdx, rax
mov rcx, r14
call fcn.180026220
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x18004eb6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004eb65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004eb65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180111228
movdqa xmm0, xmmword [0x180196210]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x18004ebcc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ebbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004ebbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180111228
movdqa xmm0, xmmword [0x180196210]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x18004ec25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ec18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004ec18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180111228
movdqa xmm0, xmmword [0x180196210]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r15w
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x18004ec7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ec6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004ec6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180111228
movdqa xmm0, xmmword [0x180196210]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
lea rbx, [r14 + 0x20]
mov qword [rbp + 0x1d8], rbx
mov dword [rbx], r15d
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov ecx, 0x28
call fcn.180111264
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov rsi, qword [rbx + 8]
mov rcx, r15
mov rax, r15
sar rax, 3
cmp rax, 0x10
jae 0x18004ed65
mov ecx, 0x80
call fcn.180111264
mov rdi, rax
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x18004ed36
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x18004ed31
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004ed5e
mov rcx, r8
call fcn.180111228
mov qword [rbx + 0x18], rdi
lea rax, [rdi + 0x80]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
cmp rdi, rax
je 0x18004ed7a
nop
mov qword [rdi], rsi
add rdi, 8
cmp rdi, rax
jne 0x18004ed50
jmp 0x18004ed7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rcx, 7
shr rcx, 3
test rcx, rcx
je 0x18004ed7a
xor edi, edi
mov rax, rsi
rep stosq qword [rdi], rax
mov qword [r14 + 0x60], r15
mov qword [r14 + 0x68], r15
mov dword [rbp - 0x60], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
mov ecx, 0x20
call fcn.180111264
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], 0x13
mov qword [rbp - 0x40], 0x1f
movups xmm0, xmmword [str.Tried_to_crash_you_]
movups xmmword [rax], xmm0
movzx ecx, word [0x180156048]
mov word [rax + 0x10], cx
movzx ecx, byte [0x18015604a]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], 0
mov dword [rbp - 0x38], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm1
mov ecx, 0x20
call fcn.180111264
mov qword [rbp - 0x30], rax
movdqa xmm0, xmmword [0x180196320]
movdqa xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [str.Tried_to_kick_you_]
movups xmmword [rax], xmm1
movzx ecx, word [0x180156060]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], 0
mov dword [rbp - 0x10], 2
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r15
mov ecx, 0x20
call fcn.180111264
mov qword [rbp - 8], rax
mov qword [rbp + 8], 0x17
mov qword [rbp + 0x10], 0x1f
movups xmm0, xmmword [str.Tried_to_call_a_native_]
movups xmmword [rax], xmm0
mov ecx, dword [0x180156078]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x18015607c]
mov word [rax + 0x14], cx
movzx ecx, byte [0x18015607e]
mov byte [rax + 0x16], cl
mov byte [rax + 0x17], 0
mov dword [rbp + 0x18], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], xmm1
mov ecx, 0x20
call fcn.180111264
mov rdi, rax
mov qword [rbp + 0x20], rax
movdqa xmm0, xmmword [0x180196370]
movdqa xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [str.Tried_to_attach_to_you_]
movups xmmword [rax], xmm1
mov ecx, dword [0x180156090]
mov dword [rax + 0x10], ecx
movzx edx, word [0x180156094]
mov word [rax + 0x14], dx
movzx eax, byte [0x180156096]
mov byte [rdi + 0x16], al
mov byte [rdi + 0x17], 0
mov dword [rbp + 0x40], 4
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], r15
mov ecx, 0x20
call fcn.180111264
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x58], 0x19
mov qword [rbp + 0x60], 0x1f
movups xmm0, xmmword [str.Tried_to_teleport_to_you_]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1801560a8]
movsd qword [rax + 0x10], xmm0
movzx edx, byte [0x1801560b0]
mov byte [rax + 0x18], dl
mov byte [rax + 0x19], 0
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x70]
call fcn.180050a00
nop
lea r9, [0x18001dda0]
mov edx, 0x28
mov r8d, 5
lea rcx, [rbp - 0x60]
call fcn.180111318
mov rcx, r14
call fcn.18004f240
mov qword [0x1801eca18], r14
mov dword [rsp + 0x20], 0xe
mov dword [rsp + 0x24], 3
lea rax, str.C:_action_runner_workHorseMenuHorseMenu_srccoreplayer_databasePlayerDatabase.cpp
mov qword [rsp + 0x28], rax
lea rax, [0x180156118]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x20]
mov edx, 1
lea rcx, [rbp + 0x90]
call fcn.18010dcd0
nop
lea rcx, [rax + 0x28]
lea rdx, str.Player_Database_Initialized
call fcn.18001a8e0
nop
lea rcx, [rbp + 0x90]
call fcn.18010e270
nop
mov rax, r14
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret