Function at 0x42fd0b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4dd828
call fcn.004d0500
sub esp, 0x60
mov eax, dword [0x52d320]
push ebx
mov ebx, dword [ebp + 8]
push edi
xor eax, ebp
mov edi, ecx
mov ecx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4c], ebx
call fcn.00401220
test eax, eax
jne 0x42fd3d
inc eax
jmp 0x42ff5d
push esi
lea ecx, [edi + 0x3c]
mov dword [ebp - 0x50], 1
call fcn.0042fc92
mov esi, dword [ebx + 4]
jmp 0x42ff50
cmp dword [esi + 0x14], 0
je 0x42ff4d
lea ecx, [ebp - 0x48]
call dword [0x4ea6b0]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call dword [0x4ea6b0]
mov ecx, esi
mov byte [ebp - 4], 1
call dword [0x4ea6a4]
push eax
call dword [0x4eaadc]
test eax, eax
je 0x42fdde
push str.path
lea ecx, [ebp - 0x48]
call dword [0x4ea730]
push esi
lea ecx, [ebp - 0x2c]
call dword [0x4ea4e8]
lea ecx, [ebp - 0x2c]
call dword [0x4ea6a4]
push eax
call dword [0x4eaad4]
push str..torrent
push eax
call dword [0x4eaac0]
test eax, eax
jne 0x42ff1c
push str.Torrent
lea ecx, [edi + 0xb0]
call dword [0x4ea730]
jmp 0x42ff1c
push esi
call fcn.00406109
test eax, eax
pop ecx
je 0x42fe06
push str.XLAppLink
lea ecx, [ebp - 0x48]
call dword [0x4ea730]
push esi
lea ecx, [ebp - 0x2c]
call dword [0x4ea4e8]
jmp 0x42ff1c
mov ecx, esi
call dword [0x4ea6a4]
push eax
mov ecx, edi
call fcn.0042e341
test al, al
je 0x42fe21
push 0x4f27e4
jmp 0x42fdee
mov ecx, esi
call dword [0x4ea6a4]
push eax
mov ecx, edi
call fcn.0042e3ce
test eax, eax
mov ecx, esi
je 0x42fe9d
call dword [0x4ea6a4]
push eax
lea ecx, [ebp - 0x6c]
call dword [0x4ea6a8]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0042f7fc
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x6c]
inc bl
mov byte [ebp - 4], 1
call dword [0x4ea4f8]
test bl, bl
je 0x42ff19
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [0x4ea4f8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call dword [0x4ea4f8]
mov ebx, dword [ebp - 0x4c]
jmp 0x42ff4d
push 0
push 0x3a
call dword [0x4ea3f0]
mov ebx, eax
mov eax, dword [0x4ea6dc]
mov eax, dword [eax]
cmp ebx, eax
jne 0x42febc
push eax
push 1
lea ecx, [ebp - 0x48]
jmp 0x42fee9
cmp ebx, 1
jbe 0x42fef0
lea eax, [ebx - 1]
push eax
push 1
push esi
lea ecx, [ebp - 0x48]
call dword [0x4ea3ec]
mov ecx, esi
inc ebx
call dword [0x4ea6d0]
cmp ebx, eax
jae 0x42fef0
mov eax, dword [0x4ea6dc]
push dword [eax]
lea ecx, [ebp - 0x2c]
push ebx
push esi
call dword [0x4ea3ec]
push str.StartType
lea ecx, [ebp - 0x48]
call dword [0x4ea6a4]
push eax
call dword [0x4eaac0]
test eax, eax
jne 0x42ff19
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0xb0]
call dword [0x4ea4e8]
mov ebx, dword [ebp - 0x4c]
movzx eax, byte [ebp + 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.0042ebb9
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0
call dword [0x4ea4f8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call dword [0x4ea4f8]
add esi, 0x1c
cmp esi, dword [ebx + 8]
jne 0x42fd55
mov eax, dword [ebp - 0x50]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret 8