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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4731e8
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 eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x60], ebx
call fcn.00401900
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.00419e20
lea ecx, [ebp - 0x58]
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41006a
cmp dword [0x49ad2c], 2
jg 0x41004a
sub esp, 8
mov dword [ebp - 0x128], 2
lea ecx, [ebp - 0x120]
call fcn.00422bb0
mov dword [ebp - 0x84], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstall_taskdisable_qqprotect.cpp
mov dword [ebp - 0x80], 0x17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x17
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstall_taskdisable_qqprotect.cpp
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x7c], eax
call fcn.00425610
mov byte [ebp - 4], 1
lea esi, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x120]
mov ebx, 1
mov edx, str.DisableQQProtect_task_failed__qp_not_existed:
cmovae esi, dword [ebp - 0x58]
mov dword [ebp - 0x60], ebx
call fcn.00407130
mov edx, esi
mov ecx, eax
call fcn.00425a00
mov dword [ebp - 4], 0
test bl, 1
je 0x4104c5
lea ecx, [ebp - 0x128]
call fcn.00425110
jmp 0x4104c5
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 0xb
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str._fp_disable
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 0x410155
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41014b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f1
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 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push str._tqpcore
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 0x4101e2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4101d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f6
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 ecx, [ebp - 0x28]
push 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x484950
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], 0xd
push eax
lea ecx, [ebp - 0x78]
call fcn.00429940
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41026f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410265
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104fb
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 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 0x410401
mov esi, dword [ebp - 0x5c]
push 0x3a98
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41036f
cmp dword [0x49ad2c], 2
jg 0x410345
sub esp, 8
mov dword [ebp - 0x128], 2
lea ecx, [ebp - 0x120]
call fcn.00422bb0
mov dword [ebp - 0x84], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstall_taskdisable_qqprotect.cpp
mov dword [ebp - 0x80], 0x29
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x29
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstall_taskdisable_qqprotect.cpp
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x7c], eax
call fcn.00425610
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x120]
mov ebx, 2
mov edx, str.disable_qd_error_timeout_
mov dword [ebp - 0x60], ebx
call fcn.00407130
mov dword [ebp - 4], 2
test bl, 2
je 0x41035c
lea ecx, [ebp - 0x128]
call fcn.00425110
push 0
xor edx, edx
mov ecx, esi
call fcn.00423c50
add esp, 4
jmp 0x410481
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
mov ecx, esi
call fcn.00423c90
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x410481
cmp dword [0x49ad2c], 2
jg 0x4103fc
sub esp, 8
mov dword [ebp - 0x128], 2
lea ecx, [ebp - 0x120]
call fcn.00422bb0
mov dword [ebp - 0x84], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstall_taskdisable_qqprotect.cpp
mov dword [ebp - 0x80], 0x35
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x35
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstall_taskdisable_qqprotect.cpp
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x7c], eax
call fcn.00425610
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x120]
mov ebx, 4
mov edx, str.disable_qd_error:
push esi
mov dword [ebp - 0x60], ebx
call fcn.00407130
mov ecx, eax
call fcn.00405430
test bl, 4
jmp 0x41046d
cmp dword [0x49ad2c], 2
jg 0x41046a
sub esp, 8
mov dword [ebp - 0x128], 2
lea ecx, [ebp - 0x120]
call fcn.00422bb0
mov dword [ebp - 0x84], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstall_taskdisable_qqprotect.cpp
mov dword [ebp - 0x80], 0x3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3b
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstall_taskdisable_qqprotect.cpp
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x7c], eax
call fcn.00425610
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x120]
mov ebx, 8
mov edx, str.launch_process_failed__disable_qd_error
mov dword [ebp - 0x60], ebx
call fcn.00407130
test bl, 8
mov dword [ebp - 4], 2
je 0x410481
lea ecx, [ebp - 0x128]
call fcn.00425110
call fcn.00404130
mov byte [ebp - 4], 0
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 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
call fcn.00454bbf
int3