Function at 0x44c240
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544b66
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x10], 0
jne 0x44c295
push str.New_Config_path_is_empty
push 0x57
push 0x58ba20
call fcn.00437520
add esp, 0xc
mov eax, 0x57
jmp 0x44c504
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x44c2a6
mov eax, dword [esi]
jmp 0x44c2a8
mov eax, esi
xor ecx, ecx
push 0x14
mov word [eax], cx
mov ecx, esi
push str.C:PackagesPlugins_
call fcn.0040c930
push ecx
push esi
mov ecx, edi
call fcn.0040afd0
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x44c2fe
movups xmm0, xmmword [esi]
sub esp, 0x18
mov eax, esp
push str.New_Config_path_does_not_contain__s
movups xmmword [eax], xmm0
push 0xd
movq xmm0, qword [esi + 0x10]
push 0x58ba20
movq qword [eax + 0x10], xmm0
call fcn.00437520
add esp, 0x24
mov eax, 0xd
jmp 0x44c504
mov eax, dword [esi + 0x10]
add eax, ecx
mov ecx, edi
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0040af90
push 1
push ecx
push 0x565aa8
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.0040c850
cmp eax, 0xffffffff
jne 0x44c36f
push str.New_Config_path_does_not_contain_seperator_after_basepath
push 0xd
push 0x58ba20
call fcn.00437520
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp eax, 8
jb 0x44c2f4
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403300
mov eax, 0xd
jmp 0x44c504
push eax
push 0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040af90
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0040ce80
push 1
push 0x565aa8
mov ecx, esi
call fcn.0040c930
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.AZURE_GUEST_AGENT_UPDATING_FROM_VERSION
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x44c43e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push str.Failed_to_get_environment_variable_size
push esi
push 0x58ba20
call fcn.00437520
mov eax, dword [ebp - 0x21c]
add esp, 0xc
cmp eax, 8
jb 0x44c3fc
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x44c437
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403300
mov eax, esi
jmp 0x44c504
cmp word [ebp - 0x218], 0
jne 0x44c44c
xor ecx, ecx
jmp 0x44c464
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c455
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040c930
push 1
push 0x565aa8
mov ecx, esi
call fcn.0040c930
push 0xf
push str.RuntimeSettings
mov ecx, esi
call fcn.0040c930
mov ecx, esi
call fcn.004032d0
push eax
push str.Old_Plugin_Location__s
push 0x58ba20
call fcn.00437360
mov eax, dword [ebp - 0x21c]
add esp, 0xc
cmp eax, 8
jb 0x44c4c7
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403300
mov ecx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp ecx, 8
jb 0x44c502
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.00403300
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret