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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4221d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
mov eax, dword [0x42c17c]
push ebx
push esi
push edi
mov dword [esp + 0x474], eax
xor ebx, ebx
xor eax, eax
mov word [esp + 0x260], bx
mov ecx, 0x82
lea edi, [esp + 0x262]
rep stosd dword es:[edi], eax
push 0x105
lea eax, [esp + 0x264]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esp + 0x10], eax
mov word [esp + 0x58], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x5a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x260]
push ecx
lea edx, [esp + 0x5c]
push edx
stosw word es:[edi], ax
call fcn.004172f0
add esp, 8
push 0x428008
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401e30
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.binXlaccAir.exe
push str.binXlaccAir.exe
mov dword [esp + 0x48c], ebx
call esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0040de80
push str.RunUninstallApp
call fcn.00406b70
add esp, 4
test eax, eax
jne 0x414d0d
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
inc eax
push eax
lea ecx, [esp + 0x18]
call fcn.00401560
push eax
push str.Check_file
push ebx
push str.RunUninstallApp
call fcn.0040a9c0
add esp, 8
mov ecx, eax
call fcn.0040d020
mov ecx, eax
call fcn.0040dcf0
push 1
mov edi, eax
push ebx
mov dword [0x42d048], ebx
mov eax, dword [edi + 0x240]
push ebx
push eax
push 1
mov ecx, edi
mov dword [edi + 0x248], ebx
call fcn.0040af90
add edi, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
inc eax
push eax
lea ecx, [esp + 0x18]
call fcn.00401560
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414dd4
mov edx, dword [0x42c054]
mov dword [esp + 0x10], edx
push 0x426d48
lea eax, [esp + 0x14]
push 0x42814c
push eax
mov byte [esp + 0x490], 1
call fcn.00411160
add esp, 0xc
push 0x40
push ecx
mov ecx, dword [esp + 0x18]
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], 0x428144
mov eax, dword [ecx - 8]
push ecx
inc eax
mov dword [esp + 0x24], esp
mov esi, esp
push eax
lea ecx, [esp + 0x20]
call fcn.00401560
push ebx
mov dword [esi], eax
call fcn.00410070
mov eax, dword [esp + 0x20]
mov ecx, dword [0x42c058]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
add esp, 0x10
cmp edx, ecx
je 0x414db4
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x414db4
push esi
call fcn.00415965
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x42c058]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x415007
lea esi, [eax - 0xc]
push esi
call edi
jmp 0x414ffa
cmp dword [esp + 0x10], ebx
je 0x414ded
push 0x428008
lea edx, [esp + 0x264]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [0x42c054]
mov dword [esp + 0x10], eax
push 0x428124
push 0x428124
mov byte [esp + 0x48c], 2
call esi
push eax
lea ecx, [esp + 0x18]
call fcn.0040de80
push 0x428120
push 0x428120
call esi
push eax
lea ecx, [esp + 0x18]
call fcn.0040de80
lea ecx, [esp + 0x260]
push ecx
mov edx, ecx
push edx
call esi
push eax
lea ecx, [esp + 0x18]
call fcn.0040de80
push 0x428120
push 0x428120
call esi
push eax
lea ecx, [esp + 0x18]
call fcn.0040de80
push 0x42811c
push 0x42811c
call esi
push eax
lea ecx, [esp + 0x18]
call fcn.0040de80
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jne 0x414e78
xor eax, eax
jmp 0x414e7b
push edi
call esi
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.0040de80
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [esp + 0x14]
call fcn.00401560
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x58]
push edi
push ecx
mov ebx, eax
call fcn.004172f0
add esp, 8
push 0x428008
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
lea eax, [esp + 0x5c]
push eax
push ebx
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x20
jae 0x414fa4
push str.RunUninstallApp
call fcn.00406b70
add esp, 4
test eax, eax
jne 0x414f18
push 1
push edi
push str.shellexecute_failed:
push eax
push str.RunUninstallApp
call fcn.0040a9c0
add esp, 8
mov ecx, eax
call fcn.0040d020
mov ecx, eax
call fcn.0040dc60
mov ecx, eax
call fcn.0040b500
cmp edi, 5
jne 0x414fa4
push str.RunUninstallApp
call fcn.00406b70
add esp, 4
test eax, eax
jne 0x414f55
push 1
push str.run_exe_as_high_leavel
push eax
push str.RunUninstallApp
call fcn.0040a9c0
add esp, 8
mov ecx, eax
call fcn.0040d020
mov ecx, eax
call fcn.0040b500
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], str.runas
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esp + 0x10]
call fcn.004015f0
mov edi, dword [esp + 0x10]
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [edi - 8], eax
mov word [edi + eax*2], 0
mov ecx, dword [0x42c058]
lea eax, [edi - 0xc]
cmp eax, ecx
je 0x414fe3
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x414fe3
push esi
call fcn.00415965
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x42c058]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x415007
lea esi, [eax - 0xc]
push esi
call ebx
test eax, eax
jg 0x415007
push esi
call fcn.00415965
add esp, 4
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x474]
call fcn.0041575b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret