Function at 0x10025150
Capabilities:
Get explorer pid
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x42c
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp dword [esi], 0
je 0x100251b0
cmp byte [ebp + 8], 0
je 0x1002551a
call fcn.10017ad0
mov dword [esp + 0x14], eax
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edx
push eax
call edi
test eax, eax
je 0x1002551a
mov eax, dword [esi]
test eax, eax
je 0x100251b0
push 0
push 0x100256c0
push eax
call dword [sym.imp.COMCTL32.dll_DPA_DestroyCallback]
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.10017ad0
lea ecx, [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
call fcn.1001cb50
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.appsfolder.dat
lea eax, [esp + 0x2c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0xc
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
mov ebx, dword [sym.imp.COMCTL32.dll_DPA_Create]
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x1002523a
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 8
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0xc]
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x1002524c
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10025244
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], 0
jmp 0x10025275
push 0xa
call ebx
mov ecx, dword [esp + 0xc]
mov edi, eax
mov edx, edi
call fcn.1001cbf0
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x1002526b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov dword [esi], edi
test edi, edi
jne 0x1002551a
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push 0
push 0x10052434
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderIDList]
test eax, eax
jne 0x100253a4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x1004f5f8
push 0
push dword [esp + 0x28]
push 0
call dword [sym.imp.SHELL32.dll_SHBindToObject]
test eax, eax
jne 0x10025396
mov dword [esp + 0xc], eax
lea edx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push edx
push 0x40
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x10025388
push 4
call ebx
mov dword [esi], eax
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x100252fd
test eax, eax
je 0x100252f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
jmp 0x10025501
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push 0
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10025388
mov edi, dword [sym.imp.COMCTL32.dll_DPA_InsertPtr]
mov ebx, dword [sym.imp.SHELL32.dll_ILFree]
nop dword [eax]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push 0x1004f72c
push 0
push dword [esp + 0x20]
mov dword [esp + 0x30], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x1002535d
mov ecx, dword [esp + 0x20]
call fcn.10024d40
test eax, eax
je 0x1002535d
push eax
push SHChangeNotifyRegister
push dword [esi]
call edi
push dword [esp + 0x14]
call ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10025371
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x10025320
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10025396
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100253a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetShellWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [esp + 0x14]
jne 0x1002550b
mov ebx, dword [esi]
lea ecx, [esp + 0x230]
call fcn.1001cb50
lea eax, [esp + 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov edi, dword [sym.imp.msvcrt.dll_wcscat_s]
lea eax, [esp + 0x230]
push str.appsfolder.dat
push 0x104
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x28]
call fcn.1001cb50
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.appsfolder.dat
lea eax, [esp + 0x2c]
push 0x104
push eax
call edi
add esp, 0xc
lea eax, [esp + 0x28]
push str..new
push 0x104
push eax
call edi
add esp, 0xc
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0x1001
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x10025501
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 8
lea edx, [esi + 4]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x100254fd
mov edi, dword [sym.imp.COMCTL32.dll_DPA_GetPtr]
xor esi, esi
push esi
push ebx
call edi
test eax, eax
je 0x100254d2
nop dword [eax]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x10053040
push eax
mov dword [esp + 0x1c], 0
call dword [ecx]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x10025523
mov ecx, dword [eax]
push 1
push dword [esp + 0x10]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
inc esi
test eax, eax
je 0x100254ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
push ebx
call edi
test eax, eax
jne 0x10025490
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], 0
test ecx, ecx
je 0x100254e8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 1
lea eax, [esp + 0x234]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1002550b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002551a
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x100254fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100254fd