Function at 0x100b7960
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012cca0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10167c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x100b7c14
push eax
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea edi, [ebx + 0x14]
mov dword [ebp - 0x10], eax
lea esi, [ebx + 0x1c]
call fcn.100b7c70
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x14]
cmp eax, edi
je 0x100b79e9
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push eax
push dword [eax]
call fcn.100b7220
mov eax, dword [edi]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
mov dword [edi + 4], 0
cmp esi, dword [edi]
je 0x100b7a1c
nop
mov edi, dword [esi]
lea ecx, [esi + 8]
call fcn.1000e2c0
push 0x18
push esi
call fcn.100c459e
add esp, 8
mov esi, edi
cmp edi, dword [ebx + 0x14]
jne 0x100b7a00
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x10]
nop dword [eax]
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x100b7c30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x100b7c30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x100b7c30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x100b7c30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
test edi, edi
je 0x100b7b00
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov esi, dword [esi]
add esi, 8
push esi
call fcn.10008310
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008310
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.10008310
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x20]
call fcn.10008310
mov eax, dword [ebp - 0x14]
dec edi
mov dword [ebp - 0x10], edi
mov esi, dword [eax]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 8]
call fcn.1000e2c0
push 0x18
push esi
call fcn.100c459e
add esp, 8
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push dword [ebx + 0xc]
lea eax, [ebp - 0x24]
push 0x2710
push 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003e630
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100b7b34
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100b7b44
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100b7b7b
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100b7b66
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
je 0x100b7c26
push esi
push eax
push dword [ebx + 4]
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x20]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100b7b9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100b7bb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100b7bd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100b7beb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x100b7a30
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.100b7cc0
push 0x18
push dword [ebp - 0x14]
call fcn.100c459e
add esp, 8
jmp 0x100b7996
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.10008520
push 0x80004005
call fcn.10008520
int3