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

Disassembly:
push 0xffffffffffffffff
push 0x4582b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x354
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0x370]
push edi
mov eax, dword [ebp + 0x8c]
mov ecx, dword [ebp + 0x88]
push eax
push ecx
push esi
mov dword [esp + 0x2c], ebp
call fcn.0041bf30
add esp, 0xc
test eax, eax
je 0x41aa11
mov eax, 1
jmp 0x41af2b
mov dl, byte [0x48840c]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x261]
mov byte [esp + 0x260], dl
mov byte [esp + 0x15c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15d]
lea edx, [esp + 0x15c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
push edx
push esi
stosb byte es:[edi], al
call fcn.004270a5
lea eax, [esp + 0x168]
push eax
call fcn.0041cda8
xor ebx, ebx
add esp, 0x10
cmp esi, ebx
je 0x41aacb
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jb 0x41aacb
mov al, byte [esi]
mov edi, esi
cmp al, bl
je 0x41aab5
mov al, byte [esi]
cmp al, 0x5c
je 0x41aa9b
cmp al, 0x2f
je 0x41aa9b
cmp al, 0x3a
jne 0x41aaa6
push esi
call fcn.00437136
add esp, 4
mov edi, eax
push esi
call fcn.00437136
mov esi, eax
add esp, 4
cmp byte [esi], bl
jne 0x41aa8d
push 0x104
lea ecx, [esp + 0x264]
push edi
push ecx
call fcn.004373f1
add esp, 0xc
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call fcn.00404400
mov edi, str._windows_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._windows_
lea ecx, [esp + 0x3c]
call fcn.00404770
mov ecx, dword [ebp + 0x9c]
push 0x800
lea eax, [esp + 0x38]
push ebx
push eax
add ecx, 0x1fc
mov dword [esp + 0x378], ebx
call fcn.0042382c
call sym.HPZshl01.exe_unsigned_int___cdecl_IsXP_void_
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test eax, eax
je 0x41ac05
mov cl, byte [esp + 0x34]
push ebx
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
call fcn.00404400
mov edx, dword [0x45b97c]
lea eax, [esp + 0x34]
push edx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00403e70
mov edi, str.infINFCACHE.1
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x36c], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.infINFCACHE.1
lea ecx, [esp + 0x2c]
call fcn.00403db0
mov edx, dword [esp + 0x28]
cmp edx, ebx
jne 0x41ab92
mov edx, 0x45b980
mov cl, byte [0x48840c]
xor eax, eax
mov byte [esp + 0x58], cl
mov ecx, 0x40
lea edi, [esp + 0x59]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x5c]
push eax
push 0x104
push edx
call esi
lea ecx, [esp + 0x58]
push ecx
call ebp
cmp eax, 0xffffffff
je 0x41abf3
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x41abd3
mov eax, 0x45b980
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x41abec
mov eax, 0x45b980
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x370], bl
call fcn.00404400
call sym.HPZshl01.exe_unsigned_int___cdecl_Is9X_void_
test eax, eax
je 0x41adab
mov dl, byte [esp + 0x34]
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.00404400
mov eax, dword [0x45b97c]
lea ecx, [esp + 0x34]
push eax
push ebx
push ecx
lea ecx, [esp + 0x50]
call fcn.00403e70
mov edi, str.INFDRVDATA.BIN
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x36c], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.INFDRVDATA.BIN
lea ecx, [esp + 0x4c]
call fcn.00403db0
mov dl, byte [esp + 0x34]
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.00404400
mov eax, dword [0x45b97c]
lea ecx, [esp + 0x34]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00403e70
mov edi, str.INFDRVIDX.BIN
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x36c], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.INFDRVIDX.BIN
lea ecx, [esp + 0x2c]
call fcn.00403db0
mov edx, dword [esp + 0x48]
cmp edx, ebx
jne 0x41acb9
mov edx, 0x45b980
mov al, byte [0x48840c]
mov ecx, 0x40
mov byte [esp + 0x58], al
xor eax, eax
lea edi, [esp + 0x59]
push ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x5c]
stosw word es:[edi], ax
push ecx
push 0x104
push edx
stosb byte es:[edi], al
call esi
lea edx, [esp + 0x58]
push edx
call ebp
cmp eax, 0xffffffff
je 0x41ad19
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x41acf9
mov eax, 0x45b980
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x41ad12
mov eax, 0x45b980
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x28]
cmp edx, ebx
jne 0x41ad26
mov edx, 0x45b980
mov al, byte [0x48840c]
mov ecx, 0x40
mov byte [esp + 0x58], al
xor eax, eax
lea edi, [esp + 0x59]
push ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x5c]
stosw word es:[edi], ax
push ecx
push 0x104
push edx
stosb byte es:[edi], al
call esi
lea edx, [esp + 0x58]
push edx
call ebp
cmp eax, 0xffffffff
je 0x41ad86
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x41ad66
mov eax, 0x45b980
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x41ad7f
mov eax, 0x45b980
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x370], 2
call fcn.00404400
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x370], bl
call fcn.00404400
mov al, byte [esp + 0x13]
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00404540
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x38]
mov byte [esp + 0x36c], 4
cmp eax, ebx
jne 0x41addb
mov eax, 0x45b980
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x15c]
push ecx
mov ecx, dword [edi + 0x8c]
push edx
mov edx, dword [edi + 0x88]
push 1
push ecx
lea ecx, [esp + 0x270]
push edx
push ecx
push eax
call fcn.0041b7b0
add esp, 0x1c
test eax, eax
je 0x41ae63
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push eax
mov byte [esp + 0x370], bl
mov ecx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004044b0
mov eax, dword [esp + 0x18]
push eax
call fcn.0044d4f6
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x370], 0xffffffff
call fcn.00404400
mov eax, 1
jmp 0x41af2b
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
cmp esi, eax
je 0x41aeb0
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41ae79
mov eax, 0x45b980
mov edx, dword [edi + 0x8c]
lea ecx, [esp + 0x15c]
push ecx
mov ecx, dword [edi + 0x88]
push 1
push edx
lea edx, [esp + 0x26c]
push ecx
push edx
push eax
call fcn.0041b450
add esp, 0x18
test eax, eax
jne 0x41aef8
mov esi, dword [esi]
mov eax, dword [esp + 0x18]
cmp esi, eax
jne 0x41ae6d
mov ecx, dword [eax]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x378], bl
call fcn.004044b0
mov eax, dword [esp + 0x18]
push eax
call fcn.0044d4f6
mov ecx, dword [esp + 0x3c]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x41af29
mov al, byte [ecx - 1]
cmp al, bl
je 0x41af1f
cmp al, 0xff
je 0x41af1f
dec al
mov byte [ecx - 1], al
jmp 0x41af29
mov eax, dword [esp + 0x18]
mov byte [esp + 0x36c], bl
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x24]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004044b0
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x41ae33
dec ecx
push ecx
call fcn.0044d4f6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x360
ret 4