Function at 0x10b9b5e
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1138
call fcn.010a12e0
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 0x10b9bd2
lea ecx, [esi + 0x10]
cmp dword [ecx + 4], eax
push eax
jle 0x10b9dc5
mov edx, dword [ecx]
mov edx, dword [edx]
mov dword [esi + 0x28], edx
call fcn.010b6ef5
jmp 0x10b9bd5
mov dword [esi + 0x28], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10b9dd3
push dword [eax]
mov ecx, esi
call fcn.010b5fd2
test eax, eax
jl 0x10b9d79
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10b9d79
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0x18]
test bl, 8
je 0x10b9c43
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9c33
test byte [eax + 0x1c], 4
je 0x10b9c33
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 0x10b9db9
cmp dword [esi + 0x280], 0
je 0x10b9c9a
push 0x898
lea eax, [ebp - 0x1134]
push eax
push ecx
call fcn.010bbc5c
test eax, eax
jne 0x10b9c9a
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9c8e
test byte [eax + 0x1c], 4
je 0x10b9c8e
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.0102c7ee
lea eax, [ebp - 0x1134]
push eax
jmp 0x10b9d46
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx + 8]
test bl, 4
je 0x10b9ce7
test edx, edx
je 0x10b9cc3
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9d0e
test byte [eax + 0x1c], 4
je 0x10b9d0e
push edx
push dword [ecx]
push edi
push 0x2b
jmp 0x10b9d03
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9db9
test byte [eax + 0x1c], 1
je 0x10b9db9
push dword [ecx]
push edi
push 0x2c
jmp 0x10b9d6c
test edx, edx
je 0x10b9d16
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9d0e
test byte [eax + 0x1c], 4
je 0x10b9d0e
push edx
push dword [ecx]
push edi
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102c7ee
mov eax, dword [esi + 0x28]
push dword [eax + 8]
jmp 0x10b9d46
mov edx, dword [ecx + 4]
test edx, edx
je 0x10b9d55
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9d40
test byte [eax + 0x1c], 4
je 0x10b9d40
push edx
push dword [ecx]
push edi
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102c7ee
mov eax, dword [esi + 0x28]
push dword [eax + 4]
mov ecx, esi
call fcn.010b8fca
mov dword [ebp - 0x1138], eax
jmp 0x10b9db0
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9db9
test byte [eax + 0x1c], 1
je 0x10b9db9
push dword [ecx]
push edi
push 0x2f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
jmp 0x10b9db0
cmp eax, 0x8007000b
jne 0x10b9db9
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9da5
test byte [eax + 0x1c], 4
je 0x10b9da5
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 0x10b9dd3
mov ecx, esi
call fcn.010b83b4
jmp 0x10b9ba6
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.010a0c4b
leave
ret