Function at 0x10090c00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195854
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x101fe070]
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 esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [esi], vtable.RC::RCMiniUIGifSkin.0
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], edi
test edi, edi
je 0x10090c5e
mov eax, dword [edi]
test eax, eax
je 0x10090c5e
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x10090cbb
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.1008d9f0
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x10], eax
mov ebx, dword [esi + 0x18]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x10090ca7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x24]
mov dword [ebx + 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x22c], 0
lea ecx, [ebx + 0x22c]
je 0x10090cbb
call fcn.10091860
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0x64
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 0
test edi, edi
je 0x10090cf3
mov eax, dword [edi]
test eax, eax
je 0x10090cec
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10090df9
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
mov ebx, dword [edi + 0x230]
test ebx, ebx
je 0x10090d30
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x10090d30
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x10090d30
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 3
lea ebx, [edi + 0x1c]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 6
mov eax, dword [ebx]
test eax, eax
je 0x10090d5b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 8]
mov dword [ebx], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebx]
test eax, eax
je 0x10090d79
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
mov byte [ebp - 4], 2
lea ecx, [edi + 0xc]
call fcn.1000b9e0
mov byte [ebp - 4], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x10090de4
mov edx, dword [edi + 4]
push ecx
call fcn.1008d9f0
mov eax, dword [edi + 8]
add esp, 4
mov ecx, dword [edi]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
cmp edx, 0x1000
jb 0x10090dc6
mov ebx, dword [ecx - 4]
add edx, 0x23
sub ecx, ebx
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x10090e23
mov ecx, ebx
push edx
push ecx
call fcn.1015c4d3
add esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0x234
push edi
call fcn.1015c4d3
add esp, 8
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.100ad590
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.1015c023
mov esp, ebp
pop ebp
ret
call fcn.101616ac
int3