Function at 0x18004e28c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
mov qword [rbp - 0x10], r9
mov rax, qword [rbp + 0x1f0]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rbp], rax
mov rax, qword [rbp + 0x200]
mov qword [rbp + 8], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x1f0], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x1f8], rax
xor edx, edx
lea r8d, [rsi + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1800a8ae0
lea rax, [rsp + 0x60]
mov qword [rbp + 0x200], rax
mov word [rsp + 0x60], si
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x68], sil
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
lea rax, [rbp - 0x60]
mov qword [rbp + 0x200], rax
xor edx, edx
lea r8d, [rsi + 0x30]
lea rcx, [rsp + 0x28]
call fcn.1800a8ae0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
lea rcx, [0x18004c82c]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.18004db4c
nop
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x60]
call fcn.18004c724
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18004e3d4
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
sar rdx, 3
lea r8d, [rsi + 8]
call fcn.1800062ec
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18004e3e3
call qword [rsp + 0x28]
nop
mov rdx, qword [rbp - 0x20]
cmp qword [rsp + 0x78], rsi
jne 0x18004e40b
lea rax, [rsp + 0x68]
cmp rax, rdx
je 0x18004e414
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x68]
call fcn.180006a7c
jmp 0x18004e414
lea rcx, [rbp - 0x78]
call fcn.18005163c
mov rdx, qword [rbp]
lea rcx, [rbp - 0x60]
call fcn.18005186c
lea rcx, [rbp - 0x60]
call fcn.18004e0b0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.18004f2e0
nop
lea rax, [rbp + 0x30]
mov qword [rbp + 0x10], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xc0]
call fcn.18004f314
nop
mov rdx, rdi
lea rcx, [rbp + 0xc0]
call fcn.18004e9d8
mov dword [rsp + 0x20], 1
mov rbx, qword [rbp + 0x158]
test rbx, rbx
je 0x18004e4a9
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18004e4a9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18004e4a9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rax, [rbp + 0x30]
mov qword [rbp + 0x1f0], rax
lea rax, [rbp + 0x78]
mov qword [rbp + 0x1f8], rax
lea rax, [rbp + 0x78]
mov qword [rbp + 0x1f8], rax
lea rcx, [rbp + 0x78]
call fcn.18004bcd8
nop
lea rcx, [rbp + 0x30]
call fcn.180011de0
nop
lea rax, [rsp + 0x60]
mov qword [rbp + 0x1f0], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x1f0], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0x1f8], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0x1f8], rax
lea rcx, [rbp - 0x60]
call fcn.18004bcd8
nop
lea rax, [rsp + 0x60]
mov qword [rbp + 0x1f0], rax
lea rcx, [rbp - 0x78]
call fcn.1800107d4
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x18004e549
inc rdx
mov r8d, 1
mov rcx, qword [rsp + 0x68]
call fcn.1800062ec
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x68], sil
mov rax, rdi
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret