Function at 0x140138170
Capabilities:
Query environment variable

Disassembly:
jmp 0x140138170
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x460
lea rdi, [rsp + 0x30]
mov ecx, 0x10c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x470]
mov rax, qword [0x1401dc6c0]
xor rax, rsp
mov qword [rsp + 0x458], rax
lea rcx, [0x1401f6788]
call fcn.140003d2d
lea rax, str.config_launcher.ini
mov qword [rsp + 0x30], rax
lea rcx, str.APPDATA
call qword [sym.imp.ucrtbased.dll_getenv]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1401381e1
xor eax, eax
jmp 0x1401385c8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.140002473
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x400], rax
lea r8, str.ROOX_
mov rdx, qword [rsp + 0x400]
lea rcx, [rsp + 0xa0]
call fcn.140003954
mov qword [rsp + 0x408], rax
mov rax, qword [rsp + 0x408]
mov qword [rsp + 0x410], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x410]
lea rcx, [rsp + 0x48]
call fcn.140003954
nop
lea rcx, [rsp + 0xa0]
call fcn.140001889
nop
lea rcx, [rsp + 0x78]
call fcn.140001889
nop
mov edx, 0x110
lea rcx, [rsp + 0xe0]
call fcn.140002e5a
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xe0]
call fcn.14000323d
mov qword [rsp + 0x418], rax
lea rcx, [rsp + 0xe0]
call fcn.140001159
movzx eax, al
test eax, eax
jne 0x140138428
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x210]
call fcn.1400021da
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x210]
call fcn.140003dff
mov qword [rsp + 0x420], rax
lea rcx, [rsp + 0x210]
call fcn.140002f04
movzx eax, al
test eax, eax
jne 0x140138358
mov qword [rsp + 0x3d0], 0
lea rcx, [rsp + 0x210]
call fcn.140001b2c
nop
lea rcx, [rsp + 0xe0]
call fcn.140001717
nop
lea rcx, [rsp + 0x48]
call fcn.140001889
mov rax, qword [rsp + 0x3d0]
jmp 0x1401385c8
mov rdx, qword [str.Default]
lea rcx, [rsp + 0x210]
call fcn.140001514
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x428]
mov qword [rsp + 0x430], rax
lea rdx, [0x1400011d1]
mov rcx, qword [rsp + 0x430]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x210]
call fcn.140002707
nop
mov r9d, 0x40
mov r8d, 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xe0]
call fcn.140001a4b
nop
lea rcx, [rsp + 0xe0]
call fcn.140001159
movzx eax, al
test eax, eax
jne 0x14013841a
mov qword [rsp + 0x3d8], 0
lea rcx, [rsp + 0x210]
call fcn.140001b2c
nop
lea rcx, [rsp + 0xe0]
call fcn.140001717
nop
lea rcx, [rsp + 0x48]
call fcn.140001889
mov rax, qword [rsp + 0x3d8]
jmp 0x1401385c8
lea rcx, [rsp + 0x210]
call fcn.140001b2c
nop
lea rcx, [rsp + 0x338]
call fcn.140003cec
nop
lea rdx, [rsp + 0x338]
lea rcx, [rsp + 0xe0]
call fcn.1400010fa
nop
mov rdx, qword [str.Default]
lea rcx, [rsp + 0x338]
call fcn.140002202
movzx eax, al
test eax, eax
je 0x14013847c
mov rdx, qword [str.github.com_Ownr_Free_Finall_releases_download_release_finalR.dll]
lea rcx, [rsp + 0x338]
call fcn.1400011b3
nop
lea rcx, [rsp + 0xe0]
call fcn.140002914
nop
lea r8, [rsp + 0x338]
lea rdx, str.https:__
lea rcx, [rsp + 0x378]
call fcn.1400011db
mov qword [rsp + 0x438], rax
mov edx, 8
lea rcx, [rsp + 0x3b8]
call fcn.1400018bb
lea rcx, [rsp + 0x378]
call fcn.140003625
inc rax
mov rcx, rax
call fcn.1400023c4
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x3e0], rax
mov rdx, qword [rsp + 0x3e0]
lea rcx, [rsp + 0x3b8]
call fcn.140003189
nop
lea rcx, [rsp + 0x378]
call fcn.140001429
mov qword [rsp + 0x448], rax
lea rcx, [rsp + 0x3b8]
call fcn.140001c21
mov qword [rsp + 0x450], rax
mov rdx, qword [rsp + 0x448]
mov rcx, qword [rsp + 0x450]
call sub.ucrtbased.dll_strcpy
nop
lea rcx, [rsp + 0x3b8]
call fcn.14000152d
mov qword [rsp + 0x3e8], rax
lea rcx, [rsp + 0x3b8]
call fcn.140003305
nop
lea rcx, [rsp + 0x378]
call fcn.140001889
nop
lea rcx, [rsp + 0x338]
call fcn.140001889
nop
lea rcx, [rsp + 0xe0]
call fcn.140001717
nop
lea rcx, [rsp + 0x48]
call fcn.140001889
mov rax, qword [rsp + 0x3e8]
jmp 0x1401385c8
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401c3590]
call fcn.140003535
mov rax, rdi
mov rcx, qword [rsp + 0x458]
xor rcx, rsp
call fcn.140002595
add rsp, 0x460
pop rdi
ret