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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471e47
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 str.SOFTWARETencentQQMiniApp
push closesocket
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
call fcn.004240f0
test eax, eax
jne 0x4083ae
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.00424470
test eax, eax
jne 0x40835d
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00401920
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push 0x17
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push str.Uninstall_QQMiniApp.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.00426760
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4081e5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4081db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4083fb
push edx
push ecx
call fcn.0044f7c7
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 0x4082f8
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x94]
call fcn.00428d80
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
push 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x485b38
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], 0x10
push eax
lea ecx, [ebp - 0x94]
call fcn.00429940
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4082a2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408298
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408400
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], 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.00423bf0
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x94]
call fcn.00428e00
jmp 0x408345
cmp dword [0x49ad2c], 1
jg 0x40832e
push 1
push 0x27
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_miniapp.cpp
lea ecx, [ebp - 0x144]
call fcn.00424f80
mov byte [ebp - 4], 0x15
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Uninstall_miniapp.exe_not_exist.
mov dword [ebp - 0x7c], ebx
call fcn.00407130
mov dword [ebp - 4], 0xa
test bl, 1
je 0x408345
lea ecx, [ebp - 0x144]
call fcn.00425110
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 0x408397
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40838d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408405
push edx
push ecx
call fcn.0044f7c7
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 0x4083ca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4083df
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.0044f786
mov esp, ebp
pop ebp
ret 4
call fcn.00454bbf
call fcn.00454bbf
call fcn.00454bbf
int3