Function at 0x1800a7c30
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1802c2700]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r14, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
lea rax, str.database.json
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xd
call fcn.180198f04
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp + 0xb0]
call fcn.180079f60
nop
lea rax, str.HorseMenu
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 9
call fcn.180198f04
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp + 0x90]
call fcn.180079f60
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 word [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1800a7d00
mov qword [rsp + 0x28], rcx
call fcn.180198f04
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.180079f60
nop
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0xd0]
call fcn.180061260
nop
lea r8, [rbp + 0xb0]
mov rdx, rax
mov rcx, r14
call fcn.180061260
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 7
jbe 0x1800a7da3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a7d9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a7d9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180199d8c
movdqa xmm0, xmmword [0x1801d8010]
movdqu xmmword [rbp + 0xe0], xmm0
mov word [rbp + 0xd0], r15w
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x1800a7e09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a7dfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a7dfc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180199d8c
movdqa xmm0, xmmword [0x1801d8010]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r15w
mov rdx, qword [rbp + 0xa8]
cmp rdx, 7
jbe 0x1800a7e67
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a7e5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a7e5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180199d8c
movdqa xmm0, xmmword [0x1801d8010]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], r15w
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x1800a7ec8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a7ebb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a7ebb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180199d8c
movdqa xmm0, xmmword [0x1801d8010]
movdqu xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], r15w
lea rbx, [r14 + 0x20]
mov qword [rsp + 0x20], rbx
mov dword [rbx], r15d
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov ecx, 0x28
call fcn.180199d50
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 0x1800a7fb5
mov ecx, 0x80
call fcn.180199d50
mov rdi, rax
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x1800a7f86
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x1800a7f81
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a7fae
mov rcx, r8
call fcn.180199d8c
mov qword [rbx + 0x18], rdi
lea rax, [rdi + 0x80]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
cmp rdi, rax
je 0x1800a7fca
nop
mov qword [rdi], rsi
add rdi, 8
cmp rdi, rax
jne 0x1800a7fa0
jmp 0x1800a7fca
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 0x1800a7fca
xor edi, edi
mov rax, rsi
rep stosq qword [rdi], rax
mov qword [r14 + 0x60], r15
mov qword [r14 + 0x68], r15
mov rcx, r14
call fcn.1800a9430
mov qword [0x1802e77f0], r14
mov dword [rsp + 0x20], 0xf
mov dword [rsp + 0x24], 3
lea rax, str.C:_action_runner_workHorseMenuHorseMenu_srcgame_backendPlayerDatabase.cpp
mov qword [rsp + 0x28], rax
lea rax, [0x1801e2120]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x20]
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.180141a70
nop
lea rcx, [rax + 0x28]
lea rdx, str.Player_Database_Initialized
call fcn.18005a1b0
nop
lea rcx, [rsp + 0x48]
call fcn.180140ce0
nop
mov rax, r14
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.180199d30
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret