Function at 0x100099ba
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x10018782
call fcn.1000e514
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 0x10009a83
mov esi, ebx
push edi
mov ecx, esi
call fcn.1000d4bc
mov ebx, dword [eax + 0x124]
test ebx, ebx
je 0x10009a10
mov ecx, ebx
call fcn.10002671
push ebx
call sub.MSO.dll_Ordinal_9462
push edi
mov ecx, esi
call fcn.1000d4bc
cmp dword [eax + 0x13c], 0
je 0x10009a40
push edi
mov ecx, esi
call fcn.1000d4bc
mov ebx, dword [eax + 0x13c]
test ebx, ebx
je 0x10009a40
mov ecx, ebx
call fcn.10002671
push ebx
call sub.MSO.dll_Ordinal_9462
push edi
mov ecx, esi
call fcn.1000d4bc
xor ecx, ecx
cmp dword [eax + 0x55c], ecx
je 0x10009a73
push edi
mov ecx, esi
call fcn.1000d4bc
mov ebx, dword [eax + 0x55c]
test ebx, ebx
je 0x10009a71
mov ecx, ebx
call fcn.100098cc
push ebx
call sub.MSO.dll_Ordinal_9462
xor ecx, ecx
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x100099f1
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 0x10013160
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10009aa8
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 0x10009ae2
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push edi
mov ecx, esi
call fcn.1000d4bc
test eax, eax
js 0x10009ad8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10009ad8
mov eax, dword [ecx]
push 1
call dword [eax]
inc edi
cmp edi, ebx
jl 0x10009abb
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 0x10009b88
add edi, 4
dec eax
mov dword [ebp - 0x10], eax
jne 0x10009aee
mov eax, dword [esi + 0x2e4]
test eax, eax
jne 0x10013184
lea eax, [esi + 0xdc]
cmp word [eax], cx
je 0x10009b20
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x10009b38
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
call fcn.1000e05e
mov ecx, eax
call fcn.10009b9b
cmp dword [esi + 0xb10], 0
jne 0x10013192
lea ecx, [esi + 0xae8]
mov byte [ebp - 4], 2
call fcn.10009907
cmp dword [ebx + 8], 0
je 0x10009b6e
push dword [ebx + 8]
call sub.MSO.dll_Ordinal_9462
cmp dword [esi + 0x28], 0
je 0x10009b7c
push dword [esi + 0x28]
call sub.MSO.dll_Ordinal_9462
mov dword [esi], 0x10009960
call fcn.1000e500
ret
push dword [edi]
call sub.MSO.dll_Ordinal_9462
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [edi], ecx
jmp 0x10009af7
mov esi, dword [ebp - 0x10]
mov ebx, eax
push edi
mov ecx, esi
call fcn.1000d4bc
push dword [eax]
call sub.MSO.dll_Ordinal_9462
inc edi
cmp edi, ebx
jl 0x10013165
mov esi, dword [ebp - 0x14]
lea ebx, [esi + 0x2c]
jmp 0x10009a9b
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
jmp 0x10009b0e
push dword [esi + 0xb10]
call sub.MSO.dll_Ordinal_9462
jmp 0x10009b51