Function at 0x40f6d0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40fa52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 4
sub esp, 0xd4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.0040f5e0
test eax, eax
jne 0x40f72d
xor eax, eax
jmp 0x40fa5c
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0xc0]
mov ecx, 0x6000
mov eax, dword [eax + 0x78]
sub edx, edx
div ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc0]
mov ecx, 0x6000
mov eax, dword [eax + 0x78]
sub edx, edx
div ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x68], 0
dec dword [ebp - 0x28]
push 1
push 0x6000
mov ecx, dword [ebp - 0xc0]
call fcn.0040f450
mov eax, dword [ebp - 0x28]
shr eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
jmp 0x40f798
inc dword [ebp - 0x18]
cmp dword [ebp - 0x20], 0
je 0x40f7c8
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], eax
jae 0x40f7c8
push 0
push 0x6000
mov ecx, dword [ebp - 0xc0]
call fcn.0040f450
mov dword [ebp - 0x20], eax
jmp 0x40f795
cmp dword [ebp - 0x20], 0
je 0x40f88d
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 0x74], 0
jle 0x40f88d
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 0x60], 0
jbe 0x40f88d
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0
fild qword [ebp - 0xc8]
pushfd
cmp dword [0x45b568], 0
jne 0x40f823
fdiv qword [0x44f138]
jmp 0x40f834
push dword [0x44f13c]
push dword [0x44f138]
call fcn.00420c44
popfd
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], 0
fild qword [ebp - 0xd0]
pushfd
cmp dword [0x45b568], 0
jne 0x40f862
fdivp st(1)
jmp 0x40f86b
push eax
mov al, 0xd
call fcn.00420733
pop eax
popfd
mov eax, dword [ebp - 0xc0]
fstp qword [eax + 0x20]
mov eax, dword [ebp - 0xc0]
fld qword [eax + 0x20]
fmul qword [0x44f140]
mov eax, dword [ebp - 0xc0]
fstp qword [eax + 0x20]
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x68], 1
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x60], 0
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x6c], 0
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x74], 0
jmp 0x40f8c9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x20], 0
je 0x40f8f9
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x18], eax
jae 0x40f8f9
push 0
push 0x6000
mov ecx, dword [ebp - 0xc0]
call fcn.0040f450
mov dword [ebp - 0x20], eax
jmp 0x40f8c6
cmp dword [ebp - 0x20], 0
je 0x40f9a5
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 0x74], 0
jle 0x40f9a5
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 0x60], 0
jbe 0x40f9a5
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0xd4], eax
fild dword [ebp - 0xd4]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], 0
fild qword [ebp - 0xdc]
fmulp st(1)
fstp qword [ebp - 0x30]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 0
fild qword [ebp - 0xe4]
fmul qword [0x44f148]
pushfd
cmp dword [0x45b568], 0
jne 0x40f990
fdiv qword [ebp - 0x30]
jmp 0x40f99b
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00420c44
popfd
mov eax, dword [ebp - 0xc0]
fstp qword [eax + 0x28]
cmp dword [ebp - 0x20], 0
jne 0x40f9b6
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x48]
add ecx, 0x48
call dword [eax + 0x44]
jmp 0x40f9d0
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xbc], eax
jmp 0x40f9e4
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00409490
add esp, 8
test eax, eax
je 0x40fa31
jmp 0x40fa07
push pe_nt_image_headers32
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x40fa21
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40fa43
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x40fa5c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8