Function at 0x40ffc0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569466
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], ecx
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x14], 0
test esi, esi
je 0x41029d
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x14], 0
je 0x41029d
push str.AsusSetup64.exe
sub esp, 0x18
lea edx, [ebp + 8]
mov ecx, esp
call fcn.004086a0
lea ecx, [ebp - 0xf8]
call fcn.004178e0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00403ac0
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0xe4], 0x10
jb 0x410085
push dword [ebp - 0xf8]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
mov dword [ebp - 0xe4], 0xf
cmovae eax, dword [ebp - 0x78]
push eax
mov dword [ebp - 0xe8], 0
mov byte [ebp - 0xf8], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4100d6
push 0x10
push 0x5b05cc
push str.Cant_find_AsusSetup64.exe
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov byte [ebp - 0xd1], al
jmp 0x41028b
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x18], 0xf
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00402ac0
push 0x208
mov byte [ebp - 4], 4
call fcn.00421c0d
add esp, 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov edi, eax
mov edx, edi
cmovae ecx, dword [ebp - 0x2c]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x410118
push 0x104
call fcn.00421c0d
add esp, 4
lea ecx, [ebp - 0x48]
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x5b045c
call fcn.004026c0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
push ecx
call fcn.00405120
add esp, 4
mov ecx, eax
call fcn.00405340
cmp dword [ebp - 0x34], 8
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x60]
cmovae edx, dword [ebp - 0x48]
call fcn.00417760
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
mov edx, esi
cmovae ecx, dword [ebp - 0x60]
lea ecx, [ecx]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x410180
push 0x44
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0054d610
add esp, 0xc
mov dword [ebp - 0xc0], 0x44
lea eax, [ebp - 0xd0]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xd0], xmm0
push eax
lea eax, [ebp - 0xc0]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0xd0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne al
mov byte [ebp - 0xd1], al
call esi
push dword [ebp - 0xcc]
call esi
push edi
call fcn.00421c08
add esp, 4
push dword [ebp - 0x14]
call fcn.00421c08
mov eax, dword [ebp - 0xd8]
add esp, 4
mov eax, dword [eax + 8]
mov byte [eax + 0x70c], 0
cmp dword [ebp - 0x4c], 0x10
jb 0x410231
push dword [ebp - 0x60]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jb 0x410254
push dword [ebp - 0x48]
call fcn.00421c08
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x410279
push dword [ebp - 0x2c]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x64], 0x10
jb 0x410534
push dword [ebp - 0x78]
jmp 0x41052c
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4102c0
xor al, al
mov byte [ebp - 0xd1], al
jmp 0x410534
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0
movq qword [ebp - 0xcc], xmm0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 6
call fcn.00404d20
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402ac0
lea eax, [ebp - 0xcc]
push eax
call fcn.0040f380
mov esi, dword [ebp - 0xcc]
test eax, eax
je 0x410513
mov ecx, dword [ebp - 0xc8]
mov eax, 0x2aaaaaab
sub ecx, esi
xor edi, edi
imul ecx
mov dword [ebp - 0x14], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xdc], eax
je 0x4104c3
lea esp, [esp]
sub esp, 0x18
mov dword [ebp - 0x30], 0
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402ac0
lea ecx, [ebp - 0xf8]
call fcn.004178e0
lea ecx, [ebp + 8]
mov dword [ebp - 0xe0], eax
add esp, 0x18
cmp ecx, eax
je 0x4103e7
cmp dword [ebp + 0x1c], 0x10
jb 0x4103cc
push dword [ebp + 8]
call fcn.00421c08
mov eax, dword [ebp - 0xe0]
add esp, 4
push eax
lea ecx, [ebp + 8]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
call fcn.004028b0
cmp dword [ebp - 0xe4], 0x10
jb 0x4103fe
push dword [ebp - 0xf8]
call fcn.00421c08
add esp, 4
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp dword [esi + 0x14], 0x10
jb 0x410413
mov ecx, dword [esi]
jmp 0x410415
mov ecx, esi
lea edx, [ebp - 0x30]
push edx
push 1
push eax
push ecx
push 0
call dword [sym.imp.newdev.dll_UpdateDriverForPlugAndPlayDevicesA]
test eax, eax
jne 0x41043f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe000020b
je 0x410440
cmp eax, 2
je 0x410456
test eax, eax
jne 0x410456
inc edi
mov eax, dword [ebp - 0x14]
add esi, 0x18
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0xdc]
jb 0x410370
test edi, edi
jle 0x4104bd
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 8]
cmp byte [eax + 0x711], 0
jne 0x4104b3
cmp byte [eax + 0x70c], 0
jne 0x4104b3
mov byte [eax + 0x712], 0
call fcn.0043adc9
push 0x80
push 0
push 0
mov eax, dword [eax + 4]
push 0
push 0
push 1
mov eax, dword [eax + 0x20]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x40
push 0x5b05cc
push str.Install_Finished__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [ebp - 0xcc]
mov al, 1
jmp 0x410515
mov esi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 8]
cmp byte [eax + 0x711], 0
jne 0x410513
mov byte [eax + 0x712], 0
call fcn.0043adc9
push 0x80
push 0
push 0
mov eax, dword [eax + 4]
push 0
push 0
push 1
mov eax, dword [eax + 0x20]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
push 0x5b05cc
push str.Install_Failed__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov byte [ebp - 0xd1], al
test esi, esi
je 0x41053a
push dword [ebp - 0xc8]
push esi
call fcn.00404d70
push esi
call fcn.00421c08
add esp, 4
mov al, byte [ebp - 0xd1]
cmp dword [ebp + 0x1c], 0x10
jb 0x410551
push dword [ebp + 8]
call fcn.00421c08
mov al, byte [ebp - 0xd1]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret 0x18