Function at 0x52ccb0
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e311
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x59a0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10], 0
sete al
test al, al
jne 0x52cf44
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049e130
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x250
lea eax, [ebp - 0x4c8]
push 0
push eax
call fcn.0049e130
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x260]
push eax
call fcn.00404170
push 1
push 0x5759b4
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0
call fcn.004063b0
mov ecx, dword [ebp - 0x250]
dec ecx
cmp eax, ecx
je 0x52cd77
push 1
push 0x575a18
lea ecx, [ebp - 0x260]
call fcn.004043f0
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x260]
mov dword [ebp - 0x220], 0
push eax
call fcn.004026e0
push 1
push 0x575a14
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.004043f0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x4c8]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x52ceeb
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x49c]
push eax
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x248]
call fcn.00404640
add esp, 4
mov byte [ebp - 4], 2
test byte [ebp - 0x4c8], 0x10
jne 0x52ceb0
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x278]
cmovae edx, dword [ebp - 0x248]
call fcn.004ccea0
cmp dword [ebp - 0x268], 0
sete al
test al, al
jne 0x52ce92
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push dword [edi + 0x10]
cmovae eax, dword [ebp - 0x278]
mov ecx, edi
push eax
call fcn.00402110
push eax
call fcn.004a6c71
add esp, 0xc
test eax, eax
jne 0x52ce92
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x264]
cmp eax, 8
jb 0x52ceb0
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00403010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x52ced2
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403010
lea eax, [ebp - 0x4c8]
push eax
push esi
call ebx
test eax, eax
jne 0x52cdf2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x52cf09
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403010
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x52cf44
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00403010
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049aa22
mov esp, ebp
pop ebp
ret 4