Function at 0x4574f8
Capabilities:
Access peb ldr_data
Get common file path
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4b3076
call fcn.00483228
sub esp, 0x21c
mov eax, dword [0x4e43a4]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
mov dword [esi], eax
mov eax, dword [0x4e43a4]
and dword [ebp - 4], 0
lea ebx, [esi + 4]
mov dword [ebx], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 8], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0xc], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x10], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x14], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x18], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x20], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x24], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x28], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x2c], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x30], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x34], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x38], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x3c], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x40], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x44], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x48], eax
mov edi, 0x4e7e70
mov byte [ebp - 4], 0x12
push edi
call fcn.0049da15
push edi
mov ecx, ebx
call fcn.0049da15
push edi
lea ecx, [esi + 8]
call fcn.0049da15
push edi
lea ecx, [esi + 0xc]
call fcn.0049da15
push edi
lea ecx, [esi + 0x10]
call fcn.0049da15
push edi
lea ecx, [esi + 0x2c]
call fcn.0049da15
push edi
lea ecx, [esi + 0x14]
call fcn.0049da15
push edi
lea ecx, [esi + 0x1c]
call fcn.0049da15
push edi
lea ecx, [esi + 0x20]
call fcn.0049da15
push edi
lea ecx, [esi + 0x24]
call fcn.0049da15
push edi
lea ecx, [esi + 0x28]
call fcn.0049da15
push edi
lea ecx, [esi + 0x30]
call fcn.0049da15
push edi
lea ecx, [esi + 0x34]
call fcn.0049da15
push edi
lea ecx, [esi + 0x38]
call fcn.0049da15
push edi
lea ecx, [esi + 0x3c]
call fcn.0049da15
push edi
lea ecx, [esi + 0x44]
call fcn.0049da15
lea eax, [ebp - 0x228]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [0x4e43a4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push str._setup_shfolder.dll
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.0049da15
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0049db95
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x15
call fcn.0049d9c5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x14
call fcn.0049d8d8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x50], eax
je 0x4576bf
push str.SHGetFolderPathA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x54], eax
jmp 0x4576c3
and dword [esi + 0x54], 0
push esi
mov ecx, esi
call fcn.00457ae7
push ebx
mov ecx, esi
call fcn.00457ea3
lea eax, [esi + 8]
mov ecx, esi
push eax
call fcn.0045805b
lea eax, [ebp - 0x124]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x124]
lea ecx, [esi + 0x30]
push eax
call fcn.0049da15
lea eax, [esi + 0x34]
mov ecx, esi
push eax
call fcn.0045912d
lea eax, [esi + 0x38]
mov ecx, esi
push eax
call fcn.004593d2
lea eax, [esi + 0x18]
mov ecx, esi
push eax
call fcn.00458a85
lea eax, [esi + 0x1c]
mov ecx, esi
push eax
call fcn.00458ba1
lea eax, [esi + 0x20]
mov ecx, esi
push eax
call fcn.00458cbd
lea eax, [esi + 0x14]
mov ecx, esi
push eax
call fcn.004578e2
lea eax, [esi + 0x24]
mov ecx, esi
push eax
call fcn.00458ecb
lea eax, [esi + 0x10]
mov ecx, esi
push eax
call fcn.00458877
lea eax, [esi + 0x2c]
mov ecx, esi
push eax
call fcn.00458213
lea eax, [ebp - 0x124]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x124]
lea ecx, [esi + 0x28]
push eax
call fcn.0049da15
lea eax, [esi + 0x3c]
mov ecx, esi
push eax
call fcn.00459430
lea eax, [esi + 0x40]
mov ecx, esi
push eax
call fcn.004594d0
lea eax, [esi + 0xc]
mov ecx, esi
push eax
call fcn.00458333
lea eax, [esi + 0x44]
mov ecx, esi
push eax
call fcn.00458719
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret