Function at 0x4523f0
Capabilities:
Create process on windows
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x50bde7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push esi
lea eax, [esp + 0x10]
push edi
push eax
push 0x561fd8
push SysReAllocStringLen
mov dword [esp + 0x24], 0x104
call ebp
test eax, eax
je 0x452447
push 0
push 0
push 0x561fa8
call fcn.0041b9c0
add esp, 0xc
jmp 0x4526b4
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
push edx
push 0
push 0
push 0x5705d0
push eax
mov word [esp + 0x3c], 0
mov dword [esp + 0x30], 0x208
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x24]
push ecx
call edi
test eax, eax
je 0x45248f
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x45249f
lea edx, [esp + 0x24]
push 0x55cbfc
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x561fd8
lea ecx, [esp + 0x14]
call fcn.004e1e9b
lea ecx, [esp + 0x24]
mov dword [esp + 0x43c], 0
push ecx
lea ecx, [esp + 0x14]
call fcn.004e2218
push 0x560230
lea ecx, [esp + 0x14]
call fcn.004e2218
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
push SysReAllocStringLen
call ebp
test eax, eax
jne 0x452695
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
push 0x5705d0
push eax
mov dword [esp + 0x30], 0x208
call esi
lea ecx, [esp + 0x24]
push ecx
call edi
test eax, eax
jne 0x452538
push 0xffffffffffffffff
push eax
push 0x87
call fcn.0041b900
add esp, 0xc
jmp 0x4526a0
lea edx, [esp + 0x22c]
push 0x104
lea eax, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 0x22c]
push 0x22
push ecx
lea edi, [esp + 0x234]
call fcn.004be501
add esp, 8
test eax, eax
je 0x452581
lea edi, [eax + 2]
push 0x22
push edi
call fcn.004be501
add esp, 8
test eax, eax
je 0x45259f
jmp 0x452597
lea edx, [esp + 0x22c]
push 0x20
push edx
call fcn.004be501
add esp, 8
test eax, eax
je 0x45259f
mov word [eax], 0
add eax, 2
push eax
lea ecx, [esp + 0x10]
call fcn.004e1e9b
mov eax, dword [0x56b44c]
mov dword [esp + 0x1c], eax
push 0x561fa0
lea ecx, [esp + 0x10]
mov byte [esp + 0x440], 2
call fcn.004d6ffb
mov ecx, dword [esp + 0xc]
mov esi, eax
lea edx, [esp + 0x20]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
sub eax, esi
sub eax, 2
push eax
push edx
call fcn.004d6e91
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x440], 3
call fcn.004e1f6e
lea ecx, [esp + 0x20]
mov byte [esp + 0x43c], 2
call fcn.004e1e27
lea eax, [esp + 0x20]
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.004d6f0d
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x440], 4
call fcn.004e1f6e
lea ecx, [esp + 0x20]
mov byte [esp + 0x43c], 2
call fcn.004e1e27
mov ecx, dword [esp + 0x444]
push ecx
lea ecx, [esp + 0x10]
call fcn.004e2218
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.004e2254
mov eax, dword [esp + 0xc]
push 5
push 0x55c780
push eax
push edi
push 0x55cbfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x43c], 1
call fcn.004e1e27
lea ecx, [esp + 0xc]
mov byte [esp + 0x43c], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x43c], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x434
ret 4