Function at 0x1003d5b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083530
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100a6250]
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 0x1003d864
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.1003d8c0
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 0x1003d639
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push eax
push dword [eax]
call fcn.1003cdd0
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 0x1003d66c
nop
mov edi, dword [esi]
lea ecx, [esi + 8]
call fcn.1003d1d0
push 0x18
push esi
call fcn.1001a759
add esp, 8
mov esi, edi
cmp edi, dword [ebx + 0x14]
jne 0x1003d650
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x10]
nop dword [eax]
call fcn.10031f30
mov ecx, eax
test ecx, ecx
je 0x1003d880
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
call fcn.10031f30
mov ecx, eax
test ecx, ecx
je 0x1003d880
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
call fcn.10031f30
mov ecx, eax
test ecx, ecx
je 0x1003d880
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
call fcn.10031f30
mov ecx, eax
test ecx, ecx
je 0x1003d880
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 0x1003d750
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov esi, dword [esi]
add esi, 8
push esi
call fcn.1001f5f0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001f5f0
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.1001f5f0
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x20]
call fcn.1001f5f0
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.1003d1d0
push 0x18
push esi
call fcn.1001a759
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.10044d60
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x1003d784
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1003d794
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 0x1003d7cb
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1003d7b6
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
je 0x1003d876
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 0x1003d7ea
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 0x1003d805
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 0x1003d820
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 0x1003d83b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x1003d680
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.1003d910
push 0x18
push dword [ebp - 0x14]
call fcn.1001a759
add esp, 8
jmp 0x1003d5e6
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.10006e50
push 0x80004005
call fcn.10006e50
int3