Function at 0x47df80
Capabilities:
Check if file exists
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a079b
mov eax, dword fs:[0]
push eax
sub esp, 0xc68
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0xc60], eax
push ebx
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0xc78]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
push 0x206
push eax
lea ecx, [esp + 0x66]
push ecx
mov dword [esp + 0x28], edi
mov ebx, edx
mov word [esp + 0x68], ax
call fcn.004fe380
add esp, 0xc
call fcn.0049c555
xor edx, edx
push 0x7fe
mov esi, eax
push edx
lea eax, [esp + 0x476]
push eax
mov word [esp + 0x478], dx
call fcn.004fe380
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x26e]
push edx
mov word [esp + 0x270], cx
call fcn.004fe380
add esp, 0xc
push 0x104
lea eax, [esp + 0x268]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test esi, esi
je 0x47e1da
push str.360MMSetupDrv64.exe
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x5c]
push ecx
push 0x5f3414
call fcn.0049d036
push ebx
lea edx, [esp + 0x478]
push 0x5f344c
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47e0a9
or eax, 0xffffffff
jmp 0x47e1f4
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
lea ecx, [esp + 0x68]
call fcn.004066b0
call fcn.0049da57
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x47e0a1
push 0x3c
lea edx, [esp + 0x24]
push ebx
push edx
mov dword [esp + 0x24], ebx
call fcn.004fe380
lea eax, [esp + 0x68]
lea ecx, [esp + 0x478]
add esp, 0xc
lea esi, [esp + 0x20]
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], str.open
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], 0x40
call fcn.0047dd40
test eax, eax
je 0x47e1d4
mov edx, dword [esp + 0x58]
push ebx
mov ebx, edi
mov dword [esp + 0x18], edx
xor esi, esi
call fcn.0047e220
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ebx, [ebx]
cmp dword [0x65e100], 0
jne 0x47e15e
push 0x623830
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [0x65e100], 1
cmp dword [0x623840], 2
jne 0x47e17e
cmp dword [0x623834], 5
jne 0x47e17e
cmp dword [0x623838], 1
jne 0x47e17e
call fcn.0047e290
mov eax, dword [esp + 0x58]
push 0x12c
push eax
call edi
test eax, eax
je 0x47e1ae
cmp eax, 0x102
jne 0x47e1c9
add esi, 2
cmp esi, 0x5a
jb 0x47e1a2
mov esi, 0x5a
mov ebx, dword [esp + 0x1c]
push esi
call fcn.0047e220
jmp 0x47e140
mov ebx, dword [esp + 0x1c]
push 0x64
call fcn.0047e220
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
jmp 0x47e1f4
mov dword [esp + 0x14], vtable.CSetupMgr.0
mov ecx, ebx
mov dword [esp + 0xc80], 0
call fcn.0047e410
mov ecx, dword [esp + 0xc78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc60]
xor ecx, esp
call fcn.004f673f
mov esp, ebp
pop ebp
ret