Function at 0x43abad
Capabilities:
Check if file exists
Copy file
Create directory
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x850]
sub esp, 0x8d0
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp + 0x84c], eax
mov ecx, dword [ebp + 0x85c]
mov eax, dword [ebp + 0x858]
push ebx
push esi
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x860]
push edi
mov dword [ebp - 0x64], ecx
push eax
lea ecx, [ebp + 0x1fc]
mov dword [ebp - 0x60], eax
call fcn.004018ba
mov eax, dword [ebp + 0x210]
dec eax
push eax
lea ecx, [ebp + 0x1fc]
call fcn.0041258c
cmp word [eax], 0x5c
je 0x43ac1b
push 0x4a7ca8
lea ecx, [ebp + 0x1fc]
call fcn.00401941
push 0x4a7dec
lea ecx, [ebp + 0x1fc]
call fcn.00401941
cmp dword [ebp + 0x214], 8
mov eax, dword [ebp + 0x200]
jae 0x43ac40
lea eax, [ebp + 0x200]
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x58], eax
cmp eax, 0xffffffff
je 0x43b014
mov esi, 0x208
push esi
xor ebx, ebx
lea eax, [ebp + 0x43c]
push ebx
push eax
call fcn.0046d720
push esi
lea eax, [ebp + 0x644]
push ebx
push eax
call fcn.0046d720
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x60]
lea eax, [ebp + 0x43c]
push eax
call esi
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x5c]
lea eax, [ebp + 0x644]
push eax
call esi
test byte [ebp - 0x54], 0x10
je 0x43ae3b
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x4a7c50
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x43ae31
push 0x4a7ca0
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x43ae31
lea eax, [ebp + 0x644]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43acfc
test al, 0x10
jne 0x43acfc
lea eax, [ebp + 0x644]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
lea eax, [ebp + 0x644]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43ae09
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x43ae09
cmp eax, 0x50
je 0x43ae09
push 0x64
pop esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp + 0x644]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43ad62
call edi
cmp eax, 0x50
je 0x43ad62
cmp eax, ebx
je 0x43ad62
add esi, esi
cmp esi, 0x4e20
jl 0x43ad33
cmp esi, 0x4e20
jl 0x43ae09
lea eax, [ebp + 0x644]
push eax
call fcn.00403749
pop ecx
test eax, eax
je 0x43ae09
call edi
mov esi, eax
lea eax, [ebp + 0x644]
push eax
lea ecx, [ebp + 0x218]
call fcn.004018ba
push 0x4a9350
lea ecx, [ebp + 0x218]
call fcn.00401941
cmp dword [ebp + 0x230], 8
mov eax, dword [ebp + 0x21c]
jae 0x43adbe
lea eax, [ebp + 0x21c]
push eax
call fcn.00403749
pop ecx
test eax, eax
jne 0x43b037
cmp dword [ebp + 0x230], 8
mov eax, dword [ebp + 0x21c]
jae 0x43ade2
lea eax, [ebp + 0x21c]
push 9
lea ecx, [ebp + 0x644]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x43b01b
push 0
push 1
lea ecx, [ebp + 0x218]
call fcn.00401a1c
push dword [ebp - 0x64]
lea eax, [ebp + 0x644]
push eax
lea eax, [ebp + 0x43c]
push eax
call fcn.0043abad
add esp, 0xc
test eax, eax
je 0x43aff6
push 0
jmp 0x43b07b
test byte [ebp - 0x54], 0x10
jne 0x43aff6
push 0x64
pop esi
push 0xb
lea eax, [ebp + 0x644]
push eax
lea eax, [ebp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x43aff6
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xb
lea eax, [ebp + 0x644]
push eax
lea eax, [ebp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x43ae87
add esi, esi
cmp esi, 0x4e20
jl 0x43ae5c
cmp esi, 0x4e20
jl 0x43aff6
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov edi, eax
inc esi
cmp edi, 5
jne 0x43afa1
lea eax, [ebp + 0x644]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43afa1
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x234], ax
lea eax, [ebp + 0x236]
push eax
call fcn.0046d720
add esp, 0xc
push 0x104
lea eax, [ebp + 0x234]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4a7dd0
lea ecx, [ebp + 0x218]
call fcn.004018ba
lea eax, [ebp + 0x218]
push eax
lea eax, [ebp + 0x234]
push eax
call fcn.004037f9
lea eax, [ebp + 0x218]
push eax
lea eax, [ebp + 0x644]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00408163
add esp, 0x14
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x218]
call fcn.00401965
push 0
push esi
lea ecx, [ebp - 0x80]
call fcn.00401a1c
cmp dword [ebp + 0x230], 8
mov eax, dword [ebp + 0x21c]
jae 0x43af5b
lea eax, [ebp + 0x21c]
push 0xb
push eax
lea eax, [ebp + 0x644]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x43af72
xor ebx, ebx
inc ebx
push 0xb
lea eax, [ebp + 0x644]
push eax
lea eax, [ebp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x43af8e
xor esi, esi
push 0
push 1
lea ecx, [ebp + 0x218]
call fcn.00401a1c
test esi, esi
je 0x43aff6
push 0
lea eax, [ebp + 0x644]
push eax
lea eax, [ebp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x43afbd
xor esi, esi
test esi, esi
je 0x43aff6
lea eax, [ebp + 0x644]
push eax
call fcn.0041f79f
pop ecx
test eax, eax
je 0x43afee
push 0xb
lea eax, [ebp + 0x644]
push eax
lea eax, [ebp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x43afee
xor esi, esi
test esi, esi
jne 0x43b0a3
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43ac57
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
jmp 0x43b0db
cmp dword [ebp + 0x230], 8
mov eax, dword [ebp + 0x21c]
jae 0x43b030
lea eax, [ebp + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor edi, edi
push edi
sub esp, 0x1c
mov ecx, esp
push 0x4a7dd0
call fcn.004018ba
sub esp, 0x1c
lea eax, [ebp + 0x644]
mov ecx, esp
push eax
call fcn.004018ba
push esi
push 0x25d
call fcn.0043d04e
mov ecx, eax
call fcn.0043d5c6
push edi
push 1
lea ecx, [ebp + 0x218]
call fcn.00401a1c
push edi
push 1
lea ecx, [ebp + 0x1fc]
call fcn.00401a1c
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x84c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
add ebp, 0x850
leave
ret
push ebx
sub esp, 0x1c
lea eax, [ebp + 0x644]
mov ecx, esp
push eax
call fcn.004018ba
sub esp, 0x1c
lea eax, [ebp + 0x43c]
mov ecx, esp
push eax
call fcn.004018ba
push edi
push 0x25a
call fcn.0043d04e
mov ecx, eax
call fcn.0043d5c6
xor esi, esi
inc esi
push 0
push 1
lea ecx, [ebp + 0x1fc]
call fcn.00401a1c
mov eax, esi
jmp 0x43b08b