Function at 0x475760
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0a68
mov eax, dword fs:[0]
push eax
sub esp, 0x920
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]
push esi
lea ecx, [ebp - 0x924]
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
jne 0x475996
push ecx
lea eax, [ebp - 0x924]
mov ecx, esp
mov dword [ebp - 0x92c], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.00473a70
add esp, 4
test al, al
je 0x475996
push str.F:_testing
lea ecx, [ebp - 0x928]
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea edx, [ebp - 0x7e0]
mov byte [ebp - 4], 1
mov eax, esi
sub edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x475800
lea eax, [ebp - 0x7e0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x475811
mov cx, word [0x4c49c4]
mov dl, byte [0x4c49c6]
mov word [eax], cx
mov byte [eax + 2], dl
lea edx, [ebp - 0x3f8]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x475836
lea edi, [ebp - 0x3f8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x475847
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 ebx, eax
cmp ebx, 0xffffffff
je 0x47598a
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x3f8]
mov byte [ebp + eax - 0x7e0], cl
inc eax
test cl, cl
jne 0x475880
lea eax, [ebp - 0x920]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x475978
lea ecx, [ebp - 0x8f4]
push ecx
call fcn.00473ab0
add esp, 4
test eax, eax
jne 0x475893
lea eax, [ebp - 0x8f4]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4758c4
lea edi, [ebp - 0x3f8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4758d4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp - 0x920]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test al, 0x10
je 0x475928
lea edx, [ebp - 0x3f8]
push 0x4ae26b
push edx
call fcn.00473e20
add esp, 8
test eax, eax
je 0x475983
xor eax, eax
mov cl, byte [ebp + eax - 0x7e0]
mov byte [ebp + eax - 0x3f8], cl
inc eax
test cl, cl
jne 0x475910
jmp 0x475893
test al, 1
je 0x475941
lea eax, [ebp - 0x3f8]
push 0x80
push eax
call dword [sym.imp.MSVCR100.dll__chmod]
add esp, 8
lea ecx, [ebp - 0x3f8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x475983
xor eax, eax
jmp 0x475960
mov cl, byte [ebp + eax - 0x7e0]
mov byte [ebp + eax - 0x3f8], cl
inc eax
test cl, cl
jne 0x475960
jmp 0x475893
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x4759a6
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x928]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x924]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor eax, eax
jmp 0x4759c5
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x928]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x924]
call dword [sym.imp.mfc100.dll_Ordinal_901]
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