Function at 0x4dca20
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52afb0
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], ecx
push 8
call dword [sym.imp.Dump.dll_if_dump]
add esp, 4
test eax, eax
je 0x4dcab6
push str._boot_task_check_torrent_filelength_1_
lea ecx, [ebp - 0xbc]
call fcn.0040e500
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x290]
call fcn.004367b0
push eax
push 8
call dword [sym.imp.Dump.dll_dump]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.0040c9f0
xor edx, edx
jne 0x4dca51
cmp dword [ebp + 0xc], 0
je 0x4dcad5
cmp dword [ebp + 0x10], 0
jbe 0x4dcad5
mov ecx, dword [ebp + 8]
call fcn.00402cb0
movzx eax, al
test eax, eax
je 0x4dcadd
or eax, 0xffffffff
jmp 0x4dcd50
mov ecx, dword [ebp + 0x14]
push ecx
push 0
push 1
mov ecx, dword [ebp - 0x288]
call fcn.004dc010
push 0x5402c4
mov ecx, dword [ebp + 8]
call fcn.00422200
push 0x540334
mov ecx, dword [ebp + 8]
call fcn.0040acf0
push eax
call fcn.00495129
add esp, 8
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
jne 0x4dcb36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x27c], eax
or eax, 0xffffffff
jmp 0x4dcd50
mov edx, dword [ebp - 0x278]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004952de
add esp, 0x10
mov edx, dword [ebp - 0x278]
push edx
call fcn.0049500f
add esp, 4
mov eax, dword [ebp - 0x278]
push eax
call fcn.00493537
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x274]
call fcn.004bde80
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.004bcc70
movzx edx, al
test edx, edx
je 0x4dcc69
push 8
call dword [sym.imp.Dump.dll_if_dump]
add esp, 4
test eax, eax
je 0x4dcbef
push str.check_torrent_file_OK
lea ecx, [ebp - 0x164]
call fcn.0040e500
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x298]
push ecx
push 8
call dword [sym.imp.Dump.dll_dump]
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call fcn.0040c9f0
xor edx, edx
jne 0x4dcb99
mov eax, dword [ebp - 0x288]
mov byte [eax + 0x45], 1
push 1
push 0
mov ecx, dword [ebp - 0x288]
mov edx, dword [ecx + 0xd8]
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 0xd8]
mov edx, dword [edx]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x288]
add ecx, 0x48
call fcn.00402c90
mov edx, dword [ebp - 0x288]
movzx eax, byte [edx + 0x47]
test eax, eax
je 0x4dcc4c
mov ecx, dword [ebp - 0x288]
mov byte [ecx + 0x44], 1
jmp 0x4dcc64
mov edx, dword [ebp - 0x288]
movzx eax, byte [edx + 0x46]
test eax, eax
je 0x4dcc64
mov ecx, dword [ebp - 0x288]
mov byte [ecx + 0x44], 1
jmp 0x4dcd2e
mov edx, dword [ebp + 0x14]
push edx
push 2
push 1
mov ecx, dword [ebp - 0x288]
call fcn.004dc010
push 8
call dword [sym.imp.Dump.dll_if_dump]
add esp, 4
test eax, eax
je 0x4dccd2
push str.check_torrent_file_fail
lea ecx, [ebp - 0x20c]
call fcn.0040e500
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2a0]
push ecx
push 8
call dword [sym.imp.Dump.dll_dump]
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20c]
call fcn.0040c9f0
xor edx, edx
jne 0x4dcc7c
push 0
push 0
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 0xd8]
mov edx, dword [ebp - 0x288]
mov eax, dword [edx + 0xd8]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp + 8]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x280], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.004bcd80
mov eax, dword [ebp - 0x280]
jmp 0x4dcd50
mov dword [ebp - 0x284], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.004bcd80
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 0x10