Function at 0x4443b0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x48bee7
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x4ec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x504]
mov dword fs:[0], eax
mov edi, dword [esp + 0x514]
xor ebx, ebx
push 0x206
lea eax, [esp + 0x2fe]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov word [esp + 0x304], bx
call fcn.0045c2f0
push 0x103
lea ecx, [esp + 0x308]
push str.SoftwareTencentQQMiniDL
push ecx
call fcn.0045dadb
add esp, 0x18
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2fc]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
lea ebp, [ebx + 8]
je 0x444471
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2fc]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x444471
mov dword [esp + 0x14], ebx
jmp 0x44463d
cmp dword [esp + 0x14], ebx
je 0x44463d
push 0x494490
lea eax, [esp + 0xd8]
push edi
push eax
call fcn.00412230
add esp, 0xc
cmp dword [esp + 0xec], ebp
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x50c], ebx
jae 0x4444af
lea eax, [esp + 0xd8]
mov ecx, dword [esp + 0xe8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x1c]
push 1
push ebx
push str.MiniDLUI
push eax
call esi
test eax, eax
jne 0x444535
push 0x494a28
lea ecx, [esp + 0xbc]
push edi
push ecx
call fcn.00412230
mov eax, dword [esp + 0xc8]
add esp, 0xc
cmp dword [esp + 0xd0], ebp
jae 0x444501
lea eax, [esp + 0xbc]
mov edx, dword [esp + 0xcc]
lea ecx, [edx + edx]
mov edx, dword [esp + 0x14]
push ecx
push eax
push 1
push ebx
push str.GameUpUI
push edx
call esi
cmp dword [esp + 0xd0], ebp
jb 0x444535
mov eax, dword [esp + 0xbc]
push eax
call fcn.00451fd9
add esp, 4
cmp dword [esp + 0xec], ebp
mov dword [esp + 0x50c], 0xffffffff
jb 0x444559
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.00451fd9
add esp, 4
mov edi, dword [esp + 0x518]
cmp edi, ebx
jbe 0x444632
push 1
push 2
lea ecx, [esp + 0x40]
call fcn.00442020
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x510], 1
call fcn.00441d50
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x3c]
call fcn.0043b6c0
cmp dword [esp + 0xd0], ebp
mov eax, dword [esp + 0xbc]
jae 0x4445b2
lea eax, [esp + 0xbc]
mov ecx, dword [esp + 0xcc]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x1c]
push 1
push ebx
push str.Version
push eax
call esi
cmp dword [esp + 0xd0], ebp
jb 0x4445e6
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.00451fd9
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
mov dword [esp + 0x50c], 0xffffffff
call fcn.004382f0
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x88], 0x492650
call fcn.0047690c
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [0x4aa018]
mov dword [esp + 0x18], esi
push 0x208
lea ecx, [esp + 0xf4]
push ebx
push ecx
mov dword [esp + 0x518], 2
call fcn.0045c2f0
add esp, 0xc
push 1
push 0x28
lea edx, [esp + 0xf8]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x444785
push str.AppDataLocalLowQQMiniDL
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4446b4
and al, 0x10
cmp al, 0x10
sete al
test al, al
jne 0x4446c2
lea edx, [esp + 0xf0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0xf0]
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4446e6
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0xdc]
call fcn.00402470
lea ecx, [esp + 0xd4]
push ecx
mov byte [esp + 0x510], 3
call fcn.00449790
add esp, 4
test al, al
sete bl
cmp dword [esp + 0xec], ebp
mov byte [esp + 0x50c], 2
jb 0x444748
mov edx, dword [esp + 0xd8]
push edx
call fcn.00451fd9
add esp, 4
test bl, bl
je 0x444785
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x20]
call fcn.0040427f
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x510], 4
call fcn.004498f0
add esp, 4
cmp dword [esp + 0x34], ebp
jb 0x444785
mov edx, dword [esp + 0x20]
push edx
call fcn.00451fd9
add esp, 4
lea eax, [esi - 0xc]
cmp eax, dword [0x4aa014]
je 0x4447a7
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4447a7
push esi
call fcn.00451fd9
add esp, 4
mov ecx, dword [esp + 0x504]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4ec]
xor ecx, esp
call fcn.0045b7a6
add esp, 0x4fc
ret