Function at 0x1400bbb00
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], r8b
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rsi, rdx
mov r12, rcx
xor ebx, ebx
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x1400bbb54
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400a3d30
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov r14d, 7
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov rax, qword [str.Roaming]
mov dword [rsp + 0x40], eax
movzx eax, word [0x14012edec]
mov word [rsp + 0x44], ax
movzx eax, byte [0x14012edee]
mov byte [rsp + 0x46], al
mov byte [rsp + 0x47], 0
lea r15, [rbp - 0x80]
mov r13, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x68]
cmp rcx, 0xf
cmova r15, r13
mov rdi, qword [rbp - 0x70]
cmp rdi, r14
jb 0x1400bbc8e
lea r12, [rdi + r15]
lea r8, [r12 - 6]
sub r8, r15
lea edx, [r14 + 0x4b]
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400bbc83
nop dword [rax]
nop word [rax + rax]
mov r8, r14
lea rdx, [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400bbc36
inc rbx
lea r8, [r12 - 6]
sub r8, rbx
mov edx, 0x52
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400bbc00
jmp 0x1400bbc83
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x1400bbc83
cmp rdi, rbx
jb 0x1400bc48a
mov rax, rdi
sub rax, rbx
cmp rax, 7
cmovb r14, rax
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rcx, r13
add rcx, rbx
sub rdi, r14
mov r8, rdi
sub r8, rbx
inc r8
lea rdx, [rcx + r14]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x70], rdi
mov r13, qword [rbp - 0x80]
mov r12, qword [rbp + 0x350]
mov rcx, qword [rbp - 0x68]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rdi
cmp rax, 0xe
jb 0x1400bc490
lea rax, [rbp - 0x80]
cmp rcx, 0xf
cmova rax, r13
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], recv
lea r9, str.AppData_path:
lea rcx, [rbp - 0x20]
call fcn.1400a5810
lea rdx, [rbp - 0x20]
mov ecx, recv
call fcn.1400c9320
mov rax, rbx
mov rcx, qword [rbp - 0x70]
sub rax, rcx
cmp byte [rbp + 0x360], 0
je 0x1400bc093
cmp rax, 0x41
jb 0x1400bc49c
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], 0x41
lea rax, str.LocalPackagesMicrosoft.FlightSimulator_8wekyb3d8bbweLocalCache
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400a5810
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14009ec30
mov rcx, rax
call fcn.1400b7cd0
test al, al
je 0x1400bc089
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
lea ecx, [rdi + 0x20]
call fcn.14010ab80
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], reloc.WS2_32.dll_recv
mov qword [rsp + 0x58], 0x1f
movups xmm0, xmmword [str.Store_path_exist]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], dil
lea rdx, [rsp + 0x40]
lea ecx, [rdi + 0xd]
call fcn.1400c9320
mov rcx, qword [rsp + 0x70]
sub rbx, rcx
cmp rbx, 8
jb 0x1400bc496
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r9, qword [rsp + 0x60]
mov qword [rsp + 0x30], 8
lea rax, str.exe.xml
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x60]
call fcn.1400a5810
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.14009ec30
mov rcx, rax
call fcn.1400bd5d0
xorps xmm0, xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
movups xmmword [rsp + 0x40], xmm0
test al, al
je 0x1400bbeee
lea ecx, [rdi + 0x20]
call fcn.14010ab80
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], reloc.WS2_32.dll_recv
mov qword [rsp + 0x58], 0x1f
movups xmm0, xmmword [str.Store_file_exist]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], dil
lea rdx, [rsp + 0x40]
lea ecx, [rdi + 0xd]
call fcn.1400c9320
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov rcx, r12
call fcn.14006a850
cmp dword [r12 + 0x6c], edi
jne 0x1400bc07f
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], recv
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Loaded_store]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x14012ee90]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], dil
lea rdx, [rsp + 0x40]
lea ecx, [rdi + 0xd]
call fcn.1400c9320
lea rax, [rbp - 0x60]
cmp rsi, rax
je 0x1400bc07f
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
mov rcx, rsi
call fcn.140067380
jmp 0x1400bc07f
mov ecx, 0x30
call fcn.14010ab80
mov rcx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0x21
mov qword [rsp + 0x58], 0x2f
movups xmm0, xmmword [str.Store_file_not_exist_creating_new]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14012eea8]
movups xmmword [rax + 0x10], xmm1
movzx eax, byte [0x14012eeb8]
mov byte [rcx + 0x20], al
mov byte [rcx + 0x21], 0
lea rdx, [rsp + 0x40]
mov ecx, recv
call fcn.1400c9320
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov ecx, 0x20
call fcn.14010ab80
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], reloc.WS2_32.dll_setsockopt
mov qword [rsp + 0x58], 0x1f
movups xmm0, xmmword [str.Data_Settings_exe.xml]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401318c0]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1401318c4]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.1400d7030
nop
lea rcx, [rbp]
call fcn.14006a050
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
lea rcx, [rbp]
call fcn.14006a850
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
lea rcx, [rbp]
call fcn.14006a9f0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov rcx, r12
call fcn.14006a850
cmp dword [r12 + 0x6c], 0
jne 0x1400bc06b
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], recv
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Loaded_store]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x14012ee90]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
lea rdx, [rsp + 0x40]
mov ecx, recv
call fcn.1400c9320
lea rax, [rbp - 0x60]
cmp rsi, rax
je 0x1400bc06b
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
mov rcx, rsi
call fcn.140067380
nop
lea rcx, [rbp]
call fcn.14006a210
nop
lea rcx, [rbp - 0x20]
call fcn.1400672b0
nop
lea rcx, [rbp - 0x60]
call fcn.1400672b0
nop
lea rcx, [rsp + 0x60]
jmp 0x1400bc425
cmp rax, 0x22
jb 0x1400bc49c
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], 0x22
lea rax, str.RoamingMicrosoft_Flight_Simulator
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.1400a5810
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.14009ec30
mov rcx, rax
call fcn.1400b7cd0
test al, al
je 0x1400bc420
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
lea ecx, [rdi + 0x20]
call fcn.14010ab80
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], reloc.WS2_32.dll_recv
mov qword [rsp + 0x78], 0x1f
movups xmm0, xmmword [str.Steam_path_exist]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], dil
lea rdx, [rsp + 0x60]
lea ecx, [rdi + 0xd]
call fcn.1400c9320
mov rcx, qword [rsp + 0x50]
sub rbx, rcx
cmp rbx, 8
jb 0x1400bc484
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], 8
lea rax, str.exe.xml
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x40]
call fcn.1400a5810
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14009ec30
mov rcx, rax
call fcn.1400bd5d0
xorps xmm0, xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
movups xmmword [rsp + 0x60], xmm0
test al, al
je 0x1400bc285
lea ecx, [rdi + 0x20]
call fcn.14010ab80
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], reloc.WS2_32.dll_recv
mov qword [rsp + 0x78], 0x1f
movups xmm0, xmmword [str.Steam_file_exist]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], dil
lea rdx, [rsp + 0x60]
lea ecx, [rdi + 0xd]
call fcn.1400c9320
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov rcx, r12
call fcn.14006a850
cmp dword [r12 + 0x6c], edi
jne 0x1400bc416
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], recv
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Loaded_Steam]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x14012ef20]
mov dword [rsp + 0x68], eax
mov byte [rsp + 0x6c], dil
lea rdx, [rsp + 0x60]
lea ecx, [rdi + 0xd]
call fcn.1400c9320
lea rax, [rbp - 0x40]
cmp rsi, rax
je 0x1400bc416
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, rsi
call fcn.140067380
jmp 0x1400bc416
mov ecx, 0x30
call fcn.14010ab80
mov rcx, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0x21
mov qword [rsp + 0x78], 0x2f
movups xmm0, xmmword [str.Steam_file_not_exist_creating_new]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14012ef38]
movups xmmword [rax + 0x10], xmm1
movzx eax, byte [0x14012ef48]
mov byte [rcx + 0x20], al
mov byte [rcx + 0x21], 0
lea rdx, [rsp + 0x60]
mov ecx, recv
call fcn.1400c9320
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov ecx, 0x20
call fcn.14010ab80
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], reloc.WS2_32.dll_setsockopt
mov qword [rsp + 0x78], 0x1f
movups xmm0, xmmword [str.Data_Settings_exe.xml]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401318c0]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1401318c4]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.1400d7030
nop
lea rcx, [rbp]
call fcn.14006a050
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
lea rcx, [rbp]
call fcn.14006a850
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp]
call fcn.14006a9f0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov rcx, r12
call fcn.14006a850
cmp dword [r12 + 0x6c], 0
jne 0x1400bc402
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], recv
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Loaded_steam]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x14012ef58]
mov dword [rsp + 0x68], eax
mov byte [rsp + 0x6c], 0
lea rdx, [rsp + 0x60]
mov ecx, recv
call fcn.1400c9320
lea rax, [rbp - 0x40]
cmp rsi, rax
je 0x1400bc402
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, rsi
call fcn.140067380
nop
lea rcx, [rbp]
call fcn.14006a210
nop
lea rcx, [rbp - 0x20]
call fcn.1400672b0
nop
lea rcx, [rbp - 0x40]
call fcn.1400672b0
nop
lea rcx, [rsp + 0x40]
call fcn.1400672b0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400bc469
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a7a8
mov rbx, qword [rsp + 0x458]
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400668e0
nop
call fcn.1400a0620
nop
call fcn.1400668e0
nop
call fcn.1400668e0
nop
call fcn.1400668e0
int3