Function at 0x10b990a
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1138
call fcn.010a11d0
mov eax, dword [0x10ed860]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1138], 0
push ebx
push esi
push edi
xor eax, eax
push 0x112e
push eax
mov word [ebp - 0x1134], ax
lea eax, [ebp - 0x1132]
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x100b054
lea ebx, [esi + 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
cmp dword [esi + 0x14], eax
jle 0x10b997e
lea ecx, [esi + 0x10]
cmp dword [ecx + 4], eax
push eax
jle 0x10b9b71
mov edx, dword [ecx]
mov edx, dword [edx]
mov dword [esi + 0x28], edx
call fcn.010b6d2f
jmp 0x10b9981
mov dword [esi + 0x28], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10b9b7f
push dword [eax]
mov ecx, esi
call fcn.010b5e0c
test eax, eax
jl 0x10b9b25
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10b9b25
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0x18]
test bl, 8
je 0x10b99ef
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b99df
test byte [eax + 0x1c], 4
je 0x10b99df
mov ecx, dword [esi + 0x28]
push dword [ecx]
push edi
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
mov eax, dword [esi + 0x28]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10b9b65
cmp dword [esi + 0x280], 0
je 0x10b9a46
push 0x898
lea eax, [ebp - 0x1134]
push eax
push ecx
call fcn.010bba08
test eax, eax
jne 0x10b9a46
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9a3a
test byte [eax + 0x1c], 4
je 0x10b9a3a
lea ecx, [ebp - 0x1134]
push ecx
mov ecx, dword [esi + 0x28]
push dword [ecx]
push edi
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102c7ac
lea eax, [ebp - 0x1134]
push eax
jmp 0x10b9af2
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx + 8]
test bl, 4
je 0x10b9a93
test edx, edx
je 0x10b9a6f
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9aba
test byte [eax + 0x1c], 4
je 0x10b9aba
push edx
push dword [ecx]
push edi
push 0x2b
jmp 0x10b9aaf
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9b65
test byte [eax + 0x1c], 1
je 0x10b9b65
push dword [ecx]
push edi
push 0x2c
jmp 0x10b9b18
test edx, edx
je 0x10b9ac2
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9aba
test byte [eax + 0x1c], 4
je 0x10b9aba
push edx
push dword [ecx]
push edi
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102c7ac
mov eax, dword [esi + 0x28]
push dword [eax + 8]
jmp 0x10b9af2
mov edx, dword [ecx + 4]
test edx, edx
je 0x10b9b01
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9aec
test byte [eax + 0x1c], 4
je 0x10b9aec
push edx
push dword [ecx]
push edi
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102c7ac
mov eax, dword [esi + 0x28]
push dword [eax + 4]
mov ecx, esi
call fcn.010b8d76
mov dword [ebp - 0x1138], eax
jmp 0x10b9b5c
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9b65
test byte [eax + 0x1c], 1
je 0x10b9b65
push dword [ecx]
push edi
push 0x2f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
jmp 0x10b9b5c
cmp eax, 0x8007000b
jne 0x10b9b65
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9b51
test byte [eax + 0x1c], 4
je 0x10b9b51
mov ecx, dword [esi + 0x28]
push dword [ecx]
push edi
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
mov eax, dword [esi + 0x28]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x1138], 0
jne 0x10b9b7f
mov ecx, esi
call fcn.010b8160
jmp 0x10b9952
push eax
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1138]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010a0b37
leave
ret