Function at 0x4b9270
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1250
call fcn.005b8630
mov eax, dword [0x66a074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea ecx, [ebp - 0x1248]
call fcn.004cb990
lea eax, [ebp - 0x1248]
push eax
call fcn.004cbe30
mov edi, eax
cmp edi, 4
je 0x4b92ac
cmp edi, 5
jne 0x4b92b9
call fcn.004cb900
test al, al
jne 0x4b95d6
push 0x1000
lea eax, [ebp - 0x1008]
push 0
push eax
call fcn.005b9c20
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.004cb900
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test al, al
je 0x4b92fe
push str..._sysnative
lea eax, [ebp - 0x1008]
push eax
call esi
push str.regsvr32.exe
lea eax, [ebp - 0x1008]
push eax
call esi
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b95d6
lea ecx, [ebp - 0x124c]
mov dword [ebp - 0x124c], 0
call fcn.004c0610
lea ecx, [ebp - 0x1128]
call fcn.004cb990
cmp dword [ebp - 0x1124], 5
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
ja 0x4b9363
jne 0x4b9557
cmp dword [ebp - 0x1120], 1
jb 0x4b9557
push 0
push 0
push str._s_actxprxy.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_mshtml.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s__i_urlmon.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s__i_browseui.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_oleaut32.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_shell32.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_jscript.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_vbscript.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_mshtmled.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_panmap.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_CLBCATQ.DLL
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_cscui.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_MLANG.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_stobject.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_WINHTTP.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_Wmsxml3.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_query.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_pngfilt.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_hlink.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
push 0
push 0
push str._s_wmp.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
cmp edi, 1
mov edi, dword [ebp - 0x124c]
jne 0x4b9599
push 0
push 0
push str._s_atl.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
cmp edi, 6
jne 0x4b9599
push 0
push 0
push str._s_shdocvw.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
lea ecx, [ebp - 0x1128]
call fcn.004cb990
cmp dword [ebp - 0x1124], 6
ja 0x4b95b8
jne 0x4b95d6
cmp dword [ebp - 0x1120], 1
jb 0x4b95d6
cmp edi, 9
jl 0x4b95d6
push 0
push 0
push str._s_jscript9.dll
lea eax, [ebp - 0x1008]
push eax
push str.open
push 0
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b75ab
mov esp, ebp
pop ebp
ret