Function at 0x41c430
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x432c28
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, esi
call fcn.0041c170
call fcn.004231f0
mov ebp, dword [eax]
test ebp, ebp
je 0x41c671
mov eax, esi
call fcn.0041c0e0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x41c671
mov eax, dword [esi + 0x714]
test eax, eax
jl 0x41c666
mov ecx, dword [ecx + 4]
movzx edx, byte [ecx + 4]
cmp eax, edx
jge 0x41c666
cmp eax, dword [ebp + 0x18]
jge 0x41c56e
mov ecx, dword [ebp + 0x14]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
test eax, eax
je 0x41c666
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41c5fe
shr eax, 4
not al
and al, 1
je 0x41c5fe
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push eax
call ebx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x28], 1
mov ecx, dword [esi + 0x714]
mov edi, dword [sym.imp.mfc90.dll_Ordinal_2538]
inc ecx
push ecx
lea edx, [esp + 0x20]
push 0x2711
push edx
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push 0x841
push ecx
call edi
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push 0x31
push edx
call sub.mfc90.dll_Ordinal_1183
cmp eax, 1
jne 0x41c5cd
mov eax, dword [esp + 0x14]
call fcn.00415fa0
test al, al
jne 0x41c573
push 0
push 0x30
push 0x842
jmp 0x41c5ad
call sub.mfc90.dll_Ordinal_1252
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
test eax, eax
jne 0x41c5b2
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [esp + 0x14]
and eax, 0xfffffffe
push eax
push edx
call ebx
mov eax, dword [esp + 0x14]
push eax
call edi
test eax, eax
jne 0x41c5b2
push eax
push 0x10
push 0x838
call sub.mfc90.dll_Ordinal_1182
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 0
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x41c60c
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0
push 0x30
push 0x842
call sub.mfc90.dll_Ordinal_1182
mov eax, ebp
call fcn.00420240
mov ebx, dword [esi + 0x714]
mov ecx, esi
call fcn.0041b9a0
lea ecx, [esi + 0x5a4]
call sub.mfc90.dll_Ordinal_4384
test eax, eax
jne 0x41c63a
lea ecx, [esi + 0x418]
call sub.mfc90.dll_Ordinal_6291
cmp dword [ebp + 8], 0
jne 0x41c649
xor eax, eax
mov ecx, esi
call fcn.0041a620
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0
push 0x30
push 0x842
jmp 0x41c67a
push 0
push 0x30
push 0x834
call sub.mfc90.dll_Ordinal_1182
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret