Function at 0x4114e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4e400d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x254]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [0x5156e4], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24c], ebx
mov eax, dword [0x5143cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x5143cc
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x24c], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x411566
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x18]
push eax
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call esi
push 0x4f1408
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
call fcn.00409930
mov edi, dword [esp + 0x1c]
mov eax, dword [edi - 0xc]
cmp eax, ebx
jne 0x4115fb
mov dword [0x5156e8], ebx
push 0x4ef7d8
xor ebx, ebx
mov eax, 0x5156ec
call fcn.00401470
lea edi, [esp + 0x1c]
call fcn.00411380
test eax, eax
jne 0x4115f5
mov byte [esp + 0x24c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4115ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
jmp 0x411ab9
mov edi, dword [esp + 0x1c]
xor ebx, ebx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411636
mov dword [0x5156e8], ebx
push 0x4ef7d8
xor ebx, ebx
mov eax, 0x5156ec
call fcn.00401470
lea eax, [edi - 0x10]
mov byte [esp + 0x24c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4115de
lea eax, [esp + 0x1c]
mov edi, 0x5156ec
mov dword [0x5156e8], 1
call fcn.00401410
mov eax, edi
call fcn.004214e0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x411664
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
push ecx
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call esi
push str.Version
lea edx, [esp + 0x1c]
push edx
mov eax, 0x5156f0
call fcn.00409930
cmp dword [0x5156c8], ebx
je 0x4116d7
mov eax, dword [0x5156f0]
mov eax, dword [eax - 0xc]
cmp eax, 4
jle 0x4116d7
lea ecx, [eax - 4]
push 0x5156f0
mov eax, 2
lea edx, [esp + 0x28]
call fcn.00409b50
push eax
mov ecx, 0x4f0454
mov dword [esp + 0x2c], 1
call fcn.00413b40
add esp, 4
test al, al
mov byte [esp + 0x23], 1
jne 0x4116db
mov byte [esp + 0x23], bl
test byte [esp + 0x28], 1
je 0x411702
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411702
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x23], bl
je 0x411778
cmp ebp, ebx
jne 0x411729
push ebx
mov ebx, dword [0x5156c4]
push 2
mov ecx, 0x67
mov edx, 0x4f1420
call fcn.004391a0
add esp, 8
xor ebx, ebx
push str.mini
mov ecx, 0x5158b0
call fcn.00489840
mov byte [esp + 0x250], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411762
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x411771
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x411ac7
call fcn.00411060
cmp ebp, ebx
mov edi, eax
jne 0x411af1
lea ecx, [esp + 0x28]
push ecx
push str.SOFTWARETencentQQPCMgr
mov byte [esp + 0x254], 2
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jne 0x4118f9
lea edx, [esp + 0x24]
push edx
push str.OemInfo
lea eax, [esp + 0x30]
call fcn.004098d0
mov eax, 1
cmp dword [esp + 0x24], eax
jne 0x4117db
mov dword [0x5156d0], eax
jmp 0x4117e3
cmp dword [0x5156d0], ebx
je 0x411842
push 0x4f147c
push ebx
mov ebx, dword [0x5156c4]
mov ecx, 0x66
mov edx, 0x4f149c
call fcn.004391a0
add esp, 8
cmp eax, 1
je 0x4118f9
push 4
mov eax, 0x64
call fcn.00422ff0
mov dword [0x515690], 4
lea esi, [esp + 0x28]
call fcn.00409aa0
lea ecx, [esp + 0x1c]
call fcn.004016d0
lea esi, [esp + 0x18]
call fcn.00409aa0
xor eax, eax
jmp 0x411ac7
cmp edi, ebx
je 0x4118f9
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], ebx
push 0x5156ec
push eax
mov ebx, str.QQPCRTP.exe
call fcn.00413a60
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x258], 3
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
mov ecx, 1
mov edx, str._uid
call fcn.00422000
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24c], 2
call fcn.004016d0
push 0x206
lea edx, [esp + 0x3a]
push 0
push edx
mov word [esp + 0x40], 0
call fcn.004be240
mov eax, dword [esp + 0x30]
add esp, 0xc
push eax
push 0x4f14cc
lea ecx, [esp + 0x3c]
push 0x103
push ecx
call fcn.004b937c
add esp, 0x10
push 0x4ef6a4
lea edx, [esp + 0x38]
push edx
call esi
test eax, eax
jne 0x4118f9
push 7
mov eax, 0x64
call fcn.00422ff0
mov dword [0x515690], 7
jmp 0x411820
lea eax, [esp + 0x2c]
push 0x5156ec
push eax
mov ebx, str.QQPCRTP.exe
call fcn.00413a60
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41193b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x411a7b
lea ecx, [esp + 0x2c]
push 0x5156ec
push ecx
mov ebx, str.QQPCRTP.exe
mov dword [esp + 0x2c], 0
call fcn.00413a60
lea edx, [esp + 0x2c]
push edx
mov ebx, 4
mov byte [esp + 0x258], bl
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebx - 3]
mov edx, 0x4f14d4
call fcn.00422000
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24c], 2
call fcn.004016d0
push 0x206
lea eax, [esp + 0x3a]
push 0
push eax
mov word [esp + 0x40], 0
call fcn.004be240
mov ecx, dword [esp + 0x30]
add esp, 0xc
push ecx
push 0x4f14cc
lea edx, [esp + 0x3c]
push 0x103
push edx
call fcn.004b937c
add esp, 0x10
push 0x4ef6a4
lea eax, [esp + 0x38]
push eax
call esi
test eax, eax
jne 0x4119f1
push ebx
lea eax, [ebx + 0x60]
call fcn.00422ff0
mov dword [0x515690], ebx
jmp 0x411820
lea ecx, [esp + 0x2c]
push 0x5156ec
push ecx
mov ebx, str.QQRepair.exe
call fcn.00413a60
mov byte [esp + 0x254], 5
mov eax, dword [eax]
push eax
call fcn.004226d0
add esp, 0xc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24c], 2
call fcn.004016d0
lea edx, [esp + 0x30]
push 0x5156ec
push edx
mov ebx, str.QQRepair.exetmp
call fcn.00413a60
mov esi, eax
lea eax, [esp + 0x34]
push 0x5156ec
push eax
mov ebx, str.QQRepair.exe
mov byte [esp + 0x25c], 6
call fcn.00413a60
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
call fcn.004ba2e0
add esp, 0x18
lea ecx, [esp + 0x2c]
call fcn.004016d0
lea ecx, [esp + 0x30]
call fcn.004016d0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x411a8a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov byte [esp + 0x24c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ab3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x411ac2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004b83ee
add esp, 0x23c
ret 4
cmp edi, ebx
je 0x411a8c
push 7
mov eax, 0x64
call fcn.00422ff0
push 0x4f1518
mov ecx, 0x5158b0
mov dword [0x515690], 7
call fcn.00489840
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.004016d0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x411771
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x411ac7