Function at 0x180018b30
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x4b8]
sub rsp, 0x5a0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1801d00c0]
xor rax, rsp
mov qword [rbp + 0x470], rax
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], r12
mov qword [rbp + 0x188], 0xf
mov byte [rbp + 0x170], r12b
lea r15d, [r12 + 1]
mov ecx, dword [0x1801f033c]
mov eax, dword [0x1801f0338]
test eax, eax
jne 0x180018bc6
cmp ecx, 3
jne 0x180018be7
lea r9, str.Downloadslunar_1.7.10.json
lea edx, [rcx + 0x19]
jmp 0x180018dae
cmp eax, r15d
jne 0x180018be3
cmp ecx, 3
jne 0x180018da2
lea r9, str.Downloadslunar_1.8.9.json
lea edx, [rcx + 0x18]
jmp 0x180018dae
test eax, eax
jne 0x180018bfa
test ecx, ecx
jne 0x180018c10
lea r9, str.Downloads_vanilla_1.7.10.json
lea edx, [rcx + 0x1e]
jmp 0x180018dae
cmp eax, r15d
je 0x180018da2
cmp eax, 2
jne 0x180018c10
test ecx, ecx
je 0x180018da2
cmp ecx, r15d
jne 0x180018dba
xorps xmm1, xmm1
test eax, eax
jne 0x180018c4b
movups xmmword [rbp + 0x50], xmm0
movdqu xmmword [rbp + 0x60], xmm1
lea r8d, [rax + 6]
lea rdx, str.1.7.10
lea rcx, [rbp + 0x50]
call fcn.18000b050
lea rcx, [rbp + 0x50]
mov r14d, r15d
mov dword [rsp + 0x30], r15d
jmp 0x180018c79
movups xmmword [rbp + 0x30], xmm0
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 5
lea rdx, str.1.8.9
lea rcx, [rbp + 0x30]
call fcn.18000b050
lea rcx, [rbp + 0x30]
mov r14d, 2
mov dword [rsp + 0x30], r14d
mov r9d, 0x11
lea r8, str.Downloads_forge_
xor edx, edx
call fcn.18000e130
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r14d, 0xe
mov dword [rsp + 0x30], r14d
mov r8d, 5
lea rdx, str..json
lea rcx, [rbp - 0x28]
call fcn.180008b30
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r14d, 0xf
mov rdx, qword [rbp + 0x188]
cmp rdx, 0xf
jbe 0x180018d3d
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018d38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001945d
call fcn.1800ba7f0
movups xmmword [rbp + 0x170], xmm6
movups xmmword [rbp + 0x180], xmm7
movdqa xmm0, xmmword [0x1801b3d70]
movdqu xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], 0
lea rcx, [rbp + 0xf0]
call fcn.180008ad0
nop
lea rcx, [rbp - 0x28]
call fcn.180008ad0
nop
test r14b, 2
je 0x180018d8d
and r14d, 0xfffffffd
lea rcx, [rbp + 0x30]
call fcn.180008ad0
nop
test r14b, 1
je 0x180018dba
and r14d, 0xfffffffe
lea rcx, [rbp + 0x50]
call fcn.180008ad0
jmp 0x180018dba
lea r9, str.Downloads_vanilla_1.8.9.json
mov edx, 0x1d
lea rcx, [rbp + 0x170]
call fcn.18000b190
mov r8d, 0x40
lea rdx, [rbp + 0x3b0]
lea rcx, str.USERPROFILE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
lea rax, [rbp + 0x3b0]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180018e00
lea rdx, [rbp + 0x3b0]
lea rcx, [rbp + 0x70]
call fcn.18000b050
or r14d, 4
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
lea rcx, [rbp + 0x70]
call fcn.180008b30
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 8
mov rdi, qword [rbp - 0x60]
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rbx, qword [rbp - 0x70]
call fcn.1800b8120
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp + 0x110]
call fcn.1800166c0
or r14d, 0x30
lea rcx, [rbp + 0x110]
call fcn.180016df0
movzx ebx, al
lea rcx, [rbp + 0x110]
call fcn.18001b800
nop
lea rcx, [rbp - 0x70]
call fcn.180008ad0
nop
lea rcx, [rbp + 0x70]
call fcn.180008ad0
mov r8d, 0x40
lea rcx, str.USERPROFILE
test bl, bl
jne 0x180018fe1
lea rdx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
lea rax, [rbp + 0x3b0]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x180018f20
mov r8, rsi
lea rdx, [rbp + 0x3b0]
lea rcx, [rbp + 0x90]
call fcn.18000b050
nop
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
lea rcx, [rbp + 0x90]
call fcn.180008b30
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, str.Mappings_file_not_found__
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x1b
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea r9, [rbp - 8]
lea r8, [rsp + 0x40]
call fcn.18001c4c0
nop
lea rcx, [rbp - 8]
call fcn.180008ad0
nop
lea rcx, [rbp + 0x90]
call fcn.180008ad0
jmp 0x180019417
lea rdx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
lea rax, [rbp + 0x3f0]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180019010
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0xb0]
call fcn.18000b050
bts r14d, 0xb
lea rax, str.Loading_debug_mappings_from_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x20
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb0]
lea r8, [rsp + 0x60]
mov edx, 0xa6
call fcn.18001c1e0
nop
lea rcx, [rbp + 0xb0]
call fcn.180008ad0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x1a0]
call fcn.1800eac20
mov r8d, 0x40
lea rdx, [rbp + 0x430]
lea rcx, str.USERPROFILE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
lea rax, [rbp + 0x430]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1800190d0
mov r8, rsi
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0xd0]
call fcn.18000b050
bts r14d, 0xc
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
lea rcx, [rbp + 0xd0]
call fcn.180008b30
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r14d, 0xd
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rdx, qword [rbp - 0x48]
lea rcx, [rbp + 0x1a0]
call fcn.18001b0a0
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1a0], rdi
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x19c], edx
lea rcx, [rbp - 0x48]
call fcn.180008ad0
nop
lea rcx, [rbp + 0xd0]
call fcn.180008ad0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x2b0]
call fcn.1800eac20
lea rcx, [rbp + 0x2b0]
call fcn.180019fd0
nop
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x2c0]
call fcn.18001aa10
lea rax, [rbp + 0x130]
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x168], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
bts r14d, 7
mov dword [rsp + 0x30], r14d
xor eax, eax
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x338]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x18001925e
mov rax, qword [rbp + 0x308]
mov rbx, qword [rax]
test rbx, rbx
je 0x18001925e
mov rax, qword [rbp + 0x2e8]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x330]
cmovb rbx, qword [rbp + 0x330]
jmp 0x180019289
test cl, 4
jne 0x1800192c2
mov rax, qword [rbp + 0x300]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800192c2
mov rax, qword [rbp + 0x2e0]
mov r9, qword [rax]
mov rax, qword [rbp + 0x318]
movsxd rbx, dword [rax]
add rbx, rcx
mov rax, r9
sub rbx, r9
mov qword [rbp + 0x18], r9
test rax, rax
je 0x1800192c2
lea rcx, [rsp + 0x70]
cmp rbx, 0xf
ja 0x1800192b9
mov qword [rbp - 0x80], rbx
mov r8, rbx
mov rdx, r9
call fcn.1800ea580
mov byte [rsp + rbx + 0x70], 0
jmp 0x1800192c2
mov rdx, rbx
call fcn.18000b190
nop
lea r8, [rbp + 0x130]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x190]
call fcn.18001c760
nop
lea rcx, [rsp + 0x70]
call fcn.180008ad0
mov rbx, qword [0x18021daf0]
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x60]
call fcn.180027520
movzx edx, byte [rbx + 8]
movzx ecx, byte [rax]
mov byte [rbx + 8], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [rbx + 0x10]
mov r8, qword [rcx]
mov qword [rbx + 0x10], r8
mov qword [rcx], rdx
movzx edx, byte [rax]
call fcn.18001b2c0
nop
mov rcx, rbx
call fcn.180041440
mov rcx, rbx
call fcn.1800419d0
mov rcx, rbx
call fcn.180042710
lea rax, str.Parsed_mappings_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x10
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, 0x71
lea rcx, str.C:Users_rootDocumentsGitHubghost_clientghost_client_source_sdkmappermapper.cpp
call fcn.18001bfe0
xchg byte [rbx], r15b
movzx edx, byte [rbp + 0x190]
lea rcx, [rbp + 0x198]
call fcn.18001b2c0
nop
lea rcx, [rbp + 0x2b0]
call fcn.180019510
nop
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1a0], rdi
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x19c], edx
lea rcx, [rbp + 0x1b0]
call fcn.180007970
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1a0], rax
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x19c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x250], rax
lea rcx, [rbp + 0x250]
call fcn.1800b95c4
nop
lea rcx, [rbp + 0x170]
call fcn.180008ad0
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1800ba7d0
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800c39f0
nop
int3