Function at 0x4337c0
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, 0x668
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x414]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
mov esi, edi
mov edx, 0x104
sub esi, eax
lea ecx, [ecx]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x43380e
movzx eax, word [esi + ecx]
test ax, ax
je 0x43380e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x4337f0
jmp 0x433812
test edx, edx
jne 0x433815
sub ecx, 2
xor eax, eax
mov edx, 0x104
mov word [ecx], ax
lea ecx, [ebp - 0x20c]
mov eax, ecx
sub edi, eax
lea esp, [esp]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x43384e
movzx eax, word [edi + ecx]
test ax, ax
je 0x43384e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x433830
jmp 0x433852
test edx, edx
jne 0x433855
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433863
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x416], 0x5c
jne 0x43389a
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x433bd0
xor eax, eax
mov word [ebp + ecx - 0x414], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4338a3
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0x5c
jne 0x4338da
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x433bd0
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
push 0x468fc8
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.00404fc0
push 0x4722b4
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00404fc0
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x433954
test ebx, ebx
je 0x433941
lea eax, [ebp - 0x414]
push eax
push str.first_file_hfind___s__is_invalid
push ebx
call fcn.00438330
add esp, 0xc
mov ecx, ebx
call fcn.00437370
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438e07
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x414]
mov edx, 0x104
lea esi, [ebp - 0x20c]
mov eax, ecx
sub esi, eax
lea esp, [esp]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x43398e
movzx eax, word [esi + ecx]
test ax, ax
je 0x43398e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x433970
jmp 0x433992
test edx, edx
jne 0x433995
sub ecx, 2
xor eax, eax
mov byte [ebp - 0x665], 1
mov word [ecx], ax
mov ecx, 0x472fe8
lea eax, [ebp - 0x638]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4339d6
test dx, dx
je 0x4339d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4339d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4339b0
xor eax, eax
jmp 0x4339db
sbb eax, eax
or eax, 1
test eax, eax
je 0x433b4c
mov ecx, 0x472fec
lea eax, [ebp - 0x638]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x433a16
test dx, dx
je 0x433a12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x433a16
add eax, 4
add ecx, 4
test dx, dx
jne 0x4339f0
xor eax, eax
jmp 0x433a1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x433b4c
lea eax, [ebp - 0x638]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00404fc0
test byte [ebp - 0x664], 0x10
lea eax, [ebp - 0x20c]
je 0x433ac9
push ebx
push eax
call fcn.004337c0
add esp, 8
test al, al
jne 0x433a7f
test ebx, ebx
je 0x433a78
lea eax, [ebp - 0x20c]
push eax
push str.failed_deleting_directory__s
push ebx
call fcn.00438330
add esp, 0xc
mov ecx, ebx
call fcn.00437370
mov byte [ebp - 0x665], 0
lea ecx, [ebp - 0x20c]
mov edx, 0x104
lea esi, [ebp - 0x414]
mov eax, ecx
sub esi, eax
jmp 0x433aa0
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x433b40
movzx eax, word [esi + ecx]
test ax, ax
je 0x433b40
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x433aa0
jmp 0x433b44
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x433b0d
test ebx, ebx
je 0x433b06
lea eax, [ebp - 0x20c]
push eax
push str.failed_deleting_file__s
push ebx
call fcn.00438330
add esp, 0xc
mov ecx, ebx
call fcn.00437370
mov byte [ebp - 0x665], 0
lea ecx, [ebp - 0x20c]
mov edx, 0x104
lea esi, [ebp - 0x414]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x433b40
movzx eax, word [esi + ecx]
test ax, ax
je 0x433b40
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x433b22
jmp 0x433b44
test edx, edx
jne 0x433b47
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x664]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4339a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, byte [ebp - 0x665]
xor ecx, ecx
cmp eax, 0x12
push edi
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x433ba3
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438e07
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, 1
movzx ecx, bl
cmp eax, edx
pop edi
cmove ecx, edx
mov al, cl
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00438e07
mov esp, ebp
pop ebp
ret
call fcn.00439ae2
int3