Function at 0x180005840
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800dd3c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov ecx, dword [0x1801a083c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x1801a090c], eax
jle 0x180005ac0
lea rcx, [0x1801a090c]
call fcn.1800a6fa8
cmp dword [0x1801a090c], 0xffffffff
jne 0x180005ac0
mov eax, dword [rdi]
cmp dword [0x1801a08a4], eax
jle 0x180005a01
lea rcx, [0x1801a08a4]
call fcn.1800a6fa8
cmp dword [0x1801a08a4], 0xffffffff
jne 0x180005a01
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov ecx, 0x50
call fcn.1800a7020
mov rcx, rax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x1800c6620]
movdqu xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [str...LocalPackagesMicrosoft.MinecraftUWP_8wekyb3d8bbweRoamingState_]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1800b3e60]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1800b3e70]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1800b3e80]
movups xmmword [rax + 0x30], xmm1
mov eax, dword [0x1800b3e90]
mov dword [rcx + 0x40], eax
movzx eax, byte [0x1800b3e94]
mov byte [rcx + 0x44], al
mov byte [rcx + 0x45], 0
lea rcx, str.AppData
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x180005954
mov r8, rax
lea rcx, [rsp + 0x30]
call fcn.180009fa0
xorps xmm0, xmm0
movups xmmword [0x1801a08e0], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1801a08f0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [0x1801a08e0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x1801a08f0], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1800059e8
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800059e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800059e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a73d4
lea rcx, [0x1800afba0]
call fcn.1800a73b4
nop
lea rcx, [0x1801a08a4]
call fcn.1800a6f3c
lea rdx, [0x1801a08e0]
lea rcx, [rsp + 0x50]
call fcn.180007a70
nop
mov r8d, 6
lea rdx, str.Boost_
lea rcx, [rsp + 0x50]
call fcn.1800083a0
xorps xmm0, xmm0
movups xmmword [0x1801a0880], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1801a0890], xmm1
movups xmm0, xmmword [rax]
movups xmmword [0x1801a0880], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x1801a0890], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180005aa7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005aa2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005aa2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a73d4
lea rcx, [0x1800afb30]
call fcn.1800a73b4
nop
lea rcx, [0x1801a090c]
call fcn.1800a6f3c
lea rdx, [0x1801a0880]
mov rcx, rbx
call fcn.180007a70
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800a6ee0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret