Function at 0x10003400
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x10019004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x224]
mov dword [ebp - 0x490], edx
mov ebx, ecx
mov byte [ebp - 0x475], 1
push 0
push eax
mov dword [ebp - 0x484], ebx
call fcn.10006250
add esp, 0xc
lea eax, [ebp - 0x224]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x224]
push 0x10016c28
push eax
call ebx
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x208
mov dword [ebp - 0x480], eax
call fcn.10008514
add esp, 4
mov edi, eax
mov dword [ebp - 0x48c], edi
push 0x208
call fcn.10008514
add esp, 4
mov esi, eax
mov dword [ebp - 0x488], esi
push 0x208
call fcn.10008514
add esp, 4
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x480], 0xffffffff
je 0x1000368f
nop word [eax + eax]
lea eax, [ebp - 0x448]
push eax
push 0x10016c2c
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10003668
lea eax, [ebp - 0x448]
push eax
push 0x10016c30
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10003668
push 0x208
push 0
push edi
call fcn.10006250
add esp, 0xc
push 0x208
push 0
push esi
call fcn.10006250
add esp, 0xc
push 0x208
push 0
push dword [ebp - 0x47c]
call fcn.10006250
add esp, 0xc
push dword [ebp - 0x484]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x448]
push eax
push edi
call ebx
xor eax, eax
mov dword [ebp - 0x1c], 0x7a002e
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x448]
push eax
mov dword [ebp - 0x18], 0x700069
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 - 1]
mov dword [ebp - 0xc], eax
test eax, eax
js 0x10003625
mov esi, eax
nop word [eax + eax]
movzx ecx, byte [ebp + esi - 0x448]
mov eax, 0xcccccccd
mul ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov ebx, edx
shr ebx, 3
movzx edi, bx
lea eax, [edi + edi*4]
add eax, eax
sub ecx, eax
mov eax, 0x66666667
imul ebx
add ecx, 0x30
sar edx, 2
mov eax, edx
mov word [ebp - 0xc], cx
shr eax, 0x1f
add eax, edx
movzx ecx, ax
lea eax, [ecx + ecx*4]
add eax, eax
sub edi, eax
mov eax, 0x51eb851f
imul ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
add edi, 0x30
sar edx, 5
mov eax, edx
mov word [ebp - 0xe], di
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x47c]
add ecx, 0x30
mov word [ebp - 0x10], cx
call ebx
sub esi, 1
jns 0x10003590
mov esi, dword [ebp - 0x488]
mov edi, dword [ebp - 0x48c]
push dword [ebp - 0x490]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x47c]
push esi
call ebx
lea eax, [ebp - 0x1c]
push eax
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10003655
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, esi
mov ecx, edi
call fcn.10003240
neg al
sbb al, al
and byte [ebp - 0x475], al
lea eax, [ebp - 0x474]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100034d0
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.100084f7
add esp, 4
push esi
call fcn.100084f7
mov ecx, dword [ebp - 8]
add esp, 4
mov al, byte [ebp - 0x475]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10004cce
mov esp, ebp
pop ebp
ret