Function at 0x40bbf0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4e2498
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [0x5156f8]
add eax, 0xfffffff0
xor ebp, ebp
call fcn.004012d0
add eax, 0x10
mov dword [esp + 0x20], eax
push str.LoadRtp:_Begin__Run_QQPCRTP__s
mov ecx, 0x515890
mov dword [esp + 0x4c], ebp
call fcn.004899e0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, str.QQPCRTP.exe
call fcn.00413810
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push eax
call edi
mov esi, eax
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 0x40bc84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40be3f
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, str.QQPCRTP.exe
mov dword [esp + 0x1c], 0
call fcn.00413810
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 1
mov byte [esp + 0x54], bl
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
xor ecx, ecx
mov edx, 0x4efddc
call fcn.00422020
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bcef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
push str.LoadRtp:_QQPCRTP.exe__s__return:__d
mov ecx, 0x515890
call fcn.004899e0
add esp, 8
cmp dword [esp + 0x14], 0
je 0x40be3d
push str.mmon.dll
mov dword [0x5157a4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40be3f
lea ebx, [esp + 0x24]
call fcn.0047bb80
mov esi, 8
mov byte [esp + 0x48], 2
cmp dword [eax + 0x18], esi
jb 0x40bd47
mov eax, dword [eax + 4]
jmp 0x40bd4a
add eax, 4
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.004099e0
mov byte [esp + 0x48], 4
cmp dword [esp + 0x3c], esi
jb 0x40bd6e
mov eax, dword [esp + 0x28]
push eax
call fcn.004b84d9
add esp, 4
xor eax, eax
mov dword [esp + 0x38], eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], 7
call fcn.00421450
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, str.mmon.dll
call fcn.00413810
mov eax, dword [eax]
add esp, 8
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bdc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp esi, ebx
je 0x40be17
lea ecx, [esp + 0x18]
push ecx
push str.SOFTWAREMShield3
mov byte [esp + 0x50], 5
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push 0x4f07c8
mov ecx, 0x515890
call fcn.004899e0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
mov dword [0x5157a4], ebx
je 0x40be13
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x48], 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 0x40be3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40be3f
mov ebp, ebx
push ebp
push str.LoadRtp:_End__Success_u
mov ecx, 0x515890
call fcn.004899e0
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret