Function at 0x10009af6
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x100187ea
call fcn.1000e249
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], 0x10002554
lea ebx, [esi + 0x2c]
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], eax
mov edi, ecx
test eax, eax
jle 0x10009bbf
mov esi, ebx
push edi
mov ecx, esi
call fcn.10005cd2
mov ebx, dword [eax + 0x124]
test ebx, ebx
je 0x10009b4c
mov ecx, ebx
call fcn.1000ae40
push ebx
call sub.MSO.dll_Ordinal_9462
push edi
mov ecx, esi
call fcn.10005cd2
cmp dword [eax + 0x13c], 0
je 0x10009b7c
push edi
mov ecx, esi
call fcn.10005cd2
mov ebx, dword [eax + 0x13c]
test ebx, ebx
je 0x10009b7c
mov ecx, ebx
call fcn.1000ae40
push ebx
call sub.MSO.dll_Ordinal_9462
push edi
mov ecx, esi
call fcn.10005cd2
xor ecx, ecx
cmp dword [eax + 0x55c], ecx
je 0x10009baf
push edi
mov ecx, esi
call fcn.10005cd2
mov ebx, dword [eax + 0x55c]
test ebx, ebx
je 0x10009bad
mov ecx, ebx
call fcn.10009603
push ebx
call sub.MSO.dll_Ordinal_9462
xor ecx, ecx
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x10009b2d
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
lea eax, [esi + 0xb08]
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov edi, ecx
test eax, eax
jg 0x100131c8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10009be4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
xor ecx, ecx
mov dword [esi + 4], ecx
mov dword [ebp - 0x18], eax
mov edi, ecx
test eax, eax
jle 0x10009c1e
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push edi
mov ecx, esi
call fcn.10005cd2
test eax, eax
js 0x10009c14
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10009c14
mov eax, dword [ecx]
push 1
call dword [eax]
inc edi
cmp edi, ebx
jl 0x10009bf7
lea ebx, [esi + 0x2c]
xor ecx, ecx
push 0xb
pop eax
lea edi, [esi + 0x90]
mov dword [ebp - 0x10], eax
cmp dword [edi], 0
jne 0x10009cc4
add edi, 4
dec eax
mov dword [ebp - 0x10], eax
jne 0x10009c2a
mov eax, dword [esi + 0x2e4]
test eax, eax
jne 0x100131ec
lea eax, [esi + 0xdc]
cmp word [eax], cx
je 0x10009c5c
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x10009c74
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
call fcn.1000e39d
mov ecx, eax
call fcn.1000a51a
cmp dword [esi + 0xb10], 0
jne 0x100131fa
lea ecx, [esi + 0xae8]
mov byte [ebp - 4], 2
call fcn.1000963e
cmp dword [ebx + 8], 0
je 0x10009caa
push dword [ebx + 8]
call sub.MSO.dll_Ordinal_9462
cmp dword [esi + 0x28], 0
je 0x10009cb8
push dword [esi + 0x28]
call sub.MSO.dll_Ordinal_9462
mov dword [esi], 0x10009698
call fcn.1000dfd8
ret
push dword [edi]
call sub.MSO.dll_Ordinal_9462
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [edi], ecx
jmp 0x10009c33
mov esi, dword [ebp - 0x10]
mov ebx, eax
push edi
mov ecx, esi
call fcn.10005cd2
push dword [eax]
call sub.MSO.dll_Ordinal_9462
inc edi
cmp edi, ebx
jl 0x100131cd
mov esi, dword [ebp - 0x14]
lea ebx, [esi + 0x2c]
jmp 0x10009bd7
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
jmp 0x10009c4a
push dword [esi + 0xb10]
call sub.MSO.dll_Ordinal_9462
jmp 0x10009c8d