Function at 0x18000a390
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x148]
sub rsp, 0x240
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x180153498]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor esi, esi
mov edi, esi
mov dword [rsp + 0x70], esi
xor edx, edx
lea rcx, [rbp - 8]
call fcn.18002f8a0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movzx ebx, byte [0x180157030]
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1800309f0
mov byte [rsp + 0x30], 4
mov byte [rsp + 0x70], bl
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea r8d, [rsi + 0xd]
lea rdx, str.EditOnRelease
lea rcx, [rsp + 0x50]
call fcn.180005fd0
lea rax, [rsp + 0x50]
mov qword [rbp - 0x68], rax
movzx ecx, byte [rbp - 8]
test cl, cl
jne 0x18000a463
mov byte [rbp - 8], 1
call fcn.180036800
mov qword [rbp], rax
movzx ecx, byte [rbp - 8]
jmp 0x18000a467
mov rax, qword [rbp]
cmp cl, 1
jne 0x18000ac4d
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.18003db90
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18000a4c7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a4c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a4c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f2190
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
movzx ecx, byte [rbx + 0x40]
movzx eax, byte [rsp + 0x30]
mov byte [rbx + 0x40], al
mov byte [rsp + 0x30], cl
mov rax, qword [rbx + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rbx + 0x48], rcx
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1800309f0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movzx ebx, byte [0x180157031]
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1800309f0
mov byte [rsp + 0x30], 4
mov byte [rsp + 0x70], bl
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.ResetOnRelease
lea rcx, [rsp + 0x50]
call fcn.180005fd0
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
movzx ecx, byte [rbp - 8]
test cl, cl
jne 0x18000a59a
mov byte [rbp - 8], 1
call fcn.180036800
mov qword [rbp], rax
movzx ecx, byte [rbp - 8]
jmp 0x18000a59e
mov rax, qword [rbp]
cmp cl, 1
jne 0x18000ac0e
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.18003db90
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18000a5fe
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a5f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a5f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f2190
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
movzx ecx, byte [rbx + 0x40]
movzx eax, byte [rsp + 0x30]
mov byte [rbx + 0x40], al
mov byte [rsp + 0x30], cl
mov rax, qword [rbx + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rbx + 0x48], rcx
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1800309f0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movss xmm6, dword [0x180157034]
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1800309f0
mov byte [rsp + 0x30], 7
cvtps2pd xmm0, xmm6
movsd qword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8d, 3
lea rdx, [0x18012a1d8]
lea rcx, [rsp + 0x50]
call fcn.180005fd0
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
movzx ecx, byte [rbp - 8]
test cl, cl
jne 0x18000a6cd
mov byte [rbp - 8], 1
call fcn.180036800
mov qword [rbp], rax
movzx ecx, byte [rbp - 8]
jmp 0x18000a6d1
mov rax, qword [rbp]
cmp cl, 1
jne 0x18000ac8c
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.18003db90
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18000a731
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a72c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a72c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f2190
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
movzx ecx, byte [rbx + 0x40]
movzx eax, byte [rsp + 0x30]
mov byte [rbx + 0x40], al
mov byte [rsp + 0x30], cl
mov rax, qword [rbx + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rbx + 0x48], rcx
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1800309f0
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18000a7b0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.180005fd0
nop
mov r8d, 1
lea rdx, [0x18012a140]
lea rcx, [rbp - 0x60]
call fcn.180055b70
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 1
lea rdx, str.EZFNLauncherV4
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [str.EZFNLauncherV4]
mov r8, qword [reloc.WS2_32.dll_ntohl]
lea rcx, [rbp - 0x40]
call fcn.180055b70
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 2
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str._settings.json
lea rcx, [rsp + 0x30]
call fcn.180055b70
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 4
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rbx, qword [rsp + 0x50]
lea rax, [0x180131308]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or edi, 8
mov dword [rsp + 0x70], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rdi
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x18], rax
mov byte [rbp + 0x94], 0
mov byte [rbp + 0x89], 0
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x98], rsi
mov rax, qword [0x180158098]
mov qword [rbp + 0x8c], rax
mov qword [rbp + 0x80], rsi
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.180030860
test rax, rax
jne 0x18000a99c
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x10]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x10], rdi
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18000a9fb
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a9f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a9f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f2190
movdqa xmm0, xmmword [0x18013ca60]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18000aa4e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000aa49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000aa49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f2190
movdqa xmm0, xmmword [0x18013ca60]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18000aa9f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000aa9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000aa9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f2190
movdqa xmm0, xmmword [0x18013ca60]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18000aaee
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000aae9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000aae9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f2190
movdqa xmm0, xmmword [0x18013ca60]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 8]
call fcn.18002d7e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x18000ab1c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.180038570
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18000ab68
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ab63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000ab63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f2190
lea rcx, [rbp + 0x18]
call fcn.18002f7c0
test rax, rax
jne 0x18000ab93
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x10]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x10], rdi
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x18]
call fcn.18002d510
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rbp - 8]
lea rcx, [rbp]
call fcn.1800309f0
nop
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1800f2170
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp - 8]
call fcn.180037fb0
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.18003c160
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp - 0x40]
call fcn.18003c220
lea rdx, [0x18014ebb8]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp - 8]
call fcn.180037fb0
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.18003c160
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp - 0x40]
call fcn.18003c220
lea rdx, [0x18014ebb8]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp - 8]
call fcn.180037fb0
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.18003c160
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp - 0x40]
call fcn.18003c220
lea rdx, [0x18014ebb8]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3