Function at 0x407bb0
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f0eb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1a68
call fcn.00429090
mov eax, dword [0x451c14]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1a74], ecx
mov edi, dword [ebp + 8]
mov esi, 1
mov dword [ebp - 4], 0
test edi, edi
je 0x407e39
mov eax, edi
lea edx, [eax + 2]
jmp 0x407c10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407c10
sub eax, edx
sar eax, 1
je 0x407e39
push 0x800
push 0
lea eax, [ebp - 0x818]
push eax
call fcn.00428ee0
add esp, 0xc
push 0x3ff
push edi
push 0x400
lea ecx, [ebp - 0x818]
push ecx
call fcn.00426b21
add esp, 0x10
push edi
lea ecx, [ebp - 0x1a70]
call fcn.004025b0
mov byte [ebp - 4], 1
lea ebx, [ebp - 0x1a70]
call fcn.00409280
mov edi, eax
call fcn.00409300
push 0x3ff
mov edx, dword [ebp - 0x1a70]
push edx
push 0x400
lea eax, [ebp - 0x818]
push eax
call fcn.00426b21
push 0x800
push 0
lea ecx, [ebp - 0x1818]
push ecx
call fcn.00428ee0
add esp, 0x1c
lea edx, [ebp - 0x818]
push edx
push str._s.
lea edx, [ebp - 0x1818]
call fcn.004059c0
add esp, 8
lea eax, [ebp - 0x1a68]
push eax
lea ecx, [ebp - 0x1818]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov ebx, dword [ebp + 0xc]
lea ecx, [ecx]
cmp edi, 0xffffffff
je 0x407dc9
push 0x445ad8
lea edx, [ebp - 0x1a3c]
push edx
call fcn.004273ec
add esp, 8
test eax, eax
je 0x407dac
push 0x445adc
lea eax, [ebp - 0x1a3c]
push eax
call fcn.004273ec
add esp, 8
test eax, eax
je 0x407dac
push 0x800
push 0
lea ecx, [ebp - 0x1018]
push ecx
call fcn.00428ee0
add esp, 0xc
lea edx, [ebp - 0x1a3c]
push edx
lea eax, [ebp - 0x818]
push eax
push 0x445094
lea edx, [ebp - 0x1018]
call fcn.004059c0
add esp, 0xc
test byte [ebp - 0x1a68], 0x10
je 0x407da1
test bl, bl
je 0x407da1
push ebx
lea ecx, [ebp - 0x1018]
push ecx
mov ecx, dword [ebp - 0x1a74]
call fcn.00407bb0
mov esi, eax
mov dword [ebp - 0x1a6c], esi
test esi, esi
je 0x407dac
lea edx, [ebp - 0x1018]
push edx
push str.Delete_Directory_:__s_
mov ecx, esi
mov edx, 0x463520
call fcn.0040be20
add esp, 8
jmp 0x407dac
lea ecx, [ebp - 0x1018]
call fcn.004077b0
lea eax, [ebp - 0x1a68]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407ce0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
je 0x407df1
lea edx, [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
mov dword [ebp - 0x1a6c], esi
jmp 0x407e0a
lea eax, [ebp - 0x818]
push eax
push str.__s__directory_was_not_empty___
mov ecx, 0x463520
call fcn.0040bf70
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1a70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
jmp 0x407e88
mov eax, 0x57
jmp 0x407e8a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042683e
mov esp, ebp
pop ebp
ret 8