Function at 0x40d7f0
Capabilities:
Create directory
Delete directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x1b4]
mov ecx, 0x6d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov esi, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40d84e
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00415960
cmp eax, 0xb7
je 0x40d84e
xor eax, eax
jmp 0x40db54
mov ecx, dword [ebp + 8]
push ecx
call fcn.004159a0
add esp, 4
add eax, 0x104
push eax
call fcn.00415b10
add esp, 4
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x40d897
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp esi, esp
call fcn.00415960
xor eax, eax
jmp 0x40db54
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00415a20
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
call fcn.004159a0
add esp, 4
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx + eax]
cmp edx, 0x5c
jne 0x40d8d2
push 0x43f11c
mov eax, dword [ebp - 0xc]
push eax
call fcn.00415a30
add esp, 8
jmp 0x40d8e3
push 0x43f390
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00415a30
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
call fcn.004159a0
add esp, 4
add eax, 0x104
push eax
call fcn.00415b10
add esp, 4
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40d944
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x164]
push edx
call fcn.004158d0
add esp, 4
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp esi, esp
call fcn.00415960
xor eax, eax
jmp 0x40db54
mov esi, esp
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffff
jne 0x40d9b7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.004158d0
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x16c]
push eax
call fcn.004158d0
add esp, 4
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp esi, esp
call fcn.00415960
xor eax, eax
jmp 0x40db54
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x40db39
push 0x43f0e4
lea edx, [ebp - 0x124]
push edx
call fcn.0040128f
add esp, 8
test eax, eax
je 0x40db14
push 0x43f0e0
lea eax, [ebp - 0x124]
push eax
call fcn.0040128f
add esp, 8
test eax, eax
je 0x40db14
push 0x5c
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00401041
add esp, 8
mov dword [ebp - 0x158], eax
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x158]
add eax, 1
push eax
call fcn.00415a20
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00415a20
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
call fcn.004159a0
add esp, 4
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx + eax]
cmp edx, 0x5c
je 0x40da66
push 0x43f120
mov eax, dword [ebp - 0x10]
push eax
call fcn.00415a30
add esp, 8
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00415a30
add esp, 8
mov eax, dword [ebp - 0x150]
and eax, 0x10
test eax, eax
je 0x40da9f
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
call fcn.0040138e
mov dword [ebp - 8], eax
jmp 0x40dab6
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
call fcn.004012a8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40db14
mov esi, esp
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.00415960
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0x170]
push eax
call fcn.004158d0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x174]
push edx
call fcn.004158d0
add esp, 4
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
call fcn.00401091
xor eax, eax
jmp 0x40db54
mov esi, esp
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 8], eax
jmp 0x40d9be
mov esi, esp
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.00415960
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x1b4
cmp ebp, esp
call fcn.00415960
mov esp, ebp
pop ebp
ret 0xc