Function at 0x41f594
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push esi
push edi
xor edx, edx
mov esi, eax
push ebx
xor eax, eax
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
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 [esi + 0x5c]
call fcn.0040b86c
mov eax, dword [0x428840]
mov eax, dword [eax]
call fcn.0040bd64
xor eax, eax
lea edx, [ebp - 0x30]
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]
dec ebp
int3
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 edi, eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], 0x41f3d8
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], fcn.0041f4b8
mov dword [edi + 0x24], esi
mov dword [edi + 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, edi
call fcn.0040ea3c
mov eax, edi
call fcn.00402d84
push dword [0x42a06c]
push dword [0x42a068]
mov eax, esi
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 ebx, eax
dec ebx
test ebx, ebx
jl 0x41f87f
inc ebx
call fcn.00406ed4
mov dword [ebp - 0x2c], eax
push 0
push 0x18
mov eax, dword [ebp - 0x2c]
call fcn.0041ecc8
xor ecx, ecx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
call fcn.00406b50
mov eax, dword [ebp - 0x2c]
mov edx, 4
lea ecx, [ebp - 4]
call fcn.00406a60
mov ecx, 8
lea eax, [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
call fcn.00406a60
mov eax, 8
lea eax, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
call fcn.00406a60
mov ecx, 4
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
call fcn.00406a60
mov eax, dword [ebp - 0x2c]
call fcn.0040a210
push dword [ebp - 0xc]
lea edx, [ebp - 0x18]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x20]
call fcn.0041f208
test al, al
je 0x41f85c
lea eax, [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 [esi + 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
or 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 edi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
call sub.kernel32.dll_SetFileTime
push edi
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
mov eax, esi
lea edx, [ebp - 0x26]
lea ecx, [ebp - 0x25]
push ecx
push edx
xor edx, edx
mov ecx, dword [ebp - 0x20]
call fcn.0041f4b8
cmp byte [ebp - 0x25], 0
jne 0x41f7bd
jmp 0x41f86b
mov eax, dword [0x42a030]
mov edx, dword [ebp - 0x10]
mov cl, 1
call fcn.00406b50
push dword [ebp - 0xc]
mov eax, esi
push dword [ebp - 0x10]
call fcn.0041d648
dec ebx
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 edx, edx
pop eax
pop ecx
pop ecx
mov dword fs:[edx], eax
push 0x41f8cf
mov edx, 6
lea eax, [ebp - 0x44]
call fcn.004036b8
lea eax, [ebp - 0x20]
call fcn.00403694
ret