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

Disassembly:
push 0xffffffffffffffff
push 0x45c77b
mov eax, dword fs:[0]
push eax
sub esp, 0xa94
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0xa90], eax
push ebx
push esi
push edi
mov eax, dword [0x4751f0]
xor eax, esp
push eax
lea eax, [esp + 0xaa4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xab4]
push 0x208
xor esi, esi
lea eax, [esp + 0x48c]
push esi
push eax
mov dword [esp + 0x1c], edi
call fcn.004449b0
add esp, 0xc
push edi
lea ecx, [esp + 0x48c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x488]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esp + eax*2 + 0x486], 0x5c
je 0x418bc8
push 0x45fc68
lea eax, [esp + 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x206
lea edx, [esp + 0x89e]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x8a4], cx
call fcn.004449b0
push 0x460668
lea eax, [esp + 0x498]
push eax
lea ecx, [esp + 0x8ac]
push 0x460224
push ecx
call fcn.00401040
add esp, 0x1c
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x89c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x418c28
xor eax, eax
jmp 0x418e06
mov edi, 7
lea ecx, [ecx]
test byte [esp + 0x30], 0x10
je 0x418cae
push 0x4602f0
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x418de0
cmp word [esp + 0x5c], 0x2e
je 0x418de0
push 0x206
lea eax, [esp + 0x696]
xor edx, edx
push esi
push eax
mov word [esp + 0x69c], dx
call fcn.004449b0
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x498]
push edx
lea eax, [esp + 0x6a4]
push 0x460224
push eax
call fcn.00401040
lea ecx, [esp + 0x6ac]
push 1
push ecx
call fcn.00418b30
add esp, 0x24
jmp 0x418de0
push 0x206
lea eax, [esp + 0x286]
xor edx, edx
push esi
push eax
mov word [esp + 0x28c], dx
call fcn.004449b0
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x498]
push edx
lea eax, [esp + 0x294]
push 0x460224
push eax
call fcn.00401040
add esp, 0x1c
xor ecx, ecx
lea eax, [esp + 0x280]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
mov word [esp + 0x18], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x418d06
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x284]
push edx
lea ecx, [esp + 0x1c]
call fcn.00403400
push 0xf
push esi
push str.CustomHosts.txt
lea ecx, [esp + 0x20]
mov dword [esp + 0xab8], esi
call fcn.004019c0
cmp eax, 0xffffffff
jne 0x418d87
push 0xe
push esi
push str.CustomRule.txt
lea ecx, [esp + 0x20]
call fcn.004019c0
cmp eax, 0xffffffff
jne 0x418d87
push 0x15
push esi
push str.CustomWhiteDomain.txt
lea ecx, [esp + 0x20]
call fcn.004019c0
cmp eax, 0xffffffff
jne 0x418d87
lea eax, [esp + 0x280]
push eax
call fcn.00418170
lea ecx, [esp + 0x284]
push ecx
jmp 0x418da5
cmp dword [esp + 0xab8], esi
je 0x418db2
lea edx, [esp + 0x280]
push edx
call fcn.00418170
lea eax, [esp + 0x284]
push eax
push str.del_file:_s_r_n
call fcn.0040c370
add esp, 0xc
cmp dword [esp + 0x2c], 8
mov dword [esp + 0xaac], 0xffffffff
jb 0x418dd1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044475c
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
mov word [esp + 0x18], dx
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418c30
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0xaa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa90]
xor ecx, esp
call fcn.00444b03
add esp, 0xaa0
ret