Function at 0x422bb0
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2e86
mov eax, dword fs:[0]
push eax
mov eax, 0x12bc
call fcn.0055d9b0
mov eax, dword [0x616fe8]
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 ebx, ecx
mov dword [ebp - 0x12c0], ebx
push 0x208
xor esi, esi
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.005639e0
push 0x200
lea eax, [ebp - 0xc38]
push esi
push eax
call fcn.005639e0
push ebx
mov edi, 0x104
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.0056ac49
push 0x5f06a4
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.0056ac49
add esp, 0x30
lea eax, [ebp - 0x12b8]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x12bc], eax
cmp eax, 0xffffffff
je 0x422e75
mov ebx, eax
lea eax, [ebp - 0x128c]
push 0x5f068c
push eax
call fcn.0056c583
pop ecx
pop ecx
test eax, eax
je 0x422e58
lea eax, [ebp - 0x128c]
push 0x5f0690
push eax
call fcn.0056c583
pop ecx
pop ecx
test eax, eax
je 0x422e58
test byte [ebp - 0x12b8], 0x10
jne 0x422e58
lea eax, [ebp - 0xc38]
push eax
push esi
push esi
lea eax, [ebp - 0x128c]
push esi
push eax
call fcn.0056c4cf
add esp, 0x14
lea eax, [ebp - 0x128c]
lea ecx, [ebp - 0x1050]
push eax
call fcn.00406475
mov ebx, dword [0x62813c]
mov edi, ebx
mov esi, dword [ebx + 4]
cmp byte [esi + 0xd], 0
jne 0x422d1b
lea eax, [ebp - 0x1050]
push eax
lea ecx, [esi + 0x10]
call fcn.0040ced9
shr eax, 0x1f
test al, al
je 0x422cf7
mov esi, dword [esi + 8]
jmp 0x422cfb
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x422cdc
cmp edi, ebx
je 0x422d1b
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x1050]
call fcn.0040ced9
shr eax, 0x1f
test al, al
je 0x422d1d
mov edi, ebx
xor esi, esi
lea ecx, [ebp - 0x1050]
push esi
push 1
call fcn.004064a6
lea eax, [ebp - 0xc38]
push 0x5f0698
push eax
call fcn.0056c583
pop ecx
pop ecx
test eax, eax
jne 0x422e52
cmp edi, dword [0x62813c]
jne 0x422e52
mov ebx, 0x208
lea eax, [ebp - 0x218]
push ebx
push esi
push eax
call fcn.005639e0
push ebx
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.005639e0
push dword [ebp - 0x12c0]
mov edi, 0x104
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0056bfe3
push 0x5f066c
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0056ac49
lea eax, [ebp - 0x128c]
push eax
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0056ac49
add esp, 0x3c
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0x218]
call fcn.00422a7d
test eax, eax
js 0x422e52
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1050]
call fcn.00406475
push dword [0x627a08]
mov edx, dword [0x627800]
lea ecx, [ebp - 0x1050]
call fcn.00426a8c
pop ecx
push esi
push 1
lea ecx, [ebp - 0x1050]
mov bl, al
call fcn.004064a6
test bl, bl
jne 0x422e93
lea eax, [ebp - 0x128c]
push eax
lea ecx, [ebp - 0x1068]
call fcn.00406475
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1068]
push dword [ebp - 0x12c0]
push eax
push ecx
lea eax, [ebp - 0x12c8]
push eax
call fcn.004232c3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1068]
push esi
push 1
call fcn.004064a6
mov ebx, dword [ebp - 0x12bc]
lea eax, [ebp - 0x12b8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x422c5d
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
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.0055d244
mov esp, ebp
pop ebp
ret
test byte [0x62723c], 0x40
lea eax, [ebp - 0x218]
je 0x422ead
push 3
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x422ec6
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 0x200
lea eax, [ebp - 0xe38]
push ebx
push esi
push eax
call fcn.005639e0
push ebx
lea eax, [ebp - 0x1038]
push esi
push eax
call fcn.005639e0
push 0x208
lea eax, [ebp - 0x830]
push esi
push eax
call fcn.005639e0
push esi
push esi
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0xe38]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0056c4cf
lea eax, [ebp - 0xe38]
push eax
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.0056bfe3
add esp, 0x44
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.0056ac49
mov edx, dword [0x627638]
lea ecx, [ebp - 0x1050]
add esp, 0xc
call fcn.004228b0
cmp dword [eax + 0x14], 8
jb 0x422f5c
mov eax, dword [eax]
lea ecx, [ebp - 0x830]
mov edx, eax
push ecx
call fcn.00423df4
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x1050]
push esi
inc ebx
push ebx
call fcn.004064a6
push esi
lea eax, [ebp - 0x218]
push eax
push 0x1005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
cmp dword [0x627248], esi
jne 0x422ff4
push 0x208
lea eax, [ebp - 0xa38]
mov dword [0x627248], ebx
push esi
push eax
call fcn.005639e0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xa38]
push edi
push eax
call fcn.0056bfe3
add esp, 0x18
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x422ff4
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push edi
push 0x62724c
call fcn.0056bfe3
add esp, 0xc
push dword [ebp - 0x12bc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
jmp 0x422e77