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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472967
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
push 0x20019
push 0x488104
push closesocket
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
call fcn.00424ae0
test eax, eax
jne 0x41861e
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push str.InstallLocation
lea ecx, [ebp - 0x78]
call fcn.00424e60
test eax, eax
jne 0x4185cd
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00401920
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push 0x14
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push str.Uninstall_qqplay.exe
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00401a50
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x70]
call fcn.00427150
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x418455
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41844b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41866b
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418568
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x94]
call fcn.00429760
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
push 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x485be0
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], 0x10
push eax
lea ecx, [ebp - 0x94]
call fcn.0042a320
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x418512
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418508
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418670
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], 0xf
lea edx, [ebp - 0x20]
push 0
lea ecx, [ebp - 0x94]
mov word [ebp - 0x20], 0
mov byte [ebp - 0x1e], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004245e0
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x94]
call fcn.004297e0
jmp 0x4185b5
cmp dword [0x49ad28], 1
jg 0x41859e
push 1
push 0x24
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_qqplay.cpp
lea ecx, [ebp - 0x144]
call fcn.00425970
mov byte [ebp - 4], 0x15
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Uninstall_qqplay.exe_not_exist.
mov dword [ebp - 0x7c], ebx
call fcn.00407b40
mov dword [ebp - 4], 0xa
test bl, 1
je 0x4185b5
lea ecx, [ebp - 0x144]
call fcn.00425b00
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00401850
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00401850
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x418607
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4185fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418675
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x41863a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x41864f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
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
call fcn.0045559f
int3