Function at 0x41f594
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41f8c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x42a034], 1
mov eax, 0x42a070
call fcn.00403694
mov eax, dword [0x4287f8]
mov eax, dword [eax]
mov edx, dword [eax + 0xcc]
mov eax, dword [ebx + 0x5c]
call fcn.0040b86c
mov eax, dword [0x428840]
mov eax, dword [eax]
call fcn.0040bd64
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00405990
mov eax, dword [ebp - 0x30]
call fcn.0040aaf8
mov dword [0x42a030], eax
mov eax, dword [0x428860]
cmp byte [eax], 0
je 0x41f6be
xor eax, eax
mov dword [0x42a02c], eax
mov dword [0x42a068], 0
mov dword [0x42a06c], 0
lea ecx, [ebp - 0x34]
mov dl, 1
xor eax, eax
call fcn.00422b48
mov eax, dword [ebp - 0x34]
call fcn.0041eecc
mov dword [0x42a02c], 1
mov dl, 1
mov eax, dword [0x40e1e0]
call fcn.0040e5b0
mov esi, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0x41f3d8
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], fcn.0041f4b8
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], 0x41efa8
lea ecx, [ebp - 0x38]
mov dl, 1
xor eax, eax
call fcn.00422b48
mov edx, dword [ebp - 0x38]
mov ecx, dword [0x42a054]
mov eax, esi
call fcn.0040ea3c
mov eax, esi
call fcn.00402d84
push dword [0x42a06c]
push dword [0x42a068]
mov eax, ebx
call fcn.0041d648
jmp 0x41f87f
mov byte [ebp - 0x26], 0
mov edx, dword [0x42882c]
mov edx, dword [edx]
mov eax, dword [0x42a030]
xor ecx, ecx
call fcn.00406b50
mov eax, 0x43
call fcn.00422b38
mov edi, eax
dec edi
test edi, edi
jl 0x41f87f
inc edi
call fcn.00406ed4
mov dword [ebp - 0x2c], eax
push 0
push 0x18
mov eax, dword [ebp - 0x2c]
call fcn.0041ecc8
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
xor edx, edx
call fcn.00406b50
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x2c]
mov ecx, 4
call fcn.00406a60
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov ecx, 8
call fcn.00406a60
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, 8
call fcn.00406a60
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov ecx, 4
call fcn.00406a60
mov eax, dword [ebp - 0x2c]
call fcn.0040a210
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0041f208
test al, al
je 0x41f85c
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0040d95c
mov ecx, dword [ebp - 0x40]
mov eax, dword [0x4287f8]
mov eax, dword [eax]
mov edx, dword [eax + 0x8c]
lea eax, [ebp - 0x3c]
call fcn.00403940
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x5c]
call fcn.0040b86c
mov eax, dword [0x428840]
mov eax, dword [eax]
call fcn.0040bd64
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x20]
call fcn.00405c8c
mov eax, dword [ebp - 0x44]
call fcn.00405ce4
mov byte [ebp - 0x25], 0
mov eax, dword [ebp - 0x20]
call fcn.0040ab20
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call fcn.00406a5c
test eax, eax
je 0x41f83c
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.0041ecc8
mov eax, dword [ebp - 0x24]
call fcn.0040a210
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0x20]
call fcn.00403af4
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call sub.kernel32.dll_SetFileTime
push esi
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403af4
push eax
call sub.kernel32.dll_SetFileAttributesA
jmp 0x41f850
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
mov eax, ebx
mov ecx, dword [ebp - 0x20]
xor edx, edx
call fcn.0041f4b8
cmp byte [ebp - 0x25], 0
jne 0x41f7bd
jmp 0x41f86b
mov eax, dword [0x42a030]
mov cl, 1
mov edx, dword [ebp - 0x10]
call fcn.00406b50
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, ebx
call fcn.0041d648
dec edi
jne 0x41f6ec
mov eax, dword [0x42a030]
call fcn.0040a210
mov eax, dword [0x42a038]
call fcn.00403af4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x428840]
mov eax, dword [eax]
call fcn.0040bd64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f8cf
lea eax, [ebp - 0x44]
mov edx, 6
call fcn.004036b8
lea eax, [ebp - 0x20]
call fcn.00403694
ret