Function at 0x4129b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4e3f98
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edx, dword [0x51571c]
xor edi, edi
mov ebp, 7
mov eax, edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x412a01
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x58]
call fcn.00402530
mov dword [esp + 0x78], edi
push 0x12
push str.UpdateTrayIcon.exe
lea esi, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.00402530
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0x54]
mov edi, 8
cmp dword [esp + 0x68], edi
jae 0x412a54
lea ecx, [esp + 0x54]
lea ebx, [esp + 0x18]
lea edx, [esp + 0x34]
call fcn.00416a90
cmp dword [eax + 0x18], edi
jb 0x412a6b
mov eax, dword [eax + 4]
jmp 0x412a6e
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [esp + 0x4c], edi
mov esi, eax
jb 0x412a8a
mov eax, dword [esp + 0x38]
push eax
call fcn.004b83e9
add esp, 4
xor ebx, ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x30], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
jb 0x412ab0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004b83e9
add esp, 4
cmp esi, ebx
je 0x412c11
lea edx, [esp + 0x14]
push edx
mov ecx, str._t_QQPCTray.exe__c_1
call fcn.00409c00
push 5
push str.__p_1
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x84], 2
call fcn.004060a0
cmp dword [0x5157c4], ebx
je 0x412b0b
push str.CheckRtp
mov ecx, 0x5158b0
call fcn.00489840
add esp, 4
push 0xc
push str.__CheckRtp_1
lea ecx, [esp + 0x1c]
push ecx
call fcn.004060a0
push 5
push str.__d__
lea edx, [esp + 0x1c]
push edx
call fcn.004060a0
mov eax, dword [0x515718]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004060a0
push 1
push 0x4f0b70
lea ecx, [esp + 0x1c]
push ecx
call fcn.004060a0
mov edx, dword [esp + 0x14]
push edx
push str.UpdateTrayIcon.exe__ws
mov ecx, 0x5158b0
call fcn.00489840
add esp, 8
push 0x12
push str.UpdateTrayIcon.exe
lea esi, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00402530
mov byte [esp + 0x78], 5
cmp dword [esp + 0x68], edi
mov ecx, dword [esp + 0x54]
jae 0x412b88
lea ecx, [esp + 0x54]
lea ebx, [esp + 0x18]
lea edx, [esp + 0x34]
call fcn.00416a90
mov byte [esp + 0x78], 6
cmp dword [eax + 0x18], edi
jb 0x412ba4
mov eax, dword [eax + 4]
jmp 0x412ba7
add eax, 4
mov edx, dword [esp + 0x14]
xor ebx, ebx
push ebx
push ebx
push eax
xor ecx, ecx
call fcn.00422000
add esp, 0xc
cmp dword [esp + 0x4c], edi
jb 0x412bcd
mov eax, dword [esp + 0x38]
push eax
call fcn.004b83e9
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
jb 0x412bed
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004b83e9
add esp, 4
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412c11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x68], edi
jb 0x412c24
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004b83e9
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004b83ee
add esp, 0x68
ret