Function at 0x4909d0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b05b4
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov eax, dword [ebp + 8]
push eax
call sym.Install_rocket.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], edx
mov ecx, dword [ebp - 0x238]
add ecx, 2
push ecx
call fcn.00479dbd
add esp, 4
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x22c], edx
cmp dword [ebp - 0x22c], 0
jne 0x490a4d
xor al, al
jmp 0x490e56
mov eax, dword [ebp - 0x238]
add eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.00432e20
add esp, 0xc
mov edx, dword [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.Install_rocket.exe_int___cdecl_NsReadFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x490ab3
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
push eax
call fcn.00479db8
add esp, 4
xor al, al
jmp 0x490e56
mov ecx, dword [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x224]
call fcn.004096a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
call fcn.00479db8
add esp, 4
lea ecx, [ebp - 0x220]
call fcn.004097c0
mov byte [ebp - 4], 1
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00432e20
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004095c0
push 0x4cc10c
push 0x4cc114
lea ecx, [ebp - 0x220]
call fcn.00418c00
lea ecx, [ebp - 0x220]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cc118
lea ecx, [ebp - 0x224]
call fcn.00418c00
mov ecx, dword [ebp - 0x24c]
add ecx, 0x16b0
push ecx
lea ecx, [ebp - 0x220]
call fcn.00409610
push 0x4cc128
push 0x4cc130
lea ecx, [ebp - 0x220]
call fcn.00418c00
lea ecx, [ebp - 0x220]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cc134
lea ecx, [ebp - 0x224]
call fcn.00418c00
push 0
push 0x1c
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004095c0
push 0x4cc144
push 0x4cc14c
lea ecx, [ebp - 0x220]
call fcn.00418c00
lea ecx, [ebp - 0x220]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cc150
lea ecx, [ebp - 0x224]
call fcn.00418c00
call sym.Install_rocket.exe_int___cdecl_isSys64_void_
test eax, eax
je 0x490d3b
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x220]
call fcn.004095c0
push 0x4cc164
push 0x4cc16c
lea ecx, [ebp - 0x220]
call fcn.00418c00
lea ecx, [ebp - 0x220]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cc170
lea ecx, [ebp - 0x224]
call fcn.00418c00
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004095c0
push 0x4cc17c
push 0x4cc184
lea ecx, [ebp - 0x220]
call fcn.00418c00
lea ecx, [ebp - 0x220]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cc188
lea ecx, [ebp - 0x224]
call fcn.00418c00
push 0
push 0x26
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x230]
call fcn.004096a0
mov byte [ebp - 4], 2
push 0x4cc198
push 0x4cc19c
lea ecx, [ebp - 0x230]
call fcn.00418c00
push 0x4cc1ac
push 0x4cc1b4
lea ecx, [ebp - 0x230]
call fcn.00418c00
lea ecx, [ebp - 0x230]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cc1b8
lea ecx, [ebp - 0x224]
call fcn.00418c00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00409680
jmp 0x490e02
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x220]
call fcn.004095c0
push 0x4cc1cc
push 0x4cc1d4
lea ecx, [ebp - 0x220]
call fcn.00418c00
lea ecx, [ebp - 0x220]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cc1d8
lea ecx, [ebp - 0x224]
call fcn.00418c00
lea ecx, [ebp - 0x220]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cc1e4
lea ecx, [ebp - 0x224]
call fcn.00418c00
push 0
push 0x26
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004095c0
push 0x4cc1f4
push 0x4cc1fc
lea ecx, [ebp - 0x220]
call fcn.00418c00
lea ecx, [ebp - 0x220]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cc200
lea ecx, [ebp - 0x224]
call fcn.00418c00
lea ecx, [ebp - 0x224]
call fcn.004097f0
shl eax, 1
push eax
lea ecx, [ebp - 0x224]
call fcn.004117f0
push eax
mov edx, dword [ebp + 8]
push edx
call sym.Install_rocket.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
mov byte [ebp - 0x225], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00409680
mov al, byte [ebp - 0x225]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 4