Function at 0x4061b0
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x455e4d
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x471050]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x471050]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
test eax, eax
je 0x406717
xor ecx, ecx
mov word [esp + 0x20], cx
mov ebx, 7
mov ecx, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x406220
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x20]
call fcn.00402de0
xor eax, eax
mov dword [esp + 0x2f0], eax
cmp dword [esp + 0x30], eax
jne 0x406252
cmp dword [esp + 0x34], 8
jmp 0x406708
mov dword [esp + 0x4c], eax
xor ecx, ecx
push eax
mov eax, 0x45c064
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], ebx
mov word [esp + 0x40], cx
call fcn.00402de0
mov byte [esp + 0x2f0], 1
test edi, edi
je 0x4062bc
mov eax, edi
lea ecx, [esp + 0x54]
call fcn.004026b0
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x2f8], 2
call fcn.00402910
mov ebx, 8
mov byte [esp + 0x2f0], 1
cmp dword [esp + 0x6c], ebx
jb 0x4062c1
mov edx, dword [esp + 0x58]
push edx
call fcn.0042ce2b
add esp, 4
jmp 0x4062c1
mov ebx, 8
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jbe 0x406352
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x4062dd
call fcn.0042ccd4
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebx
jae 0x4062eb
lea eax, [esp + 0x3c]
cmp word [eax + esi*2], 0x5c
je 0x406310
cmp esi, ecx
jbe 0x4062fb
call fcn.0042ccd4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebx
jae 0x406309
lea eax, [esp + 0x3c]
cmp word [eax + esi*2], 0x2f
jne 0x406352
lea eax, [esp + 0x38]
mov ecx, esi
push eax
xor edx, edx
lea esi, [esp + 0x58]
call fcn.004067d0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x2f8], 3
call fcn.00402910
mov byte [esp + 0x2f0], 1
cmp dword [esp + 0x6c], ebx
jb 0x406352
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042ce2b
add esp, 4
mov ecx, dword [esp + 0x30]
lea esi, [ecx - 1]
mov edi, ecx
cmp esi, ecx
jbe 0x406368
call fcn.0042ccd4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0x406376
lea eax, [esp + 0x20]
cmp word [eax + esi*2], 0x5c
je 0x40639f
cmp esi, ecx
jbe 0x40638a
call fcn.0042ccd4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0x406398
lea eax, [esp + 0x20]
cmp word [eax + esi*2], 0x2f
jne 0x4063e7
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
xor edx, edx
lea esi, [esp + 0x58]
call fcn.004067d0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x2f8], 4
call fcn.00402910
mov byte [esp + 0x2f0], 1
cmp dword [esp + 0x6c], ebx
jb 0x4063e1
mov eax, dword [esp + 0x58]
push eax
call fcn.0042ce2b
add esp, 4
mov ecx, dword [esp + 0x30]
mov edi, ecx
xor esi, esi
test edi, edi
jbe 0x40643b
lea ecx, [ecx]
cmp esi, ecx
jbe 0x4063fd
call fcn.0042ccd4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0x40640b
lea eax, [esp + 0x20]
cmp word [eax + esi*2], 0x2f
jne 0x406436
cmp esi, ecx
jbe 0x40641b
call fcn.0042ccd4
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0x406429
lea eax, [esp + 0x20]
mov ecx, 0x5c
mov word [eax + esi*2], cx
mov ecx, dword [esp + 0x30]
inc esi
cmp esi, edi
jb 0x4063f0
mov dword [esp + 0x18], 0x5c
lea edi, [esp + 0x18]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x17], 0
call fcn.00406a30
test eax, eax
je 0x4066d5
cmp eax, 0xffffffff
je 0x4066d5
cmp eax, dword [esp + 0x4c]
je 0x4066d5
mov edx, ebx
push edx
mov ecx, eax
xor edx, edx
lea esi, [esp + 0x58]
call fcn.004067d0
mov eax, esi
push eax
mov ebx, str..
lea esi, [esp + 0x74]
mov byte [esp + 0x2f4], 5
call fcn.00406ce0
add esp, 4
mov byte [esp + 0x2f0], 6
mov eax, dword [esp + 0x74]
mov edi, 8
cmp dword [esp + 0x88], edi
jae 0x4064ba
lea eax, [esp + 0x74]
lea ecx, [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40668d
mov bl, 1
mov ecx, 0x45ce24
lea eax, [esp + 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406508
test dx, dx
je 0x406504
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406508
add eax, 4
add ecx, 4
test dx, dx
jne 0x4064e2
xor eax, eax
jmp 0x40650d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4065ef
mov ecx, 0x45ce28
lea eax, [esp + 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4065e6
test dx, dx
je 0x40654b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4065e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x406521
xor eax, eax
jmp 0x4065eb
test al, al
je 0x4065f8
lea edx, [esp + 0x8c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406571
xor al, al
jmp 0x406552
mov ecx, 0x45ce24
lea eax, [esp + 0xb8]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4065a6
test dx, dx
je 0x4065a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4065a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x406580
xor eax, eax
jmp 0x4065ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4065ef
mov ecx, 0x45ce28
lea eax, [esp + 0xb8]
jmp 0x4065c0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4065e6
test dx, dx
je 0x4065e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4065e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4065c0
xor eax, eax
jmp 0x4065eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4065f6
mov al, 1
jmp 0x406552
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
je 0x406631
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0x406611
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x406631
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x24]
call fcn.00402910
mov bl, 1
jmp 0x406635
mov bl, byte [esp + 0x17]
cmp dword [esp + 0x88], edi
jb 0x40664b
mov eax, dword [esp + 0x74]
push eax
call fcn.0042ce2b
add esp, 4
xor ecx, ecx
mov byte [esp + 0x2f0], 1
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], cx
cmp dword [esp + 0x6c], edi
jb 0x406683
mov edx, dword [esp + 0x58]
push edx
call fcn.0042ce2b
add esp, 4
test bl, bl
jne 0x406443
jmp 0x4066da
cmp dword [esp + 0x88], edi
jb 0x4066a3
mov eax, dword [esp + 0x74]
push eax
call fcn.0042ce2b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], cx
cmp dword [esp + 0x6c], edi
jb 0x4066da
mov edx, dword [esp + 0x58]
push edx
call fcn.0042ce2b
add esp, 4
jmp 0x4066da
mov edi, 8
cmp dword [esp + 0x50], edi
jb 0x4066ed
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042ce2b
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x34], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
jb 0x406717
mov edx, dword [esp + 0x20]
push edx
call fcn.0042ce2b
add esp, 4
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.0042c9e9
mov esp, ebp
pop ebp
ret