Function at 0x422f70
Capabilities:
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432d07
mov eax, dword fs:[0]
push eax
mov eax, 0x10bc
call fcn.0041b550
mov eax, dword [0x43d150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xc8c]
push eax
call fcn.00421e60
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc8c]
push edx
push 0x437328
push 0x104
lea eax, [ebp - 0x62c]
push eax
call fcn.0040d685
add esp, 0x14
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc8c]
push edx
push str._s_s.
push 0x104
lea eax, [ebp - 0x834]
push eax
call fcn.0040d685
add esp, 0x14
lea ecx, [ebp - 0xa84]
push ecx
lea edx, [ebp - 0x834]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc90], eax
cmp dword [ebp - 0xc90], 0xffffffff
jne 0x423020
xor al, al
jmp 0x423236
movzx eax, word [ebp - 0xa58]
cmp eax, 0x2e
jne 0x423031
jmp 0x42320b
lea ecx, [ebp - 0xa58]
push ecx
lea edx, [ebp - 0x62c]
push edx
push 0x437348
push 0x104
lea eax, [ebp - 0x424]
push eax
call fcn.0040d685
add esp, 0x14
lea ecx, [ebp - 0xa58]
push ecx
lea edx, [ebp - 0xc8c]
push edx
push 0x437354
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.0040d685
add esp, 0x14
mov dword [ebp - 0xc94], 0
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4231e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4231e5
mov dword [ebp - 0xea0], 0
jmp 0x4230de
mov ecx, dword [ebp - 0xea0]
add ecx, 1
mov dword [ebp - 0xea0], ecx
cmp dword [ebp - 0xea0], 0xa
jge 0x4231e5
lea edx, [ebp - 0xa58]
push edx
mov eax, dword [ebp - 0xea0]
push eax
lea ecx, [ebp - 0xc8c]
push ecx
push str._s__d__s
push 0x104
lea edx, [ebp - 0xe9c]
push edx
call fcn.0040d685
add esp, 0x18
lea eax, [ebp - 0xe9c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xc94], 0
jne 0x4231e0
push 0
lea ecx, [ebp - 0xe9c]
push ecx
call fcn.0040e937
add esp, 8
cmp eax, 0xffffffff
jne 0x4231e0
lea edx, [ebp - 0xe9c]
push edx
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4231e0
lea ecx, [ebp - 0xa58]
push ecx
mov edx, dword [ebp - 0xea0]
push edx
push str.__d__s
push 0x104
lea eax, [ebp - 0x10ac]
push eax
call fcn.0040d685
add esp, 0x14
lea ecx, [ebp - 0xa58]
push ecx
lea ecx, [ebp - 0x10c8]
call fcn.00401260
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10ac]
push edx
lea eax, [ebp - 0x10c8]
push eax
mov ecx, 0x441288
call fcn.004064c0
mov ecx, eax
call fcn.00406470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c8]
call fcn.004012a0
mov dword [ebp - 0xc94], 1
jmp 0x4230cf
jmp 0x4231f1
mov dword [ebp - 0xc94], 1
cmp dword [ebp - 0xc94], 0
jne 0x42320b
mov ecx, dword [ebp - 0xc90]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x423236
lea edx, [ebp - 0xa84]
push edx
mov eax, dword [ebp - 0xc90]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x423020
mov ecx, dword [ebp - 0xc90]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040cf89
mov esp, ebp
pop ebp
ret