Function at 0x10033fe0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8eac
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x1013c014]
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
push 0x1014be78
mov dword [ebp - 0x228], 0x1014be78
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1014be90], 0
mov ebx, 0x1014be90
mov dword [ebp - 0x224], ebx
jne 0x10034044
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1014be90], eax
jmp 0x1003404c
xor ebx, ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
push 0x1014be70
mov dword [ebp - 0x230], 0x1014be70
mov byte [ebp - 0x22c], 1
call esi
push 0x1014be74
mov dword [ebp - 0x238], 0x1014be74
mov byte [ebp - 0x234], 1
call esi
mov ecx, 0x19
lea edi, [ebp - 0x218]
mov esi, str._LOCALAPPDATA_360WallPaperOpenShellDataCache.db
lea eax, [ebp - 0x1b2]
rep movsd dword es:[edi], dword [esi]
push 0x1a2
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.100d6eb0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x1014bfc0
call fcn.10035340
mov byte [ebp - 4], 3
mov ecx, 0x1014bfb0
mov esi, dword [0x1014bfb0]
push dword [esi + 4]
call fcn.10035750
mov eax, dword [0x1014bfb0]
mov dword [eax + 4], esi
mov eax, dword [0x1014bfb0]
mov dword [eax], esi
mov eax, dword [0x1014bfb0]
mov dword [eax + 8], esi
mov edi, dword [0x1014bfc8]
mov dword [0x1014bfb4], 0
mov esi, dword [edi]
cmp esi, edi
je 0x10034174
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10034134
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [0x1014bfc8]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1003415a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10034156
cmp esi, dword [eax + 8]
jne 0x10034156
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10034146
mov esi, eax
jmp 0x10034170
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10034170
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10034164
cmp esi, edi
jne 0x10034120
mov byte [ebp - 4], 4
mov ecx, 0x1014bfc8
push dword [edi + 4]
call fcn.10035680
mov eax, dword [0x1014bfc8]
mov ecx, 0x1014bfb8
mov dword [eax + 4], edi
mov eax, dword [0x1014bfc8]
mov dword [eax], edi
mov eax, dword [0x1014bfc8]
mov byte [ebp - 4], 2
mov dword [eax + 8], edi
mov dword [0x1014bfcc], 0
call fcn.10026bd0
call fcn.1002a8c0
lea ecx, [ebp - 0x29c]
call fcn.10027fd0
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x1014bfb0
mov dword [ebp - 0x21c], 0
call fcn.10036700
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x220]
mov ecx, 0x1014bfb0
push eax
call fcn.10036780
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x29c]
call fcn.1002a5d0
mov byte [esi + 0x3c], 1
mov eax, dword [0x1014bfdc]
mov dword [esi + 0x18], eax
mov eax, dword [0x1014bfe0]
mov dword [esi + 0x1c], eax
mov eax, dword [0x1014bfe4]
mov dword [esi + 0x20], eax
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push 0x1014be74
call esi
push 0x1014be70
call esi
test ebx, ebx
je 0x10034246
mov dword [ebx], 0
push 0x1014be78
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.100d4906
mov esp, ebp
pop ebp
ret