Function at 0x408480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471f00
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.00403e40
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x49ad2c], ebx
jg 0x40852d
sub esp, 8
mov dword [ebp - 0x128], ebx
lea ecx, [ebp - 0x120]
call fcn.00422bb0
mov dword [ebp - 0x84], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_qpcore2.cpp
mov dword [ebp - 0x80], 0x1f
call edi
push 0x1f
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_qpcore2.cpp
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x7c], eax
call fcn.00425610
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x120]
push dword [ebp - 0x5c]
mov ebx, 1
mov edx, str.UnInstallQPCore::Run____product_count:
mov dword [ebp - 0x60], ebx
call fcn.00407130
mov ecx, eax
call fcn.004050f0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x40854a
and ebx, 0xfffffffe
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x60], ebx
call fcn.00425110
lea ecx, [ebp - 0x58]
call fcn.00401900
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.00419e20
lea ecx, [ebp - 0x58]
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x408930
sub esp, 8
lea ecx, [ebp - 0x78]
call fcn.00429bf0
push 0x40
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call fcn.0044f797
mov esi, eax
push esi
push 4
call fcn.004013c0
lea ecx, [esi + 4]
push ecx
push 4
mov dword [eax], esi
call fcn.004013c0
mov dword [eax], esi
lea eax, [esi + 8]
push eax
push 4
call fcn.004013c0
add esp, 0x1c
lea ecx, [ebp - 0x78]
mov dword [eax], esi
mov word [esi + 0xc], 0x101
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], 1
call fcn.00401a00
mov eax, dword [eax]
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.0043a350
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str._utqpcore
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00405f80
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x78]
call fcn.00429940
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x408664
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40865a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40895d
push edx
push ecx
call fcn.0044f7c7
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x484950
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00405f80
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x78]
call fcn.00429940
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4086f1
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4086e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408962
push edx
push ecx
call fcn.0044f7c7
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x20]
mov word [ebp - 0x1f], 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x20], 1
mov dword [ebp - 0x5c], 0
call fcn.00423bf0
add esp, 4
test al, al
je 0x408877
mov esi, dword [ebp - 0x5c]
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4087eb
cmp dword [0x49ad2c], 2
jg 0x4087c1
sub esp, 8
mov dword [ebp - 0x128], 2
lea ecx, [ebp - 0x120]
call fcn.00422bb0
mov dword [ebp - 0x84], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_qpcore2.cpp
mov dword [ebp - 0x80], 0x3a
call edi
push 0x3a
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_qpcore2.cpp
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x7c], eax
call fcn.00425610
or ebx, 2
mov byte [ebp - 4], 0xd
mov edx, str.stop_and_uninstall_qpcore_error_timeout_
mov dword [ebp - 0x60], ebx
lea ecx, [ebp - 0x120]
call fcn.00407130
mov dword [ebp - 4], 2
test bl, 2
je 0x4087d8
lea ecx, [ebp - 0x128]
call fcn.00425110
push 0
xor edx, edx
mov ecx, esi
call fcn.00423c50
add esp, 4
jmp 0x4088f1
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
mov ecx, esi
call fcn.00423c90
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x4088f1
cmp dword [0x49ad2c], 2
jg 0x408872
sub esp, 8
mov dword [ebp - 0x128], 2
lea ecx, [ebp - 0x120]
call fcn.00422bb0
mov dword [ebp - 0x84], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_qpcore2.cpp
mov dword [ebp - 0x80], 0x44
call edi
push 0x44
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_qpcore2.cpp
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x7c], eax
call fcn.00425610
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x120]
or ebx, 4
mov edx, str.stop_and_uninstall_qpcore_error:
push esi
mov dword [ebp - 0x60], ebx
call fcn.00407130
mov ecx, eax
call fcn.00405430
test bl, 4
jmp 0x4088dd
cmp dword [0x49ad2c], 2
jg 0x4088da
sub esp, 8
mov dword [ebp - 0x128], 2
lea ecx, [ebp - 0x120]
call fcn.00422bb0
mov dword [ebp - 0x84], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_qpcore2.cpp
mov dword [ebp - 0x80], 0x4a
call edi
push 0x4a
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_qpcore2.cpp
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x7c], eax
call fcn.00425610
or ebx, 8
mov byte [ebp - 4], 0xf
mov edx, str.launch_process_failed__stop_and_uninstall_qpcore_error
mov dword [ebp - 0x60], ebx
lea ecx, [ebp - 0x120]
call fcn.00407130
test bl, 8
mov dword [ebp - 4], 2
je 0x4088f1
lea ecx, [ebp - 0x128]
call fcn.00425110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
mov esi, dword [ebp - 0x6c]
push dword [esi + 4]
call fcn.00429d10
mov eax, dword [ebp - 0x6c]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x6c]
mov dword [eax], esi
mov eax, dword [ebp - 0x6c]
mov dword [eax + 8], esi
push dword [ebp - 0x6c]
mov dword [ebp - 0x68], 0
call fcn.0044f7c7
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.004192b0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.00401850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f786
mov esp, ebp
pop ebp
ret 4
call fcn.00454bbf
call fcn.00454bbf
int3