Function at 0x43e650
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x597935
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x2cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2dc]
mov ecx, dword [eax + 0x14]
xor edi, edi
cmp ecx, edi
je 0x43eb01
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], edi
mov byte [esp + 0x50], 0
call fcn.0040b880
mov eax, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x2d4], edi
cmp eax, edi
jbe 0x43e718
cmp esi, eax
jbe 0x43e6db
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov ebx, 0x10
cmp dword [esp + 0x58], ebx
jae 0x43e6ee
lea ecx, [esp + 0x44]
cmp byte [ecx + esi], 0x2f
jne 0x43e713
cmp esi, eax
jbe 0x43e6fd
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x43e70b
lea eax, [esp + 0x44]
mov byte [eax + esi], 0x5c
mov eax, dword [esp + 0x54]
inc esi
cmp esi, eax
jb 0x43e6db
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x2dc], 1
call fcn.0043d560
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43e77e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
cmp esi, edi
je 0x43e763
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp dword [esp + 0x58], 0x10
jb 0x43e777
mov edx, dword [esp + 0x44]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
jmp 0x43eb03
test al, 0x10
je 0x43eaa1
mov eax, dword [esp + 0x54]
lea esi, [eax - 1]
mov bl, 1
mov byte [esp + 0x17], 0
cmp esi, eax
jbe 0x43e79d
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov eax, dword [esp + 0x44]
mov ebp, 0x10
cmp dword [esp + 0x58], ebp
jae 0x43e7b0
lea eax, [esp + 0x44]
cmp byte [eax + esi], 0x5c
je 0x43e7c6
push 1
push 0x5a2450
lea ecx, [esp + 0x48]
call fcn.0040b960
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0043d560
mov eax, dword [esp + 0x24]
inc eax
lea edx, [eax + eax]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call sub.MSVCR90.dll_realloc
mov esi, eax
mov edi, esi
add esp, 0x10
mov dword [esp + 0x18], esi
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43e800
mov ecx, dword [0x5a3750]
lea edx, [esp + 0x78]
push edx
push esi
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x43ea18
mov edi, 0xf
jmp 0x43e840
mov ecx, 0x5a374c
lea eax, [esp + 0xa4]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43e876
test dx, dx
je 0x43e872
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43e876
add eax, 4
add ecx, 4
test dx, dx
jne 0x43e850
xor eax, eax
jmp 0x43e87b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43ea00
mov ecx, 0x5a3744
lea eax, [esp + 0xa4]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43e8b6
test dx, dx
je 0x43e8b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43e8b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x43e890
xor eax, eax
jmp 0x43e8bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43ea00
test byte [esp + 0x78], 0x10
je 0x43e95b
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0043e5b0
push eax
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x2e8], 2
call fcn.0040c7a0
mov ecx, dword [esp + 0x2f4]
push ecx
push eax
mov byte [esp + 0x2f0], 3
call fcn.0043e650
add esp, 0x1c
and bl, al
cmp dword [esp + 0x74], ebp
jb 0x43e926
mov edx, dword [esp + 0x60]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
mov byte [esp + 0x2d4], 1
cmp dword [esp + 0x3c], ebp
jb 0x43ea00
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x43ea00
cmp byte [esp + 0x2e0], 0
je 0x43e9fb
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0043e5b0
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x2e8], 4
call fcn.0040c7a0
add esp, 0x14
mov byte [esp + 0x2d4], 1
cmp dword [esp + 0x3c], ebp
jb 0x43e9b1
mov edx, dword [esp + 0x28]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.0043d560
mov esi, dword [esp + 0x20]
add esp, 8
test byte [esp + 0x78], 1
je 0x43e9da
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test bl, al
setne bl
cmp dword [esp + 0x74], ebp
jb 0x43ea00
mov edx, dword [esp + 0x60]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x43ea00
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43e840
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x43ea4a
test esi, esi
je 0x43ea30
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp dword [esp + 0x58], ebp
jb 0x43ea43
mov edx, dword [esp + 0x44]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x43eb03
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x43ea5a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
je 0x43ea23
cmp byte [esp + 0x17], 0
jne 0x43ea23
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0043d560
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
test esi, esi
je 0x43ea94
push esi
call sub.MSVCR90.dll_free
add esp, 4
lea ecx, [esp + 0x40]
call fcn.0040b300
mov al, bl
jmp 0x43eb03
cmp byte [esp + 0x2e0], 0
je 0x43eae0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
cmp esi, edi
je 0x43eac4
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp dword [esp + 0x58], 0x10
jb 0x43e777
mov eax, dword [esp + 0x44]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
jmp 0x43eb03
cmp esi, edi
je 0x43eaed
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp dword [esp + 0x58], 0x10
jb 0x43eb01
mov ecx, dword [esp + 0x44]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x2cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b4]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x2c4
ret