Function at 0x41f208
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x605c50
call fcn.00465b38
sub esp, 0x5e4
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebp + 0xc], edi
jne 0x41f22e
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0x41f59a
cmp dword [ebp + 8], edi
jne 0x41f23a
xor eax, eax
jmp 0x41f59a
push ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
push edi
mov dword [esi + 0x30], 1
call fcn.00420172
push dword [ebp + 8]
mov ecx, esi
call fcn.0041e5af
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], edi
cmp eax, edi
jle 0x41f332
xor ebx, ebx
mov eax, dword [esi + 8]
cmp dword [ebx + eax], edi
lea edx, [ebx + eax]
je 0x41f31d
mov dword [ebp - 0x5f0], edi
mov ecx, 0x15d
xor eax, eax
lea edi, [ebp - 0x5ec]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5ec], 2
mov eax, dword [edx]
mov dword [ebp - 0x5f0], eax
push 0x10
fld qword [edx + 0x18]
add edx, 8
fstp qword [ebp - 0x5b0]
mov eax, dword [edx - 4]
push edx
mov dword [ebp - 0x5e4], eax
lea eax, [ebp - 0x5e0]
push eax
call fcn.00465c70
mov eax, dword [esi + 8]
push 0xf
lea eax, [ebx + eax + 0x20]
push eax
lea eax, [ebp - 0x5a8]
push eax
call fcn.0046634f
mov eax, dword [esi + 8]
push 0x103
lea eax, [ebx + eax + 0x140]
push eax
lea eax, [ebp - 0x488]
push eax
call fcn.0046634f
mov eax, dword [esi + 8]
push 0x7f
lea eax, [ebx + eax + 0x40]
push eax
lea eax, [ebp - 0x588]
push eax
call fcn.0046634f
add esp, 0x30
lea eax, [ebp - 0x5f0]
lea ecx, [esi + 0x18]
push eax
call fcn.0041fd79
xor edi, edi
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add ebx, 0x348
cmp eax, dword [esi + 0xc]
jl 0x41f267
push 0xffffffffffffffff
push edi
lea ecx, [esi + 4]
call fcn.00420016
lea eax, [esi + 0x40]
lea ecx, [ebp - 0x14]
push eax
call fcn.005ecafe
push 0x66fe8c
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.005ed182
mov dword [ebp - 0x2c], 0x61f564
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
mov ecx, esi
mov byte [ebp - 4], 1
push eax
call fcn.0041e3e9
lea ecx, [ebp - 0x3c]
call fcn.00487780
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0045db3e
push edi
lea ecx, [ebp - 0x58]
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0045dc03
cmp eax, edi
je 0x41f4f5
lea ecx, [ebp - 0x58]
call fcn.0045de29
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x10], eax
call fcn.0045ddec
test eax, eax
jne 0x41f4ec
lea eax, [ebp + 8]
lea ecx, [ebp - 0x58]
push eax
call fcn.0045def8
mov eax, dword [ebp - 0x58]
push 0x10
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call dword [eax + 0x38]
cmp eax, edi
jne 0x41f4e0
mov dword [ebp - 0x68], edi
xor eax, eax
lea edi, [ebp - 0x64]
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 8]
call fcn.004ec870
add esp, 0xc
mov edi, 0x69dc58
lea ecx, [ebp - 0x18]
push edi
call fcn.005ece05
push edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.005ece05
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x74]
mov dword [ebp - 0x78], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
cmp dword [ebp - 0x24], ebx
mov byte [ebp - 4], 6
jle 0x41f499
mov eax, dword [ebp - 0x28]
push 0x10
add eax, ebx
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00466b30
add esp, 0xc
test eax, eax
je 0x41f45d
inc edi
add ebx, 0x240
cmp edi, dword [ebp - 0x24]
jl 0x41f437
jmp 0x41f499
mov eax, dword [ebp - 0x28]
lea edi, [edi + edi*8]
shl edi, 6
lea ecx, [ebp - 0x18]
lea eax, [edi + eax + 0x40]
push eax
call fcn.005ecf28
mov eax, dword [ebp - 0x28]
lea ecx, [ebp + 0xc]
lea eax, [edi + eax + 0x20]
push eax
call fcn.005ecf28
mov eax, dword [ebp - 0x28]
push 0x10
lea eax, [edi + eax + 0x10]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00465c70
add esp, 0xc
push 0
lea eax, [ebp - 0x78]
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0041f925
test eax, eax
jge 0x41f4c6
cmp eax, 0xfffffffb
je 0x41f4c6
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x38]
call fcn.00487df0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.005ecd91
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.005ecd91
xor edi, edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.005ecd91
cmp dword [ebp - 0x10], edi
jne 0x41f3aa
cmp dword [ebp - 0x38], edi
pop ebx
jle 0x41f55f
lea eax, [ebp + 8]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041db21
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00480a70
lea eax, [ebp + 0xc]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041db21
mov eax, dword [eax]
and esi, 0xfffffffe
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp + 0xc]
call fcn.00480a70
lea eax, [ebp - 0x10]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041db21
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.00480a70
inc edi
cmp edi, dword [ebp - 0x38]
jl 0x41f4fb
lea ecx, [ebp - 0x58]
call fcn.0045dbb9
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0045db7d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00487790
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0041fe93
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005ecd91
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8