Function at 0x43b4a0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0043b080
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x264], ecx
test al, 8
je 0x43b4ef
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x4a0028], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, eax
and ebx, 1
mov dword [ebp - 0x260], ebx
je 0x43b50d
test ecx, ecx
je 0x43b6a8
test al, 2
je 0x43b6a8
push edi
push 0x2004
push esi
push 0x46e060
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
test ebx, ebx
je 0x43b537
push str..
push 0x46e060
call edi
jmp 0x43b53d
push esi
call fcn.0043b040
cmp word [esi], 0
jne 0x43b54d
cmp word [0x46e060], 0x5c
jne 0x43b555
push 0x45b4a4
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x254]
push ecx
lea eax, [esi + eax*2]
push 0x46e060
mov dword [ebp - 0x258], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
je 0x43b697
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
lea esp, [esp]
mov cx, word [ebp - 0x228]
lea edi, [ebp - 0x228]
mov eax, edi
test cx, cx
je 0x43b5ca
movzx ecx, cx
cmp cx, 0x3f
je 0x43b5ba
push eax
call ebx
movzx ecx, word [eax]
test cx, cx
jne 0x43b5a7
jmp 0x43b5ca
cmp word [eax], 0
je 0x43b5ca
cmp word [ebp - 0x20], 0
je 0x43b5ca
lea edi, [ebp - 0x20]
cmp word [edi], 0x2e
jne 0x43b5e9
movzx eax, word [edi + 2]
test ax, ax
je 0x43b668
cmp eax, 0x2e
jne 0x43b5e9
cmp word [edi + 4], 0
je 0x43b668
mov edx, dword [ebp - 0x258]
push 0x2004
push edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
test byte [ebp - 0x254], 0x10
je 0x43b61b
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 3
cmp cl, 3
jne 0x43b668
push eax
push esi
call fcn.0043b4a0
jmp 0x43b668
push esi
push str.Delete:_DeleteFile___s__
call fcn.0043aa80
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43b640
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
test eax, eax
jne 0x43b661
push str.Delete:_DeleteFile_failed___s__
call fcn.0043aa80
add esp, 8
inc dword [0x4a0028]
jmp 0x43b668
push 0xfffffffffffffff2
call fcn.0043b880
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x254]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43b590
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x260]
pop edi
test ebx, ebx
je 0x43b6aa
mov eax, dword [ebp - 0x258]
xor edx, edx
mov word [eax - 2], dx
test ebx, ebx
pop ebx
je 0x43b759
cmp dword [ebp - 0x264], 0
jne 0x43b6df
push esi
push str.RMDir:_RemoveDirectory_invalid_input___s__
call fcn.0043aa80
add esp, 8
inc dword [0x4a0028]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret 8
push 0x46de10
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x43b759
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call fcn.0043b000
push esi
push str.RMDir:_RemoveDirectory___s__
call fcn.0043aa80
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43b722
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
test eax, eax
jne 0x43b752
push str.RMDir:_RemoveDirectory_failed___s__
call fcn.0043aa80
add esp, 8
inc dword [0x4a0028]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffe5
call fcn.0043b880
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret 8