Function at 0x40b9d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462932
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6d0
mov eax, dword [0x47b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebx + 8]
movups xmmword [ebp - 0x450], xmm0
mov dword [ebp - 0x440], 0
push 8
mov dword [ebp - 0x6bc], esi
mov dword [ebp - 0x6c0], eax
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
call fcn.0043870c
lea ecx, [ebp - 0x450]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x450], eax
mov dword [eax], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x42c], 0
push 8
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
call fcn.0043870c
lea ecx, [ebp - 0x43c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x43c], eax
mov dword [eax], ecx
push esi
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 1
call fcn.00407e10
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x434]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40bb33
push ecx
lea ecx, [ebp - 0x43c]
call fcn.0040e650
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x430]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x430], ecx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x438]
and eax, edi
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x40bb7e
push 0x18
call fcn.0043870c
mov ecx, dword [ebp - 0x438]
add esp, 4
mov dword [esi + ecx], eax
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x438]
movups xmm0, xmmword [ebp - 0x468]
lea eax, [edx - 1]
push dword [ebp - 0x6bc]
and eax, edi
mov eax, dword [ecx + eax*4]
lea ecx, [ebp - 0x468]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x458]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x42c]
mov byte [ebp - 4], 1
call fcn.00407e10
mov esi, eax
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x448]
lea ecx, [edi + 1]
cmp edx, ecx
ja 0x40bbe9
push ecx
lea ecx, [ebp - 0x450]
call fcn.0040e650
mov edi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x444]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x444], ecx
add ecx, edi
and eax, ecx
mov dword [ebp - 0x6bc], ecx
mov ecx, dword [ebp - 0x44c]
lea edi, [eax*4]
cmp dword [edi + ecx], 0
jne 0x40bc39
push 0x18
call fcn.0043870c
mov ecx, dword [ebp - 0x44c]
add esp, 4
mov dword [edi + ecx], eax
mov edx, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x44c]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x6bc]
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov eax, dword [ebp - 0x440]
inc eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x440], eax
cmp ecx, 7
jbe 0x40bcd3
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bcc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c231
push ecx
push edx
call fcn.00438aa2
mov eax, dword [ebp - 0x440]
add esp, 8
test eax, eax
je 0x40c0ee
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x44c]
dec ecx
and ecx, dword [ebp - 0x444]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x468]
call fcn.0040e3c0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x44c]
dec ecx
and ecx, dword [ebp - 0x444]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x40bd55
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40bd4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c231
mov eax, edx
push ecx
push eax
call fcn.00438aa2
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
sub dword [ebp - 0x440], 1
jne 0x40bd79
mov dword [ebp - 0x444], eax
jmp 0x40bd7f
inc dword [ebp - 0x444]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0043a680
add esp, 0xc
lea eax, [ebp - 0x468]
cmp dword [ebp - 0x454], 7
cmova eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x428]
push 0x4708d0
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x470950
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.0043a680
add esp, 0xc
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x6c4], esi
cmp esi, 0xffffffff
je 0x40c09d
nop dword [eax + eax]
cmp word [ebp - 0x68c], 0x2e
je 0x40c080
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0043a680
add esp, 0xc
lea ecx, [ebp - 0x68c]
cmp dword [ebp - 0x454], 7
lea eax, [ebp - 0x468]
cmova eax, dword [ebp - 0x468]
push ecx
push eax
lea eax, [ebp - 0x220]
push 0x470b50
push eax
call edi
add esp, 0x10
test byte [ebp - 0x6b8], 0x10
je 0x40c073
mov eax, dword [ebp - 0x6c0]
test eax, eax
je 0x40be90
lea ecx, [ebp - 0x68c]
push ecx
push eax
call fcn.00442e92
add esp, 8
test eax, eax
je 0x40c080
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6dc]
call fcn.00407e10
mov edi, eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x448]
lea ecx, [esi + 1]
cmp edx, ecx
ja 0x40bed3
push ecx
lea ecx, [ebp - 0x450]
call fcn.0040e650
mov esi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x444]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x444], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x6bc], ecx
mov ecx, dword [ebp - 0x44c]
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x40bf23
push 0x18
call fcn.0043870c
mov ecx, dword [ebp - 0x44c]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x44c]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x6bc]
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
inc dword [ebp - 0x440]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x6c8]
cmp ecx, 7
jbe 0x40bfb0
mov edx, dword [ebp - 0x6dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bfa6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c231
push ecx
push edx
call fcn.00438aa2
add esp, 8
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6dc]
call fcn.00407e10
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x434]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40bff1
push ecx
lea ecx, [ebp - 0x43c]
call fcn.0040e650
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x430]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x430], ecx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x438]
and eax, edi
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x40c03c
push 0x18
call fcn.0043870c
mov ecx, dword [ebp - 0x438]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x438]
movups xmm0, xmmword [ebp - 0x6dc]
mov esi, dword [ebp - 0x6c4]
lea eax, [edx - 1]
and eax, edi
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x6cc]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x42c]
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x40c080
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x6b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40be10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x454]
cmp ecx, 7
jbe 0x40c0e1
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c0d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c231
push ecx
push edx
call fcn.00438aa2
add esp, 8
cmp dword [ebp - 0x440], 0
jne 0x40bce1
cmp dword [ebp - 0x42c], 0
je 0x40c1fb
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x438]
dec ecx
and ecx, dword [ebp - 0x430]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x468]
call fcn.0040e3c0
mov ecx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x438]
dec ecx
and ecx, dword [ebp - 0x430]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x40c171
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40c167
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c231
mov eax, edx
push ecx
push eax
call fcn.00438aa2
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
sub dword [ebp - 0x42c], 1
jne 0x40c195
mov dword [ebp - 0x430], eax
jmp 0x40c19b
inc dword [ebp - 0x430]
cmp dword [ebp - 0x454], 7
lea eax, [ebp - 0x468]
cmova eax, dword [ebp - 0x468]
push eax
call edi
mov ecx, dword [ebp - 0x454]
cmp ecx, 7
jbe 0x40c1ee
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c1e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c231
push ecx
push edx
call fcn.00438aa2
add esp, 8
cmp dword [ebp - 0x42c], 0
jne 0x40c101
lea ecx, [ebp - 0x43c]
call fcn.0040e230
lea ecx, [ebp - 0x450]
call fcn.0040e230
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00438436
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.00442b30
int3