Function at 0x47e6c0
Capabilities:
Check if file exists
Check os version
Create process on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x596b16
mov eax, dword fs:[0]
push eax
sub esp, 0x574
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x56c], eax
push ebx
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x584]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0047f0e0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
xor ebx, ebx
call fcn.004066b0
mov dword [esp + 0x58c], ebx
mov ecx, dword [esp + 0x10]
push 0x5c
push ecx
call fcn.004f7f30
mov ecx, dword [esp + 0x18]
add esp, 8
cmp eax, ebx
je 0x47e735
sub eax, ecx
sar eax, 1
cmp eax, ebx
jg 0x47e763
lea eax, [ecx - 0x10]
mov dword [esp + 0x58c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e75c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x47e950
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
call fcn.004098d0
lea edi, [esp + 0x10]
mov byte [esp + 0x58c], 1
call fcn.00406fe0
mov byte [esp + 0x58c], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e7a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47e7d1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x47e7d1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x3c
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.004fe380
add esp, 0xc
push 0x110
lea edx, [esp + 0x5c]
push ebx
push edx
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x2c], ebx
call fcn.004fe380
add esp, 0xc
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x58], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x58], 6
jb 0x47e82b
mov dword [esp + 0x24], str.runas
cmp dword [esp + 0x594], ebx
je 0x47e833
mov dword [esp + 0x24], str.open
push esi
push 0x5f353c
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], 5
mov dword [esp + 0x24], 0x40
call fcn.0049d036
add esp, 8
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push esi
push str.CSetupMgr
call fcn.0049d036
push 0x410
lea edx, [esp + 0x178]
push ebx
push edx
call fcn.004fe380
add esp, 0x14
push 0x208
lea eax, [esp + 0x170]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x16c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Config.ini
lea edx, [esp + 0x170]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x16c]
push eax
push ebx
push str.install_driver
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
mov ecx, dword [esp + 0x50]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x47e905
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x14], ebx
jne 0x47e905
mov ebx, 1
mov eax, 0x5d7d28
jmp 0x47e90a
mov eax, 0x5d7bb4
lea ecx, [esp + 0x16c]
push ecx
push eax
push str.success
push str.install_driver
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [esp + 0x58c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e94e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x584]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x56c]
xor ecx, esp
call fcn.004f673f
add esp, 0x580
ret 4