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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a071c
mov eax, dword fs:[0]
push eax
sub esp, 0x924
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 - 0x928], esi
mov dword [ebp - 0x930], 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 0x473e97
lea ecx, [ebp - 0x924]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor eax, eax
jmp 0x4740d5
push ecx
lea edx, [ebp - 0x924]
mov ecx, esp
mov dword [ebp - 0x92c], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.00473a70
add esp, 4
test al, al
je 0x473e84
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 0x473ec3
lea eax, [ebp - 0x7e0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x473ed4
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 0x473f00
lea edi, [ebp - 0x3f8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x473f11
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 - 0x92c], eax
cmp eax, 0xffffffff
je 0x473e84
xor eax, eax
jmp 0x473f50
mov cl, byte [ebp + eax - 0x3f8]
mov byte [ebp + eax - 0x7e0], cl
inc eax
test cl, cl
jne 0x473f50
jmp 0x473f76
mov esi, dword [ebp - 0x928]
mov edi, dword [ebp - 0x92c]
lea eax, [ebp - 0x920]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4740a8
lea ecx, [ebp - 0x8f4]
push ecx
call fcn.00473ab0
add esp, 4
test eax, eax
jne 0x473f76
mov eax, esi
mov cl, byte [eax]
mov byte [ebx + eax], cl
inc eax
test cl, cl
jne 0x473fa7
lea edi, [ebp - 0x3f8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x473fb8
mov dx, word [0x4b0cd8]
lea eax, [ebp - 0x8f4]
mov word [edi], dx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473fd2
lea edi, [ebp - 0x3f8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x473fe2
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 0x474078
mov esi, dword [ebp - 0x930]
push 0x4ae26b
push esi
call dword [sym.imp.MSVCR100.dll__mbscmp]
add esp, 8
test eax, eax
je 0x474035
lea eax, [ebp - 0x3f8]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
jne 0x473f70
lea ecx, [ebp - 0x3f8]
push esi
push ecx
call fcn.00473e20
add esp, 8
lea edx, [ebp - 0x3f8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
jmp 0x474060
mov cl, byte [ebp + eax - 0x7e0]
mov byte [ebp + eax - 0x3f8], cl
inc eax
test cl, cl
jne 0x474060
jmp 0x473f70
lea eax, [ebp - 0x3f8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x474090
mov cl, byte [ebp + eax - 0x7e0]
mov byte [ebp + eax - 0x3f8], cl
inc eax
test cl, cl
jne 0x474090
jmp 0x473f70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x473f76
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
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