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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a06dc
mov eax, dword fs:[0]
push eax
sub esp, 0x928
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0x924]
mov dword [ebp - 0x92c], esi
mov dword [ebp - 0x934], eax
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp - 0x924]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_7322]
test al, al
je 0x473b67
lea ecx, [ebp - 0x924]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor eax, eax
jmp 0x473df7
push ecx
lea edx, [ebp - 0x924]
mov ecx, esp
mov dword [ebp - 0x930], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.00473a70
add esp, 4
test al, al
je 0x473b54
lea edx, [ebp - 0x7e0]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x473b93
lea eax, [ebp - 0x7e0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x473ba4
mov cx, word [0x4c49c4]
mov dl, byte [0x4c49c6]
mov word [eax], cx
lea ebx, [ebp - 0x3f8]
mov byte [eax + 2], dl
mov eax, esi
sub ebx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [ebx + eax], cl
inc eax
test cl, cl
jne 0x473bd0
lea edi, [ebp - 0x3f8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x473be1
mov ax, word [0x4b0cd8]
lea ecx, [ebp - 0x920]
push ecx
lea edx, [ebp - 0x7e0]
push edx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x930], eax
cmp eax, 0xffffffff
je 0x473b54
xor eax, eax
jmp 0x473c20
mov cl, byte [ebp + eax - 0x3f8]
mov byte [ebp + eax - 0x7e0], cl
inc eax
test cl, cl
jne 0x473c20
mov esi, dword [ebp - 0x930]
lea eax, [ebp - 0x920]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x473dc4
lea ecx, [ebp - 0x8f4]
push ecx
call fcn.00473ab0
add esp, 4
test eax, eax
jne 0x473c33
mov eax, dword [ebp - 0x92c]
mov cl, byte [eax]
mov byte [ebx + eax], cl
inc eax
test cl, cl
jne 0x473c68
lea edi, [ebp - 0x3f8]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x473c80
mov dx, word [0x4b0cd8]
lea eax, [ebp - 0x8f4]
mov word [edi], dx
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473ca0
lea edi, [ebp - 0x3f8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x473cb0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test byte [ebp - 0x920], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x473d48
mov esi, dword [ebp - 0x934]
push 0x4ae26b
push esi
call dword [sym.imp.MSVCR100.dll__mbscmp]
add esp, 8
test eax, eax
je 0x473d03
lea eax, [ebp - 0x3f8]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
jne 0x473c33
lea ecx, [ebp - 0x3f8]
push esi
push ecx
call fcn.00473af0
add esp, 8
lea edx, [ebp - 0x3f8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
jmp 0x473d30
mov cl, byte [ebp + eax - 0x7e0]
mov byte [ebp + eax - 0x3f8], cl
inc eax
test cl, cl
jne 0x473d30
jmp 0x473c33
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x928]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0
push str..log
lea ecx, [ebp - 0x928]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
js 0x473d83
lea ecx, [ebp - 0x928]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x473c33
lea ecx, [ebp - 0x3f8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x473da0
mov cl, byte [ebp + eax - 0x7e0]
mov byte [ebp + eax - 0x3f8], cl
inc eax
test cl, cl
jne 0x473da0
lea ecx, [ebp - 0x928]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x473c33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x473c33
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x92c]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x924]
mov esi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret