Function at 0x41b1e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bda7
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4914f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00446290
lea edx, [ebp - 0x210]
push edx
push str.ProductVersion
push edi
call fcn.0045b690
add esp, 0x18
test edi, edi
jne 0x41b24c
xor eax, eax
jmp 0x41b260
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b251
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, 0x4937b0
call fcn.00403400
push edi
lea ecx, [ebp - 0x214]
call fcn.00408390
push str.QQProtect.exe
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ebx, 1
test eax, eax
je 0x41b33b
push ebx
push 0x472650
push 0
lea eax, [ebp - 0x214]
push eax
push edi
call fcn.0045d8a0
mov edx, dword [ebp - 0x214]
push ebx
push 0x472650
push 0
lea ecx, [ebp - 0x214]
push ecx
push edx
call fcn.0045d8a0
mov ecx, dword [ebp - 0x214]
push ebx
push 0x472650
push 0
lea eax, [ebp - 0x214]
push eax
push ecx
call fcn.0045d8a0
add esp, 0x3c
push 7
push 0x4754e4
lea ecx, [ebp - 0x214]
call fcn.00403340
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b320
push eax
mov eax, dword [ebp - 0x214]
push eax
push 0x4754c4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x41b33b
mov edx, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
push ecx
push str.ProductVersion
push edx
call fcn.0045b690
add esp, 0xc
push ebx
push 0x4754c0
push 0
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0045d8a0
add esp, 0x14
test eax, eax
je 0x41b3d1
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00402ba0
lea edi, [eax + 0x10]
mov dword [ebp - 0x218], edi
mov ecx, dword [ebp - 0x214]
push ebx
push 0x472650
push 0
push esi
push ecx
mov byte [ebp - 4], bl
call fcn.0045d8a0
mov eax, dword [esi]
push ebx
push 0x472650
push 0
push esi
push eax
call fcn.0045d8a0
add esp, 0x2c
push 0xa
push str.Resource.
mov ecx, esi
call fcn.00403340
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, esi
call fcn.00403340
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b3d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b3eb
push eax
push 0x471d88
mov ecx, esi
call fcn.00403400
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jne 0x41b5ab
mov edx, dword [ebp - 0x214]
push ebx
push 0x472650
push 0
push esi
push edx
call fcn.0045d8a0
mov eax, dword [esi]
push ebx
push 0x472650
push 0
push esi
push eax
call fcn.0045d8a0
push 4
call fcn.0042313e
add esp, 0x2c
test eax, eax
je 0x41b435
lea ecx, [ebp - 0x240]
mov dword [eax], ecx
jmp 0x41b437
xor eax, eax
mov dword [ebp - 0x240], eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.00413390
mov dword [ebp - 0x228], eax
mov byte [eax + 0x11], bl
mov eax, dword [ebp - 0x228]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x228]
mov dword [eax], eax
mov eax, dword [ebp - 0x228]
mov dword [eax + 8], eax
mov dword [ebp - 0x224], 0
mov eax, dword [esi]
push 0
lea edx, [ebp - 0x240]
push edx
push eax
mov byte [ebp - 4], 3
call fcn.00460080
add esp, 0xc
push 0
push 0x471d88
mov ecx, esi
call fcn.00403400
mov eax, dword [ebp - 0x228]
mov edi, dword [ebp - 0x240]
mov ebx, dword [eax]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], ebx
lea esp, [esp]
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x244], ecx
test edi, edi
je 0x41b4d8
cmp edi, dword [ebp - 0x240]
je 0x41b4dd
call fcn.00447ea0
cmp ebx, dword [ebp - 0x244]
je 0x41b55a
test edi, edi
jne 0x41b552
call fcn.00447ea0
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x41b4fa
call fcn.00447ea0
lea eax, [ebx + 0xc]
mov dword [ebp - 0x218], eax
mov eax, dword [eax]
push str.Resource
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x41b536
test edi, edi
jne 0x41b556
call fcn.00447ea0
cmp ebx, dword [edi + 0x18]
jne 0x41b528
call fcn.00447ea0
mov edx, dword [ebp - 0x218]
push edx
mov ecx, esi
call fcn.00403a00
lea ecx, [ebp - 0x220]
call fcn.00412a30
mov ebx, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x220]
jmp 0x41b4c0
mov eax, dword [edi]
jmp 0x41b4f0
mov edi, dword [edi]
jmp 0x41b51e
mov ecx, dword [ebp - 0x228]
mov eax, dword [ecx]
push ecx
mov ecx, dword [ebp - 0x240]
push ecx
push eax
push ecx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 4
call fcn.00419200
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00423178
mov edx, dword [ebp - 0x240]
xor eax, eax
push edx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
call fcn.00423178
add esp, 8
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b5d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044665f
mov esp, ebp
pop ebp
ret