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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472a20
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.00404820
mov esi, dword [ebp - 0x5c]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x49ad28], ebx
jg 0x408f3e
sub esp, 8
mov dword [ebp - 0x128], ebx
lea ecx, [ebp - 0x120]
call fcn.004235a0
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.00426000
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x120]
mov ebx, 1
mov edx, str.UnInstallQPCore::Run____product_count:
push esi
mov dword [ebp - 0x60], ebx
call fcn.00407b40
mov ecx, eax
call fcn.00405ad0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x408f5b
and ebx, 0xfffffffe
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x60], ebx
call fcn.00425b00
cmp esi, 1
ja 0x409366
call fcn.004050b0
test eax, eax
jne 0x409366
lea ecx, [ebp - 0x58]
call fcn.00401900
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.0041a820
lea ecx, [ebp - 0x58]
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x409357
sub esp, 8
lea ecx, [ebp - 0x78]
call fcn.0042a5d0
push 0x40
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call fcn.00450175
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.0043ad40
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.004069a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x78]
call fcn.0042a320
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40908b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409081
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409384
push edx
push ecx
call fcn.004501a5
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 0x48497c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004069a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x78]
call fcn.0042a320
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x409118
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40910e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409389
push edx
push ecx
call fcn.004501a5
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.004245e0
add esp, 4
test al, al
je 0x40929e
mov esi, dword [ebp - 0x5c]
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x409212
cmp dword [0x49ad28], 2
jg 0x4091e8
sub esp, 8
mov dword [ebp - 0x128], 2
lea ecx, [ebp - 0x120]
call fcn.004235a0
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.00426000
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.00407b40
mov dword [ebp - 4], 2
test bl, 2
je 0x4091ff
lea ecx, [ebp - 0x128]
call fcn.00425b00
push 0
xor edx, edx
mov ecx, esi
call fcn.00424640
add esp, 4
jmp 0x409318
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
mov ecx, esi
call fcn.00424680
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x409318
cmp dword [0x49ad28], 2
jg 0x409299
sub esp, 8
mov dword [ebp - 0x128], 2
lea ecx, [ebp - 0x120]
call fcn.004235a0
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.00426000
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.00407b40
mov ecx, eax
call fcn.00405e10
test bl, 4
jmp 0x409304
cmp dword [0x49ad28], 2
jg 0x409301
sub esp, 8
mov dword [ebp - 0x128], 2
lea ecx, [ebp - 0x120]
call fcn.004235a0
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.00426000
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.00407b40
test bl, 8
mov dword [ebp - 4], 2
je 0x409318
lea ecx, [ebp - 0x128]
call fcn.00425b00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
mov esi, dword [ebp - 0x6c]
push dword [esi + 4]
call fcn.0042a6f0
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.004501a5
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.00419cb0
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.00450164
mov esp, ebp
pop ebp
ret 4
call fcn.0045559f
call fcn.0045559f
int3