Function at 0x407200
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4737b3
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x49b3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1f8], ecx
lea ecx, [ebp - 0x40]
call fcn.00403c70
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.004045c0
mov byte [ebp - 4], 1
push 0x477908
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.00402b00
add esp, 0xc
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x40]
call fcn.004025f0
lea ecx, [ebp - 0x88]
call fcn.00403ef0
lea ecx, [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00403c60
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0xffffffff
je 0x4073ea
lea edx, [ebp - 0x1e0]
push edx
mov eax, dword [ebp - 0x1e4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 0
jne 0x4072d9
jmp 0x4073ea
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x1b4]
cmp eax, 0x2e
jne 0x4072f0
jmp 0x4072a4
mov ecx, 1
shl ecx, 0
movsx edx, byte [ebp + ecx - 0x1b4]
test edx, edx
jne 0x407306
jmp 0x4072a4
mov eax, 1
shl eax, 0
movsx ecx, byte [ebp + eax - 0x1b4]
cmp ecx, 0x2e
jne 0x407333
mov edx, 1
shl edx, 1
movsx eax, byte [ebp + edx - 0x1b4]
test eax, eax
jne 0x407333
jmp 0x4072a4
mov ecx, dword [ebp - 0x1e0]
and ecx, 0x10
je 0x4073b7
push 0x47790c
lea edx, [ebp - 0x1b4]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00402b00
add esp, 0xc
mov dword [ebp - 0x1f0], eax
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00402b90
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00403ef0
lea ecx, [ebp - 0x58]
call fcn.00403c60
push eax
mov ecx, dword [ebp - 0x1f8]
call fcn.00407200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00403ef0
jmp 0x4073e5
lea edx, [ebp - 0x1b4]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00402b00
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.00403c60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x70]
call fcn.00403ef0
jmp 0x4072a4
mov edx, dword [ebp - 0x1e4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.00403c60
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x407429
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403ef0
jmp 0x407457
push 4
push 0
lea ecx, [ebp - 0x28]
call fcn.00403c60
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00457d74
mov esp, ebp
pop ebp
ret 4