Function at 0x4778b0
Capabilities:
Get common file path
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eddd3
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x521390]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x434], eax
add eax, 0xc
push eax
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x42c]
push eax
mov ebx, str.extfa.dll
call fcn.0045c1d0
add esp, 8
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x42c]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov esi, dword [sym.imp.ole32.dll_OleUninitialize]
test eax, eax
js 0x47795b
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, 0x20
jb 0x477959
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x477fae
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov edi, dword [ebp - 0x434]
add edi, 0x6c
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0xfa1
call fcn.0047d470
mov ecx, dword [ebp - 0x438]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ebx, str.box.dll
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 1
call fcn.0045c2b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4779c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x42c]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x477a12
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, 0x20
jb 0x477a10
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x477fcc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov edi, dword [ebp - 0x434]
add edi, 0x6c
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0xfa2
call fcn.0047d470
mov ecx, dword [ebp - 0x438]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ebx, str.StormWeb.dll
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 2
call fcn.0045c2b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477a80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x42c]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x477ac9
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, 0x20
jb 0x477ac7
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x477fe4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov edi, dword [ebp - 0x434]
add edi, 0x6c
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0xfa3
call fcn.0047d470
mov ecx, dword [ebp - 0x438]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ebx, str.webplayerPlayerShell.dll
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 3
call fcn.0045c2b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477b37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x42c]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x477b80
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, 0x20
jb 0x477b7e
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x477ffc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov edi, dword [ebp - 0x434]
add edi, 0x6c
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0xfa4
call fcn.0047d470
mov ecx, dword [ebp - 0x438]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ebx, str.InstallStormPlayer.dll
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 4
call fcn.0045c2b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477bee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x42c]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x477c37
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, 0x20
jb 0x477c35
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x478014
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov edi, dword [ebp - 0x434]
add edi, 0x6c
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0xfa7
call fcn.0047d470
mov ecx, dword [ebp - 0x438]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ebx, str.stormpop.exe
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 5
call fcn.0045c2b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477ca5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x42c]
push str._InstallReg
push ecx
call fcn.00458760
add esp, 8
test al, al
jne 0x477cdb
mov edi, dword [ebp - 0x434]
add edi, 0x6c
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0xfa8
call fcn.0047d470
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x21a]
push eax
mov word [ebp - 0x21c], dx
call fcn.004cfd40
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x430]
push eax
push str.ThreadingModel
push str.CLSIDF6D90F11_9C73_11D3_B32E_00C04F990BB4InProcServer32
push SysReAllocStringLen
mov dword [ebp - 0x428], 0x102
mov dword [ebp - 0x430], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x477e07
push 1
push 0x25
lea ecx, [ebp - 0x424]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x428]
push edx
lea ecx, [ebp - 0x424]
call fcn.0045ab70
push 0xb
push str.msxml3.dll
lea ebx, [ebp - 0x428]
mov byte [ebp - 4], 6
call fcn.0045a6d0
mov edi, dword [ebp - 0x428]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x477dc3
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, 0x20
jb 0x477dc1
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x47802c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov edi, dword [ebp - 0x434]
add edi, 0x6c
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0xfa9
call fcn.0047d470
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477e07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0045c620
test al, al
jne 0x477f62
mov ecx, dword [ebp - 0x438]
push ecx
lea edx, [ebp - 0x430]
push edx
mov ebx, str.ShellDrag.dll
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 7
call fcn.0045c2b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477e64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x42c]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x477ead
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, 0x20
jb 0x477eab
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x478044
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov edi, dword [ebp - 0x434]
add edi, 0x6c
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0xfa5
call fcn.0047d470
mov ecx, dword [ebp - 0x438]
push ecx
lea edx, [ebp - 0x430]
push edx
mov ebx, str.FileTips.dll
call fcn.0045c1d0
add esp, 8
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 8
call fcn.0045c2b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477f1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x42c]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x477f62
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, 0x20
jb 0x477f60
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x477f59
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477f8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cbf11
mov esp, ebp
pop ebp
ret 4
call eax
push edi
test eax, eax
js 0x477953
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [sym.imp.ole32.dll_OleUninitialize]
call esi
jmp 0x477979
call eax
push edi
test eax, eax
js 0x477a0a
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
jmp 0x477a30
call eax
push edi
test eax, eax
js 0x477ac1
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
jmp 0x477ae7
call eax
push edi
test eax, eax
js 0x477b78
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
jmp 0x477b9e
call eax
push edi
test eax, eax
js 0x477c2f
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
jmp 0x477c55
call eax
push edi
test eax, eax
js 0x477dbb
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
jmp 0x477de1
call eax
push edi
test eax, eax
js 0x477ea5
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
jmp 0x477ecb