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

Disassembly:
push 0xffffffffffffffff
push 0x44d8e4
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x4628d0]
xor eax, esp
mov dword [esp + 0x4bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4628d0]
xor eax, esp
push eax
lea eax, [esp + 0x4d4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4e4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], esi
call fcn.004108c4
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x407f86
push 0x80004005
call fcn.004037e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x4dc], ebp
call fcn.004108c4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x407fb7
push 0x80004005
call fcn.004037e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4dc], 1
call fcn.004193f8
lea ecx, [esp + 0x40]
mov byte [esp + 0x4dc], 2
call fcn.004193f8
mov byte [esp + 0x4dc], 3
call fcn.004108c4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40800b
push 0x80004005
call fcn.004037e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x4dc], 4
cmp esi, ebp
jne 0x40802b
xor eax, eax
jmp 0x40803f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x408030
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00403830
push 1
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004055a0
push 0x4516bc
push eax
mov byte [esp + 0x4e4], 5
call fcn.004060e0
mov bl, al
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x4dc], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40809a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4080ac
push 0x4516bc
lea ecx, [esp + 0x18]
call fcn.00406dc0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x34]
call fcn.00419479
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x48]
call fcn.00419479
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00403dd0
push 0x45786c
lea ecx, [esp + 0x24]
call fcn.00406dc0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x280]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x408190
cmp dword [esp + 0x4e8], ebp
je 0x40853c
push esi
lea ecx, [esp + 0x18]
call fcn.00403940
push 1
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004055a0
push 0x4516bc
push eax
mov byte [esp + 0x4e4], 6
call fcn.00406070
mov bl, al
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x4dc], 4
lea edx, [eax + 0xc]
or ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408164
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x408531
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405620
mov byte [esp + 0x4dc], 7
jmp 0x4084ff
lea eax, [esp + 0x2ac]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4081a0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2b0]
push ecx
lea ecx, [esp + 0x20]
call fcn.00403830
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 0x10]
cmp ecx, ebp
je 0x4081d7
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp eax, ebp
jne 0x4081e5
call fcn.004108c4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push 0x4516b8
lea ecx, [esp + 0x24]
call fcn.00405cc0
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp esi, ebp
setne al
mov byte [esp + 0x4dc], 8
cmp eax, ebp
je 0x407f7c
mov eax, dword [esp + 0x18]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40823b
cmp dx, bp
je 0x408237
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40823b
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x408215
xor eax, eax
jmp 0x408240
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
lea eax, [esi - 0x10]
setne bl
mov byte [esp + 0x4dc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408269
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4082ee
lea ecx, [esp + 0x18]
push 0x4516b4
push ecx
call fcn.004060e0
add esp, 8
test al, al
je 0x4082ee
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call fcn.00403dd0
lea eax, [esp + 0x2ac]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4082a0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2b0]
push eax
lea ecx, [esp + 0x20]
call fcn.00405830
test byte [esp + 0x280], 0x10
je 0x4082db
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x48]
jmp 0x4082e9
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004196a8
lea edx, [esp + 0x280]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408190
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x48]
xor esi, esi
cmp eax, ebp
jle 0x40834a
mov edi, dword [esp + 0x24]
lea ebx, [ebx]
cmp esi, ebp
jl 0x4083c3
cmp esi, eax
jge 0x4083c3
mov eax, dword [esp + 0x44]
mov eax, dword [eax + esi*4]
push 1
push eax
mov ecx, edi
call fcn.00407f20
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x408320
mov eax, dword [esp + 0x34]
xor esi, esi
cmp eax, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
jle 0x4083aa
lea esp, [esp]
cmp esi, ebp
jl 0x4083c3
cmp esi, eax
jge 0x4083c3
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + esi*4]
lea edx, [esp + 0x54]
push edx
push eax
call fcn.0041b0b3
test eax, eax
je 0x4083a1
cmp esi, dword [esp + 0x34]
jge 0x4083c3
mov eax, dword [esp + 0x30]
mov eax, dword [eax + esi*4]
push eax
call fcn.0041227a
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jl 0x408370
cmp dword [esp + 0x4e8], ebp
je 0x40853c
mov esi, dword [esp + 0x28]
cmp esi, ebp
jne 0x4083c8
xor eax, eax
jmp 0x4083df
call fcn.0040e16e
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4083d0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00403830
push 1
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004055a0
mov esi, eax
mov edx, dword [esi]
mov ecx, dword [edx - 0x10]
mov byte [esp + 0x4dc], 9
cmp ecx, ebp
je 0x408418
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp eax, ebp
jne 0x408426
call fcn.004108c4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push 0x4516bc
lea ecx, [esp + 0x30]
call fcn.00405cc0
mov edi, dword [esp + 0x28]
xor eax, eax
cmp edi, ebp
setne al
mov byte [esp + 0x4dc], 0xa
cmp eax, ebp
jne 0x408456
push 0x80004005
call fcn.004037e0
mov eax, dword [esi]
mov ecx, edi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408486
cmp dx, bp
je 0x408482
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408486
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x408460
xor eax, eax
jmp 0x40848b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
lea eax, [edi - 0x10]
sete bl
mov byte [esp + 0x4dc], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4084b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x4dc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4084dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x408531
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405620
mov byte [esp + 0x4dc], 0xb
push eax
lea ecx, [esp + 0x18]
call fcn.00403dd0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4dc], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408531
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x4dc], 3
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x4dc], 2
call fcn.004195af
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4dc], 1
call fcn.004195af
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4dc], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4085ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x4dc], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4085d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4bc]
xor ecx, esp
call fcn.0042babd
add esp, 0x4cc
ret 8